RPC HELP XWB DEFERRED STATUS

RPC Broker Help Home XWB DEFERRED STATUS Example

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.]