{
  "resourceType": "StructureDefinition",
  "id": "il-core-location-nursing-unit",
  "url": "http://fhir.health.gov.il/StructureDefinition/il-core-location-nursing-unit",
  "version": "0.21.0",
  "name": "ILCoreLocationNursingUnit",
  "title": "ILCore Location Nursing Unit Profile",
  "status": "draft",
  "date": "2026-03-23",
  "publisher": "Israel Core Team",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "tal.primak@moh.gov.il"
        }
      ]
    }
  ],
  "description": "Israel Core constraints for nursing unit locations",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://fhir.health.gov.il/StructureDefinition/il-core-location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "patternCode": "kind"
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.type.coding",
        "path": "Location.type.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "short": "Hospital nursing unit",
        "definition": "Fixed to the IL Core hospital nursing unit code.",
        "min": 2
      },
      {
        "id": "Location.type.coding:hospital-unit",
        "path": "Location.type.coding",
        "sliceName": "hospital-unit",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.type.coding:hospital-unit.system",
        "path": "Location.type.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/ValueSet/location-physical-type"
      },
      {
        "id": "Location.type.coding:hospital-unit.code",
        "path": "Location.type.coding.code",
        "fixedCode": "HU"
      },
      {
        "id": "Location.type.coding:hospital-unit.display",
        "path": "Location.type.coding.display",
        "fixedString": "Hospital unit"
      },
      {
        "id": "Location.type.coding:nursing-unit",
        "path": "Location.type.coding",
        "sliceName": "nursing-unit",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.type.coding:nursing-unit.system",
        "path": "Location.type.coding.system",
        "min": 1,
        "fixedUri": "http://fhir.health.gov.il/cs/il-core-location-physical-type"
      },
      {
        "id": "Location.type.coding:nursing-unit.code",
        "path": "Location.type.coding.code",
        "fixedCode": "hospital-nursing-unit"
      },
      {
        "id": "Location.type.coding:nursing-unit.display",
        "path": "Location.type.coding.display",
        "fixedString": "Hospital nursing unit"
      }
    ]
  }
}