PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.2
    http://fhir.laniado.org.il/StructureDefinition/laniado-patient
description: Laniado Proposed Patient Resource
package_name: laniado.test.fhir.r4
derivation: constraint
name: LaniadoPatient
type: Patient
elements:
  extension:
    index: 0
    slicing:
      slices:
        hmo:
          match: {}
          schema:
            index: 0
            elements:
              value[x]:
                elements:
                  coding:
                    index: 1
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: null
                      slices:
                        payingEntityMoh:
                          match: {system: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
                          schema:
                            index: 2
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
                                index: 3
                            required: [system]
                        kupatCholim:
                          match: {system: 'http://fhir.laniado.org.il/CodeSystem/k-kupat-cholim'}
                          schema:
                            index: 4
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-kupat-cholim'}
                                index: 5
                            required: [system]
        religion:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-religion', index: 6}
          min: 0
          max: 1
  identifier:
    index: 7
    slicing:
      slices:
        ppn:
          match: {}
          schema:
            index: 7
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PPN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 8
              system:
                extensions:
                  dataAbsentReason:
                    url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                    type: Extension
                    index: 10
                    elements:
                      value:
                        pattern: {type: Code, value: unknown}
                        choices: []
                        index: 12
                elements:
                  extension:
                    index: 9
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        dataAbsentReason:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                            index: 10
                            elements:
                              value:
                                pattern: {type: Code, value: unknown}
                                choices: []
                                index: 12
                required: [extension]
            required: [type]
        temp:
          match: {}
          schema:
            short: Temporary patient ID
            mustSupport: true
            index: 13
            elements:
              use:
                pattern: {type: Code, value: temp}
                index: 14
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/temp-patient'}
                index: 15
              value:
                short: A temporary patient identifier
                constraint:
                  patient-temp-id-chk: {human: Laniado temporary patient ID must be 9-digits, source: 'http://fhir.laniado.org.il/StructureDefinition/laniado-patient', severity: error, expression: 'matches(''[0-9]{9}'')'}
                index: 16
              assigner:
                type: Reference
                refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization']
                index: 17
  maritalStatus:
    elements:
      coding:
        index: 18
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            matzav:
              match: {system: 'http://fhir.laniado.org.il/CodeSystem/k-matzav-mishp'}
              schema:
                index: 19
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-matzav-mishp'}
                    index: 20
                required: [system]
  communication:
    index: 21
    elements:
      language:
        elements:
          coding:
            index: 22
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                lang:
                  match: {system: 'urn:ietf:bcp:47'}
                  schema:
                    index: 23
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
                        index: 24
                    required: [system]
                safa:
                  match: {system: 'http://fhir.laniado.org.il/CodeSystem/k-safa'}
                  schema:
                    index: 25
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-safa'}
                        index: 26
                    required: [system]
      preferred:
        pattern: {type: Boolean, value: true}
        index: 27
    required: [preferred]
package_version: 0.1.2
extensions:
  hmo:
    url: null
    index: 0
    elements:
      value[x]:
        elements:
          coding:
            index: 1
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                payingEntityMoh:
                  match: {system: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
                  schema:
                    index: 2
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
                        index: 3
                    required: [system]
                kupatCholim:
                  match: {system: 'http://fhir.laniado.org.il/CodeSystem/k-kupat-cholim'}
                  schema:
                    index: 4
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-kupat-cholim'}
                        index: 5
                    required: [system]
  religion: {url: 'http://hl7.org/fhir/StructureDefinition/patient-religion', min: 0, max: 1, type: Extension, index: 6}
class: profile
kind: resource
url: http://fhir.laniado.org.il/StructureDefinition/laniado-patient
base: http://fhir.health.gov.il/StructureDefinition/il-core-patient
version: null