<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="fmc-location-profile" />
  <url value="http://fkcfhir.org/fhir/StructureDefinition/fmc-location-profile" />
  <name value="FreseniusLocation" />
  <title value="Fresenius Location Profile" />
  <status value="active" />
  <description value="This profile sets minimum expectations for the Location resource" />
  <fhirVersion value="4.0.1" />
  <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/fivews" />
    <name value="FiveWs Pattern 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.identifier">
      <path value="Location.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
      <base>
        <path value="Location.identifier" />
        <min value="1" />
        <max value="*" />
      </base>
      <mustSupport value="true" />
    </element>
    <element id="Location.identifier:LOCIdentifier">
      <path value="Location.identifier" />
      <sliceName value="LOCIdentifier" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Location.identifier:LOCIdentifier.type">
      <path value="Location.identifier.type" />
      <binding>
        <strength value="required" />
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0203" />
      </binding>
    </element>
    <element id="Location.identifier:LOCIdentifier.system">
      <path value="Location.identifier.system" />
      <min value="1" />
      <patternUri value="urn:oid:2.16.840.1.113883.3.7418.5.1" />
    </element>
    <element id="Location.name">
      <path value="Location.name" />
      <short value="Name of the Fresenius Location" />
    </element>
    <element id="Location.type">
      <path value="Location.type" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <valueSet value="http://fkcfhir.org/fhir/ValueSet/fmc-location-type-vs" />
      </binding>
    </element>
    <element id="Location.managingOrganization">
      <path value="Location.managingOrganization" />
      <short value="Reference to Organization" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fkcfhir.org/fhir/StructureDefinition/fmc-organization-profile" />
      </type>
    </element>
  </differential>
</StructureDefinition>