How to write DICOM ReferringPhysicianName metadata?

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.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 6 Feb. 2018

0 Stimmen

I see something indicating you should use ^ between the parts.

1 Kommentar

Indeed, the parameter-value combination
'ReferringPhysicianName','Last^Given^Middle'
works. Thank you.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu DICOM Format finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by