diff OrthancServer/Sources/ServerContext.h @ 5568:b0b5546f1b9f find-refactoring

find refactor: re-use existing code. /studies?expand is almost fully implemented with new code
author Alain Mazy <am@orthanc.team>
date Thu, 25 Apr 2024 09:22:07 +0200
parents 48b8dae6dc77
children 77570cce8855
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h	Tue Apr 23 16:49:44 2024 +0200
+++ b/OrthancServer/Sources/ServerContext.h	Thu Apr 25 09:22:07 2024 +0200
@@ -607,6 +607,12 @@
                         ExpandResourceFlags expandFlags,
                         bool allowStorageAccess);
 
+    void AppendFindResponse(Json::Value& target,
+                            const FindResponse::Item& item,
+                            DicomToJsonFormat format,
+                            const std::set<DicomTag>& requestedTags,
+                            bool allowStorageAccess);
+
     FindStorageAccessMode GetFindStorageAccessMode() const
     {
       return findStorageAccessMode_;