{
  "resourceType": "AllergyIntolerance",
  "id": "chr-on-west-AllergyIntolerance-4002-resolved",
  "meta": {
    "source": "urn:telus:emr:chr:on:west",
    "lastUpdated": "2024-02-10T14:30:00Z",
    "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": "resolved",
        "display": "Resolved"
      },
      {
        "system": "http://snomed.info/sct",
        "code": "723506003",
        "display": "Resolved",
        "userSelected": true
      }
    ],
    "text": "Resolved"
  },
  "verificationStatus": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
        "code": "confirmed",
        "display": "Confirmed"
      }
    ],
    "text": "Confirmed"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement",
      "valueString": "Resolved"
    }
  ],
  "reaction": [
    {
      "manifestation": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "271807003",
              "display": "Rash",
              "userSelected": true
            }
          ],
          "text": "Mild maculopapular rash"
        }
      ],
      "substance": {
        "text": "Amoxicillin"
      },
      "onset": "2020-03-10T16:00:00Z",
      "severity": "mild",
      "note": [
        {
          "text": "Mild reaction that resolved with antihistamines"
        }
      ]
    }
  ],
  "identifier": [
    {
      "system": "urn:telus:emr:chr:on:west:AllergyIntolerance",
      "use": "official",
      "value": "4002"
    }
  ],
  "type": "allergy",
  "category": [
    "medication"
  ],
  "criticality": "low",
  "code": {
    "text": "Amoxicillin"
  },
  "patient": {
    "reference": "Patient/chr-on-west-Patient-12345",
    "type": "Patient"
  },
  "onsetDateTime": "2020-03-10",
  "recordedDate": "2020-03-10T09:15:00Z",
  "recorder": {
    "reference": "Practitioner/chr-on-west-Practitioner-501",
    "display": "Dr. Emily Chen",
    "type": "Practitioner"
  },
  "asserter": {
    "display": "Related Person"
  },
  "note": [
    {
      "text": "Patient had mild rash reaction to Amoxicillin in 2020. Successfully completed desensitization therapy in November 2023. Allergy now resolved and patient can safely take amoxicillin."
    }
  ]
}