fix: Patient name handling as either Alphabetic object or simply string object

- formatPN should accept a string person name as well as an object with a Alphabetic field.
- For DICOM JSON data sources, spread in the patient data from the study object into the instance.
This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2023-02-16 13:50:59 -05:00
1 parent b67c7b23e8
commit ae4183852f
3 files changed
+6 -2

No files matched your search

@@ -206,8 +206,10 @@ function createDicomJSONApi(dicomJsonConfig) {
url: instance.url,
imageId: instance.url,
...series,
...study,
};
delete obj.instances;
delete obj.series;
return obj;
});
storeInstances(instances);