O3 Framework / getPatientName
getPatientName(
patient):string
Defined in: packages/framework/esm-utils/src/patient-helpers.ts:14
Gets the formatted display name for a patient.
The display name will be taken from the patient’s ‘usual’ name, or may fall back to the patient’s ‘official’ name.
Patient
The patient details in FHIR format.
string
The patient’s display name or an empty string if name is not present.