<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/AllergySubstance" />
  <version value="0.9" />
  <name value="AllergySubstance" />
  <status value="draft" />
  <publisher value="Hochschule Osnabrück" />
  <contact>
    <name value="Mareike Przysucha" />
    <telecom>
      <system value="email" />
      <value value="ewundbericht@hs-osnabrueck.de" />
      <use value="work" />
    </telecom>
    <telecom>
      <system value="phone" />
      <value value="+49 541 969 3354" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Refence from the AllergyIntolerance to the substance to which the patient reacts." />
  <copyright value="Forschungsgruppe Informatik im Gesundheitswesen, Fakultät Wirtschafts- und Sozialwissenschaften, Hochschule Osnabrück" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="AllergyIntolerance.reaction.substance" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/AllergySubstance" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance" />
      </type>
    </element>
  </differential>
</StructureDefinition>