description: This profile applies constraints to the Observation resource for CA Core+ to support capture of social determinants and lifestyle information in the pan-Canadian context. package_name: ca.infoway.io.core derivation: constraint name: ObservationSocialHistoryCACore type: Observation elements: status: {mustSupport: true, index: 0} category: type: CodeableConcept mustSupport: true index: 1 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: socialhistory: match: coding: - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category', display: Social History} schema: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category', display: Social History} _required: true index: 2 min: 1 max: 1 code: type: CodeableConcept binding: {strength: example, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/socialhistory'} mustSupport: true index: 3 subject: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core'] index: 4 elements: reference: {mustSupport: true, index: 5} required: [reference] encounter: type: Reference refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/encounter-ca-core'] index: 6 effective[x]: extensions: data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, max: 1, short: 'effective[x] absence reason', type: Extension, mustSupport: true, index: 7} elements: extension: short: effective[x] absence reason type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 7 slicing: slices: data-absent-reason: match: {} schema: {short: 'effective[x] absence reason', type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 7} min: 0 max: 1 value: mustSupport: true choices: [] index: 9 note: mustSupport: true index: 10 elements: text: {mustSupport: true, index: 11} package_version: 1.0.0-dft-preballot class: profile kind: resource url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/observation-socialhistory-ca-core base: http://hl7.org/fhir/StructureDefinition/Observation version: null required: [subject, category]