<AllergyIntolerance xmlns="http://hl7.org/fhir">
  <id value="CML.MED.ALLERGY.8765432" />
  <meta>
    <profile value="http://fhir.ashmc.co.il/StructureDefinition/med-allergy-intolerance" />
    <security>
      <system value="http://fhir.health.gov.il/cs/il-hdp-information-buckets" />
      <code value="allergiesAndIntolerances" />
      <display value="רגישויות" />
    </security>
  </meta>
  <identifier>
    <type>
      <coding>
        <system value="http://fhir.health.gov.il/cs/il-core-identifier-type" />
        <code value="strong-id" />
        <display value="Strong Identifier" />
      </coding>
    </type>
    <system value="http://fhir.ashmc.co.il/Identifier/med-allergy-intolerance" />
    <value value="8765432" />
  </identifier>
  <clinicalStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" />
      <code value="active" />
    </coding>
  </clinicalStatus>
  <verificationStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" />
      <code value="confirmed" />
    </coding>
  </verificationStatus>
  <type value="allergy" />
  <category value="medication" />
  <code>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="764146007" />
      <display value="Penicillin" />
    </coding>
    <coding>
      <system value="http://fhir.ashmc.co.il/cs/med-cml-code" />
      <code value="LOCAL-CODE" />
    </coding>
  </code>
  <patient>
    <reference value="Patient/ashmc-patient-001" />
  </patient>
  <recordedDate value="2025-06-20" />
  <recorder>
    <reference value="Practitioner/ashmc-dr-cohen" />
  </recorder>
  <reaction>
    <substance>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="764146007" />
        <display value="Penicillin" />
      </coding>
    </substance>
    <manifestation>
      <coding>
        <system value="http://fhir.ashmc.co.il/cs/reaction-cml-code" />
        <code value="LOCAL-CODE" />
      </coding>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="39579001" />
        <display value="Anaphylaxis" />
      </coding>
    </manifestation>
    <description value="Severe anaphylactic reaction requiring epinephrine" />
    <onset value="2024-03-10T09:15:00+02:00" />
    <severity value="severe" />
    <exposureRoute>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="26643006" />
        <display value="Oral route" />
      </coding>
    </exposureRoute>
  </reaction>
</AllergyIntolerance>