PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.14
    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:
  identifier:
    index: 0
    elements:
      system: {mustSupport: true, index: 1}
      value: {short: The value that is unique within the system., mustSupport: true, index: 2}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        dep:
          match: {system: 'http://fhir.laniado.org.il/Identifier/locaiton'}
          schema:
            short: מחלקה
            index: 3
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/locaiton'}
                index: 4
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 5
                  identifier:
                    index: 6
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 7
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 8
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 9
                required: [identifier]
  mode:
    pattern: {type: Code, value: instance}
    index: 10
  type:
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        s-yechida:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/s-yechida'}
            _required: true
            index: 12
            elements:
              coding:
                index: 13
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/s-yechida'}
                    index: 14
                  code: {index: 15}
                required: [system, code]
            required: [coding]
  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: 16
  address:
    elements:
      line:
        extensions:
          floor: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', min: 0, max: 1, type: Extension, index: 17}
        elements:
          extension:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator
            index: 17
            slicing:
              slices:
                floor:
                  match: {}
                  schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', index: 17}
                  min: 0
                  max: 1
  physicalType:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: wa, system: 'http://terminology.hl7.org/CodeSystem/location-physical-type', display: Ward}
    index: 18
  managingOrganization:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-organization']
    index: 19
package_version: 0.1.14
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
required: [type]