PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.0.3-DFT-Ballot
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps
description: This profile represents the constraints applied to the Patient resource by the PS-CA project to represent the minimum expectations for the Patient resource when used in the PS-CA composition profile or in one of the referred resources. It is informed by the constraints of the [Patient IPS-UV profile](http://hl7.org/fhir/uv/ips/StructureDefinition-Patient-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-patient.html)
package_name: ca.infoway.io.psca
derivation: constraint
name: PatientPSCA
type: Patient
elements:
  extension:
    type: Extension
    short: Extension for representing an individuals recorded sex or gender.
    url: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender
    index: 0
    slicing:
      slices:
        individual-recordedSexOrGender:
          match: {}
          schema: {type: Extension, short: Extension for representing an individuals recorded sex or gender., url: 'http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender', index: 0}
  identifier:
    type: Identifier
    mustSupport: true
    index: 1
    elements:
      type: {index: 2}
      system: {index: 3}
      value: {short: The value that is unique within the system., index: 4}
    required: [value, system]
    slicing:
      rules: open
      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
            index: 5
            extensions:
              versionCode: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', type: Extension, short: Health Number Version Code, index: 7}
            elements:
              extension:
                index: 6
                slicing:
                  slices:
                    versionCode:
                      match: {}
                      schema: {type: Extension, short: Health Number Version Code, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', index: 7}
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 8
              system: {short: A Health Number Naming System from the Canadian URI Registry, index: 9}
              value: {index: 10}
            required: [value, type, system]
        MRN:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Medical Record Number
            index: 11
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 12
              system: {short: An identifier for the system supplying the MRN, index: 13}
              value: {index: 14}
            required: [value, type, system]
  name:
    constraint:
      core-pat-1: {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()'}
    mustSupport: true
    index: 15
    elements:
      text: {mustSupport: true, index: 16}
      family: {mustSupport: true, index: 17}
      given: {mustSupport: true, index: 18}
  telecom: {index: 19}
  gender: {mustSupport: true, index: 20}
  birthDate: {mustSupport: true, index: 21}
  address: {index: 22}
  generalPractitioner: {index: 23}
package_version: 2.0.3-DFT-Ballot
extensions:
  individual-recordedSexOrGender: {url: 'http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender', type: Extension, short: Extension for representing an individuals recorded sex or gender., index: 0}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps
base: http://hl7.org/fhir/StructureDefinition/Patient
version: null
required: [name, birthDate]