Repository navigation
Add the WADO-RS retrieve URL to the inputs of an AI task workitem - #981
Merged
Merged
Conversation
…from The input instances of a workitem carried only their UIDs, so UpsWorkitem never wrote the WADO-RS Retrieval Sequence: the Retrieve URL (0008,1190) lives on the series in the model, never on its instances. Each instance now takes the URL of its series, or the series resource of the DICOMweb origin of the study when the query gave none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nroduit
added a commit
that referenced
this pull request
Nov 28, 2026
Follow-up of the pull requests #980, #981 and #982 on the AI tasks. - A parameter name or a coded value of ups:run --param is code or scheme:code; without a scheme it takes the one of the task instead of a designator built into the plugin - Command API 2.42 for the --param option, skill snapshots regenerated - Format the plugin module (spotless) - Document the parameters and the scheme of a catalog entry in ai-tasks.md - Tester notes: API 2.42, what ran against a live UPS-RS server Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A UPS workitem created from the AI tasks menu (or
ups:runwithout--url) had no WADO-RS Retrieval Sequence in its Input Information Sequence, so a Task Performer could not retrieve the input series.AiTasks.inputInstancescopied only the UIDs of each instance, while the Retrieve URL (0008,1190) lives on the series in the model;UpsWorkitem.inputwrites the WADO-RS Retrieval Sequence only from an instance's Retrieve URL.Change
Each input instance now carries the Retrieve URL of its serie none, the series resource of the study's DICOMweb origin
(PS3.18 §10.4.1.1.2).
ups:run --url … --instance …is unchanged: its instances a the server named is the UPS one, not necessarily the WADO-RS one.Verification
AiTasksTest: fails before the fix (Retrieve URL null), passes after;mvn -pl weasis-dicom/weasis-dicom-aiw verifypasses.ToolBarContainerFitTest,GraphicPrefViewLayoutTest,SidePanelTest) fail with or without this change; this PR does not touch weasis-core.This change was written with the help of Claude Code and reviewed and tested by me.