PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.setp.iar.dev@1.0.0-ballot1-dev
    http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core
description: This profile applies constraints to the Patient resource for CA Core+ to support identity, demographics, and administrative data in the pan-Canadian context.
package_name: ca.on.oh.setp.iar.dev
derivation: constraint
name: PatientCACore
type: Patient
elements:
  address:
    type: Address
    mustSupport: true
    index: 63
    elements:
      line: {mustSupport: true, index: 64}
      city: {mustSupport: true, index: 65}
      postalCode: {mustSupport: true, index: 66}
      country: {mustSupport: true, index: 67}
  managingOrganization:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/organization-ca-core']
    index: 72
  name:
    constraint:
      ca-core-pat-1: {human: Either Patient.name.given and/or Patient.name.family SHALL be present., severity: error, expression: (family.exists() or given.exists())}
    mustSupport: true
    index: 45
    elements:
      use: {index: 46}
      text: {index: 47}
      family: {mustSupport: true, index: 48}
      given: {mustSupport: true, orderMeaning: 'Patient.name.given[0] is expected to be the first name in a sequence. Patient.name.given[i], where i>0, is expected to express a Patient''s middle name(s)', index: 49}
      period:
        elements:
          start: {index: 50}
          end: {mustSupport: true, index: 51}
  birthDate:
    index: 58
    extensions:
      birthTime: {url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', type: Extension, index: 60}
    elements:
      extension:
        index: 59
        slicing:
          rules: open
          ordered: false
          min: null
          slices:
            birthTime:
              match: {}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', index: 60}
  deceased:
    choices: []
    index: 62
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      min: null
      slices:
        indigenousIdentity:
          match: {}
          schema:
            type: Extension
            short: Extension for representing a code classifying a person's indigenous identity.
            url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/indigenous-identity-ca-core
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/indigenous-identity-ca-core'}
                index: 2
        racializedGroup:
          match: {}
          schema:
            type: Extension
            short: Extension for representing a code classifying a person's racialized group.
            url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/racialized-group-ca-core
            index: 3
            elements:
              url:
                pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/racialized-group-ca-core'}
                index: 4
        recordedSexOrGender:
          match: {}
          schema:
            type: Extension
            short: Recorded sex or gender (RSG) information includes the various sex and gender concepts.
            url: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender
            index: 5
            extensions:
              value:
                url: null
                index: 6
                elements:
                  url:
                    pattern: {type: Uri, value: value}
                    index: 7
                  value:
                    choices: []
                    index: 9
              type:
                url: null
                index: 10
                elements:
                  url:
                    pattern: {type: Uri, value: type}
                    index: 11
                  value:
                    choices: []
                    index: 13
            elements:
              extension:
                index: 6
                slicing:
                  slices:
                    value:
                      match: {}
                      schema:
                        index: 6
                        elements:
                          url:
                            pattern: {type: Uri, value: value}
                            index: 7
                          value:
                            choices: []
                            index: 9
                    type:
                      match: {}
                      schema:
                        index: 10
                        elements:
                          url:
                            pattern: {type: Uri, value: type}
                            index: 11
                          value:
                            choices: []
                            index: 13
              url:
                pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender'}
                index: 14
        genderIdentity:
          match: {}
          schema:
            type: Extension
            short: Extension for representing how the person prefers to self-describe.
            url: http://hl7.org/fhir/StructureDefinition/individual-genderIdentity
            index: 15
            extensions:
              value:
                url: null
                index: 16
                elements:
                  url:
                    pattern: {type: Uri, value: value}
                    index: 17
                  value:
                    choices: []
                    index: 19
            elements:
              extension:
                index: 16
                slicing:
                  slices:
                    value:
                      match: {}
                      schema:
                        index: 16
                        elements:
                          url:
                            pattern: {type: Uri, value: value}
                            index: 17
                          value:
                            choices: []
                            index: 19
              url:
                pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity'}
                index: 20
        pronouns:
          match: {}
          schema:
            type: Extension
            short: Third-person pronouns that may reference a person's gender identity (e.g. he, she, they)
            url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/individual-pronouns-ca-core
            index: 21
            elements:
              url:
                pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/individual-pronouns-ca-core'}
                index: 22
        birthsex:
          match: {}
          schema:
            type: Extension
            short: A code that specifies the sex of a person at birth which is a clinical finding
            url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-patientbirthsex
            index: 23
            elements:
              url:
                pattern: {type: Uri, value: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-patientbirthsex'}
                index: 24
        CommunicationBarrier:
          match: {}
          schema:
            type: Extension
            url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/ext-communicationbarrier
            index: 25
            elements:
              url:
                pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/ext-communicationbarrier'}
                index: 26
  active: {index: 44}
  communication:
    index: 68
    elements:
      language:
        binding: {strength: preferred, valueSet: 'http://fhir.infoway-inforoute.ca/cacore/ValueSet/ISO6393'}
        index: 69
        elements:
          coding:
            elements:
              code: {index: 70}
  identifier:
    mustSupport: true
    index: 27
    elements:
      type:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
        mustSupport: true
        index: 28
      system: {mustSupport: true, index: 29}
      value: {mustSupport: true, index: 30}
      period:
        elements:
          start: {index: 31}
          end: {index: 32}
      assigner: {index: 33}
    required: [value, type, system]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: type, type: pattern}
      min: null
      slices:
        JHN:
          match:
            type:
              coding:
              - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Jurisdictional Health Number}
          schema:
            short: Jurisdictional Health Number
            index: 34
            extensions:
              versionCode:
                url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion
                type: Extension
                short: Health Number Version Code
                index: 35
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion'}
                    index: 36
            elements:
              extension:
                type: Extension
                short: Health Number Version Code
                url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion
                index: 35
                slicing:
                  slices:
                    versionCode:
                      match: {}
                      schema:
                        type: Extension
                        short: Health Number Version Code
                        url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion
                        index: 35
                        elements:
                          url:
                            pattern: {type: Uri, value: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion'}
                            index: 36
              type:
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Jurisdictional Health Number}
                index: 37
              system: {short: A Health Number Naming System from the Canadian URI Registry, mustSupport: true, index: 38}
              value: {mustSupport: true, index: 39}
            required: [value, type, system]
        MRN:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Medical Record Number}
          schema:
            short: Medical Record Number
            index: 40
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Medical Record Number}
                index: 41
              system: {short: An identifier for the system supplying the MRN, mustSupport: true, index: 42}
              value: {mustSupport: true, index: 43}
            required: [value, type, system]
  telecom:
    mustSupport: true
    index: 52
    elements:
      system: {mustSupport: true, index: 53}
      value: {mustSupport: true, index: 54}
      use: {mustSupport: true, index: 55}
      period:
        elements:
          end: {mustSupport: true, index: 56}
    required: [value]
  generalPractitioner:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/organization-ca-core', 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitioner-ca-core', 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitionerRole-ca-core']
    index: 71
  gender: {short: 'The documented sex or gender of an individual used for clinical, official, or legal purposes where only one data field for sex and gender is available, and where it is the value found in the local system and/or historical documentation.', mustSupport: true, index: 57}
