Skip to main content
Version: v0.0.4

Interface: PersonName

A decoded PN value - up to three component groups separated on-wire by = (PS3.5 §6.2.1.1). alphabetic is always present; ideographic and phonetic are present only when the value supplied them.

Example

import type { PersonName } from "@cosyte/dicom";
// "Yamada^Tarou=山田^太郎=やまだ^たろう"
declare const pn: PersonName;
pn.alphabetic.familyName; // "Yamada"
pn.ideographic?.familyName; // "山田"

Properties

alphabetic

readonly alphabetic: PersonNameGroup


ideographic?

readonly optional ideographic?: PersonNameGroup


phonetic?

readonly optional phonetic?: PersonNameGroup