PackagesCanonicalsLogsProblems
    Packages
    ca.on.ehr.r4@1.0.0-snapshot1
    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: 37
    elements:
      use: {mustSupport: true, index: 38}
      type: {mustSupport: true, index: 39}
      line: {mustSupport: true, index: 40}
      city: {mustSupport: true, index: 41}
      state:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/province-state-code'}
        mustSupport: true
        index: 42
      postalCode: {mustSupport: true, index: 43}
      country:
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/country-code'}
        mustSupport: true
        index: 44
  name:
    mustSupport: true
    index: 22
    elements:
      use: {mustSupport: true, index: 23}
      family: {mustSupport: true, index: 24}
      given: {mustSupport: true, index: 25}
      prefix: {mustSupport: true, index: 26}
      suffix: {mustSupport: true, index: 27}
  birthDate: {mustSupport: true, index: 34}
  deceased:
    choices: []
    index: 36
  communication:
    mustSupport: true
    index: 62
    elements:
      language:
        type: CodeableConcept
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
        mustSupport: true
        index: 63
        elements:
          coding:
            index: 64
            elements:
              system: {index: 65}
            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: null}
          schema:
            mustSupport: true
            array: true
            index: 3
            extensions:
              ReasonForNoHCN:
                url: http://ehealthontario.ca/fhir/StructureDefinition/ext-reason-for-no-HCN
                type: Extension
                index: 4
                elements:
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 5
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/ereferral-Reason-For-No-HCN'}
                            index: 6
              HCNVersionCode:
                url: http://ehealthontario.ca/fhir/StructureDefinition/ext-id-health-card-version-code
                type: Extension
                index: 7
                extensions: {}
                elements:
                  extension: {index: 8}
            elements:
              extension:
                type: Extension
                url: http://ehealthontario.ca/fhir/StructureDefinition/ext-reason-for-no-HCN
                index: 4
                slicing:
                  slices:
                    ReasonForNoHCN:
                      match: {}
                      schema:
                        type: Extension
                        url: http://ehealthontario.ca/fhir/StructureDefinition/ext-reason-for-no-HCN
                        index: 4
                        elements:
                          value[x]:
                            elements:
                              coding:
                                mustSupport: true
                                index: 5
                                elements:
                                  system:
                                    pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/ereferral-Reason-For-No-HCN'}
                                    index: 6
                    HCNVersionCode:
                      match: {}
                      schema:
                        type: Extension
                        url: http://ehealthontario.ca/fhir/StructureDefinition/ext-id-health-card-version-code
                        index: 7
                        extensions: {}
                        elements:
                          extension: {index: 8}
              type:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
                mustSupport: true
                index: 9
                elements:
                  coding:
                    mustSupport: true
                    index: 10
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 11
                      code:
                        pattern: {type: Code, value: JHN}
                        mustSupport: true
                        index: 12
                    required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 13}
              value: {mustSupport: true, index: 14}
            required: [value, type, system]
        MRN:
          match: {type: null}
          schema:
            mustSupport: true
            array: true
            index: 15
            elements:
              type:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
                mustSupport: true
                index: 16
                elements:
                  coding:
                    mustSupport: true
                    index: 17
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 18
                      code:
                        pattern: {type: Code, value: MR}
                        mustSupport: true
                        index: 19
                    required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 20}
              value: {mustSupport: true, index: 21}
            required: [value, type, system]
  telecom:
    mustSupport: true
    index: 28
    extensions:
      telephone-note: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-ext-note', min: 0, max: 1, type: Extension, index: 29}
    elements:
      extension:
        type: Extension
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-ext-note
        index: 29
        slicing:
          slices:
            telephone-note:
              match: {}
              schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-ext-note', index: 29}
              min: 0
              max: 1
      system: {mustSupport: true, index: 30}
      value: {mustSupport: true, index: 31}
      use: {mustSupport: true, index: 32}
    required: [value]
  generalPractitioner:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner']
    index: 66
    elements:
      reference: {mustSupport: true, index: 67}
  gender: {mustSupport: true, index: 33}
  contact:
    mustSupport: true
    index: 45
    elements:
      relationship:
        type: CodeableConcept
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/patient-contact-relationship'}
        mustSupport: true
        index: 46
        elements:
          coding: {index: 47}
        required: [coding]
      name:
        mustSupport: true
        index: 48
        elements:
          use: {mustSupport: true, index: 49}
          family: {mustSupport: true, index: 50}
          given: {mustSupport: true, index: 51}
          prefix: {mustSupport: true, index: 52}
          suffix: {mustSupport: true, index: 53}
      telecom: {mustSupport: true, index: 54}
      address:
        mustSupport: true
        index: 55
        elements:
          use: {mustSupport: true, index: 56}
          line: {mustSupport: true, index: 57}
          city: {mustSupport: true, index: 58}
          state: {mustSupport: true, index: 59}
          postalCode: {mustSupport: true, index: 60}
          country: {mustSupport: true, index: 61}
package_version: 1.0.0-snapshot1
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]