Sample data-entry rule that uses the Data tab
Example 1
Example 1 - Data entry rule that uses the Data tab
Characteristic |
Description |
---|---|
Description |
Create a rule named rulCompareQTcQRS that checks that the QTc interval (on the ECG form) is greater than (exclusive) the QRS interval. If false, issue a query on the QTc item that says QTc must be greater than QRS. Please verify. |
Scope |
ECG form |
Study structure |
|
Rule summary |
evaluate on Form Submission
value = this.itmQTcInt.Value > this.itmQRSInt.Value
when value is false issue query on this.QTcInt: QTc interval must be greater than QRS interval. Please verify. |
Example 2
Example 2 - Data entry rule that uses the Data tab
Description |
Create a rule named rulExclusionCheck1 that checks for a response other than No for a question on the Exclusion form. If the response is not No, fire a query. (Use the codelist item from the Data tab.) |
Scope |
Exc1 item |
Study structure |
Excl (form)
|
Rule summary |
evaluate on Form Submission
value = this.Value == this.clYesNoCodelist.citmclNo
when value is false issue query: The answer to this question indicates that the patient is not eligible for the study. Please clarify or correct. |