Repository navigation
feat: UPS-RS task parameters (0074,1210) - --param flag and parameter encoder - #982
Merged
Merged
Conversation
…annel lifecycle, cancel reason, poll deadline
…S and code validation
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.
Implements the task-parameters half of the UPS-RS Phase 3 proposal in
#962: a requester-side
encoder for Scheduled Processing Parameters Sequence (0074,1210) and a
ups:run --paramflag to pass parameters.What it adds
UpsParameters- packs a parameter list into (0074,1210). Each item is aContent Item: Concept Name Code Sequence (0040,A043) names the parameter,
Value Type (0040,A040) selects the carriage, and the value travels in the
matching attribute - NUMERIC -> Numeric Value (0040,A30A, DS),
TEXT -> Text Value (0040,A160, UT), CODE -> Concept Code Sequence
(0040,A168). A code value longer than the 16-character SH limit goes into
Long Code Value (0008,0119) per PS3.3 Table 8.8-1.
ups:run --url ... --param CODE=TYPE=VALUE, repeatable. The flag isrefused unless
--urlis given: the explorer path (AiTasks.run) doesnot carry parameters yet, and dropping them silently would run the task
with the wrong settings.
embedded spaces are rejected, and the 16-byte limit is enforced.
Notes
the three commits after it.
mvn -pl weasis-dicom/weasis-dicom-aiw test- 82 tests green,2 e2e skipped.