Reference Type: Supported, Category: Alerts, Integration Agreement: 2788
This 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:
(required) This is the Internal Entry Number (IEN, DUZ value) in the NEW PERSON file (#200) for the desired user.
(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.
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
August 26, 2011