DICOM Tag 0008,0090 ReferringPhysicianName - LUA Script

Hello,

i want to replace or add some informaiton to DICOM tag 0008,0090 with lua script.
I have created a lua script for “OnStoredInstance” an add
replace[‘ReferringPhysicianName’]= xxx

did not work.

Is it possible to modify this tag with lua script? Or only well known tags like Patient Name, Station Name and so on?

Regards

Hello,

The attached Lua script works properly for me.

HTH,
Sébastien-

test.lua (506 Bytes)

Hello,

thank you very much.

works, i have forgotten one line :frowning:

Regards