fix: Inconsistent Handling of Patient Name Tag (#4703)

This commit is contained in:
Jaseel-trenser authored and GitHub committed 2025-01-21 09:07:30 -05:00
1 parent cbe926f52b
commit 8aedb2ec54
10 files changed
+19 -55

No files matched your search

@@ -46,9 +46,10 @@ function usePatientInfo(servicesManager: AppTypes.ServicesManager) {
if (!instance) {
return;
}
setPatientInfo({
PatientID: instance.PatientID || null,
PatientName: instance.PatientName ? formatPN(instance.PatientName.Alphabetic) : null,
PatientName: instance.PatientName ? formatPN(instance.PatientName) : null,
PatientSex: instance.PatientSex || null,
PatientDOB: formatDate(instance.PatientBirthDate) || null,
});