RPC HELP XWB DEFERRED STATUS
From VistApedia
Revision as of 22:24, 6 July 2015 by Kdtop (talk | contribs) (Created page with " RPC Broker Help Home <h2>XWB DEFERRED STATUS</h2> Example Use this RPC to check for results of [[RPC_HELP_XWB_DE...")
XWB DEFERRED STATUS
Use this RPC to check for results of XWB DEFERRED RPC. Periodically, call this RPC and pass the HANDLE returned by XWB REMOTE RPC.
RETURN VALUE: The return value is always an array. The first node of the array is equal to one of the following values:
- "-1^Bad Handle" -- An invalid handle has been passed.
- "0^New" -- The request has been sent via VistA HL7.
- "0^Running" -- VistA HL7 indicates that the message is being processed.
- "1^Done" -- RPC has completed and the data has been returned to the local VistA M Server. The data s not returned by this RPC. Use XWB REMOTE GETDATA to retrieve the data.
[Editor's note: I suspect that the wrong RPC has been listed above, and that XWB DEFERRED GETDATA should instead be used to retrieve data after completion.]