patient crud, fixes in doctor