# HG changeset patch # User Sebastien Jodogne # Date 1393339153 -3600 # Node ID b79eda29896da95d89d9050f9cc0eb97630c0181 # Parent be0dadf5b3d413ba09cf195fa18f2c1f27b5b7e2 dcm4chee manufacturer diff -r be0dadf5b3d4 -r b79eda29896d NEWS --- a/NEWS Tue Feb 25 15:31:07 2014 +0100 +++ b/NEWS Tue Feb 25 15:39:13 2014 +0100 @@ -2,6 +2,7 @@ =============================== * Better logging about nonexistent tags +* Dcm4Chee manufacturer Version 0.7.3 (2014/02/14) diff -r be0dadf5b3d4 -r b79eda29896d OrthancServer/DicomProtocol/DicomUserConnection.cpp --- a/OrthancServer/DicomProtocol/DicomUserConnection.cpp Tue Feb 25 15:31:07 2014 +0100 +++ b/OrthancServer/DicomProtocol/DicomUserConnection.cpp Tue Feb 25 15:39:13 2014 +0100 @@ -335,7 +335,8 @@ break; case FindRootModel_Instance: - if (manufacturer_ == ModalityManufacturer_ClearCanvas) + if (manufacturer_ == ModalityManufacturer_ClearCanvas || + manufacturer_ == ModalityManufacturer_Dcm4Chee) { // This is a particular case for ClearCanvas, thanks to Peter Somlo . // https://groups.google.com/d/msg/orthanc-users/j-6C3MAVwiw/iolB9hclom8J diff -r be0dadf5b3d4 -r b79eda29896d OrthancServer/ServerEnumerations.cpp --- 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); diff -r be0dadf5b3d4 -r b79eda29896d OrthancServer/ServerEnumerations.h --- a/OrthancServer/ServerEnumerations.h Tue Feb 25 15:31:07 2014 +0100 +++ b/OrthancServer/ServerEnumerations.h Tue Feb 25 15:39:13 2014 +0100 @@ -57,7 +57,8 @@ { ModalityManufacturer_Generic, ModalityManufacturer_ClearCanvas, - ModalityManufacturer_MedInria + ModalityManufacturer_MedInria, + ModalityManufacturer_Dcm4Chee }; enum DicomRequestType diff -r be0dadf5b3d4 -r b79eda29896d Resources/Configuration.json --- a/Resources/Configuration.json Tue Feb 25 15:31:07 2014 +0100 +++ b/Resources/Configuration.json Tue Feb 25 15:39:13 2014 +0100 @@ -100,8 +100,8 @@ /** * A fourth parameter is available to enable patches for a * specific PACS manufacturer. The allowed values are currently - * "Generic" (default value), "ClearCanvas" and "MedInria". This - * parameter is case-sensitive. + * "Generic" (default value), "ClearCanvas", "MedInria" and + * "Dcm4Chee". This parameter is case-sensitive. **/ // "clearcanvas" : [ "CLEARCANVAS", "192.168.1.1", 104, "ClearCanvas" ] },