Skip to content

Dicom Send: find studies on one archive and send them to another - #207

Merged
arnoutpro merged 1 commit into
mainfrom
claude/great-thompson-plz9z8
Nov 26, 2026
Merged

arnoutpro merged 1 commit into
mainfrom
claude/great-thompson-plz9z8

Conversation

@arnoutpro

Copy link
Copy Markdown
Owner

Summary

A new product (own tab, between Dicom Router and Dicom Cleaner): the one-off form of a Router rule that forwards studies, in four steps.

  1. Choose the archives: Send from, Present as (saved virtual AE or typed), Send to. Registered nodes only; the destination must differ from the source.
  2. Find studies: Study-level C-FIND (Study Date required, Patient ID, Accession Number, Modality).
  3. Choose studies: at Study, Series or Image level (Show series for single series).
  4. Send: a browser prompt names both archives, then each selection is C-MOVEd to this workstation and C-STOREd to the destination with its original UIDs (an identical copy; the source is untouched).
  • Images only pass through memory; nothing is saved or kept. Needs Accept C-STORE on; up to 200 selections per run; reports every selection that came back empty.
  • Shares the Cleaner's query, level and retrieve code: CleanerTool._run now calls a shared _resolve_entities (behaviour unchanged, Cleaner tests pass), and study_query_fields.html can show the connect part and the filters separately.
  • Wiring: tool registry and BUILTIN_TOOL_MODULES, tab/sidebar/icon, /tools/dicom-send operator rule, execute_tool options.
  • README, Help, SECURITY.md (operators can copy real studies between registered archives) and CHANGELOG (Unreleased) updated.

Testing

  • Full suite passes. New tests/test_dicom_send.py with two simulated archives: find then send with the SOP and Study UIDs unchanged; a destination is required and must differ from the source; two registered nodes are needed; the tab and its order.
  • The empty page was checked in a browser (steps, fields, no JS errors).

Not tested

  • A real PACS, very large studies (held in memory during a run), and the results page after a real query in a browser.

Generated by Claude Code

A new product (tab) in four steps: choose the archives, find studies, choose studies, send. Retrieves with C-MOVE to this workstation and C-STOREs to a different registered node with the original UIDs. Shares the Cleaner's query, level and retrieve code; nothing is edited, saved or kept.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vpoz9s3ghEVHXSjnLFH7ed
@arnoutpro
arnoutpro merged commit 54a9476 into main Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants