PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.21.0
    http://fhir.health.gov.il/StructureDefinition/il-core-location-nursing-unit
description: Israel Core constraints for nursing unit locations
package_name: il.core.fhir.r4
derivation: constraint
name: ILCoreLocationNursingUnit
type: Location
elements:
  type:
    index: 0
    elements:
      coding:
        short: Hospital nursing unit
        array: true
        min: 2
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 2
          slices:
            hospital-unit:
              match: {system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
              schema:
                _required: true
                index: 2
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                    index: 3
                  code:
                    pattern: {type: Code, value: HU}
                    index: 4
                  display:
                    pattern: {type: String, value: Hospital unit}
                    index: 5
                required: [system]
            nursing-unit:
              match: {system: 'http://fhir.health.gov.il/cs/il-core-location-physical-type'}
              schema:
                _required: true
                index: 6
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-location-physical-type'}
                    index: 7
                  code:
                    pattern: {type: Code, value: hospital-nursing-unit}
                    index: 8
                  display:
                    pattern: {type: String, value: Hospital nursing unit}
                    index: 9
                required: [system]
package_version: 0.21.0
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-location-nursing-unit
base: http://fhir.health.gov.il/StructureDefinition/il-core-location
version: 0.21.0
required: [type]