Rule: Compare Date

Is OpenClinica capable of comparing Date variables? For example, ensuring that the start date of medication use is earlier than the stop date.
I have tried writing a rule to compare two date variables but it returns an error: The Rule you are trying to reference does not exist or is Invalid
Thank you for any help.
This discussion has been closed.