First query to get StudyInstanceUID, then:
dcmodify -e PatientName -e PatientID -e PatientBirthDate patient.dcm dcmtk tutorial
dcmgpdir -r +D ./dicom_folder/ DICOMDIR
The easiest method. Open a terminal and run: First query to get StudyInstanceUID, then: dcmodify -e
First, you need a Storage SCP (a receiver). Run storescp in one terminal: First query to get StudyInstanceUID
Create a script or use dcmodify to clear tags:
// The dataset is now in memory. std::cout << "DICOM file loaded successfully!" << std::endl;