Takes raw DICOM metadata (from extract_dicom_metadata()), restructures
it into a proper imaging registry with computed fields (days_post_trauma,
phase classification), and optionally saves to CSV.
Takes raw DICOM metadata (from extract_dicom_metadata()), restructures
it into a proper imaging registry with computed fields (days_post_trauma,
phase classification), and optionally saves to CSV.