<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="geolocation" />
  <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/geolocation" />
  <name value="Geolocation" />
  <title value="Geolocation" />
  <status value="draft" />
  <date value="2013-12-05" />
  <publisher value="Health Level Seven International (FHIR Infrastructure)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/fiwg" />
    </telecom>
  </contact>
  <description value="The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML)." />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="datatype" />
  <context value="Address" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="The absolute geographic location" />
      <definition value="The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML)." />
      <comment value="The extension can be further extended to include unique geolocation identifiers, confidence, altitude, etc." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Extension.extension:latitude">
      <path value="Extension.extension" />
      <sliceName value="latitude" />
      <short value="Latitude with WGS84 datum" />
      <definition value="Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
    </element>
    <element id="Extension.extension:latitude.extension">
      <path value="Extension.extension.extension" />
      <max value="0" />
    </element>
    <element id="Extension.extension:latitude.url">
      <path value="Extension.extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="latitude" />
    </element>
    <element id="Extension.extension:latitude.valueDecimal">
      <path value="Extension.extension.valueDecimal" />
      <type>
        <code value="decimal" />
      </type>
    </element>
    <element id="Extension.extension:longitude">
      <path value="Extension.extension" />
      <sliceName value="longitude" />
      <short value="Longitude with WGS84 datum" />
      <definition value="Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
    </element>
    <element id="Extension.extension:longitude.extension">
      <path value="Extension.extension.extension" />
      <max value="0" />
    </element>
    <element id="Extension.extension:longitude.url">
      <path value="Extension.extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="longitude" />
    </element>
    <element id="Extension.extension:longitude.valueDecimal">
      <path value="Extension.extension.valueDecimal" />
      <type>
        <code value="decimal" />
      </type>
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/geolocation" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <min value="0" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>