Introduction of patient actions, supporting the ability to wait until the next action is ready
Adjusted scope of action method
Optimizations