description: Proposed constraints and extensions on the Patient Resource. This represents client information. package_name: ca.on.oh.mha derivation: constraint name: Patient type: Patient elements: address: mustSupport: true index: 41 extensions: preferred: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', type: Extension, short: HL7 Preferred Address Flag extension, index: 42} noFixedAddress: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-nofixedaddress', type: Extension, short: No Fixed Address indicator, index: 43} elements: extension: type: Extension short: HL7 Preferred Address Flag extension url: http://hl7.org/fhir/StructureDefinition/iso21090-preferred index: 42 slicing: slices: preferred: match: {} schema: {type: Extension, short: HL7 Preferred Address Flag extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', index: 42} noFixedAddress: match: {} schema: {type: Extension, short: No Fixed Address indicator, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-nofixedaddress', index: 43} use: {mustSupport: true, index: 44} line: {index: 45} city: {mustSupport: true, index: 46} state: binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/canadianjurisdiction'} mustSupport: true index: 47 postalCode: {mustSupport: true, index: 48} required: [state] meta: mustSupport: true index: 0 elements: profile: mustSupport: true pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient'} index: 1 required: [profile] managingOrganization: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-organization'] index: 93 name: short: A name associated with the patient(client) constraint: ca-baseline-name: {human: Patient.name.given or Patient.name.family or both SHALL be present, source: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-patient', severity: error, expression: family.exists() or given.exists()} mustSupport: true index: 36 elements: family: {mustSupport: true, index: 37} given: {mustSupport: true, array: true, min: 1, max: 2, index: 38} required: [given, family] birthDate: constraint: bd-1: {human: birthDate must have a date value, severity: error, expression: hasValue() = true} bd-2: {human: 'If birthDate is "1900-01-01", BirthDate estimated flag must be set to ''true''', severity: error, expression: $this = @1900-01-01 implies $this.extension.value = true} bd-3: {human: BirthDate must not be before '1900-01-01' or after the current date and it must be a valid date, severity: error, expression: $this >= @1900-01-01 and $this < today()} mustSupport: true index: 39 extensions: BirthDateEstimatedFlag: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-birthdate-estimated-flag', max: 1, type: Extension, mustSupport: true, index: 40} elements: extension: type: Extension mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-birthdate-estimated-flag index: 40 slicing: slices: BirthDateEstimatedFlag: match: {} schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-birthdate-estimated-flag', index: 40} max: 1 extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/patient-religion index: 2 slicing: slices: clientReligion: match: {} schema: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/patient-religion index: 2 elements: value: mustSupport: true choices: [] index: 4 value[x]: elements: coding: index: 5 elements: system: {mustSupport: true, index: 6} code: {mustSupport: true, index: 7} display: {mustSupport: true, index: 8} required: [display, system, code] ethnicity: match: {} schema: type: Extension mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ethnicity index: 9 elements: value: mustSupport: true choices: [] index: 11 required: [value] active: {mustSupport: true, index: 35} communication: mustSupport: true index: 50 extensions: languageUse: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse', min: 1, type: Extension, index: 52} elements: extension: index: 51 slicing: slices: languageUse: match: {} schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse', index: 52} min: 1 language: index: 53 elements: coding: elements: system: {index: 54} code: {mustSupport: true, index: 55} display: {mustSupport: true, index: 56} required: [display, system, code] required: [extension] slicing: rules: open discriminator: - {path: extension.value.coding.code, type: value} min: null slices: MotherTongue: match: extension: value: coding: {code: null} schema: mustSupport: true index: 57 extensions: languageUse: url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse type: Extension index: 59 elements: value: label: MotherTongue choices: [] index: 61 value[x]: elements: coding: index: 62 elements: code: pattern: {type: Code, value: '224075005'} index: 63 required: [value] elements: extension: index: 58 slicing: slices: languageUse: match: {} schema: type: Extension url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse index: 59 elements: value: label: MotherTongue choices: [] index: 61 value[x]: elements: coding: index: 62 elements: code: pattern: {type: Code, value: '224075005'} index: 63 required: [value] language: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/human-language'} mustSupport: true index: 64 elements: coding: mustSupport: true index: 65 elements: system: {mustSupport: true, index: 66} code: {mustSupport: true, index: 67} display: {mustSupport: true, index: 68} required: [display, system, code] required: [coding] required: [extension] preferredOfficialLanguage: match: extension: value: coding: {code: null} schema: mustSupport: true index: 69 extensions: languageUse: url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse type: Extension index: 71 elements: value: choices: [] index: 73 value[x]: elements: coding: index: 74 elements: code: pattern: {type: Code, value: OFL} index: 75 required: [value] elements: extension: index: 70 slicing: slices: languageUse: match: {} schema: type: Extension url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse index: 71 elements: value: choices: [] index: 73 value[x]: elements: coding: index: 74 elements: code: pattern: {type: Code, value: OFL} index: 75 required: [value] language: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/official-language'} mustSupport: true index: 76 elements: coding: mustSupport: true index: 77 elements: system: {mustSupport: true, index: 78} code: {mustSupport: true, index: 79} display: {mustSupport: true, index: 80} required: [display, system, code] required: [coding] required: [extension] serviceLanguage: match: extension: value: coding: {code: null} schema: mustSupport: true index: 81 extensions: languageUse: url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse type: Extension index: 83 elements: value: label: ServiceLanguage choices: [] index: 85 value[x]: elements: coding: index: 86 elements: code: pattern: {type: Code, value: '428996008'} index: 87 required: [value] elements: extension: index: 82 slicing: slices: languageUse: match: {} schema: type: Extension url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse index: 83 elements: value: label: ServiceLanguage choices: [] index: 85 value[x]: elements: coding: index: 86 elements: code: pattern: {type: Code, value: '428996008'} index: 87 required: [value] language: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/human-language'} mustSupport: true index: 88 elements: coding: mustSupport: true index: 89 elements: system: {mustSupport: true, index: 90} code: {mustSupport: true, index: 91} display: {mustSupport: true, index: 92} required: [display, system, code] required: [coding] required: [extension] identifier: mustSupport: true index: 12 elements: type: {index: 13} system: {isModifier: false, index: 14} value: {short: The value that is unique within the system., isModifier: false, index: 15} required: [value, type, system] slicing: rules: open discriminator: - {path: type.coding.code, type: value} min: null slices: MRN: match: type: coding: {code: MR} schema: short: Medical Record Number mustSupport: true _required: true index: 16 elements: type: short: Medical Record Number identifier type binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/client-identifier-type-code'} mustSupport: true pattern: type: CodeableConcept value: coding: - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Medical record number} index: 17 elements: coding: mustSupport: true index: 18 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'} mustSupport: true index: 19 code: pattern: {type: Code, value: MR} mustSupport: true index: 20 display: {mustSupport: true, index: 21} required: [display, system, code] required: [coding] system: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mha/patient-mrn-identifier-system'} mustSupport: true index: 22 value: {short: A Medical Record Number., mustSupport: true, index: 23} assigner: short: Vendor that issued id (may be just text) index: 24 elements: display: {index: 25} required: [display] required: [value, type, system] JHN: match: type: coding: {code: JHN} schema: short: Jurisdictional Health Number mustSupport: true index: 26 extensions: VersionCode: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', type: Extension, isModifier: false, index: 27} elements: extension: type: Extension isModifier: false url: http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion index: 27 slicing: slices: VersionCode: match: {} schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', index: 27} type: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/client-identifier-type-code'} mustSupport: true pattern: type: CodeableConcept value: coding: - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Jurisdictional health number} index: 28 elements: coding: mustSupport: true index: 29 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'} mustSupport: true index: 30 code: pattern: {type: Code, value: JHN} mustSupport: true index: 31 display: {mustSupport: true, index: 32} required: [display, system, code] required: [coding] system: short: A Health Number Naming System from the Canadian URI Registry binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mha/patient-jhn-identifier-system'} mustSupport: true index: 33 value: {mustSupport: true, index: 34} required: [value, type, system] maritalStatus: {mustSupport: true, index: 49} package_version: pds-0.9.0-alpha-1.9.7.35 extensions: clientReligion: url: http://hl7.org/fhir/StructureDefinition/patient-religion type: Extension mustSupport: true index: 2 elements: value: mustSupport: true choices: [] index: 4 value[x]: elements: coding: index: 5 elements: system: {mustSupport: true, index: 6} code: {mustSupport: true, index: 7} display: {mustSupport: true, index: 8} required: [display, system, code] ethnicity: url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ethnicity type: Extension mustSupport: true index: 9 elements: value: mustSupport: true choices: [] index: 11 required: [value] class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient base: http://hl7.org/fhir/StructureDefinition/Patient version: 0.1.1 required: [name, birthDate, meta]