[rules-users] forall over a collection
howard goldberg
goldberg.howard at gmail.com
Thu Mar 19 23:21:01 EDT 2009
Trying to check whether a patient has a particular problem on their problem
list:
when
$patient : Patient()
forall ( Problem( code != "195967001") from $patient.problemList)
but I get the following parsing error--
[29,41]: [ERR 101] Line 29:41 mismatched input 'FROM' expecting ')' in rule
"Dumb no asthma Rule"
[29,66]: [ERR 101] Line 29:66 mismatched input ')' expecting '(' in rule
"Dumb no asthma Rule" in pattern $patient.problemList
What is the correct way to check for this condition?
Thanks,
Howard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090319/38659415/attachment.html
More information about the rules-users
mailing list