comparison Plugins/Samples/ModalityWorklists/Plugin.cpp @ 1890:74dc6b764ff0

Fix modality worklists lookups if tags with UN (unknown) VR are present
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Dec 2015 18:39:17 +0100
parents 7c5ea3e51839
children b1291df2f780
comparison
equal deleted inserted replaced
1889:444f0bdaba01 1890:74dc6b764ff0
129 if (!GetQueryDicom(json, query)) 129 if (!GetQueryDicom(json, query))
130 { 130 {
131 return OrthancPluginErrorCode_InternalError; 131 return OrthancPluginErrorCode_InternalError;
132 } 132 }
133 133
134 std::cout << "Received worklist query from remote modality " << remoteAet 134 {
135 << ":" << std::endl << json.toStyledString(); 135 std::string msg = ("Received worklist query from remote modality " +
136 std::string(remoteAet) + ":\n" + json.toStyledString());
137 OrthancPluginLogInfo(context_, msg.c_str());
138 }
136 139
137 boost::filesystem::path source(folder_); 140 boost::filesystem::path source(folder_);
138 boost::filesystem::directory_iterator end; 141 boost::filesystem::directory_iterator end;
139 142
140 try 143 try