diff OrthancServer/ServerEnumerations.cpp @ 732:b79eda29896d

dcm4chee manufacturer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Feb 2014 15:39:13 +0100
parents dd1ce9a2844c
children a811bdf8b8eb
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.cpp	Tue Feb 25 15:31:07 2014 +0100
+++ b/OrthancServer/ServerEnumerations.cpp	Tue Feb 25 15:39:13 2014 +0100
@@ -282,6 +282,9 @@
       
       case ModalityManufacturer_MedInria:
         return "MedInria";
+
+      case ModalityManufacturer_Dcm4Chee:
+        return "Dcm4Chee";
       
       default:
         throw OrthancException(ErrorCode_ParameterOutOfRange);
@@ -335,6 +338,10 @@
     {
       return ModalityManufacturer_MedInria;
     }
+    else if (manufacturer == "Dcm4Chee")
+    {
+      return ModalityManufacturer_Dcm4Chee;
+    }
     else
     {
       throw OrthancException(ErrorCode_ParameterOutOfRange);