This function adds up all of the numerical values for an attribute. For example, suppose we had the following case fragment:
01 Jun 09 20 Jun 09 30 Jun 09 15 Oct 09 Service Full Scan Hip Scan Cancelled Hip Scan Payment 80 50 50
Then the condition: sum across episodes of Payment > 150 is true.