description: This profile defines a set of constraints to the FHIR Patient resource for use in Ontario Patient Summaries (PS-ON). It refines 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-UV-IPS 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.on.patient derivation: constraint name: PatientPSON 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''))'} mustSupport: true index: 28 meta: mustSupport: true index: 1 elements: profile: {mustSupport: true, index: 2} required: [profile] 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 array: true min: 1 index: 21 elements: text: {mustSupport: true, index: 22} family: {mustSupport: true, index: 23} given: {mustSupport: true, index: 24} birthDate: {mustSupport: true, index: 27} communication: mustSupport: true index: 35 elements: language: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/all-languages'} mustSupport: true index: 36 id: {index: 0} identifier: type: Identifier mustSupport: true index: 3 elements: type: {index: 4} system: {isModifier: false, index: 5} value: {short: The value that is unique within the system., isModifier: false, index: 6} required: [value, system] slicing: rules: open discriminator: - {path: type, type: pattern} min: 1 slices: PPN: match: type: coding: - {code: PPN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'} schema: short: Canada Passport Number mustSupport: false index: 7 elements: type: short: Passport number identifier type pattern: type: CodeableConcept value: coding: - {code: PPN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'} index: 8 system: short: A Canadian passport number Naming System from the Canadian URI Registry pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-passport-number'} index: 9 value: {short: A Canadian passport number, index: 10} required: [value, type, system] JPID: match: type: coding: - {code: JPID, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'} schema: short: Jurisdictional Person Identification index: 11 elements: type: short: Jurisdictional Person Identification pattern: type: CodeableConcept value: coding: - {code: JPID, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'} index: 12 system: {short: Jurisdictional Person identification Naming System from the Canadian URI Registry, index: 13} value: {short: Jurisdictional Person identification number, index: 14} required: [value, type, system] JHN: match: type: coding: - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'} schema: short: Jurisdictional Health Number mustSupport: true index: 15 extensions: versionCode: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', type: Extension, short: Health Number Version Code, index: 17} elements: extension: index: 16 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: 17} type: pattern: type: CodeableConcept value: coding: - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'} index: 18 system: {short: A Health Number Naming System from the Canadian URI Registry, index: 19} value: {index: 20} required: [value, type, system] telecom: {mustSupport: true, index: 25} generalPractitioner: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-practitionerrole'] index: 37 gender: {mustSupport: true, index: 26} contact: mustSupport: true index: 29 elements: relationship: type: CodeableConcept binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/personal-relationship-uv-ips'} mustSupport: true index: 30 name: {mustSupport: true, index: 31} telecom: {mustSupport: true, index: 32} address: {mustSupport: true, index: 33} organization: {index: 34} package_version: summary-0.0.1-alpha class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient base: http://hl7.org/fhir/StructureDefinition/Patient version: 0.0.1 required: [gender, name, identifier, birthDate, meta]