Analytics Parameters

From Galen Healthcare Solutions - Allscripts TouchWorks EHR Wiki
Revision as of 19:57, 7 September 2011 by Logan.Cate (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.

AP1.png


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

AP2.png


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.

AP3.png


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

AP4.png


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

AP5.png


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.

AP6.png


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.