Trying to check whether a patient has a particular problem on their problem list:<br><br>    when<br><br>        $patient : Patient()<br>        forall ( Problem( code != &quot;195967001&quot;) from $patient.problemList)<br>
<br>but I get the following parsing error--<br><br>[29,41]: [ERR 101] Line 29:41 mismatched input &#39;FROM&#39; expecting &#39;)&#39; in rule &quot;Dumb no asthma Rule&quot;<br>[29,66]: [ERR 101] Line 29:66 mismatched input &#39;)&#39; expecting &#39;(&#39; in rule &quot;Dumb no asthma Rule&quot; in pattern $patient.problemList<br>
<br>What is the correct way to check for this condition?<br><br>Thanks,<br>Howard<br>        <br>