|
PACS System 0.1.0
PACS DICOM system library
|
Use pacs_system's bundled command-line tools for common DICOM operations without writing code: inspection, conversion, anonymization, and query/retrieve.
Prints a human-readable summary: patient name, study date, modality, transfer syntax, and image dimensions. Use this for sanity-checking files.
Dumps every tag and value to stdout. Useful for debugging vendor-specific quirks or verifying that private tags are being written correctly.
Re-encodes the pixel data to a different transfer syntax without touching other metadata. Use for compatibility with older receivers or to save space via lossless compression.
Removes or replaces patient-identifying tags per DICOM PS3.15 profiles. The basic profile covers Safe Harbor de-identification; other profiles include retention options for research scenarios.
dcm_dump before sharing anonymized files — misconfigured profiles may leave identifying information in private tags.Performs a C-FIND query against a remote PACS and prints matching studies. Handy for ad-hoc troubleshooting without writing a client.
pacs_system ships with 28+ CLI examples. See the examples/ directory for the full list:
dcm_extract — extract pixel data to JPEG/PNGdcm_modify — edit tags in placedcm_dir — create DICOMDIR mediadcm_to_json / json_to_dcm — JSON round-tripecho_scu / echo_scp — test connectivitystore_scu / store_scp — storage servicesworklist_scu / worklist_scp — modality worklistbasic profile is conservative; research studies often need the retain-longitudinal-temporal-information option to keep dates relative.