Print Page as PDF
DBIA3768 ICR (3768)

DBIA3768    ICR (3768)

Name Value
NUMBER 3768
IA # 3768
DATE CREATED 2002/09/25
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
CUSTODIAL ISC Birmingham
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSOPRA
NAME DBIA3768
GENERAL DESCRIPTION
The purpose of this agreement is to provide the APIs
necessary for the My HealtheVet system to make refill requests via the
internet. The APIs will provide the ability to submit a request and get the
status of each request.
STATUS Active
KEYWORDS
  • REFILL
  • PRESCRIPTION
  • INTERNET
ID PSOPRA
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$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)
SUBSCRIBING PACKAGE MYHEALTHEVET