Interface: NextOfKin
NK1-derived next-of-kin entry (HELPERS-06). Lean subset: callers can
reach for msg.segments("NK1") when they need the full NK1 surface.
Example
import type { NextOfKin } from "@cosyte/hl7";
const nk: NextOfKin = {
name: { familyName: "Doe", givenName: "John" },
relationship: { identifier: "FTH", text: "Father" },
};
Properties
address?
readonlyoptionaladdress?:XAD
NK1-4 address.
contactRole?
readonlyoptionalcontactRole?:CWE
NK1-7 contact role.
name?
readonlyoptionalname?:XPN
NK1-2 next-of-kin name.
phone?
readonlyoptionalphone?:XTN
NK1-5 phone (first repetition).
relationship?
readonlyoptionalrelationship?:CWE
NK1-3 relationship to patient (FTH=father, MTH=mother, SPO=spouse, ...).