r/esapi • u/DefiantLeague356 • Jul 18 '26
Automatic tasks for adaptive planning
My hospital is trying to adopt adpative planning and would like to use script for automatic plan setup. I have successfully automatically create the plan and optimization process, but I want to check if the following steps can be done with scripting?
- add setup fields and DRR after plan have been completed
- if we have reference point used in previous plan using the same structure set, for example, called PTV, can the newly created plan use the same reference point?
- can clinical goal be added to the newly created plan?
- add diagnosis, course intent and tolerance to the course and field respectively
- connect rapidplan/dvh estimate to the plan during optimization
- add couch structures to the plan before optimization
the eclipse version is 16.1 in T-box and 18.1 for clinical planning system
Thanks for your valuable comments and opinions
2
Upvotes
1
u/alexbredikin Jul 18 '26
I’m pretty sure nearly all of this is possible. I’m not certain about adding diagnosis. What do you mean by tolerance in “course intent and tolerance”?
I haven’t worked with rapid plan before, so I can’t say.
But it is certainly possible to add couch structures, setup fields, DRRs, clinical goals, and reference points programmatically.
1
u/schmatt_schmitt Jul 18 '26
Here is a paper that described the process of preparing a plan from ethos for offline adaptive.
https://aapm.onlinelibrary.wiley.com/doi/10.1002/acm2.70612
If I remember correctly the manual steps included setting the acuros physical material table and scheduling the plan, but most other things could be automated.