description: This profile represents the constraints applied to the Observation resource by the PS-CA project to represent Tobacco use assessment in a patient summary. It allows for cross-border and cross-jurisdiction sharing of Social History Information. package_name: ca.infoway.io.psca derivation: constraint name: ObservationTobaccoUsePSCA type: Observation elements: status: {mustSupport: true, index: 0} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 72166-2, system: 'http://loinc.org'} index: 1 subject: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps'] index: 2 elements: reference: {mustSupport: true, index: 3} required: [reference] effective: mustSupport: true choices: [effectiveDateTime] index: 5 effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 6} value: mustSupport: true choices: [] index: 8 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCodeableConcept: match: {} schema: mustSupport: true choices: [valueCodeableConcept] index: 10 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: value index: 11 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 11} min: 0 max: 1 component: {index: 12} package_version: 2.2.0-ti-ballot class: profile kind: resource url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-tobaccouse-ca-ps base: http://hl7.org/fhir/StructureDefinition/Observation version: 2.2.0 required: [effectiveDateTime, value, subject, effective]