Using AND OR logic in custom rules

Hi @sunny -
Re: your term ‘custom rules’, are you talking about CDR rules?
Can’t tell how you have built your rules but have you looked in the wiki for the tutorial on making them?
https://www.open-emr.org/wiki/index.php/CDR_in_OpenEMR_5_-_Survey_of_CDRs

That’s a multi-page guide on the topic, written for OpenEMR v5 but the mechanics are the same for v7. Can’t say where but I suspect AND and OR rules are mentioned in there.

It also has a mention of a forum topic from a while ago that may be of assistance:

Good luck!
Best- Harley