Interface: X12AuthDiagnosis
One diagnosis from an HI segment (Loop 2000E). qualifier (HI-0x-01) is
the X12 code-source qualifier (e.g. ABK ICD-10-CM principal); code
(HI-0x-02) is the diagnosis code. codeSystem resolves the qualifier
against the bundled HI_QUALIFIERS snapshot - "unknown" (with an
X12_UNKNOWN_HI_QUALIFIER warning) when the qualifier is outside it. The
verbatim qualifier + code are always preserved.
Example
import type { X12AuthDiagnosis } from "@cosyte/x12";
declare const dx: X12AuthDiagnosis;
dx.qualifier; // "ABK"
dx.code; // "E1165"
dx.codeSystem; // "ICD-10-CM"
Properties
code
readonlycode:string
codeSystem
readonlycodeSystem:X12HiCodeSystem
qualifier
readonlyqualifier:string