# HG changeset patch # User Sebastien Jodogne # Date 1776072406 -7200 # Node ID c8f4e02e711aab5f1452de9e40321fafede7df8a # Parent 1f3e0febc18e415b07073ff91484f91f9c5790f6 updated code model diff -r 1f3e0febc18e -r c8f4e02e711a OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h --- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Mon Apr 13 11:14:51 2026 +0200 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Mon Apr 13 11:26:46 2026 +0200 @@ -5718,13 +5718,15 @@ * 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 + * + * Note that the provided worklist is still reprocessed by Orthanc, + * which matches the worklist again against the query and removes + * the fields that have not been requested by the SCU. Therefore, + * the returned worklist might have some parts removed, either + * because they were not requested or because Orthanc failed to + * match them against the query. For instance, Orthanc is currently + * not able to match both a ScheduledProcedureStepStartDate AND a + * ScheduledProcedureStepStartTime. * * @param context The Orthanc plugin context, as received by OrthancPluginInitialize(). * @param answers The set of answers. diff -r 1f3e0febc18e -r c8f4e02e711a OrthancServer/Plugins/Include/orthanc/OrthancPluginCodeModel.json --- a/OrthancServer/Plugins/Include/orthanc/OrthancPluginCodeModel.json Mon Apr 13 11:14:51 2026 +0200 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancPluginCodeModel.json Mon Apr 13 11:26:46 2026 +0200 @@ -1526,7 +1526,8 @@ "size": "The size of the DICOM file." }, "description": [ - "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." + "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 worklist is still reprocessed by Orthanc, which matches the worklist again against the query and removes the fields that have not been requested by the SCU. Therefore, the returned worklist might have some parts removed, either because they were not requested or because Orthanc failed to match them against the query. For instance, Orthanc is currently not able to match both a ScheduledProcedureStepStartDate AND a ScheduledProcedureStepStartTime." ], "return": "0 if success, other value if error.", "summary": "Add one answer to some modality worklist request."