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: mustSupport: true 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: mustSupport: true index: 26 elements: system: {mustSupport: true, index: 27} code: {mustSupport: true, index: 28} display: {mustSupport: true, index: 29} required: [display, system, code] required: [coding] meta: mustSupport: true index: 0 elements: profile: mustSupport: true pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-profile-observation-citizenship-status'} index: 1 required: [profile] value: mustSupport: true choices: [valueCodeableConcept] index: 24 extension: index: 2 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: bornInCanada: match: {url: null} schema: type: Extension mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada index: 3 elements: value: choices: [] index: 5 required: [value] yearArrivedInCanada: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-yearArrivedInCanada', index: 6} min: 0 max: 1 effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 22} status: {mustSupport: true, index: 7} effective: mustSupport: true choices: [effectiveDateTime] index: 21 code: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/sdohObservationCode'} mustSupport: true index: 13 elements: coding: mustSupport: true index: 14 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 15 code: pattern: {type: Code, value: 69433-1} mustSupport: true index: 16 display: pattern: {type: String, value: Citizenship Status} mustSupport: true index: 17 required: [display, system, code] required: [coding] valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 25} subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient'] index: 18 elements: reference: {mustSupport: true, index: 19} required: [reference] package_version: 0.9.0-alpha-1.9.7.26 extensions: bornInCanada: url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada type: Extension mustSupport: true index: 3 elements: value: choices: [] index: 5 required: [value] yearArrivedInCanada: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-yearArrivedInCanada', min: 0, max: 1, type: Extension, mustSupport: true, index: 6} 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]