diff OrthancServer/FromDcmtkBridge.h @ 176:81f11fb357f2

uid generation
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 Nov 2012 17:21:21 +0100
parents fe180eae201d
children 4031f73fe0e4
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.h	Mon Nov 05 12:31:02 2012 +0100
+++ b/OrthancServer/FromDcmtkBridge.h	Wed Nov 07 17:21:21 2012 +0100
@@ -45,6 +45,13 @@
     ImageExtractionMode_UInt16
   };
 
+  enum DicomRootLevel
+  {
+    DicomRootLevel_Study,
+    DicomRootLevel_Series,
+    DicomRootLevel_Instance
+  };
+
   class FromDcmtkBridge
   {
   public:
@@ -105,5 +112,7 @@
 
     static void ToJson(Json::Value& result,
                        const DicomMap& values);
+
+    static std::string GenerateUniqueIdentifier(DicomRootLevel level);
   };
 }