PackagesCanonicalsLogsProblems
    Packages
    rs/fhir.dgmc@0.1.3
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-patient
description: Profile on IL-Core-Patient by DGMC
package_name: rs/fhir.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'}
            type: uri
            index: 1
          code:
            pattern: {type: code, value: R}
            type: code
            index: 2
          display:
            pattern: {type: string, value: restricted}
            type: string
            index: 3
        required: [code, display, system]
  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: 1
                      slices:
                        hmo:
                          match: {system: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
                          schema:
                            _required: true
                            index: 7
                            elements:
                              system:
                                pattern: {type: uri, value: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
                                type: uri
                                index: 8
                              code: {index: 9}
                            required: [code, system]
                        nmr-hmo:
                          match: {system: 'http://fhir.dgmc.health.gov.il/cs/nmr-hmo'}
                          schema:
                            index: 10
                            elements:
                              system:
                                pattern: {type: uri, value: 'http://fhir.dgmc.health.gov.il/cs/nmr-hmo'}
                                type: uri
                                index: 11
                              code: {index: 12}
                            required: [code, system]
                required: [coding]
        birthPlace:
          match: {}
          schema:
            index: 13
            elements:
              value[x]:
                elements:
                  country: {index: 14}
                required: [country]
        genderIdentity:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
            index: 15
            elements:
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://hl7.org/fhir/gender-identity'}
                        type: uri
                        index: 16
                      code:
                        pattern: {type: code, value: other}
                        type: code
                        index: 17
                      display:
                        pattern: {type: string, value: other}
                        type: string
                        index: 18
                    required: [code, display, system]
        cadavericDonor:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor
            index: 19
            elements:
              value:
                pattern: {type: boolean, value: true}
                choices: []
                type: boolean
                index: 21
        disability:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-disability
            index: 22
            elements:
              value[x]:
                elements:
                  coding:
                    index: 23
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 24
                      code:
                        pattern: {type: code, value: '15188001'}
                        type: code
                        index: 25
                      display:
                        pattern: {type: string, value: Hearing impaired}
                        type: string
                        index: 26
                    required: [code, display, system]
                  text:
                    pattern: {type: string, value: כבד שמיעה}
                    type: string
                    index: 27
                required: [coding, text]
        nationality:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-nationality
            index: 28
            extensions:
              code:
                url: null
                _required: true
                index: 30
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 31
                        elements:
                          system:
                            pattern: {type: uri, value: 'urn:iso:std:iso:3166'}
                            type: uri
                            index: 32
                          code: {index: 33}
                        required: [code, system]
                    required: [coding]
            elements:
              extension:
                index: 29
                slicing:
                  slices:
                    code:
                      match: {}
                      schema:
                        _required: true
                        index: 30
                        elements:
                          value[x]:
                            elements:
                              coding:
                                index: 31
                                elements:
                                  system:
                                    pattern: {type: uri, value: 'urn:iso:std:iso:3166'}
                                    type: uri
                                    index: 32
                                  code: {index: 33}
                                required: [code, system]
                            required: [coding]
            required: [extension]
  identifier:
    index: 34
    slicing:
      slices:
        ppn:
          match: {}
          schema:
            index: 34
            elements:
              type:
                elements:
                  coding:
                    elements:
                      system: {index: 35}
                      code: {index: 36}
                    required: [code, system]
              system:
                extensions:
                  data-absent-reason:
                    url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                    type: Extension
                    index: 38
                    elements:
                      value:
                        pattern: {type: code, value: unknown}
                        choices: []
                        type: code
                        index: 40
                elements:
                  extension:
                    index: 37
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        data-absent-reason:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                            index: 38
                            elements:
                              value:
                                pattern: {type: code, value: unknown}
                                choices: []
                                type: code
                                index: 40
                required: [extension]
        nmr-pat-int-num:
          match: {}
          schema:
            _required: true
            index: 41
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/hospitals-uri/nmr-pat-internal'}
                index: 42
        cml-pat-int-num:
          match: {}
          schema:
            index: 43
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/hospitals-uri/cml-pat-internal'}
                index: 44
        nmr-pat-tmp-num:
          match: {}
          schema:
            index: 45
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/hospitals-uri/nmr-pat-temp'}
                index: 46
        idf:
          match: {}
          schema:
            index: 47
            elements:
              system:
                pattern: {type: uri, value: 'http://fhir.health.gov.il/identifier/idf-service-number'}
                type: uri
                index: 48
  birthDate:
    extensions:
      data-absent-reason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 50
        elements:
          value:
            pattern: {type: code, value: unknown}
            choices: []
            type: code
            index: 52
      hebrew-date: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-hebrew-date', min: 0, max: 1, type: Extension, index: 53}
    elements:
      extension:
        index: 49
        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: 50
                elements:
                  value:
                    pattern: {type: code, value: unknown}
                    choices: []
                    type: code
                    index: 52
            hebrew-date:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.health.gov.il/StructureDefinition/ext-hebrew-date', index: 53}
              min: 0
              max: 1
package_version: 0.1.3
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: 1
              slices:
                hmo:
                  match: {system: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
                  schema:
                    _required: true
                    index: 7
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
                        type: uri
                        index: 8
                      code: {index: 9}
                    required: [code, system]
                nmr-hmo:
                  match: {system: 'http://fhir.dgmc.health.gov.il/cs/nmr-hmo'}
                  schema:
                    index: 10
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://fhir.dgmc.health.gov.il/cs/nmr-hmo'}
                        type: uri
                        index: 11
                      code: {index: 12}
                    required: [code, system]
        required: [coding]
  birthPlace:
    url: null
    index: 13
    elements:
      value[x]:
        elements:
          country: {index: 14}
        required: [country]
  genderIdentity:
    url: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
    type: Extension
    index: 15
    elements:
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: uri, value: 'http://hl7.org/fhir/gender-identity'}
                type: uri
                index: 16
              code:
                pattern: {type: code, value: other}
                type: code
                index: 17
              display:
                pattern: {type: string, value: other}
                type: string
                index: 18
            required: [code, display, system]
  cadavericDonor:
    url: http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor
    type: Extension
    index: 19
    elements:
      value:
        pattern: {type: boolean, value: true}
        choices: []
        type: boolean
        index: 21
  disability:
    url: http://hl7.org/fhir/StructureDefinition/patient-disability
    type: Extension
    index: 22
    elements:
      value[x]:
        elements:
          coding:
            index: 23
            elements:
              system:
                pattern: {type: uri, value: 'http://snomed.info/sct'}
                type: uri
                index: 24
              code:
                pattern: {type: code, value: '15188001'}
                type: code
                index: 25
              display:
                pattern: {type: string, value: Hearing impaired}
                type: string
                index: 26
            required: [code, display, system]
          text:
            pattern: {type: string, value: כבד שמיעה}
            type: string
            index: 27
        required: [coding, text]
  nationality:
    url: http://hl7.org/fhir/StructureDefinition/patient-nationality
    type: Extension
    index: 28
    extensions:
      code:
        url: null
        _required: true
        index: 30
        elements:
          value[x]:
            elements:
              coding:
                index: 31
                elements:
                  system:
                    pattern: {type: uri, value: 'urn:iso:std:iso:3166'}
                    type: uri
                    index: 32
                  code: {index: 33}
                required: [code, system]
            required: [coding]
    elements:
      extension:
        index: 29
        slicing:
          slices:
            code:
              match: {}
              schema:
                _required: true
                index: 30
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 31
                        elements:
                          system:
                            pattern: {type: uri, value: 'urn:iso:std:iso:3166'}
                            type: uri
                            index: 32
                          code: {index: 33}
                        required: [code, system]
                    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.3
required: [extension, id]