Sure,
e.g.
dgate '--modifystudy:patid,,newuids;mychange.lua'
in mychange.lua you can do
Data["0008,1060"] = 'whatever'
And anything you can do with Lua.
Marcel
Display More
Hi
first of all sorry about my english
could you please send me an example of "mychange.lua" script
a related example will be helpfull
thanks a lot
and one more thing
1. dgate --dump_header synatx
2. dgate '--modifystudy:patid,,newuids;mychange.lua'
im not familiar at command syntax so i will be thankful if you could use real data like bellow :
we want to add the dicom header to one patient who has PID=2559861321.
meaning add NameOfPhisiciansReadingStudy = "Drshakibafard" to that patient.
if that dicom header exist change it and if not add it.
if we have txt file with a list of patients ID, how could we change one or more dicom header of all of them and send them to anothe AE
Thanks a million