PackagesCanonicalsLogsProblems
    Packages
    ca.on.ehr.r4@1.0.0-snapshot13
    http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient
description: Demographics and other administrative information about an individual receiving care or other health-related services.
package_name: ca.on.ehr.r4
derivation: constraint
name: PatientEHR
type: Patient
elements:
  address:
    mustSupport: true
    index: 36
    elements:
      use: {mustSupport: true, index: 37}
      type: {mustSupport: true, index: 38}
      line: {mustSupport: true, index: 39}
      city: {mustSupport: true, index: 40}
      state:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/province-state-code'}
        mustSupport: true
        index: 41
      postalCode: {mustSupport: true, index: 42}
      country:
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/country-code'}
        mustSupport: true
        index: 43
  name:
    mustSupport: true
    index: 23
    elements:
      use: {mustSupport: true, index: 24}
      family: {mustSupport: true, index: 25}
      given: {mustSupport: true, index: 26}
      prefix: {mustSupport: true, index: 27}
      suffix: {mustSupport: true, index: 28}
  birthDate: {mustSupport: true, index: 35}
  communication:
    mustSupport: true
    index: 63
    elements:
      language:
        type: CodeableConcept
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
        mustSupport: true
        index: 64
        elements:
          coding:
            index: 65
            elements:
              system: {index: 66}
              display:
                extensions:
                  translation:
                    url: null
                    index: 67
                    extensions: {}
                    elements:
                      extension: {array: true, min: 2, index: 68}
                elements:
                  extension:
                    index: 67
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            index: 67
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 68}
            required: [system]
  identifier:
    mustSupport: true
    index: 0
    elements:
      system: {index: 1}
      value: {index: 2}
    required: [value, system]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        JHN:
          match:
            type:
              coding:
              - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            mustSupport: true
            index: 3
            extensions:
              ReasonForNoHCN:
                url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-reason-for-no-HCN-EXT
                type: Extension
                index: 4
                elements:
                  value:
                    choices: []
                    index: 6
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 7
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-reason-for-no-HCN-EXT'}
                            index: 8
              versionCode: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', max: 1, type: Extension, index: 9}
            elements:
              extension:
                type: Extension
                url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-reason-for-no-HCN-EXT
                index: 4
                slicing:
                  slices:
                    ReasonForNoHCN:
                      match: {}
                      schema:
                        type: Extension
                        url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-reason-for-no-HCN-EXT
                        index: 4
                        elements:
                          value:
                            choices: []
                            index: 6
                          value[x]:
                            elements:
                              coding:
                                mustSupport: true
                                index: 7
                                elements:
                                  system:
                                    pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-reason-for-no-HCN-EXT'}
                                    index: 8
                    versionCode:
                      match: {}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', index: 9}
                      max: 1
              type:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 10
                elements:
                  coding:
                    mustSupport: true
                    index: 11
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 12
                      code:
                        pattern: {type: Code, value: JHN}
                        mustSupport: true
                        index: 13
                    required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 14}
              value: {mustSupport: true, index: 15}
            required: [value, type, system]
        MRN:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            mustSupport: true
            index: 16
            elements:
              type:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 17
                elements:
                  coding:
                    mustSupport: true
                    index: 18
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 19
                      code:
                        pattern: {type: Code, value: MR}
                        mustSupport: true
                        index: 20
                    required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 21}
              value: {mustSupport: true, index: 22}
            required: [value, type, system]
  telecom:
    mustSupport: true
    index: 29
    extensions:
      telephone-note: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-ext-note', max: 1, type: Extension, index: 30}
    elements:
      extension:
        type: Extension
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-ext-note
        index: 30
        slicing:
          slices:
            telephone-note:
              match: {}
              schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-ext-note', index: 30}
              max: 1
      system: {mustSupport: true, index: 31}
      value: {mustSupport: true, index: 32}
      use: {mustSupport: true, index: 33}
    required: [value]
  generalPractitioner:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner']
    index: 69
    elements:
      reference: {mustSupport: true, index: 70}
  gender: {mustSupport: true, index: 34}
  contact:
    mustSupport: true
    index: 44
    elements:
      relationship:
        type: CodeableConcept
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/patient-contact-relationship'}
        mustSupport: true
        index: 45
        elements:
          coding:
            index: 46
            elements:
              display:
                extensions:
                  translation:
                    url: null
                    index: 47
                    extensions: {}
                    elements:
                      extension: {array: true, min: 2, index: 48}
                elements:
                  extension:
                    index: 47
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            index: 47
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 48}
        required: [coding]
      name:
        mustSupport: true
        index: 49
        elements:
          use: {mustSupport: true, index: 50}
          family: {mustSupport: true, index: 51}
          given: {mustSupport: true, index: 52}
          prefix: {mustSupport: true, index: 53}
          suffix: {mustSupport: true, index: 54}
      telecom: {mustSupport: true, index: 55}
      address:
        mustSupport: true
        index: 56
        elements:
          use: {mustSupport: true, index: 57}
          line: {mustSupport: true, index: 58}
          city: {mustSupport: true, index: 59}
          state:
            binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/province-state-code'}
            mustSupport: true
            index: 60
          postalCode: {mustSupport: true, index: 61}
          country:
            binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/country-code'}
            mustSupport: true
            index: 62
package_version: 1.0.0-snapshot13
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.0
required: [identifier]