comparison OrthancServer/Sources/OrthancFindRequestHandler.cpp @ 4460:6831de40acd9

New metadata automatically computed at the series level: "RemoteAET"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Jan 2021 14:20:37 +0100
parents d9473bd5ed43
children c1f36fd13730
comparison
equal deleted inserted replaced
4459:16392fe89ce0 4460:6831de40acd9
198 198
199 for (std::list<std::string>::const_iterator 199 for (std::list<std::string>::const_iterator
200 it = instances.begin(); it != instances.end(); ++it) 200 it = instances.begin(); it != instances.end(); ++it)
201 { 201 {
202 std::string value; 202 std::string value;
203 if (context.LookupOrReconstructMetadata(value, *it, MetadataType_Instance_SopClassUid)) 203 if (context.LookupOrReconstructMetadata(value, *it, ResourceType_Instance, MetadataType_Instance_SopClassUid))
204 { 204 {
205 values.insert(value); 205 values.insert(value);
206 } 206 }
207 } 207 }
208 208