title: How to create a score from several drools decision tables?
body: <p>I'm new to drools and trying to use guvnor to build a simple <a href="http://www.nhlbi.nih.gov/guidelines/cholesterol/risk_tbl.htm" rel="nofollow">Framingham score</a> calculator.</p>
  
  <p>An example is: lets say you are a 30yo male, you start with -9 points.  If your total cholesterol is 180, add 4 points, if your a smoker add 8 points, if your HDL cholesterol is over 60, subtract 1 point, and if your blood pressure is 135 then add 1 point. Giving you a result of +3.</p>
  
  <p>The tables on the score sheet seem like a great scenario for a drools decision table(s).  </p>
  
  <p>I'm having trouble figuring out how to add the individual score numbers together.<br>
  I stared by creating a new "FraminghamScore" fact for my result column, but then I need to add these facts together. </p>
  
  <p>I tried to join all the tables into 1, but that gets complex and redundant real quick.</p>
  
  <p>It looks like if I were to create my FraminghamScore in java, I could have a incrementValue(int) method that I could call, but then I couldn't figure out how to pass a number to it.</p>