Set DICOM tag in level 2 sequence

  • Hi


    I'm trying to add a DICOM tag to a Radiotherapy Plan using an Import Converter. The tag that I am trying to add should be in a second level sequence - the User Manual says that you can only go one level deep when adding a tag.

    Is there a way around this?


    Im trying to add DoseRate (300A,0115) which sits in Beam Sequence/Control Point Sequence 300A,00B0.N/300A,0111.0


    Thanks in advance for any help!


    Regards


    Tim

  • Hi,


    yes you can set and read them. You just cannot add them to the database.


    ImportConverter0 = set 300A,00B0.0/300A,0111.0/300A,0015 to "value"


    or


    [lua]

    ImportConverter0 =Data.BeamSequence[0].ControlPointSequence[0].DoseRate = 99.99


    Marcel

  • Thanks Marcel


    I have tried this but when I add the second level the value is not set.

    If i write

    ImportConverter0 = set 300A,00B0.0/300A,0115 to "value"

    then it gets added (obviously in the wrong place), but not

    ImportConverter0 = set 300A,00B0.0/300A,0111.0/300A,0115 to "value"


    I've tried running it both in interactive mode and as an NT service.


    Any thoughts as to why this may be? Does the tag need to be created first - is there any way of doing this?

    Thanks


    Tim

Participate now!

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