Log in Request access

AllergyIntolerance

Allergies and intolerances recorded for the patient.

Includes drug, food, and environmental entries, each with clinical and verification statuses and a criticality. Treat an empty search result as "no allergies recorded", not "no known allergies" — check the record's verification status semantics before displaying safety-critical banners.

Advertises a validated CA Core+ profile.

Access

Mode Interactions Scopes
App launch read + search patient/AllergyIntolerance.rs, user/AllergyIntolerance.rs
Backend services read + search system/AllergyIntolerance.rs

Search parameters

Search results are searchset Bundles; follow the Bundle's next link for cursor pagination.

Parameter Type Description
_id token Match a specific logical resource id.
_lastUpdated date Filter by last modification time; supports FHIR date prefixes such as ge and lt.
_count number Page size hint for the searchset Bundle.
_page_token string Opaque pagination cursor. Never construct one — follow the Bundle's next link.
patient reference Allergies for a specific Patient.
clinical-status token active, inactive, or resolved.
verification-status token confirmed, unconfirmed, refuted, or entered-in-error.
category token food, medication, environment, or biologic.
type token allergy or intolerance.
criticality token low, high, or unable-to-assess.
code token The substance or product, by code.
date date Record date; supports FHIR date prefixes.

Read an allergy record

GET /AllergyIntolerance/{id} 200 OK
Request
curl "https://sandbox.avaemr.ca/fhir/r4/{partition_id}/AllergyIntolerance/synthetic-allergy-1" \
  -H "Authorization: Bearer $SMART_ACCESS_TOKEN" \
  -H "Accept: application/fhir+json"
Response · launch context
{
  "resourceType": "AllergyIntolerance",
  "id": "synthetic-allergy-1",
  "meta": {
    "profile": ["http://fhir.infoway-inforoute.ca/io/CA-Core/StructureDefinition/allergyintolerance-ca-core|1.1.0"]
  },
  "clinicalStatus": { "coding": [{ "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", "code": "active" }] },
  "verificationStatus": { "coding": [{ "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", "code": "confirmed" }] },
  "type": "allergy",
  "category": ["medication"],
  "criticality": "high",
  "code": { "coding": [{ "system": "http://snomed.info/sct", "code": "7980", "display": "Penicillin" }] },
  "patient": { "reference": "Patient/synthetic-patient-1" }
}