Add column balance to patient.
Change getPatientTest to use two functions