PackagesCanonicalsLogsProblems
    Packages
    FHIR.DGMC@0.1.0
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-patient
description: Profile of Patient by Dgmc
package_name: FHIR.DGMC
derivation: constraint
name: PatientDgmc
type: Patient
elements:
  id: {index: 0}
  meta:
    elements:
      security:
        elements:
          system: {index: 1}
          code: {index: 2}
          display: {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
                    elements:
                      system: {index: 7}
                      code: {index: 8}
                      display: {index: 9}
                    required: [display, system, code]
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: system, type: value}
                      min: null
                      slices:
                        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'}
                                index: 11
        birthPlace:
          match: {}
          schema:
            index: 12
            elements:
              value[x]:
                elements:
                  country: {index: 13}
                required: [country]
        genderIdentity:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
            index: 14
            elements:
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/gender-identity'}
                        index: 15
                      code:
                        pattern: {type: Code, value: other}
                        index: 16
                      display:
                        pattern: {type: String, value: other}
                        index: 17
                    required: [display, system, code]
        cadavericDonor:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor
            index: 18
            elements:
              value:
                pattern: {type: Boolean, value: true}
                choices: []
                index: 20
        disability:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-disability
            index: 21
            elements:
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 22
                      code:
                        pattern: {type: Code, value: '15188001'}
                        index: 23
                      display:
                        pattern: {type: String, value: Hearing loss}
                        index: 24
                    required: [display, system, code]
                  text:
                    pattern: {type: String, value: כבד שמיעה}
                    index: 25
                required: [text]
        nationality:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-nationality
            index: 26
            extensions:
              code:
                url: null
                index: 27
                elements:
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                            index: 28
                          code: {index: 29}
                        required: [system, code]
            elements:
              extension:
                index: 27
                slicing:
                  slices:
                    code:
                      match: {}
                      schema:
                        index: 27
                        elements:
                          value[x]:
                            elements:
                              coding:
                                elements:
                                  system:
                                    pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                                    index: 28
                                  code: {index: 29}
                                required: [system, code]
  identifier:
    index: 30
    slicing:
      slices:
        ppn:
          match: {}
          schema:
            index: 30
            elements:
              type:
                elements:
                  coding:
                    elements:
                      system: {index: 31}
                      code: {index: 32}
                    required: [system, code]
              system:
                extensions:
                  data-absent-reason:
                    url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                    type: Extension
                    index: 34
                    elements:
                      value:
                        pattern: {type: Code, value: unknown}
                        choices: []
                        index: 36
                elements:
                  extension:
                    index: 33
                    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: 34
                            elements:
                              value:
                                pattern: {type: Code, value: unknown}
                                choices: []
                                index: 36
                required: [extension]
        nmr-pat-int-num:
          match: {}
          schema:
            _required: true
            index: 37
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.shamir.health.gov.il/identifier/nmr-pat-int-num'}
                index: 38
        cml-pat-int-num:
          match: {}
          schema:
            index: 39
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.shamir.health.gov.il/identifier/cml-pat-int-num'}
                index: 40
        idf:
          match: {}
          schema:
            index: 41
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/identifier/idf-service-number'}
                index: 42
        prs:
          match: {}
          schema:
            index: 43
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/identifier/il-prisoner-number'}
                index: 44
  birthDate:
    extensions:
      data-absent-reason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 46
        elements:
          value:
            pattern: {type: Code, value: unknown}
            choices: []
            index: 48
      hebrew-date: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-hebrew-date', min: 0, max: 1, type: Extension, index: 49}
    elements:
      extension:
        index: 45
        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: 46
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 48
            hebrew-date:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.health.gov.il/StructureDefinition/ext-hebrew-date', index: 49}
              min: 0
              max: 1
package_version: 0.1.0
extensions:
  hmo:
    url: null
    _required: true
    index: 5
    elements:
      value[x]:
        elements:
          coding:
            index: 6
            elements:
              system: {index: 7}
              code: {index: 8}
              display: {index: 9}
            required: [display, system, code]
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                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'}
                        index: 11
  birthPlace:
    url: null
    index: 12
    elements:
      value[x]:
        elements:
          country: {index: 13}
        required: [country]
  genderIdentity:
    url: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
    type: Extension
    index: 14
    elements:
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://hl7.org/fhir/gender-identity'}
                index: 15
              code:
                pattern: {type: Code, value: other}
                index: 16
              display:
                pattern: {type: String, value: other}
                index: 17
            required: [display, system, code]
  cadavericDonor:
    url: http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor
    type: Extension
    index: 18
    elements:
      value:
        pattern: {type: Boolean, value: true}
        choices: []
        index: 20
  disability:
    url: http://hl7.org/fhir/StructureDefinition/patient-disability
    type: Extension
    index: 21
    elements:
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                index: 22
              code:
                pattern: {type: Code, value: '15188001'}
                index: 23
              display:
                pattern: {type: String, value: Hearing loss}
                index: 24
            required: [display, system, code]
          text:
            pattern: {type: String, value: כבד שמיעה}
            index: 25
        required: [text]
  nationality:
    url: http://hl7.org/fhir/StructureDefinition/patient-nationality
    type: Extension
    index: 26
    extensions:
      code:
        url: null
        index: 27
        elements:
          value[x]:
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                    index: 28
                  code: {index: 29}
                required: [system, code]
    elements:
      extension:
        index: 27
        slicing:
          slices:
            code:
              match: {}
              schema:
                index: 27
                elements:
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                            index: 28
                          code: {index: 29}
                        required: [system, code]
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: null
required: [id, extension]