MDRPCOG ; HOIFO/DP - CP Gateway ; [01-09-2003 15:20]
Source file <MDRPCOG.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| CLEANUP | ; [Procedure] Cleanup a past results report
|
|
| DONE | ; [Procedure] Done processing, Mark study status
|
|
| GETATT | ; [Procedure] Get attachments for study
|
|
| GETOLD | ; [Procedure] Returns old results by date
; Variables: ; LOGDATE: [Private] Loop variable ; STOPDATE: [Private] Date to stop retrieving entries |
|
| GETPAR | ; [Procedure] Get a parameter value for an RPC Call
|
|
| GETTXT | ; [Procedure] Get attachment text for processing
|
|
| NEXT | ; [Procedure] Get the next study to process
|
|
| PARVAL(INSTANCE) | ; [Procedure] Extrinsic get of parameter values
; Input parameters ; 1. INSTANCE [Literal/Required] XPAR instance |
|
| POLL | ; [Procedure] Returns server time and flag for studies to process
|
|
| POLLER(RESULTS) | ; [Procedure] Non-Disk activity poller
; With the exception of a shutdown request pending, this stand alone RPC will operate ; without creating any disk activity and not crash during backup operations on the main ; VistA server. |
|
| RPC(RESULTS,OPTION,DATA,P1) | ; [Procedure]
; Input parameters ; 1. RESULTS [Literal/Required] RPC Return Array ; 2. OPTION [Literal/Required] Gateway Option to execute ; 3. DATA [Literal/Required] Other information ; 4. P1 [Literal/Required] Overflow variable |
|
| RUNNING | ; [Procedure] Returns 0/1 and message on running status
; Note: If lock CAN be obtained, then gateway is NOT running |
|
| SETFILE | ; [Procedure] Set filename of new attachment
|
|
| SETPAR(INSTANCE,VALUE) | ; [Procedure] Set value into XPAR parameter
; Input parameters ; 1. INSTANCE [Literal/Required] Parameter Instance ; 2. VALUE [Literal/Required] Parameter Value |
|
| START | ; [Procedure] Can we begin?
; Ensure only one Gateway per system by locking the phantom global node |
|
| STATUS | ; [Procedure] Return status of BP
|
|
| STOP | ; [Procedure] Flag client to stop via cal to POLL
|
|
| XFERDIR | ; [Procedure] Return Imaging xfer directory
|
|
| CHECK(MDRI) | ; Check if Upload Value and Upload Text has already been purged.
|
| RPC Name | Call Tags |
|---|---|
| MD GATEWAY | RPC |
| FileNo | Call Tags |
|---|---|
| ^VA(200 - [#200] | GET1^DIQ |