Name | Value |
---|---|
NAME | VIAA GET PATIENT DATA |
TAG | RTLSPT |
ROUTINE | VIAAPTR |
RETURN VALUE TYPE | GLOBAL ARRAY |
AVAILABILITY | RESTRICTED |
WORD WRAP ON | TRUE |
APP PROXY ALLOWED | Yes |
DESCRIPTION | This RPC is used by WaveMark to extract patient data from VistA by sending either the SSN or the ICN. |
INPUT PARAMETER |
|
RETURN PARAMETER DESCRIPTION | For a successful call execution, the output for the client will be placed NAME SEX DATE OF BIRTH ROOM-BED WARD LOCATION If an error occurs during call execution, a message will be returned to the client using the following format in ^TMP: ^TMP(x,$J,0)='-###^reason_for_failure', where '###' is a 3-digit http in ^TMP(x,$J,0) Where x='VIAASSN' for a Social Security Number call or status code. The piece 'reason_for_failure' explains what caused the error in VistA. Where x='VIAASSN' for a Social Security Number call or x='VIAAICN' for an Internal Control Number call. an Internal Control Number call. x='VIAAICN' for an Internal Control Number call. The value is returned via the variable RETSTA; it will consist of the following fields from the Patient File #2 using '^' as a delimiter: IEN SOCIAL SECURITY NUMBER INTEGRATION CONTROL NUMBER |