V2, Vishal | #703 | Added cumulative missed doses to therapy in postgres