added stuff to patient model, added stuff to pquantdata model