DICOM RT UID Integrity Checker – Validate CT, RTSTRUCT, RTPLAN, RTDOSE Links with Python
🧠 **Worried about mismatched UIDs crashing your TPS?**
This Python-based tool checks and validates the internal links between the four key DICOM RT files: **CT, RTSTRUCT, RTPLAN, and RTDOSE**. It catches UID mismatches, missing CT slices, and corrupted references *before* they cause problems in your treatment planning system.
✅ **What It Checks:**
- Frame of Reference UID (0020,0052) consistency across all files
- RTPLAN → RTSTRUCT Referenced Structure Set UID (300C,0060)
- RTDOSE → RTPLAN Referenced Plan UID (300C,0002)
- RTSTRUCT → CT contour image references (0008,1155)
- Per-ROI Frame of Reference UID (3006,0024) inside each structure
💡 **Why Use It?**
• Prevent dose misalignment or failed contour loads
• Spot errors from anonymization or exported mismatches
• Save time in QA, automation, or clinical scripting
• Easy to run from terminal — just point to your DICOM folder
📦 **What’s Included:**
- Python script (`dicom_rt_link_checker.py`)
- Sample instructions (in-code comments)
- Lightweight, no installation required beyond `pydicom`
📌 **Perfect For:**
- Medical physicists
- TPS QA developers
- Radiation therapy automation projects
🔧 Built with ❤️ by a practicing medical physicist + DICOM scripting expert.
Need help or want a customized version? Reach out anytime after purchase!