Mercurial > hg > orthanc
changeset 6691:c8f4e02e711a
updated code model
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Mon, 13 Apr 2026 11:26:46 +0200 |
| parents | 1f3e0febc18e |
| children | 9b87df967968 |
| files | OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h OrthancServer/Plugins/Include/orthanc/OrthancPluginCodeModel.json |
| diffstat | 2 files changed, 11 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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."
