# HG changeset patch # User Alain Mazy # Date 1767957095 -3600 # Node ID c3bc970cf1691a1425f70ef7e95820b166df9566 # Parent a9f425e69b3309067296447bf65d89fb52d25fab doc diff -r a9f425e69b33 -r c3bc970cf169 OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h --- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Thu Jan 08 17:50:46 2026 +0100 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Fri Jan 09 12:11:35 2026 +0100 @@ -5714,6 +5714,13 @@ * This function adds one worklist (encoded as a DICOM file) to the * set of answers corresponding to some C-Find SCP request against * modality worklists. + * + * Note that the provided answer is still processed by Orthanc that matches + * it again against the query and remove fields that are not requested. + * Therefore, the answer that is actually returned might have some parts removed + * either because they were not requested or because Orthanc fails to match it with the + * query. E.g: Orthanc is currently not able to match against a ScheduledProcedureStepStartDate + * AND a ScheduledProcedureStepStartTime * * @param context The Orthanc plugin context, as received by OrthancPluginInitialize(). * @param answers The set of answers. diff -r a9f425e69b33 -r c3bc970cf169 TODO --- a/TODO Thu Jan 08 17:50:46 2026 +0100 +++ b/TODO Fri Jan 09 12:11:35 2026 +0100 @@ -244,7 +244,8 @@ ScheduledProcedureStartTime & Date). We should first filter in SQL by StudyDate only, combine it with StudyTime into a single DateTime string and filter again in C++. - https://discourse.orthanc-server.org/t/performin-find-within-orthanc-for-time-frames/4704 + https://discourse.orthanc-server.org/t/performin-find-within-orthanc-for-time-frames/4704. + Related: Add a new variant of OrthancPluginWorklistAddAnswer that does not process the answer. * Worklist plugin: support MPPS https://github.com/orthanc-server/orthanc-setup-samples/blob/master/python-samples/worklist-with-mpps.py