batch: max_concurrent: 5 retry_failed: true 4.1 Batch Image Export Export studies from a specific date range:
mipacs-toolkit backup --age 90d --destination //backup-server/mipacs_archive --compress gzip Validate all DICOM headers in a directory: mipacs toolkit
mipacs-toolkit metadata --input ./studies/*.dcm --fields PatientID,StudyDate,Modality --output report.csv Schedule a full backup of all studies older than 90 days: batch: max_concurrent: 5 retry_failed: true 4
<!-- Save as MIPACS_Check.xml and import --> <Task> <Triggers> <Weekly DayOfWeek="Sunday" /> </Triggers> <Actions> <Exec>mipacs-toolkit validate --path D:\studies --send-alert admin@hospital.org</Exec> </Actions> </Task> Run export every night at 2 AM: Weekly DayOfWeek="Sunday" />
server: host: "mipacs-server.yourorg.com" api_key: "your_api_key_here" timeout_sec: 30 paths: input_dir: "/data/incoming" output_dir: "/data/processed" log_dir: "/var/log/mipacs"
mipacs-toolkit validate --path /data/incoming --fix-header-errors Windows Task Scheduler Example Create a weekly integrity check: