In the above example if we only have these 3 rules:
Rule #2 = Will only check 1 time, within 20 second if dob is less than 365 days old and add 10 PRI points if true.
Rule #4 = Will check only if time since created is more than 900 seconds, will check every 60 seconds up to 4 times, each time adding 5 PRI points.
Rule #10 = Will only check 1 time, within 10 second if dob is less than 28 days old and add 10 points.
With these 3 rules in play a ticket would result as follows:
A patient that is 14 days old with a keyword priority of +10
-Once submitted the value has a value of 10 from the keyword priority.
-After 1 minute, Ticket Priority is 30 points. (rule 2 plus rule10)
-After 15 minutes this same ticket. If NOT touched, would be 35. (rule 4)
-After 30 minutes from creation, this ticket is NOT touched, would be 40. (rule 4 again)
-After 4 hours from creation, this ticket is NOT touched, value would be only 50. As it had stopped adding values after the 4th time. (rule 4)