Interface: Build820PersonSpec
NM1 individual (member) inside a remittance loop. Mirrors "./types.js".X12PremiumPerson. PHI surface: every field carries PHI. The
builder emits NM1-02 (entity type qualifier) as "1" (person); the read
side does not interpret it.
Example
import type { Build820PersonSpec } from "@cosyte/x12";
const p: Build820PersonSpec = {
entityIdentifierCode: "IL", lastName: "DOE", firstName: "JANE",
idQualifier: "34", idCode: "MBR0001",
};
Properties
entityIdentifierCode
readonlyentityIdentifierCode:string
NM1-01 - entity identifier code (IL insured, …).
firstName?
readonlyoptionalfirstName?:string
NM1-04 - first name.
idCode?
readonlyoptionalidCode?:string
NM1-09 - identification code (verbatim member id).
idQualifier?
readonlyoptionalidQualifier?:string
NM1-08 - identification code qualifier (34 SSN, ZZ mutually defined, …).
lastName?
readonlyoptionallastName?:string
NM1-03 - last name.
middleName?
readonlyoptionalmiddleName?:string
NM1-05 - middle name.
suffix?
readonlyoptionalsuffix?:string
NM1-07 - name suffix.