You can reuse an item on a form as long as the item's reuse does not create identical context paths for the item. A context path is created with only the visit, form, section, and top-level item, even if the top-level item has child items or has items that are conditional on it. For instance, consider the following hierarchies in the Central Designer application and InForm application:
Context paths in the Central Designer application, and corresponding context paths in the InForm application
Hierarchy in the Central Designer application | Becomes the following in the InForm application |
---|---|
Study event > Form or section > Item 1 Item 2 (conditional on Item 1) Item 3 (Compound item, conditional on Item 2) Item 4 (Has a rule, conditional on Item 3) Item 4 (Has a rule, conditional on Item 1) | Visit > Form > Section > Item 1 Item 2 (Conditional on Item 1) Item 3 (Conditional on Item 2) Item 4 (Has a rule, conditional on Item 3) Item 4 (Has a rule, conditional on Item 1) |
In this example, using Item 4 in two places creates the following identical context paths, causing validation to fail. The context paths appear below in bold; the non-bold information is the additional information that makes the item's placement unique but, that information is not visible to the Central Designer application when it tries to determine when rules run:
If Item 4 were not conditional on Item 1, you could reuse the item without issues because the hierarchy would appear in the following way:
Context paths in the Central Designer application, and corresponding context paths in the InForm application
Hierarchy in the Central Designer application | Becomes the following in the InForm application |
---|---|
Study event > Form > Section (optional) > Item 1 Item 2 (conditional on Item 1) Item 3 (Compound item, conditional on Item 2) Item 4 (Has a rule, conditional on Item 3) Item 4 (Has a rule) | Visit > Form > Section > Item 1 Item 2 (Conditional on Item 1) Item 3 (Conditional on Item 2) Item 4 (Has a rule, conditional on Item 3) Item 4 (Has a rule) |
In this example, the following context paths would exist for Item 4. Because the information in the context paths is unique down to the first-level item, the reuse is acceptable.
Copyright © 2013 Oracle and/or its affiliates. All rights reserved. |
---|