Interface: SmokingStatus
A Smoking Status observation. value is the SNOMED CT smoking-status concept;
unknown is true when the status is explicitly unknown (a nullFlavor or
an "unknown" SNOMED concept), distinct from simply absent. effectiveTime is
when the status was recorded.
Example
import type { SmokingStatus } from "@cosyte/ccda";
function isFormerSmoker(s: SmokingStatus): boolean {
return s.value?.code === "8517006";
}
Properties
effectiveTime?
readonlyoptionaleffectiveTime?:IVL_TS
ids
readonlyids: readonlyII[]
narrative?
readonlyoptionalnarrative?:string
statusCode?
readonlyoptionalstatusCode?:string
unknown
readonlyunknown:boolean
value?
readonlyoptionalvalue?:CD