diff OrthancServer/Sources/ServerContext.h @ 4937:3f9b9865c8cc more-tags

include requested tags from storage if needed
author Alain Mazy <am@osimis.io>
date Mon, 14 Mar 2022 13:13:29 +0100
parents 8422e4f99a18
children e8a2e145c80e
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h	Fri Mar 11 17:38:16 2022 +0100
+++ b/OrthancServer/Sources/ServerContext.h	Mon Mar 14 13:13:29 2022 +0100
@@ -546,5 +546,13 @@
                         DicomToJsonFormat format,
                         const std::set<DicomTag>& requestedTags);
 
+    bool ExpandResource(Json::Value& target,
+                        const std::string& publicId,
+                        const std::string& instanceId,    // optional: the id of an instance for the resource
+                        const Json::Value& dicomAsJson,   // optional: the dicom-as-json for the resource
+                        ResourceType level,
+                        DicomToJsonFormat format,
+                        const std::set<DicomTag>& requestedTags);
+
   };
 }