We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

Cannot Compare two Dates

Hi There,
Could anyone help me with this problem? I created a rule to compare two dates (both in format of date, not pdate) and test it, but the result shows that the variable cannot be used with Less_Than operator (please refer to the attached screenshot). I am confused now and anyone who can tell me the reason? Thank you very much and best wishes!


  • jguptajgupta Posts: 27
    The test rule functionality does not work correctly for some scenarios. To test if your rule is working or not, you need to add a subject, then enter dates for the subject and create a scenario so that the rule triggers.
    Hope this information is helpful.
    best regards,
  • GerbenRienkGerbenRienk Posts: 814 ✭✭✭
    It is surprising that your rule can't be tested: I use this check often and don't have a problem with the lt-operator. Can you upload the metadata of your study so we can have a look at those?
    Kind regards,
    Gerben Rienk
Sign In or Register to comment.