add calculations to patient bank