comparison Plugins/Engine/OrthancPlugins.cpp @ 3507:69e49fc044f8

Fix generation of "SOP Instance UID" on split and merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Aug 2019 16:54:00 +0200
parents dd1e68f2d0c0
children f6fe095f7130
comparison
equal deleted inserted replaced
3506:d2b9981017c4 3507:69e49fc044f8
2111 { 2111 {
2112 *p.result = CopyString(result[0]); 2112 *p.result = CopyString(result[0]);
2113 } 2113 }
2114 else 2114 else
2115 { 2115 {
2116 if (result.size() > 1)
2117 {
2118 LOG(WARNING) << "LookupResource(): Multiple resources match the query (instead of 0 or 1), which indicates "
2119 << "your DICOM database breaks the DICOM model of the real world";
2120 }
2121
2116 throw OrthancException(ErrorCode_UnknownResource); 2122 throw OrthancException(ErrorCode_UnknownResource);
2117 } 2123 }
2118 } 2124 }
2119 2125
2120 2126