description: This profile applies constraints to the Observation resource for CA Core+ to support standardized documentation of tobacco use in the pan-Canadian context. package_name: ca.infoway.io.core derivation: constraint name: ObservationTobaccoUseCACore type: Observation elements: status: {mustSupport: true, index: 0} category: {type: CodeableConcept, index: 1} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 72166-2, system: 'http://loinc.org', display: Tobacco smoking status} index: 2 subject: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core'] index: 3 elements: reference: {mustSupport: true, index: 4} required: [reference] encounter: type: Reference refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/encounter-ca-core'] index: 5 effective: mustSupport: true choices: [] index: 7 value: mustSupport: true choices: [] index: 9 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCodeableConcept: match: {} schema: mustSupport: true choices: [valueCodeableConcept] index: 11 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: value index: 12 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 12} min: 0 max: 1 package_version: 1.0.1-dft-preballot class: profile kind: resource url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/observation-tobaccouse-ca-core base: http://hl7.org/fhir/StructureDefinition/Observation version: 1.0.0 required: [effective, subject, value]