Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerContext.cpp @ 5060:e69a3ff39bc5
fix reuse of DicomAsJson between lookup and answers
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 08 Aug 2022 12:42:48 +0200 |
parents | d4e5ca0c9307 |
children | d7274e43ea7c 7547c7dfd017 |
comparison
equal
deleted
inserted
replaced
5059:5c997c72603c | 5060:e69a3ff39bc5 |
---|---|
2346 | 2346 |
2347 bool ServerContext::ExpandResource(Json::Value& target, | 2347 bool ServerContext::ExpandResource(Json::Value& target, |
2348 const std::string& publicId, | 2348 const std::string& publicId, |
2349 const DicomMap& mainDicomTags, // optional: the main dicom tags for the resource (if already available) | 2349 const DicomMap& mainDicomTags, // optional: the main dicom tags for the resource (if already available) |
2350 const std::string& instanceId, // optional: the id of an instance for the resource (if already available) | 2350 const std::string& instanceId, // optional: the id of an instance for the resource (if already available) |
2351 const Json::Value* dicomAsJson, // optional: the dicom-as-json for the resource (if already available) | 2351 const Json::Value* dicomAsJson, // optional: the dicom-as-json for the resource (if already available) |
2352 ResourceType level, | 2352 ResourceType level, |
2353 DicomToJsonFormat format, | 2353 DicomToJsonFormat format, |
2354 const std::set<DicomTag>& requestedTags, | 2354 const std::set<DicomTag>& requestedTags, |
2355 bool allowStorageAccess) | 2355 bool allowStorageAccess) |
2356 { | 2356 { |