Interface: Build835PersonSpec
NM1 person on a claim - patient (QC), subscriber (IL), or corrected
patient (74). Mirrors "./types.js".X12RemitPerson. NM1-02
(entity type qualifier) is emitted as "1" (person).
Example
import type { Build835PersonSpec } from "@cosyte/x12";
const patient: Build835PersonSpec = {
entityIdentifierCode: "QC", lastName: "PATIENT", firstName: "TEST",
idQualifier: "MI", idCode: "MEMBER001",
};
Properties
entityIdentifierCode
readonlyentityIdentifierCode:string
NM1-01 - entity identifier code (QC patient / IL insured / 74 corrected).
firstName?
readonlyoptionalfirstName?:string
NM1-04 - first name.
idCode?
readonlyoptionalidCode?:string
NM1-09 - identification code.
idQualifier?
readonlyoptionalidQualifier?:string
NM1-08 - identification code qualifier (MI, 34, …).
lastName?
readonlyoptionallastName?:string
NM1-03 - last name / organization name.
middleName?
readonlyoptionalmiddleName?:string
NM1-05 - middle name.
suffix?
readonlyoptionalsuffix?:string
NM1-07 - name suffix.