Hello. I would like to know what tags or other factors are necessary for the date, time, patient name, and patient ID to be written to a .dcm file using DCMTK. I have written my own little program using DCMTK to write a DICOM file, which includes statements like
Code: Select all
status = dataset->putAndInsertUint32(DCM_StudyDate,19941016);
and similar. The .dcm file gets written, and the image is there, but the image info, as viewed in EZDICOM and a couple other vieweres, doesn't have the date, time, etc. I've done a lot of googling looking for a table or other "simple" document which tells what's needed to get these variables to show up in the info, but no luck. Thanks.
John