Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Overview

A repeater table in a subject report will extract data across all encounters 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. Open the Repeater window 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)

  • No labels