Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PSOATRFV

Package: Outpatient Pharmacy

Routine: PSOATRFV


Information

PSOATRFV ;BIR/MHA,KML - Automate VCC Refill request ;April 11,2022

Source Information

Source file <PSOATRFV.m>

Entry Points

Name Comments DBIA/ICR reference
REF(PSORXN,PSOUSR,PSORFSRC,PSOITMG) ;process refill request
; Input:
; PSORX (required) - Prescription Number
; PSOUSR (optional) - User requesting refill
; PSORFSRC (optional) - the source system from which the REFILL
; request Originated (e.g., AUDIOCARE, VCC, CPRS, VSE)
; PSOITMG - error array
CHKRF ;check prescription if still refillable
CHKDT ;check date on this refill request
NEXT ;
DSP(X) ;
ERR(TXT) ;Build error text array
; add TXT to end of last line in array, if will fit, else
; add it as a new last line and indented 3.
; and set error flag
MAILMSG(DFN,RXN,ERRTXT) ;send alert via mailman msg to PSOAUTRF key holders

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSRX - [#52] GET1^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call