Charts in a Report Template
Overview
The chart function is used to add a chart into a subject report. The chart can have multiple variables and can utilize a left y-axis, right y-axis, or both. The x-axis is time using the encounter dates.
Â
Steps to create a chart
- Click Add/Edit a chart
- The chart can be set up using a scale on the left y-axis, right y-axis, or both
- The x-axis is automatically set to time matching the encounter dates
- Left Axis tab
- Either select the variables to display on the chart or enter the variable codes prefaced with a # and separated by commas
Axis Mode: select an option from the drop down. If Manual is selected, enter a Min and Max.Â
- Right Axis tab
- Either select the variables to display on the chart or enter the variable codes prefaced with a # and separated by commas
Axis Mode: select an option from the drop down. If Manual is selected, enter a Min and Max.Â
- Options
- Â Collection
- ENCOUNTERS:Â Select to chart values from encounters
- MEDICATIONS:Â Not applicable for charting
- User Defined: To create a custom collection (for example, if you only want specific encounters but not all of a subject's encounters). A knowledge of JavaSript is required to create a user defined collection. Click here for some examples.
- 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.
- Maintain Aspect Ratio:Â With this box checked, changing either the width or height will change the other attribute to maintain the same ratio.
- Width:Â The width of the chart in pixels
- Height:Â The height of the chart in pixels.
- Â Collection
Â
To edit a chart, do either of the following to open the Chart Builder window
- Click on the chart > Â click Add/Edit a chart
- Double click the chart description hyperlink directly above the chart box
Â
 Example of a chart in a subject report:
Â