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