PyDicomSorter is a python package that sorts dicom files into a structured directory based on the dicom tags.
It can be used as a command line tool or as a python package.
pip install PyDicomSorter
Testing the pydicom library to sort dicom files by patient name and study date.
[!NOTE] none of this works yet
Designing should look like:
A Patient has one or more Studies, a Study has one or more Series, and a Series has one or more Instances.
graph TD
A[Patient] --> B(Study)
B --> C(Series)
C --> D(Instance)