updated treatment plan api
removed old format