...
A user defined collection is created when data across encounters is being extracted but not from all encounters (for example, only a certain interval name). A knowledge of JavaScript is required to create a user defined collection.
Steps
- Within the Repeater window, select User Defined for the Collection
- Select the User Defined Collection tab
- A custom expression and User Defined Function is included and can be modified to obtain the desired results
- The line with the if statement in the User Defined Function needs to be modified with the condition indicating which encounters should be included
...
User Defined Collection that includes on current medications (for all medications, a user defined collection is not needed)
...