<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="event-location" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/event-location" />
  <version value="4.0.0" />
  <name value="location" />
  <title value="Event Location" />
  <status value="draft" />
  <date value="2017-12-06" />
  <publisher value="Health Level Seven, Inc. - FHIR WG" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/special/committees/fwg" />
    </telecom>
  </contact>
  <description value="The principal physical location where the {{title}} was performed." />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <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="Observation" />
  </context>
  <context>
    <type value="element" />
    <expression value="DiagnosticReport" />
  </context>
  <context>
    <type value="element" />
    <expression value="Media" />
  </context>
  <context>
    <type value="element" />
    <expression value="SupplyDelivery" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Where event occurred" />
      <definition value="The principal physical location where the {{title}} was performed." />
      <comment value="May reference only *Provenance* resources deemed “relevant” or important. This element does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a [` _revinclude`](search.html#revinclude)." />
      <min value="0" />
      <max value="1" />
      <mapping>
        <identity value="workflow" />
        <map value="Event.location" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="EVN.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=LOC].role" />
      </mapping>
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <max value="0" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/event-location" />
    </element>
    <element id="Extension.valueReference">
      <path value="Extension.valueReference" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
      </type>
    </element>
  </differential>
</StructureDefinition>