PackagesCanonicalsLogsProblems
    Packages
    ca.on.dhdr.r4@4.0.3-snapshot4
    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.dhdr.r4
derivation: constraint
name: PatientDHDRSubmission
type: Patient
elements:
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        JHN:
          match:
            type:
              coding: {code: JHN}
          schema:
            mustSupport: true
            index: 1
            elements:
              type:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
                mustSupport: true
                index: 2
                elements:
                  coding:
                    mustSupport: true
                    index: 3
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        type: uri
                        index: 4
                      code:
                        pattern: {type: code, value: JHN}
                        mustSupport: true
                        type: code
                        index: 5
                    required: [code, system]
                required: [coding]
              system:
                pattern: {type: uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn'}
                mustSupport: true
                type: uri
                index: 6
              value: {mustSupport: true, index: 7}
            required: [system, type, value]
        MRN:
          match:
            type:
              coding: {code: MR}
          schema:
            mustSupport: true
            _required: true
            index: 8
            elements:
              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
                        type: uri
                        index: 11
                      code:
                        pattern: {type: code, value: MR}
                        mustSupport: true
                        type: code
                        index: 12
                    required: [code, system]
                required: [coding]
              system: {mustSupport: true, index: 13}
              value: {mustSupport: true, index: 14}
            required: [system, type, value]
  name:
    mustSupport: true
    index: 15
    elements:
      use: {mustSupport: true, index: 16}
      family: {mustSupport: true, index: 17}
      given: {mustSupport: true, index: 18}
      prefix: {mustSupport: true, index: 19}
      suffix: {mustSupport: true, index: 20}
    required: [family, given]
  telecom:
    mustSupport: true
    index: 21
    elements:
      system: {mustSupport: true, index: 22}
      value: {mustSupport: true, index: 23}
      use: {mustSupport: true, index: 24}
    required: [system, value]
  gender:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/administrative-gender|4.0.0'}
    mustSupport: true
    index: 25
  birthDate: {mustSupport: true, index: 26}
  address:
    mustSupport: true
    index: 27
    elements:
      use: {mustSupport: true, index: 28}
      type: {mustSupport: true, index: 29}
      line: {mustSupport: true, array: true, max: 2, index: 30}
      city: {mustSupport: true, index: 31}
      state:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/province-state-code'}
        mustSupport: true
        index: 32
      postalCode: {mustSupport: true, index: 33}
      country:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/country-code'}
        mustSupport: true
        index: 34
    required: [city, country, state]
package_version: 4.0.3-snapshot4
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: [birthDate, gender, identifier, name]