PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-setp@0.9.0-alpha1.0.29
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-profile-Patient
description: The Patient resources contain demographics about the individual who is the subject of the surgical case.
package_name: ca.on.oh-setp
derivation: constraint
name: Patient
type: Patient
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  extension:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        genderIdentity:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
            index: 3
            elements:
              value:
                mustSupport: true
                choices: []
                index: 5
              value[x]:
                elements:
                  coding:
                    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/gender-identity'}
                    mustSupport: true
                    index: 6
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/gender-identity'}
                        mustSupport: true
                        index: 7
                      code:
                        binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/gender-identity'}
                        mustSupport: true
                        index: 8
                      display: {mustSupport: true, index: 9}
                    required: [system, code]
                required: [coding]
        indigenousIdentity:
          match: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-indigenousidentity'}
          schema:
            type: Extension
            url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-indigenousidentity
            index: 10
            elements:
              url:
                pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-indigenousidentity'}
                index: 11
              value[x]:
                elements:
                  coding: {index: 12}
        race:
          match: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-race'}
          schema:
            type: Extension
            isModifier: false
            url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-race
            index: 13
            elements:
              url:
                pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-race'}
                index: 14
              value[x]:
                elements:
                  coding: {index: 15}
  identifier:
    short: Health Card Number and Medical Record Number
    mustSupport: true
    array: true
    max: 2
    index: 16
    elements:
      type:
        elements:
          coding:
            elements:
              system: {index: 17}
              code: {index: 18}
            required: [system, code]
      system: {mustSupport: true, index: 19}
      value: {mustSupport: true, index: 20}
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: null
      max: 2
      slices:
        MRN:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            index: 21
            elements:
              type:
                short: Medical Record Number
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 22
                elements:
                  coding:
                    mustSupport: true
                    index: 23
                    elements:
                      system: {mustSupport: true, index: 24}
                      code: {mustSupport: true, index: 25}
        JHN:
          match:
            type:
              coding:
              - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            index: 26
            extensions:
              versionCode:
                url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion
                type: Extension
                isModifier: false
                mustSupport: true
                index: 28
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 30
            elements:
              extension:
                index: 27
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    versionCode:
                      match: {url: null}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion
                        index: 28
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 30
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 31
                elements:
                  coding:
                    mustSupport: true
                    index: 32
                    elements:
                      system: {mustSupport: true, index: 33}
                      code: {mustSupport: true, index: 34}
  name:
    mustSupport: true
    index: 35
    elements:
      family: {short: Patient Last name, mustSupport: true, index: 36}
      given: {short: Patient First and Patient Middle names, mustSupport: true, index: 37}
    required: [given, family]
  birthDate: {mustSupport: true, index: 38}
  address:
    mustSupport: true
    index: 39
    elements:
      text: {short: Patient Address, mustSupport: true, index: 40}
      line: {short: Patient Address, index: 41}
      city: {short: Patient Address, index: 42}
      state: {short: Patient Address, index: 43}
      postalCode: {short: Patient Postal Code, mustSupport: true, index: 44}
package_version: 0.9.0-alpha1.0.29
extensions:
  genderIdentity:
    url: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
    type: Extension
    mustSupport: true
    index: 3
    elements:
      value:
        mustSupport: true
        choices: []
        index: 5
      value[x]:
        elements:
          coding:
            binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/gender-identity'}
            mustSupport: true
            index: 6
            elements:
              system:
                pattern: {type: Uri, value: 'http://hl7.org/fhir/gender-identity'}
                mustSupport: true
                index: 7
              code:
                binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/gender-identity'}
                mustSupport: true
                index: 8
              display: {mustSupport: true, index: 9}
            required: [system, code]
        required: [coding]
  indigenousIdentity:
    url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-indigenousidentity
    type: Extension
    index: 10
    elements:
      url:
        pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-indigenousidentity'}
        index: 11
      value[x]:
        elements:
          coding: {index: 12}
  race:
    url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-race
    type: Extension
    isModifier: false
    index: 13
    elements:
      url:
        pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-race'}
        index: 14
      value[x]:
        elements:
          coding: {index: 15}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-profile-Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.0
required: [name, extension, birthDate, meta]