description: This profile defines an observation structure that represents smoking status, for use in an Australian context. package_name: at.unofficial.au.base derivation: constraint name: AUSmokingStatus type: Observation elements: code: pattern: type: CodeableConcept value: coding: - {code: '266918002', system: 'http://snomed.info/sct'} index: 0 elements: coding: index: 1 slicing: rules: open discriminator: - {path: code, type: value} - {path: system, type: value} min: null slices: loincSmokingStatus: match: {code: 72166-2, system: 'http://loinc.org'} schema: short: LOINC Smoking Status index: 2 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 3 code: pattern: {type: Code, value: 72166-2} index: 4 required: [system, code] subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 5 effective: short: Date, and optionally time, the observation was performed choices: [effectiveDateTime] index: 7 effectiveDateTime: {type: dateTime, short: 'Date, and optionally time, the observation was performed', choiceOf: effective, index: 8} value: choices: [valueCodeableConcept] index: 10 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11} package_version: 2.2.0-ballot2 class: profile kind: resource url: http://hl7.org.au/fhir/StructureDefinition/au-smokingstatus base: http://hl7.org/fhir/StructureDefinition/Observation version: 2.2.0 required: [effectiveDateTime, subject, effective]