PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-dhdr@4.0.2-alpha1.0.1
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient
description: Demographics and other administrative information about an individual receiving care or other health-related services.
package_name: ca.on.oh-dhdr
derivation: constraint
name: Patient
type: Patient
elements:
  id: {mustSupport: true, index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {mustSupport: true, index: 2}
    required: [profile]
  identifier:
    mustSupport: true
    index: 3
    slicing:
      rules: closed
      discriminator:
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        IdentifierOntarioHCN:
          match:
            type:
              coding: {code: JHN}
          schema:
            mustSupport: true
            index: 4
            elements:
              type:
                mustSupport: true
                index: 5
                elements:
                  coding:
                    mustSupport: true
                    index: 6
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 7
                      code:
                        pattern: {type: Code, value: JHN}
                        mustSupport: true
                        index: 8
                    required: [system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn'}
                mustSupport: true
                index: 9
              value: {mustSupport: true, index: 10}
            required: [value, type, system]
        IdentifierMRN:
          match:
            type:
              coding: {code: MR}
          schema:
            mustSupport: true
            index: 11
            elements:
              type:
                mustSupport: true
                index: 12
                elements:
                  coding:
                    mustSupport: true
                    index: 13
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 14
                      code:
                        pattern: {type: Code, value: MR}
                        mustSupport: true
                        index: 15
                    required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 16}
              value: {mustSupport: true, index: 17}
            required: [value, type, system]
  name:
    mustSupport: true
    index: 18
    elements:
      use: {mustSupport: true, index: 19}
      family: {mustSupport: true, index: 20}
      given: {mustSupport: true, index: 21}
      prefix: {mustSupport: true, index: 22}
      suffix: {mustSupport: true, index: 23}
    required: [family]
  telecom:
    mustSupport: true
    index: 24
    elements:
      system:
        pattern: {type: Code, value: phone}
        mustSupport: true
        index: 25
      value: {mustSupport: true, index: 26}
      use: {mustSupport: true, index: 27}
    required: [value]
  gender:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/administrative-gender|4.0.0'}
    mustSupport: true
    index: 28
  birthDate: {mustSupport: true, index: 29}
  address:
    mustSupport: true
    index: 30
    elements:
      use: {mustSupport: true, index: 31}
      type: {mustSupport: true, index: 32}
      line: {mustSupport: true, index: 33}
      city: {mustSupport: true, index: 34}
      state:
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/province-state-code'}
        mustSupport: true
        index: 35
      postalCode: {mustSupport: true, index: 36}
      country:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/country-code'}
        mustSupport: true
        index: 37
package_version: 4.0.2-alpha1.0.1
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 4.0.1
required: [name, identifier, meta]