PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.dgmc@0.1.23
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-hospital-location
description: Profile of DGMC Hospital Location
package_name: il.fhir.r4.dgmc
derivation: constraint
name: DgmcHospitalLocation
type: Location
elements:
  id: {index: 0}
  identifier:
    array: true
    min: 2
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: 2
      slices:
        moh-inst-symbol:
          match: {system: 'http://institutions.health.gov.il/Institutions'}
          schema:
            _required: true
            index: 2
            elements:
              system:
                pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                index: 3
              value: {index: 4}
            required: [value, system]
        cml-hosp-code:
          match: {system: null}
          schema:
            _required: true
            index: 5
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-hosp-code-uri'}
                index: 6
              value: {index: 7}
            required: [value, system]
  alias: {index: 8}
  mode:
    pattern: {type: Code, value: instance}
    index: 9
  type:
    array: true
    min: 2
    index: 10
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: $this, type: value}
      min: 2
      slices:
        hosp:
          match:
            coding:
            - {code: HOSP, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: HOSP, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
            _required: true
            index: 11
            elements:
              coding:
                elements:
                  display:
                    pattern: {type: String, value: Hospital}
                    index: 12
                required: [display]
        hosp-loc:
          match:
            coding:
            - {code: HO, system: 'http://fhir.dgmc.health.gov.il/cs/nmr-ou-type'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: HO, system: 'http://fhir.dgmc.health.gov.il/cs/nmr-ou-type'}
            _required: true
            index: 13
            elements:
              coding:
                elements:
                  display:
                    pattern: {type: String, value: בית חולים}
                    index: 14
                required: [display]
  telecom:
    index: 15
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        phone:
          match: {system: phone}
          schema:
            array: true
            index: 16
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 17
        fax:
          match: {system: fax}
          schema:
            array: true
            index: 18
            elements:
              system:
                pattern: {type: Code, value: fax}
                index: 19
        email:
          match: {system: email}
          schema:
            array: true
            index: 20
            elements:
              system:
                pattern: {type: Code, value: email}
                index: 21
        url:
          match: {system: url}
          schema:
            array: true
            index: 22
            elements:
              system:
                pattern: {type: Code, value: url}
                index: 23
package_version: 0.1.23
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-hospital-location
base: http://fhir.health.gov.il/StructureDefinition/il-core-location
version: 0.1.23
required: [id, mode, alias]