| $$AP1(PSODFN,PSORX) | 
The AP1 call provides My HealtheVet system to file a
refill request.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PSODFN | 
Input | 
Patient IEN Number (Required).
 
 | 
PSORX | 
Input | 
Prescription Number (Required).
 
 | 
$$AP1 | 
Output | 
Returns the following status:
Value    Meaning
-5      DFN does not match RX
-4      Unable to resolve patient
-3      Unable to resolve prescription
-2      Status is pending
-1      Result is back but not picked up
0      Other error
1      Filed in PRESCRIPTION REFILL REQUEST file (#52.43)
 
 | 
 
 | 
$$AP2(PSODFN,PSORX) | 
The AP2 call provides the status of a refill request.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PSODFN | 
Input | 
Patient IEN Number (Required).
 
 | 
PSORX | 
Input | 
Prescription Number (Required).
 
 | 
$$AP2 | 
Output | 
Returns the following status:
Value   Meaning
-6     RX not in file #52.43
-5     DFN does not match RX
-4     Unable to resolve patient
-3     Unable to resolve prescription
-2     Status is pending
-1     Result is back but not picked up
1     Filled
2     Not Filled
n^x     n - Date the refill request was processed.
x - The result of the processing. This
will be either FILLED or NOT FILLED.
 
 | 
 
 | 
$$AP5(PSODFN,PSORX) | 
The purpose of this API is to update PRESCRIPTION
REFILL REQUEST file #52.43 when My HealtheVet picks up a refill request.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PSODFN | 
Input | 
Patient IEN Number (Required).
 
 | 
PSORX | 
Input | 
Prescription Number (Required).
 
 | 
$$AP5 | 
Output | 
Returns the following status:
Value  Meaning
-6     RX not in file #52.43
-4     Unable to resolve patient
-3     Unable to resolve prescription
-2     Status is pending
0     The update was not successful. This will occur if any of the
information provided (PSODFN,PSORX) are invalid
1     The update was successful
 
 | 
 
 | 
$$AP6(PSODIEN,PSOAP6) | 
The purpose of this API is to provide Outpatient
Pharmacy Division information to the My HealtheVet system.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PSODIEN | 
Input | 
Outpatient Pharmacy Division IEN.  1. Single Division
IEN.  2. Delimited list of Division IEN's (IEN1,IEN2,IEN3).  3. Text word
"ALL".
 
 | 
PSOAP6 | 
Both | 
Information return Array.
PSOAP6(DIV)=Active(0)/Inactive(1) PSOAP6(DIV,1)=Division Name^Area Code^Phone
Number PSOAP6(DIV,2,1)=Narrative text 1st line.  PSOAP6(DIV,2,n)=Narrative
text nth line.
 
 | 
$$AP6 | 
Output | 
0 (Process failure)
1 (Process success)
 
 | 
 
 |