Interface: Build278MemberSpec
A person (subscriber Loop 2010C / dependent Loop 2010D) - NM1 plus the
optional DMG demographics. idCode (NM1-09) is the member identifier -
synthetic-only in fixtures. Mirrors "./types.js".X12AuthMember.
Example
import type { Build278MemberSpec } from "@cosyte/x12";
const m: Build278MemberSpec = {
entityIdentifierCode: "IL", entityTypeQualifier: "1",
lastName: "DOE", firstName: "JANE", idQualifier: "MI", idCode: "MBR0001",
dateOfBirth: "19850515", genderCode: "F",
};
Properties
dateOfBirth?
readonlyoptionaldateOfBirth?:string
DMG-02 - date of birth (CCYYMMDD). A DMG is emitted only when this or genderCode is set.
entityIdentifierCode
readonlyentityIdentifierCode:string
NM1-01 - entity identifier code (IL insured, QC patient).
entityTypeQualifier
readonlyentityTypeQualifier:string
NM1-02 - entity type qualifier (1 person).
firstName?
readonlyoptionalfirstName?:string
NM1-04 - first name.
genderCode?
readonlyoptionalgenderCode?:string
DMG-03 - gender code (M / F / U).
idCode?
readonlyoptionalidCode?:string
NM1-09 - identification code (the member id).
idQualifier?
readonlyoptionalidQualifier?:string
NM1-08 - identification code qualifier (MI member id).
lastName?
readonlyoptionallastName?:string
NM1-03 - last name.
middleName?
readonlyoptionalmiddleName?:string
NM1-05 - middle name.
suffix?
readonlyoptionalsuffix?:string
NM1-07 - name suffix.