diff OrthancFramework/Sources/Enumerations.cpp @ 5334:5b2a5cc64cb1

upgraded anonymization to Basic Profile of PS 3.15-2023b Table E.1-1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 27 Jun 2023 15:12:39 +0200
parents 800261398381
children 303e930fff0f
line wrap: on
line diff
--- a/OrthancFramework/Sources/Enumerations.cpp	Tue Jun 27 10:39:17 2023 +0200
+++ b/OrthancFramework/Sources/Enumerations.cpp	Tue Jun 27 15:12:39 2023 +0200
@@ -878,15 +878,15 @@
     {
       case DicomVersion_2008:
         return "2008";
-        break;
 
       case DicomVersion_2017c:
         return "2017c";
-        break;
 
       case DicomVersion_2021b:
         return "2021b";
-        break;
+
+      case DicomVersion_2023b:
+        return "2023b";
 
       default: 
         throw OrthancException(ErrorCode_ParameterOutOfRange);
@@ -1642,6 +1642,10 @@
     {
       return DicomVersion_2021b;
     }
+    else if (version == "2023b")
+    {
+      return DicomVersion_2023b;
+    }
     else
     {
       throw OrthancException(ErrorCode_ParameterOutOfRange,