Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

A user defined collection is created when repeater table in a subject report will extract data across all encounters is being extracted but not from all encounters (for example, only a certain interval name)if ENCOUNTERS is selected in the Collection field on the Attributes tab of the repeater. To extract data from specific encounters only, a User Defined collection is created.  A knowledge of JavaScript is required to create a user defined collection.

 


Steps

  1. Within Open the Repeater window , select page (click here for steps)
  2. Select User Defined for the Collection on the Attributes tab in the Repeater window
  3. Select the User Defined Collection tab
  4. A custom expression and User Defined Function is included and can be modified to obtain the desired results
  5. The line with the if statement in the User Defined Function needs to be modified with the condition indicating which encounters should be included

...


Examples

User Defined Collection for a specific interval name.

 


User Defined Collection that includes only fixed intervals

 


User Defined Collection that includes on current medications (for all medications, a user defined collection is not needed)

...