<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://electronichealth.se/fhir/StructureDefinition/NLLCareUnitLocation" />
  <name value="NLLCareUnitLocation" />
  <status value="draft" />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="EHM" />
    <uri value="http://electronichealth.se" />
    <name value="The Swedish eHealth Agency" />
    <comment value="NLL Information model as published by The Swedish eHealth Agency" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Location" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Location" />
  <derivation value="constraint" />
  <differential>
    <element id="Location">
      <path value="Location" />
      <definition value="OLD! Gjordes innan fullmakter pausades i NLL 1.0. Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated." />
      <mapping>
        <identity value="EHM" />
        <map value="Arbetsställe" />
      </mapping>
    </element>
    <element id="Location.identifier">
      <path value="Location.identifier" />
      <mapping>
        <identity value="EHM" />
        <map value="Arbetsställe.Arbetsställenummer" />
      </mapping>
    </element>
    <element id="Location.identifier.system">
      <path value="Location.identifier.system" />
      <short value="CFAR number (sv: arbetsställenummer)" />
      <definition value="CFAR number for the care unit (sv: arbetsställe)" />
      <fixedUri value="http://electronichealth.se/identifier/cfar" />
    </element>
    <element id="Location.name">
      <path value="Location.name" />
      <short value="Name of the care unit" />
      <definition value="Name of the care unit" />
      <mustSupport value="true" />
      <mapping>
        <identity value="EHM" />
        <map value="Arbetsställe.Arbetsställenamn" />
      </mapping>
    </element>
    <element id="Location.telecom.system">
      <path value="Location.telecom.system" />
      <fixedCode value="phone" />
      <mustSupport value="true" />
    </element>
    <element id="Location.telecom.value">
      <path value="Location.telecom.value" />
      <short value="Contact number for the care unit" />
      <definition value="Phone number where care unit can be contacted, e.g. in case of questions related to cases on personnel handling power of attorney for purchasing medications." />
      <mustSupport value="true" />
      <mapping>
        <identity value="EHM" />
        <map value="Arbetsställe.Telefon" />
      </mapping>
    </element>
    <element id="Location.address.line">
      <path value="Location.address.line" />
      <mustSupport value="true" />
      <mapping>
        <identity value="EHM" />
        <map value="Arbetsställe.Besöksadress" />
      </mapping>
    </element>
    <element id="Location.address.city">
      <path value="Location.address.city" />
      <mustSupport value="true" />
      <mapping>
        <identity value="EHM" />
        <map value="Arbetsställe.Postort" />
      </mapping>
    </element>
    <element id="Location.address.postalCode">
      <path value="Location.address.postalCode" />
      <mustSupport value="true" />
      <mapping>
        <identity value="EHM" />
        <map value="Arbetsställe.Postnummer" />
      </mapping>
    </element>
    <element id="Location.managingOrganization">
      <path value="Location.managingOrganization" />
      <short value="Organization responsible for the care unit" />
      <definition value="The organization responsible for the care unit, sv: vård- och omsorgsgivare" />
      <mustSupport value="true" />
      <mapping>
        <identity value="EHM" />
        <map value="Arbetsställe tillhör Vård- och omsorgsgivare" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>