<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.clevermed.com/StructureDefinition/AllergyIntolerance-BNet-Preg-AllergiesAdverseReactions" />
  <name value="AllergyIntolerance-BNet-Preg-AllergiesAdverseReactions" />
  <status value="active" />
  <date value="2025-03-25T15:48:13.0451194Z" />
  <publisher value="Clevermed Ltd." />
  <contact>
    <name value="Clevermed BadgerNet Spine FHIR Team" />
    <telecom>
      <system value="email" />
      <value value="support@clevermed.com" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Allergies and adverse reactions which affect patient." />
  <copyright value="(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="AllergyIntolerance" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" />
  <derivation value="constraint" />
  <differential>
    <element id="AllergyIntolerance.id">
      <path value="AllergyIntolerance.id" />
      <short value="Unique resource identifier" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="AllergyIntolerance.patient">
      <path value="AllergyIntolerance.patient" />
      <short value="Who the allergy or adverse reaction is for" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code">
      <path value="AllergyIntolerance.code" />
      <short value="Code which describes the allergy or adverse reaction experienced" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.code.coding.system">
      <path value="AllergyIntolerance.code.coding.system" />
      <fixedUri value="snomed" />
    </element>
    <element id="AllergyIntolerance.code.coding.code">
      <path value="AllergyIntolerance.code.coding.code" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <description value="Allergies and adverse reactions" />
        <valueSet value="https://simplifier.net/badgernet/ValueSet-BNet-Preg-AllergiesAdverseReactions" />
      </binding>
    </element>
    <element id="AllergyIntolerance.code.text">
      <path value="AllergyIntolerance.code.text" />
      <short value="String for whether the allergy or adverse reaction is 'other'" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.type">
      <path value="AllergyIntolerance.type" />
      <short value="Code that identifies whether this is an allergy or intolerance" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.recordedDate">
      <path value="AllergyIntolerance.recordedDate" />
      <short value="Date first version of the resource instance was recorded" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation">
      <path value="AllergyIntolerance.reaction.manifestation" />
      <short value="Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance. This item is only availble in the UK" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.system">
      <path value="AllergyIntolerance.reaction.manifestation.coding.system" />
      <fixedUri value="snomed" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.code">
      <path value="AllergyIntolerance.reaction.manifestation.coding.code" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <description value="Allergies and adverse reactions" />
        <valueSet value="https://simplifier.net/badgernet/ValueSet-BNet-Preg-ReactionManifestation" />
      </binding>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.code.text">
      <path value="AllergyIntolerance.reaction.manifestation.code.text" />
      <short value="String used where 'reaction.manifestation' is 'other'. This item is only availble in the UK" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.onset">
      <path value="AllergyIntolerance.reaction.onset" />
      <short value="Date the reaction was first experienced. This field is written and read as YYYY-MM-DD. This item is only availble in the UK" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="AllergyIntolerance.reaction.severity">
      <path value="AllergyIntolerance.reaction.severity" />
      <short value="Clinical assessment of the severity of the reaction. This item is only availble in the UK" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>