<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-entity-Facility" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR Facility Profile</b>
      </p>
      <p>Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.entity.Facility maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-location:
  FacilityName maps to name
  Location.Address maps to address
  Location.Geoposition.Latitude maps to position.latitude
  Location.Geoposition.Longitude maps to position.longitude
  Location.Geoposition.Altitude maps to position.altitude
  ContactPoint maps to telecom
  ManagingOrganization maps to managingOrganization
  Type maps to type
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Facility" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.entity.Facility" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR Facility Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility." />
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166" />
      <code value="US" />
      <display value="United States Minor Outlying Islands (the)" />
    </coding>
  </jurisdiction>
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="servd" />
    <uri value="http://www.omg.org/spec/ServD/1.0/" />
    <name value="ServD" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Location" />
  <baseDefinition value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" />
  <derivation value="constraint" />
  <differential>
    <element id="Location:shr-entity-Facility">
      <path value="Location" />
      <short value="SHR Facility Profile" />
      <definition value="Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility." />
      <mustSupport value="false" />
    </element>
    <element id="Location:shr-entity-Facility.extension:relatedencounter">
      <path value="Location.extension" />
      <sliceName value="relatedencounter" />
      <definition value="If content was generated during a patient encounter, related encounter is the encounter where the information was gained." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension" />
      </type>
    </element>
    <element id="Location:shr-entity-Facility.extension:author">
      <path value="Location.extension" />
      <sliceName value="author" />
      <definition value="The person or organization who created the entry and is responsible for (and may certify) the content." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" />
      </type>
    </element>
    <element id="Location:shr-entity-Facility.extension:informant">
      <path value="Location.extension" />
      <sliceName value="informant" />
      <definition value="The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" />
      </type>
    </element>
    <element id="Location:shr-entity-Facility.extension:mobilefacility">
      <path value="Location.extension" />
      <sliceName value="mobilefacility" />
      <definition value="A facility that moves from place to place, such as Meals-On-Wheels." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-MobileFacility-extension" />
      </type>
    </element>
    <element id="Location:shr-entity-Facility.type">
      <path value="Location.type" />
      <min value="1" />
      <max value="1" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="LocationType" />
        </extension>
        <strength value="required" />
        <description value="Indicates the type of function performed at the location." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Location:shr-entity-Facility.telecom">
      <path value="Location.telecom" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="ContactPoint" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ContactPoint" />
      </type>
    </element>
    <element id="Location:shr-entity-Facility.address">
      <path value="Location.address" />
      <type>
        <code value="Address" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" />
      </type>
    </element>
    <element id="Location:shr-entity-Facility.managingOrganization">
      <path value="Location.managingOrganization" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization" />
      </type>
    </element>
  </differential>
</StructureDefinition>