Interface: PatientView
Patient & study identity (§4.1 - the wrong-patient failure class).
id is not globally unique; correct cross-system matching needs the
{id, issuerOfId, issuerQualifiers} tuple plus otherIds. name keeps
its full PN component structure, never flattened to a string.
Example
import { parseDicom } from "@cosyte/dicom";
const p = parseDicom(buf).patient;
p.id; // "MRN-42" - meaningless without the issuer
p.issuerOfId; // "HOSP_A"
p.name?.alphabetic.familyName; // "Doe"
Properties
birthDate?
readonlyoptionalbirthDate?:DicomDate
id?
readonlyoptionalid?:string
issuerOfId?
readonlyoptionalissuerOfId?:string
issuerQualifiers?
readonlyoptionalissuerQualifiers?: readonlyItem[]
name?
readonlyoptionalname?:PersonName
otherIds
readonlyotherIds: readonlyOtherPatientId[]
sex?
readonlyoptionalsex?:string