Variable: lookupMaintenanceType
constlookupMaintenanceType: (code) =>CodeListEntry|undefined
Look up an INS-03 maintenance type code's bundled description. Returns
undefined for codes outside the subset; the verbatim code is still
preserved on the parsed enrollment, and the 834 helper raises an
X12_834_UNKNOWN_MAINTENANCE_TYPE warning so a consumer never silently
mis-applies an unknown action.
Parameters
code
string
Returns
CodeListEntry | undefined
Example
import { lookupMaintenanceType } from "@cosyte/x12";
lookupMaintenanceType("024")?.description; // "Cancellation or Termination"
lookupMaintenanceType("999"); // undefined (outside subset)