comparison OrthancServer/OrthancFindRequestHandler.cpp @ 1346:911a1ad5ebe8

re-fix issue #30
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 20 Apr 2015 17:26:02 +0200
parents f2033e228864
children 3dd494f201a1
comparison
equal deleted inserted replaced
1345:c90a4a42a3f2 1346:911a1ad5ebe8
203 DicomMap result; 203 DicomMap result;
204 204
205 for (size_t i = 0; i < query.GetSize(); i++) 205 for (size_t i = 0; i < query.GetSize(); i++)
206 { 206 {
207 // Fix issue 30 (QR response missing "Query/Retrieve Level" (008,0052)) 207 // Fix issue 30 (QR response missing "Query/Retrieve Level" (008,0052))
208 /*if (query.GetElement(i).GetTag() != DICOM_TAG_QUERY_RETRIEVE_LEVEL && 208 if (query.GetElement(i).GetTag() == DICOM_TAG_QUERY_RETRIEVE_LEVEL)
209 query.GetElement(i).GetTag() != DICOM_TAG_SPECIFIC_CHARACTER_SET)*/ 209 {
210 result.SetValue(query.GetElement(i).GetTag(), query.GetElement(i).GetValue());
211 }
212 else if (query.GetElement(i).GetTag() == DICOM_TAG_SPECIFIC_CHARACTER_SET)
213 {
214 }
215 else
210 { 216 {
211 std::string tag = query.GetElement(i).GetTag().Format(); 217 std::string tag = query.GetElement(i).GetTag().Format();
212 std::string value; 218 std::string value;
213 if (resource.isMember(tag)) 219 if (resource.isMember(tag))
214 { 220 {