Calculate the sequence ID
This rule is required only if you are using a Safety Case form and allowing the site user to select only one adverse event.
This rule checks whether the sequence number in the Adverse Events form is empty and then populates it with an incremental number, starting at 1 and incrementing by 1 each time. Because the rule checks across multiple visits, it must be written at the visit level.
Item | Description |
---|---|
When to use | If you are only allowing the site to add one AE to each Safety Case form, this rule adds a read-only sequence ID, which is calculated by a rule. |
Purpose |
The site user will be able to add this ID to an item on the Safety Case form. The actual sequence ID generated by Oracle InForm cannot have rules written on it. This rule allows the study designer to base rules on the Safety Case form on this sequence ID. |
Triggering controls | Upon form submission by the site user. |
Action when rule is triggered | When the site user submits the form, the rule will populate the sequence ID item. |
Rule expression |
On the form, use a read-only field with a rule that calculates the sequence ID. In this example, the rule is calculating the AEID on the AE form. For example:
|
Parent topic: Add required rules to the Adverse Event form