description: This profile defines a set of constraints to the FHIR Patient resource for use in Alberta Patient Summaries (PS-AB). It re-profiles the PS-CA Patient profile and 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-AB Composition profile or in one of the referred resources. package_name: ca.ab.fhir.psab derivation: constraint name: PatientPSAB type: Patient elements: extension: index: 0 slicing: slices: individual-recordedSexOrGender: match: {} schema: mustSupport: true _required: true index: 1 extensions: value: url: null index: 2 elements: value: choices: [] index: 4 type: url: null index: 5 elements: value: choices: [] index: 7 elements: extension: index: 2 slicing: slices: value: match: {} schema: index: 2 elements: value: choices: [] index: 4 type: match: {} schema: index: 5 elements: value: choices: [] index: 7 identifier: index: 8 slicing: slices: JHN: match: {} schema: {mustSupport: true, sliceIsConstraining: true, _required: true, index: 9} min: 1 name: elements: text: {index: 10} family: {index: 11} required: [text, family] telecom: mustSupport: true index: 12 slicing: rules: open discriminator: - {path: system, type: pattern} min: 1 slices: Phone: match: {system: phone} schema: mustSupport: true array: true min: 1 _required: true index: 13 elements: system: pattern: {type: Code, value: phone} mustSupport: true index: 14 required: [system] gender: extensions: data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 1, max: 1, short: element absence reason, type: Extension, mustSupport: true, index: 16} elements: extension: index: 15 slicing: rules: open description: Extensions are always sliced by (at least) url discriminator: - {path: url, type: value} min: 1 slices: data-absent-reason: match: {url: null} schema: {short: element absence reason, type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 16} min: 1 max: 1 required: [extension] address: mustSupport: true index: 17 elements: use: {index: 18} type: {index: 19} line: {index: 20} city: {index: 21} state: {index: 22} postalCode: {index: 23} required: [city, postalCode, line, state] contact: elements: name: {index: 24} required: [name] package_version: 0.3.0-pre4 extensions: individual-recordedSexOrGender: url: null mustSupport: true _required: true index: 1 extensions: value: url: null index: 2 elements: value: choices: [] index: 4 type: url: null index: 5 elements: value: choices: [] index: 7 elements: extension: index: 2 slicing: slices: value: match: {} schema: index: 2 elements: value: choices: [] index: 4 type: match: {} schema: index: 5 elements: value: choices: [] index: 7 class: profile kind: resource url: https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB base: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps version: null required: [extension, identifier, telecom]