Add Repeater Table
Overview
Summarizing data across encounters uses the Repeater function in a Subject Report Template. This page has steps on adding a repeater table into a report template.
Required Role(s)
- Project Management
Steps
- Open the Report Template Update page (click here for steps)
- Click Add/Edit RepeaterÂ
- Â In the Collection drop down select a collection to use.
- ENCOUNTERS: To create a row for each encounter and extract data from all of the subject's encounters
- MEDICATIONS:Â To extract data from all of the subject's medications (click here for the source code to pre-populate the repeater and add all medication fields)
- User Defined:Â To create a custom collection (for example, if you only want specific encounters but not all of a subject's encounters)
- Alias:   Used in expressions to access encounter variables.  Variables in the repeater from an encounter will be prefaced with this alias. The default alias is item.
- Width:Â Sets the width of the table that contains the repeater
- Border:Â Sets a border for each table cell when the box is checked
- Header:Â Includes a heading row for the table when the box is checked
- Background:Â The hex color code for the background color of the heading row
- The default is #B9B9B9 (gray)
- Enter a new hex color code if a different background color for the heading row is desired
- Click on the colored box to the right of the hex code to select a different background color
- Click on the narrow colored rectangular column to select various ranges of that colorÂ
- Click within the square box to select the specific color, the hex color code is updated in the Background box
- Font:Â The hex color code for the font of the text in the heading row
- The default is  #000000 (black)
- Enter a new hex color code if a different font color for the heading row is desired
- Click on the colored box to the right of the hex code to select a different font color
- Click on the narrow colored rectangular column to select various ranges of that colorÂ
- Click within the square box to select the specific color, the hex color code is updated in the Font box
- Click OK
- Click Save or Save and Return