PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.62
    http://fhir.laniado.org.il/StructureDefinition/laniado-location
description: Laniado Proposed Location Profile
package_name: laniado.test.fhir.r4
derivation: constraint
name: LaniadoLocation
type: Location
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        dep-bed-sort:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-dep-bed-sort', index: 1}
          min: 0
          max: 1
  identifier:
    index: 2
    elements:
      system: {index: 3}
      value: {short: The value that is unique within the system., index: 4}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        yechida:
          match: {system: 'http://fhir.laniado.org.il/Identifier/k-yechidot'}
          schema:
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/k-yechidot'}
                index: 6
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 7
                  identifier:
                    index: 8
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 9
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 10
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 11
                required: [identifier]
        dep-bed:
          match: {system: 'http://fhir.laniado.org.il/Identifier/k-lan-dep-beds'}
          schema:
            index: 12
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/k-lan-dep-beds'}
                index: 13
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 14
                  identifier:
                    index: 15
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 16
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 17
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 18
                required: [identifier]
        lab:
          match: {system: 'http://fhir.laniado.org.il/Identifier/k-lab'}
          schema:
            index: 19
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/k-lab'}
                index: 20
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 21
                  identifier:
                    index: 22
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 23
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 24
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 25
                required: [identifier]
  mode:
    pattern: {type: Code, value: instance}
    index: 26
  type:
    index: 27
    elements:
      coding: {index: 28}
    required: [coding]
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: value}
      min: null
      slices:
        s-yechida:
          match:
            coding: {system: 'http://fhir.laniado.org.il/CodeSystem/s-yechida'}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/s-yechida'}
            index: 29
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/s-yechida'}
                    index: 30
                required: [system]
        lab:
          match:
            coding: {system: 'http://fhir.laniado.org.il/CodeSystem/k-lab-group'}
          schema:
            index: 31
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-lab-group'}
                    index: 32
                required: [system]
        role:
          match:
            coding: {system: null}
          schema:
            binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType'}
            array: true
            index: 33
            elements:
              coding:
                index: 34
                slicing:
                  rules: open
                  discriminator:
                  - {path: code, type: value}
                  min: null
                  slices:
                    dep:
                      match: {code: HU}
                      schema:
                        index: 35
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                            index: 36
                          code:
                            pattern: {type: Code, value: HU}
                            index: 37
                          display:
                            pattern: {type: String, value: Hospital unit}
                            index: 38
                        required: [system, code]
                    lab:
                      match: {code: HLAB}
                      schema:
                        index: 39
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                            index: 40
                          code:
                            pattern: {type: Code, value: HLAB}
                            index: 41
                          display:
                            pattern: {type: String, value: hospital laboratory}
                            index: 42
                        required: [system, code]
  telecom:
    constraint:
      phone-or-fax-number: {human: A phone number or fax number SHALL begin with one of the specified prefixes followed by 6-7 digits separated by a '-'., source: 'http://fhir.laniado.org.il/StructureDefinition/laniado-location', severity: error, expression: '(system=''phone'' or system=''fax'') implies value.matches(''^(02|03|04|050|051|052|053|054|055|056|058|059|072|073|074|076|077|08|09)-[0-9]{6,7}$'')'}
    index: 43
  address:
    elements:
      line:
        extensions:
          floor: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', min: 0, max: 1, type: Extension, index: 44}
          side: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction', min: 0, max: 1, type: Extension, index: 45}
        elements:
          extension:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator
            index: 44
            slicing:
              slices:
                floor:
                  match: {}
                  schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', index: 44}
                  min: 0
                  max: 1
                side:
                  match: {}
                  schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction', index: 45}
                  min: 0
                  max: 1
  physicalType:
    elements:
      coding:
        index: 46
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            dep:
              match: {code: wa}
              schema:
                index: 47
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
                    index: 48
                  code:
                    pattern: {type: Code, value: wa}
                    index: 49
                  display:
                    pattern: {type: String, value: Ward}
                    index: 50
                required: [code]
            room:
              match: {code: ro}
              schema:
                index: 51
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
                    index: 52
                  code:
                    pattern: {type: Code, value: ro}
                    index: 53
                  display:
                    pattern: {type: String, value: Room}
                    index: 54
                required: [code]
            bed:
              match: {code: bd}
              schema:
                index: 55
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/location-physical-type'}
                    index: 56
                  code:
                    pattern: {type: Code, value: bd}
                    index: 57
                  display:
                    pattern: {type: String, value: Bed}
                    index: 58
                required: [code]
  managingOrganization:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-organization']
    index: 59
package_version: 0.1.62
extensions:
  dep-bed-sort: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-dep-bed-sort', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.laniado.org.il/StructureDefinition/laniado-location
base: http://fhir.health.gov.il/StructureDefinition/il-core-location
version: null