<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark376" />
  <meta>
    <versionId value="spark376" />
    <lastUpdated value="2015-10-02T12:26:05.653+00:00" />
  </meta>
  <url value="http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate" />
  <name value="Date(/time) of first exposure to Substance" />
  <status value="draft" />
  <date value="2014-10-09" />
  <publisher value="Health Level Seven, Inc / openEHR project" />
  <contact>
    <telecom>
      <system value="other" />
      <value value="http://hl7.org" />
    </telecom>
  </contact>
  <description value="Record of the date and/or time of the first exposure to the Substance for this Reaction Event." />
  <fhirVersion value="1.0.1" />
  <kind value="datatype" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="AllergyIntolerance.reaction" />
  <snapshot>
    <element id="Extension">
      <path value="Extension" />
      <short value="Date(/time) of first exposure to Substance" />
      <definition value="Record of the date and/or time of the first exposure to the Substance for this Reaction Event." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
      <comments value="Exposure can be more complicated by more than one exposure events leading to a reaction. Further details about the nature of the exposure can be provided in additional extensions, or as text in the Exposure Description extension." />
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Extension" />
      <short value="Date(/time) of first exposure to Substance" />
      <definition value="Record of the date and/or time of the first exposure to the Substance for this Reaction Event." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
      <comments value="Exposure can be more complicated by more than one exposure events leading to a reaction. Further details about the nature of the exposure can be provided in additional extensions, or as text in the Exposure Description extension." />
    </element>
    <element>
      <path value="Extension.extension" />
      <max value="0" />
      <name value="extension" />
    </element>
    <element>
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate" />
    </element>
    <element>
      <path value="Extension.value[x]" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
  </differential>
  <constrainedType value="Extension" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
</StructureDefinition>