| TITLE | VALUE | |
|---|---|---|
| NAME | VIAA GET PATIENT DATA | |
| DESCRIPTION | This RPC is used by WaveMark to extract patient data from VistA by sending either the SSN or the ICN. | |
| TAG | RTLSPT | |
| ROUTINE | VIAAPTR | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | REQDATA | |
| DESCRIPTION | "SSN" if SSN to be passed in DATAID "ICN" if ICN to be passed in DATAID | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 255 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | DATAID | |
| DESCRIPTION | SSN or ICN for patient data retrieval | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 255 | |
| RETURN VALUE TYPE | GLOBAL ARRAY | |
| RETURN PARAMETER DESCRIPTION | For a successful call execution, the output for the client will be placed in ^TMP(x,$J,0) Where x='VIAASSN' for a Social Security Number call or 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 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 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. | |
| AVAILABILITY | RESTRICTED | |
| INACTIVE | ||
| CLIENT MANAGER | ||
| WORD WRAP ON | TRUE | |
| VERSION | ||
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | Yes | |