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

Check for "not containing"

Hi there,

I'm designing a rule using the "ct" operator to check if the "other" option is selected in a multi-select box, this is to make sure that the "if other, please specify :" question must then be filled in.

If the "other" option has not been selected, how can I check for this? is there something like a "nct" operator? I need to check because the "if other, please specify" box must be left blank in this case.



  • lindsay.stevenslindsay.stevens Posts: 404 ✭✭✭
    via Email
    There's no nct operator. You can change the IfExpressionEvaluates attribute
    for the rule action (e.g. DiscrepancyNote) to "false" to negate the RuleDef

    However you'll need to add some extra conditions to cover the inverse case.
    E.g. not ct could be because there's no value, so add a ne expression to
    cover that.
  • svensven Posts: 2
    Yeah that seems like it will work, thank you!
This discussion has been closed.