I have written a single CRF which appears in six separate Events int he same study. 26 of its questions are in date format and I have added rule validations to ensure that the entered dates are not in the future. When tested individually in OC's Rules section they all work perfectly.
However, when tested as part of the CRF, only four of them fire and the rest do not.
I have found that if I include the full path of the question item in the rule's XML, making the event explicit (e.g. SE_ID010_VISIT2_BASELINE.F_ID080_CLINIC.IG_ID080_UNGROUPED.I_ID080_REDNESSSTARTDATE), a non-working rule will then work properly. However, I really don't want to have to create 200+ event-specific rules where 26 generic ones should do.
Furthermore, why do some of the rules work and others do not? They all follow the same format; apart from the item names the rules' XML is identical. In every case I have checked to ensure that the rule's item names match those found in the CRF. OC doesn't object to their syntax when imported, either.
We have used a single CRF in different events in dozens of other studies without encountering this issue.
Any ideas, anyone? This is driving me nuts.