Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

DeepSee.Model.KPIs.DemoSQL

class DeepSee.Model.KPIs.DemoSQL extends %DeepSee.KPI

This KPI class uses an SQL query and defines one filter.

To see the full KPI definition, open this class in Studio.

Method Inventory

Parameters

parameter DOMAIN = PATIENTSAMPLE;
Inherited description: Localization domain. DataModel classes that wish to support localization must provide a value for this within subclasses.

Methods

method %OnGetSQL(ByRef pSQL As %String) as %Status
This callback defines the basic SQL query and also checks for the current values in the filter. The callback adds an SQL WHERE clause with one of the following forms, depending on the user's selections:
  • WHERE HomeCity->PostalCode = zip_code_selected_by_user
  • WHERE HomeCity->PostalCode IN (zip_code_1,zip_code_2,...)
  • WHERE HomeCity->PostalCode <> zip_code_selected_by_user
  • WHERE HomeCity->PostalCode NOT IN (zip_code_1,zip_code_2,...)

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab