description: This profile applies constraints to the Observation resource for CA Core+ to support standardized documentation of tobacco use in the pan-Canadian context. This profile is representative of the Tobacco use Status in CACDI. package_name: ca.infoway.io.core derivation: constraint name: ObservationTobaccoUseCACore type: Observation elements: category: {type: CodeableConcept, index: 0} code: type: CodeableConcept pattern: type: CodeableConcept value: coding: - {code: 72166-2, system: 'http://loinc.org'} index: 1 elements: coding: elements: display: {index: 2} subject: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core'] index: 3 encounter: type: Reference refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/encounter-ca-core'] index: 4 value: mustSupport: true choices: [] index: 6 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: mustSupport: true choices: [valueCodeableConcept] index: 8 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: value index: 9 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 9} min: 0 max: 1 package_version: 1.1.0-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.1.0 required: [subject]