Bulk Modification of Patient ID

  • Hi


    I had gone through the manual and found the following command for modification of Patient details.

    --modifypatid:patid,file


    will you please guide or share what is the format of this file and its location.


    and if i want to do bulk update say 50,000 patients what will be the procedure.


    --HM

  • Hi,


    You can use e,g,. command line command


    dgate(64) --modifier:patientid,,,,1,'script'


    where script could be e.g.


    newuids;set PatientID to "NewPatientID"


    Note that you cannot change PatientID without changing UIDs (see sticky why not change patientID of images). You can change pretty much anything else though.


    Regards,


    Marcel


    P.S. If you want to keep the orginal UIDs (which is faster), you have to move the data to another location because it will conflict with data still in the source server. In that case I would propose to write a Lua script to do this, using zerobrane studio as controller. If you need more logic using Lua is a good idea anyway.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!