Skip to main content
Version: v0.0.3

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?

readonly optional address?: XAD

NK1-4 address.


contactRole?

readonly optional contactRole?: CWE

NK1-7 contact role.


name?

readonly optional name?: XPN

NK1-2 next-of-kin name.


phone?

readonly optional phone?: XTN

NK1-5 phone (first repetition).


relationship?

readonly optional relationship?: CWE

NK1-3 relationship to patient (FTH=father, MTH=mother, SPO=spouse, ...).