]> Creatis software - gdcm.git/blobdiff - src/gdcmHeaderEntry.cxx
upgrade GdcmHeaderEntry Print Method for DICOMDIR
[gdcm.git] / src / gdcmHeaderEntry.cxx
index 5832ad315e8763c7b46c3c014a723fa40a099927..e53120744a3385ac0f75921753cd04a5ca6439f3 100644 (file)
@@ -92,6 +92,11 @@ void gdcmHeaderEntry::Print(std::ostream & os) {
       if (g == 0x0008) {
          if ( (e == 0x0016) || (e == 0x1150)  )
             s << "  ==>\t[" << ts->GetValue(v) << "]";
+      } else {
+         if (g == 0x0004) {
+           if ( (e == 0x1510) || (e == 0x1512)  )
+              s << "  ==>\t[" << ts->GetValue(v) << "]";
+        }     
       }
    }
    //if (e == 0x0000) {        // elem 0x0000 --> group length