PSO REFILL LOG

TITLEVALUE
NAMEPSO REFILL LOG
DESCRIPTIONThis RPC allows retrieval of the Refill Log for a specific prescription
number.

Return list of REFILL transactions for a particular PRESCRIPTION
(#52) file entry.

Each transaction will have the following fields (if populated in VistA):

loginDate #52.1, 7
refillDate #52.1, .01
quantity #52.1, 1
divisionNumber #52.1, 8
divisionName #52.1, 8 => #59, .06
routing(Mail/Window/Park) #52.1, 2
dispensedDate #52.1, 10.1
ndc #52.1, 11
pharmacistName #52.1, 4
qty #52.1, 1
releasedDateTime #52.1, 17
personRequestingRefill #52.1, 95
TAGRFIL
ROUTINEPSOVCC1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPIEN
DESCRIPTIONPrescription number (external) in the PRESCRIPTION (#52) file.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONPossible Return values:

-n^Error message on failure

0^No Data

1^Array of values for a prescription number in the PRESCRIPTION
(#52) file:

loginDate
refillDate
quantity
divisionNumber
divisionName
routing(Mail/Window/Park)
dispensedDate
ndc
pharmacistName
releasedDateTime
personRequestingRefill
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes