{
  "resourceType": "AllergyIntolerance",
  "id": "ma-ma-schema-1-AllergyIntolerance-4001",
  "meta": {
    "source": "urn:telus:emr:ma:ma-schema-1",
    "lastUpdated": "2023-12-18T23:07:47Z",
    "security": [
      {
        "code": "N",
        "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "display": "normal"
      }
    ],
    "profile": [
      "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwAllergyIntolerance"
    ]
  },
  "clinicalStatus": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
        "code": "active",
        "display": "Active"
      }
    ],
    "text": "Active"
  },
  "verificationStatus": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
        "code": "confirmed",
        "display": "Confirmed"
      }
    ],
    "text": "Confirmed"
  },
  "code": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "764146007",
        "display": "penicillin"
      }
    ],
    "text": "Penicillin"
  },
  "reaction": [
    {
      "manifestation": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "271807003",
              "display": "Rash"
            }
          ],
          "text": "Generalized maculopapular rash with intense itching"
        }
      ],
      "onset": "2015-03-20T18:00:00Z",
      "severity": "moderate"
    }
  ],
  "identifier": [
    {
      "system": "urn:telus:emr:ma:ma-schema-1:AllergyIntolerance",
      "use": "official",
      "value": "4001"
    }
  ],
  "type": "allergy",
  "category": [
    "medication"
  ],
  "criticality": "high",
  "patient": {
    "reference": "Patient/ma-ma-schema-1-Patient-12345",
    "display": "John Michael Smith",
    "type": "Patient"
  },
  "encounter": {
    "reference": "Encounter/ma-ma-schema-1-Encounter-2001",
    "type": "Encounter"
  },
  "onsetDateTime": "2015-03-20",
  "recordedDate": "2015-03-20T14:30:00Z",
  "recorder": {
    "reference": "Practitioner/ma-ma-schema-1-Practitioner-789",
    "display": "Dr. Sarah Johnson",
    "type": "Practitioner"
  },
  "lastOccurrence": "2015-03-20",
  "note": [
    {
      "text": "Patient reports rash and itching after taking penicillin in 2015. Avoid all penicillin-based antibiotics."
    }
  ]
}