Skip to main content

Create a Single Form Console Widget

A Single Form Console widget gives the user access to one myAvatar form.

  1. Search for 'Console Widget Configuration' and select the desired solution (AM, CWS, PM, MSO, and so on).
  2. In the Form to Create Widget For field, select the form.
  3. Click Edit Default Configuration.
  4. Select the data columns to display in your widget.
    Note: The default columns contain the form's pre-display.
    You can add or delete rows to customize the Console Widget display.
  5. Select File.
► SQL

Optional:

If the SQL query is defined, it overrides the fields selected in the Edit Default Configuration table.

  1. In the SQL Query Override field, enter an SQL query to override.

    • You can override the data columns that display on the widget by using the SQL query override. The query must have exactly one <LINK> tag of the form <LINK::PATID:ROWID:EPID>  to allow the widget to open the form with an existing row of data.
    • Example query for the Admission form (PATIENT510 in Avatar PM):
    • SELECT PATID <HIDE>, EPN_uniqueid <HIDE>, EPISODE_NUMBER AS Episode, preadmit_admission_date AS AdmissionDate, date_of_discharge AS DischargeDate, program_value AS Program, program_X_RRG_value AS RRGValue FROM SYSTEM.episode_history WHERE PATID=?PATID AND FACILITY=?FACILITY <LINK::PATID:EPN_uniqueid>
  2. In the Time Limit (seconds) field:
    Netsmart recommends widgets that will be associated with multiple users’ home view to have a time limit of 1.0 second. This will prevent a scenario where many long running widgets operate at the same time, impacting system performance.
  3. Select File.
► Test Script

For implementing new systems or new functionality, download the following standard test script for this feature. Please contact your Netsmart representative for more information about Test scripts.