How to write DICOM ReferringPhysicianName metadata?
Show older comments
In the RT Dose DICOM files exported from MIM there is the ReferringPhysicianName structure with FamilyName, MiddleName, and GivenName structure-subset tags. How do you write data to each subset element? I have only found how to fill data on the 'first' level, which goes into the FamilyName removing the MiddleName and GivenName subsets.
For example, this code works:
dicomwrite(blurreddose,filename,doseinfo,'DoseSummationType','PLAN','SeriesDescription','Feb. 2018 blurring of planned beams',...
'ReferringPhysicianName','Robinson','DoseUnit','RELATIVE','DoseGridScaling',num2str(DoseGridScaling),'CreateMode','copy');
but trying something like
'ReferringPhysicianName.FamilyName','Robinson','ReferringPhysicianName.GivenName','Walter'
gave the error that there was no DICOM tag with that name (as I recall). The dicomwrite documentation doesn't specify how to specify this substructure format.
Accepted Answer
More Answers (0)
Categories
Find more on DICOM Format in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!