PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.12
    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:
        birthPlace:
          match: {}
          schema:
            index: 0
            elements:
              value[x]:
                elements:
                  country:
                    extensions:
                      laniado: {url: 'http://fhir.laniado.org.il/StructureDefinition/laniado-country', min: 0, max: 1, type: Extension, index: 1}
                    elements:
                      extension:
                        type: Extension
                        url: http://fhir.laniado.org.il/StructureDefinition/laniado-country
                        index: 1
                        slicing:
                          slices:
                            laniado:
                              match: {}
                              schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/laniado-country', index: 1}
                              min: 0
                              max: 1
        religion:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-religion', index: 2}
          min: 0
          max: 1
  identifier:
    index: 3
    slicing:
      slices:
        ppn:
          match: {}
          schema:
            index: 3
            elements:
              system:
                extensions:
                  dataAbsentReason:
                    url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                    type: Extension
                    index: 5
                    elements:
                      value:
                        pattern: {type: Code, value: unknown}
                        choices: []
                        index: 7
                elements:
                  extension:
                    index: 4
                    slicing:
                      slices:
                        dataAbsentReason:
                          match: {}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                            index: 5
                            elements:
                              value:
                                pattern: {type: Code, value: unknown}
                                choices: []
                                index: 7
                required: [extension]
        temp:
          match: {}
          schema:
            short: Temporary patient ID
            mustSupport: true
            index: 8
            elements:
              use:
                pattern: {type: Code, value: temp}
                index: 9
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PNT, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 10
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/temp-patient'}
                index: 11
              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: 12
              assigner:
                type: Reference
                refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization']
                index: 13
  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-patient', severity: warning, 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)-\d{6,7}$'')'}
    index: 14
  deceased:
    choices: [deceasedDateTime]
    index: 16
  deceasedDateTime: {type: dateTime, choiceOf: deceased, index: 17}
  maritalStatus:
    elements:
      coding:
        index: 18
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            laniado:
              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:
                base:
                  match: {system: 'urn:ietf:bcp:47'}
                  schema:
                    index: 23
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
                        index: 24
                    required: [system]
                laniado:
                  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]
package_version: 0.1.12
extensions:
  birthPlace:
    url: null
    index: 0
    elements:
      value[x]:
        elements:
          country:
            extensions:
              laniado: {url: 'http://fhir.laniado.org.il/StructureDefinition/laniado-country', min: 0, max: 1, type: Extension, index: 1}
            elements:
              extension:
                type: Extension
                url: http://fhir.laniado.org.il/StructureDefinition/laniado-country
                index: 1
                slicing:
                  slices:
                    laniado:
                      match: {}
                      schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/laniado-country', index: 1}
                      min: 0
                      max: 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