Interface: CcdaPatient
A parsed C-CDA patient (recordTarget/patientRole). identifiers are the
patient ids (the MRN lives here); demographics carry the coded gender, birth
time, and optional race/ethnicity/marital status.
Example
import type { CcdaPatient } from "@cosyte/ccda";
function label(p: CcdaPatient): string {
return p.name?.text ?? p.identifiers[0]?.extension ?? "unknown";
}
Properties
birthTime?
readonlyoptionalbirthTime?:TS
ethnicGroupCode?
readonlyoptionalethnicGroupCode?:CD
genderCode?
readonlyoptionalgenderCode?:CD
identifiers
readonlyidentifiers: readonlyII[]
maritalStatusCode?
readonlyoptionalmaritalStatusCode?:CD
name?
readonlyoptionalname?:HumanName
raceCode?
readonlyoptionalraceCode?:CD