View treatment plan logic is finally completed!