Handling of Rules

13 views
Skip to first unread message

Chris Larsen

unread,
Jan 23, 2012, 11:51:13 PM1/23/12
to tryton
Dear All,

I have come across an issue with the Rules: AS is correctly stated, a
"rule is satisfied, if st least one test is True [...]". This amounts,
if you like, to a logical OR, if there are several rules in place.
Is there any way to impose a sequential handling of rules, in order to
achive that rule 1 AND rule 2 AND rule 3 have to be satisfied. For
instance, there is currently no way to get a rule saying "is patient =
False" AND "is_insurance_company = False" (examples from GNU Health)
going, as the processing of the rule will be completed already after
the first condition.

Any ideas?

Thanks a lot!

Chris

Cédric Krier

unread,
Jan 24, 2012, 4:00:39 AM1/24/12
to tryton

Create different rule groups.

--
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric...@b2ck.com
Website: http://www.b2ck.com/

Reply all
Reply to author
Forward
0 new messages