Skip to main content
Version: v0.0.3

Interface: HumanName

A parsed C-CDA person name (<name>). Captures the structured parts plus the text fallback (the element's full trimmed text) for senders that put the whole name in a single node.

Example

import type { HumanName } from "@cosyte/ccda";
const n: HumanName = { given: ["Jane"], family: "Doe", text: "Jane Doe" };

Properties

family?

readonly optional family?: string


given?

readonly optional given?: readonly string[]


prefix?

readonly optional prefix?: readonly string[]


suffix?

readonly optional suffix?: readonly string[]


text?

readonly optional text?: string