Analytics Parameters

From Galen Healthcare Solutions - Allscripts TouchWorks EHR Wiki
Revision as of 20:39, 19 October 2011 by Joe.Nyiri (talk | contribs)
Jump to navigation Jump to search

Analytics allows inputting parameters beyond those entered in a search. This works in worksheets, crosstabs, charts, and custom reports. It will sort data without editing the search; this can contradict the loaded search so be careful when using the parameters.

To input a parameter:

When opening an Analytics object (a worksheet in this example), select Worksheet Parameters from the Worksheet menu or hit the Parameters button as outlined below.


In the Parameters window, select the desired parameter field from the Metalayer tree on the left.


Fill out the object parameters. Default value is optional and will show up when the worksheet is run unless it is changed. Default comparator is required and is selected from the same list available to searches. Is optional allows the search to be run without a parameter if nothing is entered.


Hit the Add button and the parameter will show up in the box.


To edit a parameter, select it from the box and use the edit options below. Click Update when finished.


When all parameters have been entered, click OK to return to the worksheet. When the search and worksheet fields are correct, hit Run. The parameter box should appear.


Enter the appropriate value(s) for the parameter. Note that the operator can be changed; the default only specifies what shows up first. The words Optional parameter appear above the Parameter value field to indicate whether the field is required for the search to run. If the field allows Distinct Values, they can be found by clicking on the Distinct Values button above the parameter field.

The parameter will now define the results. Multiple parameters can be entered using this same procedure, though it may be better to utilize those fields in the search to prevent confusion. Parameters must be entered every time the worksheet is run; the previous operator and value will be retained for each run after the first.