Program validation rule firing on form load

Hi there. We have designed an inpatient discharge event capture program

modeled on the “Inpatient morbidity and mortality” program on the demo site.

We have defined a validation rule that the discharge date should be greater than the Admission date <= Discharge date.

When ever we attempt to register an event, the rule immediately fires (even though both values are NULL at this point). This does not seem like desired behavior.

This does not seem to happen on the demo. I am not sure if this is a difference in version (2.21 versus 2.22) or a difference in the operator (< in the demo or <= on our rule).

Any thoughts?

···

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049