Interface: BuildCode
A coded value for the builder, the tuple the parser reads back as a CD.
codeSystem defaults per slot (SNOMED CT for a problem, RxNorm for an
allergen), so most callers pass only code + displayName.
Example
import type { BuildCode } from "@cosyte/ccda";
const hypertension: BuildCode = { code: "59621000", displayName: "Essential hypertension" };
Properties
code
readonlycode:string
The code within its system (e.g. a SNOMED CT concept id).
codeSystem?
readonlyoptionalcodeSystem?:string
The code system OID; defaults per slot when omitted.
codeSystemName?
readonlyoptionalcodeSystemName?:string
The code system's human name (e.g. "SNOMED CT"), optional.
displayName
readonlydisplayName:string
The human-readable label, regenerated into the narrative so the two agree.