description: This profile constrains the Observation resource for use related to Social Determinants of Health observations that involve assessments conducted along the client journey. package_name: ca.on.oh.mha-pds derivation: constraint name: ObservationCitizenshipStatus abstract: true type: Observation elements: category: mustSupport: true index: 8 elements: coding: index: 9 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'} mustSupport: true index: 10 code: pattern: {type: Code, value: social-history} mustSupport: true index: 11 display: pattern: {type: String, value: Social History} mustSupport: true index: 12 required: [display, system, code] required: [coding] value[x]: elements: coding: index: 25 elements: system: {mustSupport: true, index: 26} code: {mustSupport: true, index: 27} display: {mustSupport: true, index: 28} required: [display, system, code] required: [coding] meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] value: mustSupport: true choices: [valueCodeableConcept] index: 23 extension: index: 2 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: bornInCanada: match: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada'} schema: type: Extension mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada index: 3 elements: url: pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada'} index: 4 value: choices: [] index: 6 required: [value] yearArrivedInCanada: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-yearArrivedInCanada', index: 7} min: 0 max: 1 effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 20} effective: mustSupport: true choices: [effectiveDateTime] index: 19 code: binding: {strength: required, valueSet: 'https://simplifier.net/on-mentalhealthandaddictiondatarepository/sdohcategory'} mustSupport: true index: 13 elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 14 code: pattern: {type: Code, value: 69433-1} mustSupport: true index: 15 display: pattern: {type: String, value: Citizenship Status} mustSupport: true index: 16 required: [display, system, code] valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 24} subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient'] index: 17 performer: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'] index: 21 package_version: 0.9.0-alpha-1.9.4 extensions: bornInCanada: url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada type: Extension mustSupport: true index: 3 elements: url: pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada'} index: 4 value: choices: [] index: 6 required: [value] yearArrivedInCanada: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-yearArrivedInCanada', min: 0, max: 1, type: Extension, mustSupport: true, index: 7} class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-profile-observation-citizenship-status base: http://hl7.org/fhir/StructureDefinition/Observation version: 1.0.0 required: [value, subject, valueCodeableConcept, meta, category]