PackagesCanonicalsLogsProblems
    Packages
    il.laniado.fhir.r4@0.2.1
    http://fhir.laniado.org.il/StructureDefinition/laniado-organization
description: Laniado Proposed Organization Profile
package_name: il.laniado.fhir.r4
derivation: constraint
name: LaniadoOrganization
type: Organization
elements:
  meta:
    elements:
      security:
        index: 0
        elements:
          system: {index: 1}
          code: {index: 2}
        required: [system, code]
        slicing:
          rules: closed
          description: ILHDP codes only
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            HDP:
              match: {system: 'http://fhir.health.gov.il/cs/il-hdp-information-buckets'}
              schema:
                _required: true
                index: 3
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-hdp-information-buckets'}
                    index: 4
                  code:
                    pattern: {type: Code, value: organization}
                    index: 5
                  display:
                    pattern: {type: String, value: יחידה ארגונית}
                    index: 6
    required: [security]
  identifier:
    index: 7
    slicing:
      slices:
        id:
          match: {}
          schema:
            short: Strong organization identification.
            mustSupport: true
            _required: true
            index: 8
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/id-organization'}
                index: 9
              value: {short: Strong organization identification., index: 10}
        yechida:
          match: {}
          schema:
            index: 11
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/k-yechidot'}
                index: 12
        lab:
          match: {}
          schema:
            short: Laboratory ID
            index: 13
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/k-lab'}
                index: 14
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 15
                  identifier:
                    index: 16
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 17
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 18
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 19
                required: [identifier]
  type:
    constraint:
      lan-org-type: {human: 'If exists type:moh-department-type, there SHALL be a type:s-yechida', source: 'http://fhir.laniado.org.il/StructureDefinition/laniado-organization', severity: error, expression: 'coding.where(system=''http://fhir.health.gov.il/cs/department-type-moh'').exists() implies coding.where(system=''http://fhir.laniado.org.il/CodeSystem/s-yechida'').exists()'}
    index: 20
    slicing:
      slices:
        moh-department-type:
          match: {}
          schema:
            index: 21
            elements:
              coding:
                index: 22
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/department-type-moh'}
                    index: 23
                  code: {index: 24}
                required: [system, code]
            required: [coding]
        s-yechida:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/s-yechida'}
            index: 25
            elements:
              coding:
                index: 26
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/s-yechida'}
                    index: 27
                  code: {index: 28}
                required: [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-organization', 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: 29
  partOf:
    elements:
      reference:
        pattern: {type: String, value: Organization/01604}
        index: 30
      identifier:
        index: 31
        elements:
          system:
            pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
            index: 32
          value:
            pattern: {type: String, value: '01604'}
            index: 33
      display:
        pattern: {type: String, value: בית חולים לניאדו}
        index: 34
    required: [identifier]
package_version: 0.2.1
class: profile
kind: resource
url: http://fhir.laniado.org.il/StructureDefinition/laniado-organization
base: http://fhir.health.gov.il/StructureDefinition/il-core-organization
version: null
required: [identifier]