changeset 1732:5cdea1cd2071

remove display of ImageOrientationPatient and ImagePositionPatient
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 21 Oct 2015 11:53:26 +0200
parents b6f656a0bf2c
children e1f5ab395297
files Core/DicomFormat/DicomTag.cpp OrthancExplorer/explorer.js
diffstat 2 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Core/DicomFormat/DicomTag.cpp	Wed Oct 21 11:45:51 2015 +0200
+++ b/Core/DicomFormat/DicomTag.cpp	Wed Oct 21 11:53:26 2015 +0200
@@ -114,6 +114,12 @@
     if (*this == DICOM_TAG_PATIENT_NAME)
       return "PatientName";
 
+    if (*this == DICOM_TAG_IMAGE_POSITION_PATIENT)
+      return "ImagePositionPatient";
+
+    if (*this == DICOM_TAG_IMAGE_ORIENTATION_PATIENT)
+      return "ImageOrientationPatient";
+
     return "";
   }
 
--- a/OrthancExplorer/explorer.js	Wed Oct 21 11:45:51 2015 +0200
+++ b/OrthancExplorer/explorer.js	Wed Oct 21 11:53:26 2015 +0200
@@ -236,8 +236,8 @@
           ).format
   (patient.MainDicomTags.PatientName,
    FormatMainDicomTags(patient.MainDicomTags, [ 
-     "PatientName", 
-     "OtherPatientIDs" 
+     "PatientName"
+     /*"OtherPatientIDs" */
    ]),
    patient.Studies.length
   );
@@ -288,7 +288,8 @@
      "SeriesTime", 
      "Manufacturer",
      "ImagesInAcquisition",
-     "SeriesDate"
+     "SeriesDate",
+     "ImageOrientationPatient"
    ]),
    c
   );
@@ -305,7 +306,8 @@
      "AcquisitionNumber", 
      "InstanceNumber", 
      "InstanceCreationDate", 
-     "InstanceCreationTime"
+     "InstanceCreationTime",
+     "ImagePositionPatient"
    ])
   );