Forward Plan, Structures and CT images

  • Hello,


    Is it possible to forward the SERIES (CT, Structures and CT images) based on a specific value in the PLAN Description TAG? For example: if it contains XVI_6 the incoming SERIES has to be forwarded to the XVI of LINAC 6.


    I created the following lines (based on the manual):


    exportconverters = 1
    exportconverter0 = ifnotequal "%m", "RTPLAN"; stop;


    ifmatch "%V*0008,1030", "*XVI_6*";forward to XVI_6;
    get study modality CT from RTPACS;
    get study modality RTSTRUCT sop %V/300c,0060.0/0008,1155 from RTPACS;
    forward study series %V(/300c,0060/0008,1155)/3006,0010/3006,0012/3006,0014/0020,000e
    to XVI_6;
    forward study modality RTSTRUCT sop %V/300c,0060.0/0008,1155 to XVI_6


    But it will only forward the PLAN and not the rest of the data. Do the images and structes have to be already in Conquest?


    Hope you can help me!


    Thanks,


    Dennis van Son
    Medical Centre Alkmaar

  • Hi Dennis,


    If you add a NOP before the start of the statement you can see what it expands to. The script is based on our hospital and works for Pinnacle. You do have the entire statement on one line?


    Marcel

Participate now!

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