Reopening of automatically closed queries
Automatic closing of discrepancies can happen when:
- The InForm software automatically closes an EDC query that originated from a Clintrial rule, and CIS automatically closes the corresponding Clintrial discrepancy.
- The InForm software deletes data, and CIS deletes the Clintrial records to which the data is mapped and automatically closes any discrepancies on those Clintrial records.
- The Clintrial software closes a discrepancy as a result of validation.
If a rule runs after a discrepancy is automatically closed (for example, if data changes in one or more items referenced by the rule), and the rule fails, CIS reopens the discrepancy.
To make sure that all of the correct records are processed when a rule runs again, CIS updates the error items when it automatically closes a Clintrial discrepancy or processes the automatic closing of a discrepancy by the Clintrial software. Specifically, CIS changes the value of the INF_ERRORITEMS.CTV_REPEAT_ID column of each error item so that it differs from the value created by the rule. If the INF_ERRORITEMS.CTV_REPEAT_ID column contains data, such as a comment on the error item, CIS overwrites it.