Helps to find the attribute within a DICOM when you do not know exactly where it is located within the dicom. This code will loop through every single structure until it finds the attribute within a structure fieldname.
Download the code, get your dicom and run the following two lines:
>> YourDicomInfo = dicominfo('YourDicom.dcm');
Matlab will show the following:
Results for DoseRateSet is 600
Work your way back from the last word below up to here
If you are looking for the patient's name, and just type 'name', it will come up with the physician's name because this is the first results it gets. You would need to type exactly "Patientname".
vincent caillet (2019). myDicomLookup (https://www.mathworks.com/matlabcentral/fileexchange/68705-mydicomlookup), MATLAB Central File Exchange. Retrieved .
Added some more notes
Correct an error where the field value is a matrice
added some notes