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:
1 parent
b67c7b23e8
commit
ae4183852f
3 files changed
+6
-2
No files matched your search
@@ -211,7 +211,7 @@ function TrackedCornerstoneViewport(props) {
|
||||
seriesDescription: SeriesDescription,
|
||||
patientInformation: {
|
||||
patientName: PatientName
|
||||
? OHIF.utils.formatPN(PatientName.Alphabetic)
|
||||
? OHIF.utils.formatPN(PatientName)
|
||||
: '',
|
||||
patientSex: PatientSex || '',
|
||||
patientAge: PatientAge || '',
|
||||
|
||||
Reference in new issue
Block a user