![]() ![]() |
Reference Type: Supported, Category: Alerts, ICR#: 2788
The $$PENDING^XQALBUTL extrinsic function returns whether or not the user specified has the alert indicated by the xqaid input parameter as pending. It returns either of the following:
$$PENDING^XQALBUTL(xqauser,xqaid)
xqauser: |
(required) This is the Internal Entry Number (IEN, DUZ value) in the NEW PERSON (#200) file for the desired user. |
xqaid: |
(required) This is the value of the alert identifier. It is passed to the routine or option that is run when the alert is selected. It can also be obtained from a listing of all of the xqaid values for a specified user and/or patient. |
returns: |
Returns:
|
The following is an example of an alert not pending:
>S XQAID="NO-ID;20;2990212.11294719" >W $$PENDING^XQALBUTL(20,XQAID) 0 |
The following is an example of an alert pending:
>S XQAID="NO-ID;20;2990212.15540723" >W $$PENDING^XQALBUTL(20,XQAID) 1 |