Interface: Procedure
A single procedure. kind is the template variant; code is the procedure
code (SNOMED CT / CPT / ICD-10-PCS / LOINC); disposition is the
performed-vs-planned reading of moodCode; value carries the result for the
observation variant. negated (a negationInd "did not happen") and
nullFlavor ("unknown") are kept distinct, never collapsed.
Example
import type { Procedure } from "@cosyte/ccda";
function wasPerformed(p: Procedure): boolean {
return p.disposition === "performed";
}
Properties
code?
readonlyoptionalcode?:CD
disposition?
readonlyoptionaldisposition?:EventDisposition
effectiveTime?
readonlyoptionaleffectiveTime?:IVL_TS
ids
readonlyids: readonlyII[]
kind
readonlykind:ProcedureKind
moodCode?
readonlyoptionalmoodCode?:string
narrative?
readonlyoptionalnarrative?:string
negated?
readonlyoptionalnegated?:boolean
nullFlavor?
readonlyoptionalnullFlavor?:string
statusCode?
readonlyoptionalstatusCode?:string
value?
readonlyoptionalvalue?:ObservationValue