PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@0.1.0-dft
    http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/patient-ca-core
description: This profile represents the constraints applied to the Patient resource by the CA Core+ project to represent the minimum expectations for the Patient resource when used to promote capacity building for functionality found across Canadian FHIR implementations. It is informed by the constraints of shared across CIHI pCHDCF data sets and has also undergone analysis to assert alignment with the [Canadian Baseline Patient Profile v1.1.0](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-patient.html)
package_name: ca.infoway.io.core
derivation: constraint
name: PatientCACore
type: Patient
elements:
  address:
    index: 34
    elements:
      use: {index: 35}
      city: {index: 39}
      type: {index: 36}
      state: {index: 40}
      line: {index: 38}
      postalCode: {index: 41}
      period: {index: 43}
      country: {index: 42}
      text: {index: 37}
  deceasedDateTime:
    type: dateTime
    choiceOf: deceased
    index: 33
    slicing:
      slices:
        deceasedDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: deceased, index: 33}
  name:
    constraint:
      ips-pat-2: {human: Either Patient.name.given and/or Patient.name.family and/or Patient.name.text SHALL be present or a Data Absent Reason Extension SHALL be present., severity: error, expression: '(family.exists() or given.exists() or text.exists()) xor extension.where(url=''http://hl7.org/fhir/StructureDefinition/data-absent-reason'').exists()'}
    index: 9
    elements:
      use: {index: 10}
      text: {index: 11}
      family: {index: 12}
      given: {index: 13}
    slicing:
      rules: open
      discriminator:
      - {path: use, type: pattern}
      min: null
      slices:
        used:
          match: {use: usual}
          schema:
            index: 14
            elements:
              use:
                pattern: {type: Code, value: usual}
                index: 15
              family: {index: 16}
              given: {index: 17}
        previous:
          match: {use: old}
          schema:
            index: 18
            elements:
              use:
                pattern: {type: Code, value: old}
                index: 19
              family: {index: 20}
              given: {index: 21}
              period: {index: 22}
  birthDate: {index: 28}
  deceased:
    choices: []
    index: 30
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        deceasedDateTime:
          match: {}
          schema:
            choices: [deceasedDateTime]
            index: 32
  extension:
    type: Extension
    short: Extension for representing Recorded sex or gender (RSG) information.
    url: http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/individual-recordedSexOrGender-ca-core
    index: 0
    slicing:
      slices:
        individual-recordedSexOrGender:
          match: {}
          schema: {type: Extension, short: Extension for representing Recorded sex or gender (RSG) information., url: 'http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/individual-recordedSexOrGender-ca-core', index: 0}
        individual-pronouns:
          match: {}
          schema: {type: Extension, short: Extension for representing the pronouns to use when referring to an individual in verbal or written communication., url: 'http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/individual-pronouns-ca-core', index: 1}
  identifier:
    index: 2
    elements:
      use: {index: 3}
      type: {index: 4}
      system: {index: 5}
      value: {index: 6}
      period: {index: 7}
      assigner: {index: 8}
  telecom:
    index: 23
    elements:
      system: {index: 24}
      value: {index: 25}
      use: {index: 26}
      rank: {index: 27}
  generalPractitioner:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/practitioner-ca-core', 'http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/practitionerRole-ca-core', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole']
    index: 66
  contact:
    index: 44
    elements:
      relationship: {index: 45}
      name:
        index: 46
        elements:
          use: {index: 47}
          family: {index: 48}
          given: {index: 49}
      telecom:
        index: 50
        elements:
          system: {index: 51}
          value: {index: 52}
          use: {index: 53}
          rank: {index: 54}
          period: {index: 55}
      address:
        elements:
          use: {index: 56}
          city: {index: 60}
          type: {index: 57}
          state: {index: 61}
          line: {index: 59}
          postalCode: {index: 62}
          period: {index: 64}
          country: {index: 63}
          text: {index: 58}
      period: {index: 65}
package_version: 0.1.0-dft
extensions:
  individual-recordedSexOrGender: {url: 'http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/individual-recordedSexOrGender-ca-core', type: Extension, short: Extension for representing Recorded sex or gender (RSG) information., index: 0}
  individual-pronouns: {url: 'http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/individual-pronouns-ca-core', type: Extension, short: Extension for representing the pronouns to use when referring to an individual in verbal or written communication., index: 1}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/patient-ca-core
base: http://hl7.org/fhir/StructureDefinition/Patient
version: null