PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@0.2.0-dft-ballot
    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](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: 36
    extensions:
      no-fixed-address: {url: 'http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/no-fixed-address-ca-core', type: Extension, short: No fixed address indicator, index: 38}
    elements:
      use: {index: 39}
      city: {index: 43}
      type: {index: 40}
      state: {index: 44}
      extension:
        index: 37
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            no-fixed-address:
              match: {url: null}
              schema: {type: Extension, short: No fixed address indicator, url: 'http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/no-fixed-address-ca-core', index: 38}
      line: {index: 42}
      postalCode: {index: 45}
      period: {index: 47}
      country: {index: 46}
      text: {index: 41}
  deceasedDateTime:
    type: dateTime
    choiceOf: deceased
    index: 35
    slicing:
      slices:
        deceasedDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: deceased, index: 35}
  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: 10
    elements:
      use: {index: 11}
      text: {index: 12}
      family: {index: 13}
      given: {index: 14}
    slicing:
      rules: open
      discriminator:
      - {path: use, type: pattern}
      min: null
      slices:
        used:
          match: {use: usual}
          schema:
            index: 15
            elements:
              use:
                pattern: {type: Code, value: usual}
                index: 16
              family: {index: 17}
              given: {index: 18}
        previous:
          match: {use: old}
          schema:
            index: 19
            elements:
              use:
                pattern: {type: Code, value: old}
                index: 20
              family: {index: 21}
              given: {index: 22}
              period: {index: 23}
  birthDate: {index: 30}
  deceased:
    choices: []
    index: 32
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        deceasedDateTime:
          match: {}
          schema:
            choices: [deceasedDateTime]
            index: 34
  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}
  active: {index: 9}
  identifier:
    index: 2
    elements:
      use: {index: 3}
      type: {index: 4}
      system: {index: 5}
      value: {index: 6}
      period: {index: 7}
      assigner: {index: 8}
  telecom:
    index: 24
    elements:
      system: {index: 25}
      value: {index: 26}
      use: {index: 27}
      rank: {index: 28}
      period: {index: 29}
  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: 70
  contact:
    index: 48
    elements:
      relationship: {index: 49}
      name:
        index: 50
        elements:
          use: {index: 51}
          family: {index: 52}
          given: {index: 53}
      telecom:
        index: 54
        elements:
          system: {index: 55}
          value: {index: 56}
          use: {index: 57}
          rank: {index: 58}
          period: {index: 59}
      address:
        elements:
          use: {index: 60}
          city: {index: 64}
          type: {index: 61}
          state: {index: 65}
          line: {index: 63}
          postalCode: {index: 66}
          period: {index: 68}
          country: {index: 67}
          text: {index: 62}
      period: {index: 69}
package_version: 0.2.0-dft-ballot
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