Substring operator doesn't work

  • Hi all,


    I'm trying to create a directory structure that it starts with two last digits of patient id. At this point I'm using this configuration:


    FileNameSyntax = %id[8,2]\%id\%studyuid_%imagenum_%time.dcm


    But no luck!, system maintains patient id at its conmplete format and it doesn't returns only last two digits.


    Any ideas?


    Thanks in advance,


    Ricardo Bernat

  • Hi Marcel,


    yes, I think that i'm sending brand new images, or sending same images previously deleting them from image browser. Anyway, I'll test it tomorrow but I think that this is a real bug.


    Ricardo Bernat

  • Use:


    FileNameSyntax = %id[8,9]\%id\%studyuid_%imagenum_%time.dcm


    Sorry this took so long, I forgot my own syntax! The substring operator lists the first and last character and refuses when last smaller than first.


    Marcel

Participate now!

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