package_version: 1.0.0-ballot1-dev
extensions:
  indigenousIdentity:
    url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/indigenous-identity-ca-core
    type: Extension
    short: Extension for representing a code classifying a person's indigenous identity.
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/indigenous-identity-ca-core'}
        index: 2
  racializedGroup:
    url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/racialized-group-ca-core
    type: Extension
    short: Extension for representing a code classifying a person's racialized group.
    index: 3
    elements:
      url:
        pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/racialized-group-ca-core'}
        index: 4
  recordedSexOrGender:
    url: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender
    type: Extension
    short: Recorded sex or gender (RSG) information includes the various sex and gender concepts.
    index: 5
    extensions:
      value:
        url: null
        index: 6
        elements:
          url:
            pattern: {type: Uri, value: value}
            index: 7
          value:
            choices: []
            index: 9
      type:
        url: null
        index: 10
        elements:
          url:
            pattern: {type: Uri, value: type}
            index: 11
          value:
            choices: []
            index: 13
    elements:
      extension:
        index: 6
        slicing:
          slices:
            value:
              match: {}
              schema:
                index: 6
                elements:
                  url:
                    pattern: {type: Uri, value: value}
                    index: 7
                  value:
                    choices: []
                    index: 9
            type:
              match: {}
              schema:
                index: 10
                elements:
                  url:
                    pattern: {type: Uri, value: type}
                    index: 11
                  value:
                    choices: []
                    index: 13
      url:
        pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender'}
        index: 14
  genderIdentity:
    url: http://hl7.org/fhir/StructureDefinition/individual-genderIdentity
    type: Extension
    short: Extension for representing how the person prefers to self-describe.
    index: 15
    extensions:
      value:
        url: null
        index: 16
        elements:
          url:
            pattern: {type: Uri, value: value}
            index: 17
          value:
            choices: []
            index: 19
    elements:
      extension:
        index: 16
        slicing:
          slices:
            value:
              match: {}
              schema:
                index: 16
                elements:
                  url:
                    pattern: {type: Uri, value: value}
                    index: 17
                  value:
                    choices: []
                    index: 19
      url:
        pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity'}
        index: 20
  pronouns:
    url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/individual-pronouns-ca-core
    type: Extension
    short: Third-person pronouns that may reference a person's gender identity (e.g. he, she, they)
    index: 21
    elements:
      url:
        pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/individual-pronouns-ca-core'}
        index: 22
  birthsex:
    url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-patientbirthsex
    type: Extension
    short: A code that specifies the sex of a person at birth which is a clinical finding
    index: 23
    elements:
      url:
        pattern: {type: Uri, value: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-patientbirthsex'}
        index: 24
  CommunicationBarrier:
    url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/ext-communicationbarrier
    type: Extension
    index: 25
    elements:
      url:
        pattern: {type: Uri, value: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/ext-communicationbarrier'}
        index: 26
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.0
required: [name]