PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.dgmc@0.1.13
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-ou-location
description: Profile of DGMC Organizational Unit Location
package_name: il.fhir.r4.dgmc
derivation: constraint
name: DgmcOuLocation
type: Location
elements:
  address:
    index: 26
    extensions:
      dar:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 28
        elements:
          value:
            pattern: {type: Code, value: unknown}
            choices: []
            index: 30
    elements:
      extension:
        index: 27
        slicing:
          slices:
            dar:
              match: {}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 28
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 30
    required: [extension]
  managingOrganization:
    elements:
      reference: {index: 36}
    required: [reference]
  type:
    array: true
    min: 2
    index: 12
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: $this, type: value}
      min: 2
      slices:
        unit:
          match:
            coding:
            - {code: HU, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: HU, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
            _required: true
            index: 13
            elements:
              coding:
                elements:
                  display:
                    pattern: {type: String, value: Hospital unit}
                    index: 14
                required: [display]
        nmr-ou-type:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/nmr-ou-type'}
            _required: true
            index: 15
            elements:
              coding:
                elements:
                  system: {index: 16}
                  code: {index: 17}
                  display: {index: 18}
                required: [display, system, code]
  status: {index: 11}
  id: {index: 0}
  identifier:
    array: true
    min: 2
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: 2
      slices:
        nmr-ou-text:
          match: {system: null}
          schema:
            _required: true
            index: 2
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/nmr-ou-text-uri'}
                index: 3
              value: {index: 4}
            required: [value, system]
        nmr-ou-code:
          match: {system: null}
          schema:
            _required: true
            index: 5
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/nmr-ou-code-uri'}
                index: 6
              value: {index: 7}
            required: [value, system]
        cml-ou-code:
          match: {system: null}
          schema:
            index: 8
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-ou-code-uri'}
                index: 9
              value: {index: 10}
            required: [value, system]
  telecom:
    index: 19
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        phone:
          match: {system: phone}
          schema:
            array: true
            index: 20
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 21
        fax:
          match: {system: fax}
          schema:
            array: true
            index: 22
            elements:
              system:
                pattern: {type: Code, value: fax}
                index: 23
        email:
          match: {system: email}
          schema:
            array: true
            index: 24
            elements:
              system:
                pattern: {type: Code, value: email}
                index: 25
  partOf:
    type: Reference
    refers: ['http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-hospital-location']
    index: 37
    elements:
      reference: {index: 38}
    required: [reference]
  physicalType:
    index: 31
    elements:
      coding:
        index: 32
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
            index: 33
          code:
            pattern: {type: Code, value: wa}
            index: 34
          display:
            pattern: {type: String, value: Ward}
            index: 35
        required: [display, system, code]
    required: [coding]
package_version: 0.1.13
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-ou-location
base: http://fhir.health.gov.il/StructureDefinition/il-core-location
version: 0.1.13
required: [id, address, status, physicalType]