RPC HELP XWB REMOTE STATUS CHECK

RPC Broker Help Home XWB REMOTE STATUS CHECK Example

Use this RPC to check for results of XWB REMOTE 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: The second node of the array is the status from the VistA HL7 package.
 * "-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 is not returned by this RPC. Use XWB REMOTE GETDATA to retrieve the data.