Skip to content

AllergyIntolerance

A resident's allergies, mapped to FHIR AllergyIntolerance. Read-only, part of the clinical resource set.

FHIR AllergyIntoleranceRequires clinical.read

Read-only

This resource is read-only. Clinical and financial writes are confirmed by a human inside the product and are not exposed on the integration API.

Endpoints

GET/api/v1/ofctx/{org_id}/{facility_id}/clinical/AllergyIntolerance

List allergies (FHIR search)

Requires scope clinical.read

Base URL

https://medflo-pcc-vendor-api-eez5kqwsxa-uw.a.run.app

ParameterInTypeDescription
org_idrequiredpathstring (uuid)Your organization id. Must match the org bound to your credentials — mismatches are rejected (403).
facility_idrequiredpathstring (uuid)A facility within your org that your credentials are granted. Out-of-scope facilities are rejected (403).
resident_idquerystring (uuid)Filter to a single resident.
pagequeryinteger1-based page number. Default 1.
page_sizequeryintegerRows per page (1–200). Default 50.

Example response 200 OK

json
{
  "data": [
    {
      "resourceType": "AllergyIntolerance",
      "id": "e5f6a7b8-...",
      "patient": {
        "reference": "Patient/8f2c1e4a-..."
      },
      "code": {
        "system": "urn:medflo:allergen",
        "code": "PENC",
        "display": "Penicillin"
      },
      "clinicalStatus": "active"
    }
  ],
  "meta": {
    "page": {
      "page": 1,
      "page_size": 50,
      "total": 2
    }
  },
  "error": null
}
GET/api/v1/ofctx/{org_id}/{facility_id}/clinical/AllergyIntolerance/{resource_id}

Read an allergy (FHIR read)

Requires scope clinical.read

Base URL

https://medflo-pcc-vendor-api-eez5kqwsxa-uw.a.run.app

ParameterInTypeDescription
org_idrequiredpathstring (uuid)Your organization id. Must match the org bound to your credentials — mismatches are rejected (403).
facility_idrequiredpathstring (uuid)A facility within your org that your credentials are granted. Out-of-scope facilities are rejected (403).
resource_idrequiredpathstring (uuid)The allergy id.

Example response 200 OK

json
{
  "data": {
    "resourceType": "AllergyIntolerance",
    "id": "e5f6a7b8-...",
    "patient": {
      "reference": "Patient/8f2c1e4a-..."
    },
    "code": {
      "system": "urn:medflo:allergen",
      "code": "PENC",
      "display": "Penicillin"
    },
    "clinicalStatus": "active"
  },
  "meta": null,
  "error": null
}

Notes

  • All responses use the { data, meta, error } envelope. List responses carry pagination in meta.page.
  • Identifiers and codes are returned exactly as the system of record provides them — identifier values stay masked; the API never unmasks.
  • See Errors for the failure envelope and Rate limits for throttling headers.