PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@1.2.0-dft-beta01
    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.infoway.io.core
derivation: constraint
name: PatientCACore
type: Patient
elements:
  address:
    type: Address
    index: 53
    elements:
      line: {index: 54}
      postalCode: {index: 55}
      country: {index: 56}
  deceasedDateTime:
    type: dateTime
    choiceOf: deceased
    index: 52
    slicing:
      slices:
        deceasedDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: deceased, index: 52}
          min: 0
          max: 1
  managingOrganization:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/organization-ca-core']
    index: 63
  name:
    constraint:
      ca-core-pat-1: {human: Either Patient.name.given and/or Patient.name.family SHALL be present., source: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core', severity: error, expression: (family.exists() or given.exists())}
    index: 33
    elements:
      use: {index: 34}
      text: {index: 35}
      family: {index: 36}
      given: {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: 37}
      period:
        elements:
          start: {index: 38}
          end: {index: 39}
  birthDate:
    index: 45
    extensions:
      birthTime: {url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', min: 0, max: 1, type: Extension, index: 47}
    elements:
      extension:
        index: 46
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            birthTime:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', index: 47}
              min: 0
              max: 1
  deceased:
    choices: []
    index: 49
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        deceasedDateTime:
          match: {}
          schema:
            choices: [deceasedDateTime]
            index: 51
          min: 0
          max: 1
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        indigenousIdentity:
          match: {url: null}
          schema: {short: Extension for representing a code classifying a person's indigenous identity., type: Extension, url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/patient-indigenousIdentity', index: 1}
          min: 0
        racializedGroup:
          match: {url: null}
          schema: {type: Extension, short: Extension for representing a code classifying a person's racialized group., url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/patient-racializedGroup', index: 2}
          min: 0
        recordedSexOrGender:
          match: {url: null}
          schema:
            short: Recorded sex or gender (RSG) information includes the various sex and gender concepts.
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender
            index: 3
            extensions:
              value:
                url: null
                index: 4
                elements:
                  value:
                    choices: []
                    index: 6
            elements:
              extension:
                index: 4
                slicing:
                  slices:
                    value:
                      match: {}
                      schema:
                        index: 4
                        elements:
                          value:
                            choices: []
                            index: 6
        genderIdentity:
          match: {url: null}
          schema:
            short: Extension for representing how the person prefers to self-describe.
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/individual-genderIdentity
            index: 7
            extensions:
              value:
                url: null
                index: 8
                elements:
                  value:
                    choices: []
                    index: 10
            elements:
              extension:
                index: 8
                slicing:
                  slices:
                    value:
                      match: {}
                      schema:
                        index: 8
                        elements:
                          value:
                            choices: []
                            index: 10
        pronouns:
          match: {url: null}
          schema: {short: 'Third-person pronouns that may reference a person''s gender identity (e.g. he, she, they)', type: Extension, url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/individualPronouns', index: 11}
          min: 0
        birthsex:
          match: {url: null}
          schema: {short: A code that specifies the sex of a person at birth which is a clinical finding, type: Extension, url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/patient-birthSex', index: 12}
          min: 0
          max: 1
        CommunicationBarrier:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/patient-communicationBarrier', index: 13}
          min: 0
  active: {index: 32}
  communication:
    index: 60
    elements:
      language:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/languages'}
        index: 61
  identifier:
    index: 14
    elements:
      type: {index: 15}
      system: {index: 16}
      value: {index: 17}
      period:
        elements:
          start: {index: 18}
          end: {index: 19}
      assigner: {index: 20}
    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'}
          schema:
            short: Jurisdictional Health Number
            array: true
            index: 21
            extensions:
              versionCode: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', min: 0, max: 1, type: Extension, short: Health Number Version Code, index: 22}
            elements:
              extension:
                type: Extension
                short: Health Number Version Code
                url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion
                index: 22
                slicing:
                  slices:
                    versionCode:
                      match: {}
                      schema: {type: Extension, short: Health Number Version Code, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', index: 22}
                      min: 0
                      max: 1
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 23
                elements:
                  coding:
                    elements:
                      display: {index: 24}
              system:
                short: A Health Number Naming System from the Canadian URI Registry
                binding: {strength: example, valueSet: 'https://simplifier.net/canadianuriregistry'}
                mustSupport: true
                index: 25
              value: {mustSupport: true, index: 26}
            required: [value, type, system]
        MRN:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Medical Record Number
            array: true
            index: 27
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 28
                elements:
                  coding:
                    elements:
                      display: {index: 29}
              system: {short: An identifier for the system supplying the MRN, mustSupport: true, index: 30}
              value: {mustSupport: true, index: 31}
            required: [value, type, system]
  telecom:
    index: 40
    elements:
      system: {index: 41}
      value: {index: 42}
      use: {index: 43}
  generalPractitioner:
    type: Reference
    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: 62
  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.', index: 44}
  contact:
    elements:
      relationship:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype|4.0.1'}
        index: 57
      name: {index: 58}
      telecom: {index: 59}
package_version: 1.2.0-dft-beta01
extensions:
  indigenousIdentity: {url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/patient-indigenousIdentity', min: 0, short: Extension for representing a code classifying a person's indigenous identity., type: Extension, index: 1}
  racializedGroup: {url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/patient-racializedGroup', min: 0, type: Extension, short: Extension for representing a code classifying a person's racialized group., index: 2}
  recordedSexOrGender:
    url: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender
    short: Recorded sex or gender (RSG) information includes the various sex and gender concepts.
    type: Extension
    index: 3
    extensions:
      value:
        url: null
        index: 4
        elements:
          value:
            choices: []
            index: 6
    elements:
      extension:
        index: 4
        slicing:
          slices:
            value:
              match: {}
              schema:
                index: 4
                elements:
                  value:
                    choices: []
                    index: 6
  genderIdentity:
    url: http://hl7.org/fhir/StructureDefinition/individual-genderIdentity
    short: Extension for representing how the person prefers to self-describe.
    type: Extension
    index: 7
    extensions:
      value:
        url: null
        index: 8
        elements:
          value:
            choices: []
            index: 10
    elements:
      extension:
        index: 8
        slicing:
          slices:
            value:
              match: {}
              schema:
                index: 8
                elements:
                  value:
                    choices: []
                    index: 10
  pronouns: {url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/individualPronouns', min: 0, short: 'Third-person pronouns that may reference a person''s gender identity (e.g. he, she, they)', type: Extension, index: 11}
  birthsex: {url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/patient-birthSex', min: 0, max: 1, short: A code that specifies the sex of a person at birth which is a clinical finding, type: Extension, index: 12}
  CommunicationBarrier: {url: 'http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/patient-communicationBarrier', min: 0, type: Extension, index: 13}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.0