Previous Topic

Next Topic

Book Contents

Calculate the sequence ID

When is this rule required? This rule is required if you are using a separate Safety Case form.

If the adverse event sequence ID is mapped to an item in a repeating itemset, InForm Publisher will know to use these items as the related adverse event as opposed to time frames. If this mapping does not exist, InForm Publisher uses time frames.

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.

lab

Item

Description

When to use

If you are a Central Designer 2.1.2.x/InForm Publisher, 2.1.1/InForm 6.1.x user and are using a Safety Case form, this rule adds a read-only sequence ID, which is calculated by a rule.

Purpose

This rule allows Central Designer 2.1.2.x/InForm Publisher, 2.1.1/InForm 6.1.x users to create a sequence ID on which the study designer can write rules.

The actual sequence ID generated by InForm cannot have rules written on it. This rule allows the study designer to base rules on the Safety Case form on this AEID.

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:

evaluate on Form Submission

 

value = /Calculate SAE Sequence ID from the current index*/

this.eSAE.Current().sctSAE001_01.SAEAESEQ.Empty

 

when value is true

set this.eSAE.Current().sctSAE001_01.SAEAESEQ.Value = this.eSAE.CurrentIndex + 1

Send Feedback