PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@0.1.0-DFT-Ballot-pre
    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+t 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: 30
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: null
      slices:
        Home:
          match: {use: home}
          schema:
            index: 31
            elements:
              use:
                pattern: {type: Code, value: home}
                index: 32
              text: {index: 33}
              line: {index: 34}
              city: {index: 35}
              state: {index: 36}
              postalCode: {index: 37}
              country: {index: 38}
  deceasedDateTime: {type: dateTime, choiceOf: deceased, index: 28}
  deceasedBoolean: {type: boolean, choiceOf: deceased, index: 29}
  name:
    constraint:
      cacore-pat-1: {human: Patient.name.given and Patient.name.family or Patient.name.text SHOULD be present, severity: warning, expression: family.exists() and given.exists() or text.exists()}
    index: 12
    extensions:
      effectivePeriod: {url: 'http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod', type: Extension, short: Extension for representing the period during which the resource content was or is planned to be effective., index: 13}
    elements:
      extension:
        type: Extension
        short: Extension for representing the period during which the resource content was or is planned to be effective.
        url: http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod
        index: 13
        slicing:
          slices:
            effectivePeriod:
              match: {}
              schema: {type: Extension, short: Extension for representing the period during which the resource content was or is planned to be effective., url: 'http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod', index: 13}
      text: {index: 14}
      family: {index: 15}
      given: {index: 16}
    slicing:
      rules: open
      discriminator:
      - {path: use, type: pattern}
      min: null
      slices:
        previous:
          match: {use: old}
          schema:
            index: 17
            elements:
              use:
                pattern: {type: Code, value: old}
                index: 18
  birthDate: {index: 25}
  deceased:
    choices: [deceasedDateTime, deceasedBoolean]
    index: 27
  extension:
    type: Extension
    short: Extension for representing the pronouns to use when referring to an individual in verbal or written communication.
    url: http://hl7.org/fhir/StructureDefinition/individual-pronouns
    index: 1
    slicing:
      slices:
        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://hl7.org/fhir/StructureDefinition/individual-pronouns', index: 1}
  identifier:
    index: 2
    elements:
      type: {index: 3}
      system: {index: 4}
      value: {index: 5}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: null
      slices:
        NH:
          match: {type: null}
          schema:
            short: National Unique Health Identifier Placeholder
            index: 6
            elements:
              type:
                elements:
                  coding:
                    elements:
                      code:
                        pattern: {type: Code, value: NH}
                        index: 7
        JHN:
          match:
            type:
              coding:
              - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Jurisdictional Health Number
            index: 8
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 9
            required: [type]
        MRN:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Medical Record Number
            index: 10
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 11
            required: [type]
  telecom:
    index: 19
    extensions:
      preferred: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', type: Extension, short: 'Flag for denoting whether parent item is preferred - e.g., a preferred address or telephone number.', index: 20}
    elements:
      extension:
        type: Extension
        short: Flag for denoting whether parent item is preferred - e.g., a preferred address or telephone number.
        url: http://hl7.org/fhir/StructureDefinition/iso21090-preferred
        index: 20
        slicing:
          slices:
            preferred:
              match: {}
              schema: {type: Extension, short: 'Flag for denoting whether parent item is preferred - e.g., a preferred address or telephone number.', url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', index: 20}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: pattern}
      min: null
      slices:
        Phone:
          match: {system: phone}
          schema:
            index: 21
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 22
        Email:
          match: {system: email}
          schema:
            index: 23
            elements:
              system:
                pattern: {type: Code, value: email}
                index: 24
  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: 49
  contact:
    index: 39
    slicing:
      rules: open
      discriminator:
      - {path: relationship, type: pattern}
      min: null
      slices:
        Emergency:
          match: {relationship: null}
          schema:
            index: 40
            elements:
              relationship: {index: 41}
              name:
                index: 42
                elements:
                  text: {index: 43}
                  family: {index: 44}
                  given: {index: 45}
              telecom:
                index: 46
                elements:
                  system: {index: 47}
                  value: {index: 48}
  text: {index: 0}
package_version: 0.1.0-DFT-Ballot-pre
extensions:
  individual-pronouns: {url: 'http://hl7.org/fhir/StructureDefinition/individual-pronouns', 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