- debt calculation for patient