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: address: constraint: pat-cnt-2or3-char: {human: 'The content of the country element (if present) SHALL be selected EITHER from ValueSet ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2 OR MAY be selected from ISO Country Alpha-3 Value Set http://hl7.org/fhir/ValueSet/iso3166-1-3, IF the country is not specified in value Set ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2.', severity: warning, expression: 'country.empty() or (country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'') or country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-3''))'} index: 21 name: constraint: cabaseline-pat-1: {human: Patient.name.given or Patient.name.family or both SHALL be present, severity: error, expression: family.exists() or given.exists()} mustSupport: true index: 14 elements: text: {mustSupport: true, index: 15} family: {mustSupport: true, index: 16} given: {mustSupport: true, index: 17} birthDate: {mustSupport: true, index: 20} communication: index: 30 elements: language: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/all-languages'} index: 31 identifier: type: Identifier mustSupport: true index: 0 elements: type: {index: 1} system: {index: 2} value: {short: The value that is unique within the system., index: 3} 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: 4 extensions: versionCode: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', type: Extension, short: Health Number Version Code, index: 6} elements: extension: index: 5 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: versionCode: match: {url: null} schema: {type: Extension, short: Health Number Version Code, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', index: 6} type: pattern: type: CodeableConcept value: coding: - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'} index: 7 system: {short: A Health Number Naming System from the Canadian URI Registry, index: 8} value: {index: 9} required: [value, type, system] 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 system: {short: An identifier for the system supplying the MRN, index: 12} value: {index: 13} required: [value, type, system] telecom: {index: 18} generalPractitioner: {index: 32} gender: {mustSupport: true, index: 19} contact: index: 22 elements: relationship: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/patient-contactrelationship'} index: 23 elements: coding: index: 24 slicing: rules: open description: Discriminated by value set discriminator: - {path: $this, type: pattern} min: null slices: personalrelationshipV3: match: {} schema: binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/personal-relationship-uv-ips'} _required: true index: 25 min: 1 name: {index: 26} telecom: {index: 27} address: {index: 28} organization: {index: 29} package_version: 0.3.0-pre class: profile kind: resource url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps base: http://hl7.org/fhir/StructureDefinition/Patient version: 0.3.0 required: [gender, name, birthDate]