changeset 2937:1ab59dfd4afc

clone FullOrthancDataSet + new dicom tags
author am@osimis.io
date Wed, 28 Nov 2018 14:36:33 +0100
parents 4b3929668358
children d658f5785b7b
files Core/DicomFormat/DicomTag.h Plugins/Samples/Common/FullOrthancDataset.h
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Core/DicomFormat/DicomTag.h	Wed Nov 28 14:36:09 2018 +0100
+++ b/Core/DicomFormat/DicomTag.h	Wed Nov 28 14:36:33 2018 +0100
@@ -183,6 +183,9 @@
   static const DicomTag DICOM_TAG_VIEW_POSITION(0x0018, 0x5101);
   static const DicomTag DICOM_TAG_MANUFACTURER(0x0008, 0x0070);
   static const DicomTag DICOM_TAG_PATIENT_ORIENTATION(0x0020, 0x0020);
+  static const DicomTag DICOM_TAG_PATIENT_COMMENTS(0x0010, 0x4000);
+  static const DicomTag DICOM_TAG_PATIENT_SPECIES_DESCRIPTION(0x0010, 0x2201);
+  static const DicomTag DICOM_TAG_STUDY_COMMENTS(0x0032, 0x4000);
 
   // Tags used within the Stone of Orthanc
   static const DicomTag DICOM_TAG_FRAME_INCREMENT_POINTER(0x0028, 0x0009);
--- a/Plugins/Samples/Common/FullOrthancDataset.h	Wed Nov 28 14:36:09 2018 +0100
+++ b/Plugins/Samples/Common/FullOrthancDataset.h	Wed Nov 28 14:36:33 2018 +0100
@@ -65,5 +65,10 @@
 
     virtual bool GetSequenceSize(size_t& size,
                                  const DicomPath& path) const;
+
+    FullOrthancDataset* Clone() const
+    {
+      return new FullOrthancDataset(this->root_);
+    }
   };
 }