Skip to main content
Version: v0.0.2

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

readonly entityIdentifierCode: string

NM1-01 - entity identifier code (QC patient / IL insured / 74 corrected).


firstName?

readonly optional firstName?: string

NM1-04 - first name.


idCode?

readonly optional idCode?: string

NM1-09 - identification code.


idQualifier?

readonly optional idQualifier?: string

NM1-08 - identification code qualifier (MI, 34, …).


lastName?

readonly optional lastName?: string

NM1-03 - last name / organization name.


middleName?

readonly optional middleName?: string

NM1-05 - middle name.


suffix?

readonly optional suffix?: string

NM1-07 - name suffix.