<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="il-hdp-location-nursing-unit" />
  <url value="http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location-nursing-unit" />
  <version value="0.4.5" />
  <name value="ILHDPLocationNursingUnit" />
  <title value="ILHDP Location Nursing Unit Profile" />
  <status value="draft" />
  <date value="2026-04-19" />
  <publisher value="Israel Core Team" />
  <contact>
    <telecom>
      <system value="email" />
      <value value="contact@example.org" />
    </telecom>
  </contact>
  <description value="HDP constraints for nursing-unit locations with security tagging. Intended for nursing-unit locations referenced from HDP inpatient care segments." />
  <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://fhir.health.gov.il/StructureDefinition/il-core-location-nursing-unit" />
  <derivation value="constraint" />
  <differential>
    <element id="Location.meta">
      <path value="Location.meta" />
      <min value="1" />
      <type>
        <code value="Meta" />
        <profile value="http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-meta" />
      </type>
    </element>
    <element id="Location.identifier">
      <path value="Location.identifier" />
      <min value="1" />
    </element>
    <element id="Location.managingOrganization">
      <path value="Location.managingOrganization" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.health.gov.il/StructureDefinition/il-core-organization" />
        <targetProfile value="http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-organization" />
      </type>
    </element>
    <element id="Location.partOf">
      <path value="Location.partOf" />
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy">
          <valueBoolean value="true" />
        </extension>
        <code value="Reference" />
        <targetProfile value="http://fhir.health.gov.il/StructureDefinition/il-core-location" />
        <targetProfile value="http://fhir.health.gov.il/StructureDefinition/il-core-location-nursing-unit" />
        <targetProfile value="http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location" />
        <targetProfile value="http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location-nursing-unit" />
      </type>
    </element>
  </differential>
</StructureDefinition>