PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.6
    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:
  managingOrganization: {index: 37}
  deceasedBoolean:
    type: boolean
    choiceOf: deceased
    index: 21
    slicing:
      slices:
        deceasedBoolean:
          match: {}
          schema: {type: boolean, choiceOf: deceased, index: 21}
          min: 0
          max: 0
  name:
    index: 16
    slicing:
      slices:
        Arabic:
          match: {}
          schema: {index: 16}
          max: 0
  multipleBirth:
    choices: []
    index: 26
  deceased:
    choices: []
    index: 18
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        deceasedBoolean:
          match: {}
          schema:
            choices: [deceasedBoolean]
            index: 20
          min: 0
          max: 0
  extension:
    index: 0
    slicing:
      slices:
        immigration:
          match: {}
          schema: {index: 0}
          max: 0
        birthSex:
          match: {}
          schema: {index: 1}
          max: 0
        religion:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-religion', index: 2}
          min: 0
          max: 1
  photo: {index: 27}
  link: {index: 38}
  communication:
    index: 29
    elements:
      language:
        elements:
          coding:
            index: 30
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                lang:
                  match: {system: 'urn:ietf:bcp:47'}
                  schema:
                    index: 31
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
                        index: 32
                    required: [system]
                safa:
                  match: {system: 'http://fhir.laniado.org.il/CodeSystem/k-safa'}
                  schema:
                    index: 33
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-safa'}
                        index: 34
                    required: [system]
      preferred:
        pattern: {type: Boolean, value: true}
        index: 35
    required: [preferred]
  identifier:
    index: 3
    slicing:
      slices:
        pna-id:
          match: {}
          schema: {index: 3}
          max: 0
        ppn:
          match: {}
          schema:
            index: 4
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PPN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 5
              system:
                extensions:
                  dataAbsentReason:
                    url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                    type: Extension
                    index: 7
                    elements:
                      value:
                        pattern: {type: Code, value: unknown}
                        choices: []
                        index: 9
                elements:
                  extension:
                    index: 6
                    slicing:
                      slices:
                        dataAbsentReason:
                          match: {}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                            index: 7
                            elements:
                              value:
                                pattern: {type: Code, value: unknown}
                                choices: []
                                index: 9
                required: [extension]
            required: [type]
        temp:
          match: {}
          schema:
            short: Temporary patient ID
            mustSupport: true
            index: 10
            elements:
              use:
                pattern: {type: Code, value: temp}
                index: 11
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PNT, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 12
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/temp-patient'}
                index: 13
              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: 14
              assigner:
                type: Reference
                refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization']
                index: 15
  generalPractitioner: {index: 36}
  maritalStatus:
    elements:
      coding:
        index: 22
        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: 23
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-matzav-mishp'}
                    index: 24
                required: [system]
  contact: {index: 28}
package_version: 0.1.6
extensions:
  immigration: {url: null, max: 0, index: 0}
  birthSex: {url: null, max: 0, index: 1}
  religion: {url: 'http://hl7.org/fhir/StructureDefinition/patient-religion', min: 0, max: 1, type: Extension, index: 2}
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