PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@1.0.0-dft-preballot
    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
    mustSupport: true
    index: 52
    elements:
      line: {mustSupport: true, index: 53}
      city: {mustSupport: true, index: 54}
      postalCode: {mustSupport: true, index: 55}
      country: {mustSupport: true, index: 56}
  managingOrganization:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/organization-ca-core']
    index: 60
  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())}
    mustSupport: true
    index: 34
    elements:
      use: {index: 35}
      text: {index: 36}
      family: {mustSupport: true, index: 37}
      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: 38}
      period:
        elements:
          start: {index: 39}
          end: {mustSupport: true, index: 40}
    required: [use]
  birthDate:
    index: 47
    extensions:
      birthTime: {url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', min: 0, max: 1, type: Extension, index: 49}
    elements:
      extension:
        index: 48
        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: 49}
              min: 0
              max: 1
  deceased:
    mustSupport: true
    choices: []
    index: 51
  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/cacore/StructureDefinition/indigenous-identity-ca-core', index: 1}
          min: 0
        racializedGroup:
          match: {url: null}
          schema: {short: Extension for representing a code classifying a person's racialized group., type: Extension, url: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/racialized-group-ca-core', index: 2}
          min: 0
        recordedSexOrGender:
          match: {url: null}
          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: 3
            extensions:
              value:
                url: null
                index: 4
                elements:
                  value:
                    choices: []
                    index: 6
              type:
                url: null
                index: 7
                elements:
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: 99502-7, system: 'http://loinc.org', display: Recorded sex or gender}
                    choices: []
                    index: 9
            elements:
              extension:
                index: 4
                slicing:
                  slices:
                    value:
                      match: {}
                      schema:
                        index: 4
                        elements:
                          value:
                            choices: []
                            index: 6
                    type:
                      match: {}
                      schema:
                        index: 7
                        elements:
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: 99502-7, system: 'http://loinc.org', display: Recorded sex or gender}
                            choices: []
                            index: 9
        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: 10
            extensions:
              value:
                url: null
                index: 11
                elements:
                  value:
                    choices: []
                    index: 13
            elements:
              extension:
                index: 11
                slicing:
                  slices:
                    value:
                      match: {}
                      schema:
                        index: 11
                        elements:
                          value:
                            choices: []
                            index: 13
        pronouns:
          match: {url: null}
          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: 14}
          min: 0
        birthsex:
          match: {url: null}
          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: 15}
          min: 0
        CommunicationBarrier:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/ext-communicationbarrier', index: 16}
          min: 0
  active: {index: 33}
  communication:
    index: 57
    elements:
      language:
        elements:
          coding:
            elements:
              code: {index: 58}
  identifier:
    mustSupport: true
    index: 17
    elements:
      type: {mustSupport: true, index: 18}
      system: {mustSupport: true, index: 19}
      value: {mustSupport: true, index: 20}
      period:
        elements:
          start: {index: 21}
          end: {index: 22}
      assigner: {index: 23}
    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
            array: true
            index: 24
            extensions:
              versionCode: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', min: 0, max: 1, type: Extension, short: Health Number Version Code, index: 25}
            elements:
              extension:
                type: Extension
                short: Health Number Version Code
                url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion
                index: 25
                slicing:
                  slices:
                    versionCode:
                      match: {}
                      schema: {type: Extension, short: Health Number Version Code, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', index: 25}
                      min: 0
                      max: 1
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Jurisdictional Health Number}
                index: 26
              system: {short: A Health Number Naming System from the Canadian URI Registry, mustSupport: true, index: 27}
              value: {mustSupport: true, index: 28}
        MRN:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Medical Record Number}
          schema:
            short: Medical Record Number
            array: true
            index: 29
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Medical Record Number}
                index: 30
              system: {short: An identifier for the system supplying the MRN, mustSupport: true, index: 31}
              value: {mustSupport: true, index: 32}
  telecom:
    mustSupport: true
    index: 41
    elements:
      system: {mustSupport: true, index: 42}
      value: {mustSupport: true, index: 43}
      use: {mustSupport: true, index: 44}
      period:
        elements:
          end: {mustSupport: true, index: 45}
    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: 59
  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: 46}
package_version: 1.0.0-dft-preballot
extensions:
  indigenousIdentity: {url: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/indigenous-identity-ca-core', 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/cacore/StructureDefinition/racialized-group-ca-core', min: 0, short: Extension for representing a code classifying a person's racialized group., type: Extension, index: 2}
  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: 3
    extensions:
      value:
        url: null
        index: 4
        elements:
          value:
            choices: []
            index: 6
      type:
        url: null
        index: 7
        elements:
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: 99502-7, system: 'http://loinc.org', display: Recorded sex or gender}
            choices: []
            index: 9
    elements:
      extension:
        index: 4
        slicing:
          slices:
            value:
              match: {}
              schema:
                index: 4
                elements:
                  value:
                    choices: []
                    index: 6
            type:
              match: {}
              schema:
                index: 7
                elements:
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: 99502-7, system: 'http://loinc.org', display: Recorded sex or gender}
                    choices: []
                    index: 9
  genderIdentity:
    url: http://hl7.org/fhir/StructureDefinition/individual-genderIdentity
    short: Extension for representing how the person prefers to self-describe.
    type: Extension
    index: 10
    extensions:
      value:
        url: null
        index: 11
        elements:
          value:
            choices: []
            index: 13
    elements:
      extension:
        index: 11
        slicing:
          slices:
            value:
              match: {}
              schema:
                index: 11
                elements:
                  value:
                    choices: []
                    index: 13
  pronouns: {url: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/individual-pronouns-ca-core', min: 0, type: Extension, short: 'Third-person pronouns that may reference a person''s gender identity (e.g. he, she, they)', index: 14}
  birthsex: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-patientbirthsex', min: 0, type: Extension, short: A code that specifies the sex of a person at birth which is a clinical finding, index: 15}
  CommunicationBarrier: {url: 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/ext-communicationbarrier', min: 0, type: Extension, mustSupport: true, index: 16}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core
base: http://hl7.org/fhir/StructureDefinition/Patient
version: null
required: [name]