Skip to content

Find studies: the Analytics query form in Dicom Send, more filters in Anonymizer and Cleaner - #209

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

Dicom Send: Find studies is the Dicomtag Analytics query form, at Study level.

  • The keys table of Analytics is now a shared partial (partials/find_keys_form.html); Analytics includes it unchanged, Dicom Send includes it in step 2. Same Return / Field / Match value rows, Study Date period menu, Shortcuts, More filters, the Vue private fields and Add other DICOM tags. No Series or Image level, report text or "also search series".
  • The study list shows the columns ticked as Return (labels, not raw keywords). The Send route reads the form at Study level always, so the "Send at" choice of step 3 never changes the query.
  • Study Description, Referring Physician, Study Body Part, Patient Class and Study Reason are all in the table; none is a column unless ticked.

Anonymizer and Cleaner: more filters. Study Description is a normal field; More filters holds Referring Physician, Study Body Part, Patient Class and Study Reason (the last three are Vue private tags). Typed values come back after a query.

Valid search strings. New validate_match_text / validate_study_values: text values are refused (with the field's name) for a backslash, control characters, a length over the field's VR limit, or characters outside Latin-1; % still works as *. A value outside plain ASCII sets SpecificCharacterSet to ISO_IR 100 in the C-FIND identifier. The list stops at 500 studies and says so.

  • README, Help and CHANGELOG (Unreleased) updated.

Testing

  • Full suite passes. New tests: the form and its fields in Dicom Send, a find then send with labels and typed values coming back, each kind of invalid value, validation and the character set, and the Anonymizer/Cleaner filters.
  • The Dicom Send page was checked in a browser: the Analytics script works inside the form (date preset fills the dates, More filters and the Vue fields open), no JS errors.

Not tested

  • A real Vue PACS. A PACS that ignores a private key it does not know returns every study unfiltered; the field hints say so.

Generated by Claude Code

… Anonymizer and Cleaner

Dicom Send uses the Dicomtag Analytics keys table at Study level (shared partial). Anonymizer and Cleaner get Study Description plus Referring Physician, Study Body Part, Patient Class and Study Reason under More filters. Text match values are validated before they are sent.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vpoz9s3ghEVHXSjnLFH7ed
@arnoutpro
arnoutpro merged commit 2207a04 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