PackagesCanonicalsLogsProblems
    Packages
    il.szmc.fhir.r4@0.2.0
    http://fhir.szmc.org.il/StructureDefinition/szmc-patient
description: SZMC Patient profile based on the ILCore Patient profile
package_name: il.szmc.fhir.r4
derivation: constraint
name: SzmcPatient
type: Patient
elements:
  extension:
    index: 0
    slicing:
      slices:
        hmo:
          match: {}
          schema:
            _required: true
            index: 1
            elements:
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value[x]:
                                elements:
                                  system:
                                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
                                    type: uri
                                    index: 12
                                  code:
                                    pattern: {type: code, value: unknown}
                                    type: code
                                    index: 13
                                required: [code, system]
              value:
                elements:
                  coding:
                    elements:
                      system:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                choices: []
                                index: 8
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCoding:
                                      match: {}
                                      schema:
                                        choices: [valueCoding]
                                        index: 10
                                      min: 0
                                      max: 1
                              valueCoding:
                                type: Coding
                                choiceOf: value
                                index: 11
                                slicing:
                                  slices:
                                    valueCoding:
                                      match: {}
                                      schema: {type: Coding, choiceOf: value, index: 11}
                                      min: 0
                                      max: 1
        citizenship:
          match: {}
          schema:
            type: Extension
            short: 'Extension: Patient Citizenship'
            url: http://hl7.org/fhir/StructureDefinition/patient-citizenship
            index: 14
            extensions:
              code:
                url: null
                index: 15
                elements:
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://fhir.szmc.org.il/cs/citizenship'}
                            type: uri
                            index: 16
                        required: [system]
            elements:
              extension:
                index: 15
                slicing:
                  slices:
                    code:
                      match: {}
                      schema:
                        index: 15
                        elements:
                          value[x]:
                            elements:
                              coding:
                                elements:
                                  system:
                                    pattern: {type: uri, value: 'http://fhir.szmc.org.il/cs/citizenship'}
                                    type: uri
                                    index: 16
                                required: [system]
        nationality:
          match: {}
          schema:
            type: Extension
            short: 'Extension: Patient Nationality'
            url: http://hl7.org/fhir/StructureDefinition/patient-nationality
            index: 17
            extensions:
              code:
                url: null
                index: 18
                elements:
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://fhir.szmc.org.il/cs/nationality'}
                            type: uri
                            index: 19
                        required: [system]
            elements:
              extension:
                index: 18
                slicing:
                  slices:
                    code:
                      match: {}
                      schema:
                        index: 18
                        elements:
                          value[x]:
                            elements:
                              coding:
                                elements:
                                  system:
                                    pattern: {type: uri, value: 'http://fhir.szmc.org.il/cs/nationality'}
                                    type: uri
                                    index: 19
                                required: [system]
  identifier:
    index: 20
    slicing:
      slices:
        ppn:
          match: {}
          schema:
            index: 20
            elements:
              type:
                elements:
                  coding:
                    elements:
                      system:
                        extensions: {}
                        elements:
                          extension:
                            index: 21
                            extensions: {}
                            elements:
                              extension: {index: 22}
                              url:
                                pattern: {type: uri, value: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason'}
                                type: uri
                                index: 23
                              value:
                                choices: []
                                index: 25
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: 1
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: code, value: unknown}
                                        choices: [valueCode]
                                        _required: true
                                        type: code
                                        index: 27
                                      min: 1
                                      max: 1
                              valueCode:
                                type: code
                                pattern: {type: code, value: unknown}
                                choiceOf: value
                                index: 28
                                slicing:
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        type: code
                                        pattern: {type: code, value: unknown}
                                        choiceOf: value
                                        _required: true
                                        index: 28
                                      min: 1
                                      max: 1
                            required: [value, valueCode]
        tmp:
          match: {}
          schema:
            short: Temporary Patient Identifier
            array: true
            index: 29
            elements:
              system:
                pattern: {type: uri, value: 'http://fhir.szmc.org.il/identifier/temp-patient'}
                type: uri
                index: 30
              value: {short: Temporary patient ID value, index: 31}
        baby:
          match: {}
          schema:
            short: Baby Patient Identifier
            array: true
            index: 32
            elements:
              system:
                pattern: {type: uri, value: 'http://fhir.szmc.org.il/identifier/baby-patient'}
                type: uri
                index: 33
              value: {short: Baby patient ID value, index: 34}
package_version: 0.2.0
extensions:
  hmo:
    url: null
    _required: true
    index: 1
    elements:
      value[x]:
        elements:
          coding:
            elements:
              system:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value[x]:
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
                            type: uri
                            index: 12
                          code:
                            pattern: {type: code, value: unknown}
                            type: code
                            index: 13
                        required: [code, system]
      value:
        elements:
          coding:
            elements:
              system:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        choices: []
                        index: 8
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCoding:
                              match: {}
                              schema:
                                choices: [valueCoding]
                                index: 10
                              min: 0
                              max: 1
                      valueCoding:
                        type: Coding
                        choiceOf: value
                        index: 11
                        slicing:
                          slices:
                            valueCoding:
                              match: {}
                              schema: {type: Coding, choiceOf: value, index: 11}
                              min: 0
                              max: 1
  citizenship:
    url: http://hl7.org/fhir/StructureDefinition/patient-citizenship
    type: Extension
    short: 'Extension: Patient Citizenship'
    index: 14
    extensions:
      code:
        url: null
        index: 15
        elements:
          value[x]:
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.szmc.org.il/cs/citizenship'}
                    type: uri
                    index: 16
                required: [system]
    elements:
      extension:
        index: 15
        slicing:
          slices:
            code:
              match: {}
              schema:
                index: 15
                elements:
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://fhir.szmc.org.il/cs/citizenship'}
                            type: uri
                            index: 16
                        required: [system]
  nationality:
    url: http://hl7.org/fhir/StructureDefinition/patient-nationality
    type: Extension
    short: 'Extension: Patient Nationality'
    index: 17
    extensions:
      code:
        url: null
        index: 18
        elements:
          value[x]:
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.szmc.org.il/cs/nationality'}
                    type: uri
                    index: 19
                required: [system]
    elements:
      extension:
        index: 18
        slicing:
          slices:
            code:
              match: {}
              schema:
                index: 18
                elements:
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://fhir.szmc.org.il/cs/nationality'}
                            type: uri
                            index: 19
                        required: [system]
class: profile
kind: resource
url: http://fhir.szmc.org.il/StructureDefinition/szmc-patient
base: http://fhir.health.gov.il/StructureDefinition/il-core-patient
version: null
required: [extension]