Interface: AstmLivdWarning
A single terminology (LIVD) warning: a stable code, a value-free human-readable message, and positional context. Never carries a test code, a value, or a LOINC.
Example
import type { AstmLivdWarning } from "@cosyte/astm";
const w: AstmLivdWarning = {
code: "ASTM_LIVD_UNMAPPED_CODE",
message: "Reported test code had no LIVD mapping - surfaced unmapped, never a guessed LOINC.",
position: { recordIndex: 3, recordType: "R" },
};
Properties
code
readonlycode:LivdWarningCode
message
readonlymessage:string
Human-readable detail for logs. Never contains a test code, a value, or a LOINC.
position
readonlyposition:AstmPosition