Modify PatientID

  • Hello,
    We found that if we try to modify the PATIENTID of a command line command under linux, we get the change partially! If the study is made up of just one image, everything is ok, but if the study contains 10 images after the modification, we find ourselves in a single-image study.
    This is the command we use:
    ./dgate --modifystudy:, 1.2.392.200036.9107.500.11017063001873, "set 0010.0020 to \"CCCCM73C23I189E\";"


    or


    ./dgate --modifystudy: 1875455,1.2.392.200036.9107.500.11017063001873, "set 0010,0020 to \"CCCCM73C23I189E\";"


    But the result is the same


    What are we wrong with?


    Greetings
    Massimo

  • Hello,
    Having had no answer, we are looking for a solution. We found it in "dcmodify" powerful DCMTK suite applet that can edit DICOM files directly, so with this program we've overcome the lack of DGATE and then we have modified the data directly into the database tables.


    Greetings
    Massimo

  • Hi,

    Quote from igroup

    We found that if we try to modify the PATIENTID of a command line command under linux, we get the change partially! If the study is made up of just one image, everything is ok, but if the study contains 10 images after the modification, we find ourselves in a single-image study.This is the command we use:./dgate --modifystudy:, 1.2.392.200036.9107.500.11017063001873, "set 0010.0020 to \"CCCCM73C23I189E\";"



    I'm using Win 2012 server and MS SQL server 2012.
    The same problem.

    Hi, Marcel.
    Could you reproduce a problem?
    Do you need more information?

  • Ah,


    Sorry it took so long.


    You are changing the patient ID, and do that image by image. However, as soon as you modify one image, it conflicts with the remaining images so the process fails (see why not change patientID of an image). So you can change anything you like there except the PatientID!


    The correct syntax is e.g.:


    Code
    dgate64 --modifystudy:,1.2.840.113619.2.22.287.1.529.20000719.265546,"newuids;set 0010,0020 to \"CCCCM73C23I189E\";"


    the newuids command replaces all UIDs and makes this operation work.


    Marcel

Participate now!

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