Interface: CodeListEntry
One entry returned from a code-list lookup(code). The inbound code
value is echoed verbatim (so a caller that branches on entry.code is
comparing exactly the bytes that came in, never a normalized form);
description is the bundled human-readable text from the snapshot.
Future fields (isObsolete, replacedBy) are tracked by the roadmap;
v0.0.x snapshots ship code + description only.
Example
import { lookupCarc } from "@cosyte/x12";
const entry = lookupCarc("45");
entry?.code; // "45"
entry?.description; // "Charge exceeds fee schedule/maximum allowable..."
Properties
code
readonlycode:string
description
readonlydescription:string