PSO REFILL LOG (4907)    REMOTE PROCEDURE (8994)

Name Value
NAME PSO REFILL LOG
TAG RFIL
ROUTINE PSOVCC1
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
WORD WRAP ON TRUE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC allows retrieval of the Refill Log for a specific prescription 
   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
number.
   personRequestingRefill               #52.1, 95
 
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
INPUT PARAMETER
  • PIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Prescription number (external) in the PRESCRIPTION (#52) file.
    
RETURN PARAMETER DESCRIPTION
Possible Return values:
   loginDate
   refillDate
   quantity
   divisionNumber
   divisionName
   routing(Mail/Window/Park)
   dispensedDate
   ndc
   pharmacistName
   releasedDateTime
 
   personRequestingRefill
     -n^Error message on failure
 
      0^No Data
 
      1^Array of values for a prescription number in the PRESCRIPTION 
      (#52) file: