PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.dgmc@0.1.5
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-patient
description: Profile on IL-Core-Patient by DGMC
package_name: il.fhir.r4.dgmc
derivation: constraint
name: DgmcPatient
type: Patient
elements:
  id: {index: 0}
  meta:
    elements:
      security:
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality'}
            index: 1
          code:
            pattern: {type: Code, value: R}
            index: 2
          display:
            pattern: {type: String, value: restricted}
            index: 3
        required: [display, system, code]
  extension:
    index: 4
    slicing:
      slices:
        hmo:
          match: {}
          schema:
            _required: true
            index: 5
            elements:
              value[x]:
                elements:
                  coding:
                    index: 6
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: system, type: value}
                      min: null
                      slices:
                        nmr:
                          match: {system: 'http://fhir.dgmc.health.gov.il/cs/nmr-hmo'}
                          schema:
                            index: 7
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://fhir.dgmc.health.gov.il/cs/nmr-hmo'}
                                index: 8
                              code: {index: 9}
                            required: [system, code]
        birthPlace:
          match: {}
          schema:
            index: 10
            elements:
              value[x]:
                elements:
                  country: {index: 11}
                required: [country]
        genderIdentity:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
            index: 12
            elements:
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/gender-identity'}
                        index: 13
                      code:
                        pattern: {type: Code, value: other}
                        index: 14
                      display:
                        pattern: {type: String, value: other}
                        index: 15
                    required: [display, system, code]
        cadavericDonor:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor
            index: 16
            elements:
              value:
                pattern: {type: Boolean, value: true}
                choices: []
                index: 18
        hearing:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-disability
            index: 19
            elements:
              value[x]:
                elements:
                  coding:
                    index: 20
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 21
                      code:
                        pattern: {type: Code, value: '15188001'}
                        index: 22
                      display:
                        pattern: {type: String, value: Hearing loss}
                        index: 23
                    required: [display, system, code]
                  text:
                    pattern: {type: String, value: כבד שמיעה}
                    index: 24
                required: [coding, text]
        nationality:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-nationality
            index: 25
            extensions:
              code:
                url: null
                _required: true
                index: 27
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 28
                        elements:
                          system:
                            pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                            index: 29
                          code: {index: 30}
                        required: [system, code]
                    required: [coding]
            elements:
              extension:
                index: 26
                slicing:
                  slices:
                    code:
                      match: {}
                      schema:
                        _required: true
                        index: 27
                        elements:
                          value[x]:
                            elements:
                              coding:
                                index: 28
                                elements:
                                  system:
                                    pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                                    index: 29
                                  code: {index: 30}
                                required: [system, code]
                            required: [coding]
            required: [extension]
  identifier:
    index: 31
    slicing:
      slices:
        nmr-pat-int-num:
          match: {}
          schema:
            _required: true
            index: 31
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/nmr-pat-internal-uri'}
                index: 32
        cml-pat-int-num:
          match: {}
          schema:
            index: 33
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-pat-internal-uri'}
                index: 34
        nmr-pat-tmp-num:
          match: {}
          schema:
            index: 35
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/nmr-pat-temp-uri'}
                index: 36
        ppn-unknown:
          match: {}
          schema:
            array: true
            index: 37
            elements:
              type:
                index: 38
                elements:
                  coding:
                    index: 39
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 40
                      code:
                        pattern: {type: Code, value: PPN}
                        index: 41
                    required: [system, code]
                required: [coding]
              system:
                _fixedUri:
                  extension:
                  - {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', valueCode: unknown}
                index: 42
            required: [type]
        idf:
          match: {}
          schema:
            index: 43
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/identifier/idf-service-number'}
                index: 44
  telecom:
    index: 45
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        phone:
          match: {system: phone}
          schema:
            array: true
            index: 46
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 47
        email:
          match: {system: email}
          schema:
            array: true
            index: 48
            elements:
              system:
                pattern: {type: Code, value: email}
                index: 49
  birthDate:
    extensions:
      data-absent-reason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 51
        elements:
          value:
            pattern: {type: Code, value: unknown}
            choices: []
            index: 53
      hebrew-date: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-hebrew-date', min: 0, max: 1, type: Extension, index: 54}
    elements:
      extension:
        index: 50
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            data-absent-reason:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 51
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 53
            hebrew-date:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.health.gov.il/StructureDefinition/ext-hebrew-date', index: 54}
              min: 0
              max: 1
  address:
    elements:
      city:
        extensions:
          cityCode:
            url: null
            index: 55
            elements:
              value[x]:
                elements:
                  coding:
                    index: 56
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: system, type: value}
                      min: 1
                      slices:
                        symbol:
                          match: {system: 'http://fhir.health.gov.il/cs/city-symbol'}
                          schema:
                            _required: true
                            index: 57
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/city-symbol'}
                                index: 58
                            required: [system]
                required: [coding]
        elements:
          extension:
            index: 55
            slicing:
              slices:
                cityCode:
                  match: {}
                  schema:
                    index: 55
                    elements:
                      value[x]:
                        elements:
                          coding:
                            index: 56
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: system, type: value}
                              min: 1
                              slices:
                                symbol:
                                  match: {system: 'http://fhir.health.gov.il/cs/city-symbol'}
                                  schema:
                                    _required: true
                                    index: 57
                                    elements:
                                      system:
                                        pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/city-symbol'}
                                        index: 58
                                    required: [system]
                        required: [coding]
package_version: 0.1.5
extensions:
  hmo:
    url: null
    _required: true
    index: 5
    elements:
      value[x]:
        elements:
          coding:
            index: 6
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                nmr:
                  match: {system: 'http://fhir.dgmc.health.gov.il/cs/nmr-hmo'}
                  schema:
                    index: 7
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.dgmc.health.gov.il/cs/nmr-hmo'}
                        index: 8
                      code: {index: 9}
                    required: [system, code]
  birthPlace:
    url: null
    index: 10
    elements:
      value[x]:
        elements:
          country: {index: 11}
        required: [country]
  genderIdentity:
    url: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
    type: Extension
    index: 12
    elements:
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://hl7.org/fhir/gender-identity'}
                index: 13
              code:
                pattern: {type: Code, value: other}
                index: 14
              display:
                pattern: {type: String, value: other}
                index: 15
            required: [display, system, code]
  cadavericDonor:
    url: http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor
    type: Extension
    index: 16
    elements:
      value:
        pattern: {type: Boolean, value: true}
        choices: []
        index: 18
  hearing:
    url: http://hl7.org/fhir/StructureDefinition/patient-disability
    type: Extension
    index: 19
    elements:
      value[x]:
        elements:
          coding:
            index: 20
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                index: 21
              code:
                pattern: {type: Code, value: '15188001'}
                index: 22
              display:
                pattern: {type: String, value: Hearing loss}
                index: 23
            required: [display, system, code]
          text:
            pattern: {type: String, value: כבד שמיעה}
            index: 24
        required: [coding, text]
  nationality:
    url: http://hl7.org/fhir/StructureDefinition/patient-nationality
    type: Extension
    index: 25
    extensions:
      code:
        url: null
        _required: true
        index: 27
        elements:
          value[x]:
            elements:
              coding:
                index: 28
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                    index: 29
                  code: {index: 30}
                required: [system, code]
            required: [coding]
    elements:
      extension:
        index: 26
        slicing:
          slices:
            code:
              match: {}
              schema:
                _required: true
                index: 27
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 28
                        elements:
                          system:
                            pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                            index: 29
                          code: {index: 30}
                        required: [system, code]
                    required: [coding]
    required: [extension]
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-patient
base: http://fhir.health.gov.il/StructureDefinition/il-core-patient
version: 0.1.5
required: [id, extension, identifier]