treatment record revision

delete treatment is now connected to database