{
  "resourceType": "StructureDefinition",
  "url": "http://electronichealth.se/fhir/StructureDefinition/NLLCareUnitLocation",
  "name": "NLLCareUnitLocation",
  "status": "draft",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "EHM",
      "uri": "http://electronichealth.se",
      "name": "The Swedish eHealth Agency",
      "comment": "NLL Information model as published by The Swedish eHealth Agency"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location",
        "path": "Location",
        "definition": "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": "EHM",
            "map": "Arbetsställe"
          }
        ]
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "mapping": [
          {
            "identity": "EHM",
            "map": "Arbetsställe.Arbetsställenummer"
          }
        ]
      },
      {
        "id": "Location.identifier.system",
        "path": "Location.identifier.system",
        "short": "CFAR number (sv: arbetsställenummer)",
        "definition": "CFAR number for the care unit (sv: arbetsställe)",
        "fixedUri": "http://electronichealth.se/identifier/cfar"
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "short": "Name of the care unit",
        "definition": "Name of the care unit",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Arbetsställe.Arbetsställenamn"
          }
        ]
      },
      {
        "id": "Location.telecom.system",
        "path": "Location.telecom.system",
        "fixedCode": "phone",
        "mustSupport": true
      },
      {
        "id": "Location.telecom.value",
        "path": "Location.telecom.value",
        "short": "Contact number for the care unit",
        "definition": "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": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Arbetsställe.Telefon"
          }
        ]
      },
      {
        "id": "Location.address.line",
        "path": "Location.address.line",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Arbetsställe.Besöksadress"
          }
        ]
      },
      {
        "id": "Location.address.city",
        "path": "Location.address.city",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Arbetsställe.Postort"
          }
        ]
      },
      {
        "id": "Location.address.postalCode",
        "path": "Location.address.postalCode",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Arbetsställe.Postnummer"
          }
        ]
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "short": "Organization responsible for the care unit",
        "definition": "The organization responsible for the care unit, sv: vård- och omsorgsgivare",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "EHM",
            "map": "Arbetsställe tillhör Vård- och omsorgsgivare"
          }
        ]
      }
    ]
  }
}