Check event order

Hi everyone,

I want to check the order of data entry of each event. For example, I want to show error message if user enter data to CRF in "3 month later" event while CRF in "Registration" event is blank.
What I want to do is exactly same as this thread:
https://forums.openclinica.com/discussion/14341/events-order-in-open-clinica

I wrote rule as below.  but It doesn't work. 

<?xml version="1.0" encoding="UTF-8"?>
<RuleImport>
    <RuleAssignment>
        <Target>SE_01.F_CRF01.IG_RESON_UNGROUPED_6498.I_RESON_VISDAT</Target>
        <RuleRef OID="P063_EVORDERCHK00">
            <DiscrepancyNoteAction IfExpressionEvaluates="true">
                <Run AdministrativeDataEntry="true"
                    InitialDataEntry="true" DoubleDataEntry="true"
                    ImportDataEntry="false" Batch="true"/>
                <Message>Please enter CRF after finishing Registration</Message>
            </DiscrepancyNoteAction>
        </RuleRef>
    </RuleAssignment>
    <RuleDef OID="P063_EVORDERCHK00" Name="P063_EVORDERCHK00">
        <Description>P063_EVORDERCHK00</Description>
        <Expression>SE_00.F_RESONANCE_.IG_RESON_UNGROUPED_4626.I_RESON_DSSTDTC eq ""</Expression>
    </RuleDef>
</RuleImport>

I appreciate if anybody could point out any error, or teach me any tips.

Best Regards,
Yukiko

Best Answer

Answers

  • ykkitoykkito Posts: 8
    edited April 2015
    Hi Thasbiha,

    Thank you very much for your reply. I understand why it didn't work.
    I erased the item I_RESON_DSSTDTC in the registration and went back to next event, hit save, then it triggered.
    However this operation is not realistic so this rule turned out not very useful.
    I tried event action as well and it worked. But this function was not adopted because of some operational reasons.

    Thank you and best Regards,
    Yukiko


This discussion has been closed.