fix: Inconsistent Handling of Patient Name Tag (#4703)
This commit is contained in:
1 parent
cbe926f52b
commit
8aedb2ec54
10 files changed
+19
-55
No files matched your search
@@ -6,6 +6,7 @@ import DicomMetadataStore from '../services/DicomMetadataStore';
|
||||
import fetchPaletteColorLookupTableData from '../utils/metadataProvider/fetchPaletteColorLookupTableData';
|
||||
import toNumber from '../utils/toNumber';
|
||||
import combineFrameInstance from '../utils/combineFrameInstance';
|
||||
import formatPN from '../utils/formatPN';
|
||||
|
||||
class MetadataProvider {
|
||||
private readonly imageURIToUIDs: Map<string, any> = new Map();
|
||||
@@ -345,7 +346,7 @@ class MetadataProvider {
|
||||
|
||||
let patientName;
|
||||
if (PatientName) {
|
||||
patientName = PatientName.Alphabetic;
|
||||
patientName = formatPN(PatientName);
|
||||
}
|
||||
|
||||
metadata = {
|
||||
|
||||
Reference in new issue
Block a user