Specifying a source control
For each calculated control created to hold a code value imported from an external coding tool, you must specify a source control. In a trial, the source control holds the value exported to the coding tool. This value is used by the coding tool as the basis for determining the coded value.
To create a mapping between a source and target control:
- Open the Data Mappings window for the autocode definition in which you want to create control mappings.
- Expand the tree until the control you want to map is visible.
- Right-click the control and select Add Source from the popup menu. The Build RefName dialog box appears.
Note: If the target calculated control is in a repeating visit, repeating form, or itemset, the source control must be in the same visit, form, or itemset. In these cases, the Path field in the Build RefName dialog box is partially filled in with the required RefNames.
- For each component of the RefName path, select the component from the list in the dialog box.
- Click Next, or, to backtrack to a previous component, click Back.
The InForm Architect application builds the path from your selections and displays it in the Path field at the top of the dialog box.
- When the RefName path is complete, click Done.
The InForm Architect application inserts the path into the component definition you are creating. The following figure shows the Data Mappings window with a completed source control mapping definition.
- Select the Target node and edit the autocode target mapping property values in the Properties window.
The following table describes the properties of an autocode target mapping definition.
Property |
Description |
---|---|
RefName |
RefName of the component. REQUIRED. For rules about the use of RefNames, see RefNames. |
Active |
Active or Inactive, indicating whether the target mapping definition will be in effect once it is installed and setup is complete. The default is Active. OPTIONAL. |
Design Note |
Free-form text, with a maximum of 255 characters, containing any information you want to capture about the design of the component. This information is for documentation only. OPTIONAL. |