Running rule scripts against actual patient data
To run a rule script against patient data submitted in the current trial:
- Open the Rule window for the rule script you want to run.
- In the Rules toolbar, make the following selections:
- In the patient data list, select the patient against whose data you want to run the rule script.
- Optionally, in the context list, select the context in which you want to apply the rule. The InForm Architect application uses the RefName paths and arguments specified for this context when processing the rule script.
- Optionally, specify that you want the InForm Architect application to check RefNames by clicking the Toggle RefName Check (
) button in the Rules toolbar.
- In the Rules toolbar, click the Run Script (
) button.
The InForm Architect application runs the script against the submitted values for the selected patient, and reports the progress and results in the Rule Debug tab of the Output window. If you specified that you want RefName checking to be performed, invalid RefNames are reported as errors.
Note: If you run a rule script containing the GetCurrentISRowNum method, that method always returns 0.