Skip to main content
Version: v0.0.2

Type Alias: X12HiCodeSystem

X12HiCodeSystem = "ICD-10-CM" | "ICD-10-PCS" | "ICD-9-CM" | "ICD-9-PCS" | "DRG" | "NDC" | "NUBC-CONDITION" | "NUBC-OCCURRENCE" | "NUBC-OCCURRENCE-SPAN" | "NUBC-VALUE" | "NUBC-PATIENT-REASON" | "unknown"

Discriminant for the code system referenced by a single HI composite. The "unknown" member is the catch-all for qualifiers outside the TR3-cited set - verbatim code is preserved on the parsed structure and an X12_UNKNOWN_HI_QUALIFIER warning is emitted.

Example

import type { X12HiCodeSystem } from "@cosyte/x12";
const sys: X12HiCodeSystem = "ICD-10-CM";