How CIS determines the item on which to place a query
The INF_ERRORITEM table, which identifies items associated with an EDC data entry error, corresponds to the VCT_ERRORITEM table for PDC data. In a CIS environment, if a Clintrial rule fires on EDC data, the CIS software determines the InForm item to which to attach the query by examining the items posted by the rule in the INF_ERRORITEM table in order and doing the following:
- It places a query on the InForm item corresponding to the first error item in the INF_ERRORITEM table if all of the following are true:
- The error item is mapped to an InForm control.
- The InForm control is not a calculated control.
- The form in which the control appears has been started.
Note: It is not necessary for the item of which the control is a part to have data, but at least one item on the form must have been submitted.
- If any of these conditions is not true, CIS examines the next error item to determine if it meets the criteria for placing a query in the InForm software.
- If no error items meet the criteria, CIS does not send a query to the InForm software, and it places a warning in the Windows event log of the CIS machine.
If no error items are set up for a rule, and the rule fails on EDC data, validation fails. To prevent this, include a derivation in the rule that sets the value of the $edc_usect variable to True.
In a protocol that is set up for Resolve:
- If $edc_usect is set to True, and the rule fails on EDC data, validation creates discrepancies in the Resolve tables (VCT_ERRORSTATUS and VCT_ERRORITEM) instead of in the CIS tables (INF_ERRORSTATUS and INF_ERRORITEM). Error items are not required for validation to run, and you can manage the discrepancies through Resolve.
- If $edc_usect is set to False, and the rule fails:
- If the data comes from the Clintrial software (in a Hybrid protocol), validation creates discrepancies in the Resolve tables (VCT_ERRORSTATUS and VCT_ERRORITEM).
- If the data comes from the InForm software through synchronization, validation creates discrepancies in the CIS tables (INF_ERRORSTATUS and INF_ERRORITEM) for records that have error items. In this case, validation fails if no error items exist.
The query initial state is taken from the panel to which the rule is attached, not the panel of the first error item.