Skip to main content
Version: v0.0.3

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?

readonly optional code?: CD


disposition?

readonly optional disposition?: EventDisposition


effectiveTime?

readonly optional effectiveTime?: IVL_TS


ids

readonly ids: readonly II[]


kind

readonly kind: ProcedureKind


moodCode?

readonly optional moodCode?: string


narrative?

readonly optional narrative?: string


negated?

readonly optional negated?: boolean


nullFlavor?

readonly optional nullFlavor?: string


statusCode?

readonly optional statusCode?: string


value?

readonly optional value?: ObservationValue