Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PSORXRP1

Package: Outpatient Pharmacy

Routine: PSORXRP1


Information

PSORXRP1 ;BIR/SAB-rx speed reprint listman ;Aug 31, 2021

Source Information

Source file <PSORXRP1.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Outpatient Pharmacy 4 ^PSOBUILD  EN^PSOHLSN1  $$LMREJ^PSOREJU1  CHK1^PSOUTLA  
VA FileMan 3 NOW^%DTC  $$GET1^DIQ  ^DIR  
List Manager 1 (FULL,PAUSE)^VALM1  
Pharmacy Data Management 1 (PSOL,PSOUL)^PSSLOCK  
Registration 1 (DEM,KVA)^VADPT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Outpatient Pharmacy 3 PSO SPEED REPRINT  PSORXPA1  PSORXRPT  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
SEL
SEL1
RX ;process reprint request
CHK ;check for valid reprint
GOOD
ACT1
VALID ;check for rx in label array
ULR ;

External References

Name Field # of Occurrence
NOW^%DTC ACT1+3
$$GET1^DIQ SEL+44, SEL+47, RX+2
^DIR SEL+1, SEL+35, SEL+41, SEL+43, SEL+46, SEL+49, SEL+51
^PSOBUILD SEL1+3
EN^PSOHLSN1 CHK+3, CHK+5
$$LMREJ^PSOREJU1 RX+2
CHK1^PSOUTLA GOOD+3
PSOL^PSSLOCK RX+7
PSOUL^PSSLOCK ULR+1
DEM^VADPT CHK+4
KVA^VADPT SEL1+4
FULL^VALM1 SEL+17, SEL+39
PAUSE^VALM1 RX+2, RX+6, RX+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$G(TMP("PSOSEL",LN))
  • Line Location: SEL+32
Function Call: WRITE
  • Prompt: $C(7),!!,"Rx "_$$GET1^DIQ(52,$P(PSOLST(ORN),"^",2),.01)_" has OPEN/UNRESOLVED 3rd Party Payer Rejects!"
  • Line Location: RX+2
Function Call: WRITE
  • Prompt: $C(7),!!,"#"_ORN_" Rx "_$P(^PSRX($P(PSOLST(ORN),U,2),0),U)_" MAY NOT BE PRINTED using this option"
  • Line Location: RX+6
Function Call: WRITE
  • Prompt: !,"use SUSPENSE FUNCTIONS Options."
  • Line Location: RX+6
Routine Call
  • DIR
  • Line Location:
    • SEL+1
    • SEL+35
    • SEL+41
    • SEL+43
    • SEL+46
    • SEL+49
    • SEL+51

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSRX - [#52] GET1^DIQ
^PS(59 - [#59] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.4 - [#52.4] GOOD+1, GOOD+2
^PS(52.5 - [#52.5] RX+4, RX+5, CHK+9, CHK+11, CHK+12, CHK+13
^PSDRUG - [#50] SEL+24
^PSRX - [#52] SEL+7, SEL+21, RX+1, RX+6, RX+7, RX+8, RX+13, CHK+1, CHK+2*, CHK+3
CHK+5*, GOOD+3, ACT1ACT1+1, ACT1+2*, ACT1+3*, ACT1+4*

Label References

Name Line Occurrences
ACT1 RX+15, RX+19, CHK+6
CHK RX+8
GOOD CHK+10, CHK+11
RX SEL+53
SEL1 SEL+37
ULR RX+8, RX+15, RX+20
VALID CHK+8

Naked Globals

Name Field # of Occurrence
^(2 CHK+3, GOOD+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% SEL1+4!, ACT1+3!
%H ACT1+3!
%I ACT1+3!
C SEL1+4!
CHKPARK SEL+5~, SEL+6*, SEL+7, SEL+21
CNT SEL+2~, SEL+3*, SEL+8*, SEL+16, SEL+26, SEL+28, SEL+31, SEL+39, SEL+55, SEL+57
COMM CHK+3*!
COPIES SEL+41*, SEL1+4!, RX+10, ACT1+3
>> DFN CHK+4*
DIR SEL+1!, SEL+34~, SEL+38!, SEL+40!, SEL+41!, SEL+42!, SEL+43!, SEL+45!, SEL+46!, SEL+48!
SEL+49!, SEL+50!, SEL+51!, SEL1+4!, RX+2!, RX+6!
DIR("?" SEL+40*, SEL+42*, SEL+43*, SEL+50*
DIR("A" SEL+1*, SEL+40*, SEL+42*, SEL+45*, SEL+48*, SEL+50*
DIR("B" SEL+40*, SEL+42*, SEL+45*, SEL+48*, SEL+50*
DIR(0 SEL+1*, SEL+35*, SEL+40*, SEL+42*, SEL+45*, SEL+48*, SEL+50*
DIROUT SEL1+4!
DIRUT SEL+1!, SEL+34~, SEL+38!, SEL+41, SEL+43, SEL+45!, SEL+46, SEL+47, SEL+48!, SEL+49
SEL+50!, SEL+51, SEL1+4!
DT RX+9, CHK+1
DTOUT SEL+1!, SEL+38!, SEL1+4!
DUOUT SEL+1!, SEL+34~, SEL1+4!
DUZ SEL+52, ACT1+3
I SEL1+4!
IR ACT1+1*, ACT1+2*, ACT1+3!
J SEL1+4!, ACT1*, ACT1+1*
JJJ SEL1+4!
K SEL1+4!
LN SEL+29~, SEL+32*
LNG SEL+5~, SEL+10*, SEL+12
LST SEL+1*, SEL+4, SEL+10, SEL+11, SEL+12, SEL+13*, SEL+38, SEL+53, SEL+55, SEL1+4!
LSTCNT SEL+2~, SEL+4*, SEL+12, SEL+14*
ORD SEL+2~, SEL+4*, SEL+9, SEL+10, SEL+12, SEL+14*, SEL+53*
ORD1 SEL+5~, SEL+9*, SEL+11
ORN SEL+2~, SEL+4*, SEL+6, SEL+26, SEL+53*, RX+1, RX+2, RX+4, RX+6, RX+7
RX+8, RX+10, RX+11, RX+12, RX+13, CHK+7
P SEL1+4!
PC ACT1+3!
PCOM SEL+51*, SEL1+4!, CHK+5*, ACT1+3
PCOMX SEL+50, SEL+51*, SEL1+4!, ACT1+3*
PDA SEL1+4!
>> POERR GOOD+3
PPL SEL1+4!
PS ACT1+3!
PSDRG SEL+5~, SEL+23*, SEL+24*, SEL+26
>> PSOCLC SEL+52*
>> PSOCNT SELSEL+1
>> PSODFN CHK+4, GOOD+2
PSODISP SEL~, SEL+46*, RX+11
>> PSODIV GOOD+3
PSOFDR SEL+1!
>> PSOLST( SEL+4, SEL+6, SEL+53, RX+1, RX+2, RX+4, RX+6, RX+7, RX+8, RX+10
RX+11, RX+12, RX+13, CHK+7
PSOMGREP SEL~, SEL+49*, RX+12
PSOMSG SEL1+4!, RX+7!
PSOOELSE SEL+2~, SEL+4*, SEL+37*, SEL+38*, SEL1+2
>> PSOPAR SEL+44
PSOREPX SEL+37*, SEL+38!, SEL+41*, SEL+43*, SEL+44, SEL+46*, SEL+49*, SEL+51*, SEL1SEL1+1!
PSORPSRX SEL1+4!, RX+7*!, ULR+1
>> PSORX("PSOL" RX+15*, RX+16, RX+17*, RX+18*, VALID+1, VALID+2
>> PSOSITE SEL+44, SEL+47, GOOD+3
PSOSUSID SEL+2!, SEL1+4!, RX+4*, RX+5
>> PSOX1 RX+16*, VALID+2*
>> PSOX2 RX+16*, RX+17, RX+18
>> PSPOP GOOD+3*
PSPRXN SEL1+4!, GOOD+3*
PSRX0 SEL+5~, SEL+21*, SEL+22, SEL+23
QFLG SEL+53*, SEL1+4!, RX+8, CHK+1*, CHK+4*, CHK+7*, CHK+8, CHK+9*, CHK+12*, CHK+13*
GOOD+1*, GOOD+2*, GOOD+3*, GOOD+4*, VALID+2*
REPRINT SEL1+4!, RX+9*
RX SEL1+4!, RX+8*, RX+9, RX+15, RX+17, RX+18, CHK+1, CHK+2, CHK+3, CHK+5
CHK+9, GOOD+1, GOOD+2, GOOD+3, ACT1ACT1+1, ACT1+2, ACT1+3, ACT1+4, VALID+2
>> RXCNT SEL+1*
RXF SEL1+4!, RX+9*, ACT1*, ACT1+3!
>> RXFL( RX+13*
RXNUM SEL+5~, SEL+22*, SEL+26
>> RXPR( CHK+7
>> RXRP( RX+10*, RX+11*, RX+12*, CHK+7
SIDE SEL+43*, SEL1+4!, RX+10
>> ST RX+15*, RX+19*, CHK+5*, ACT1+3, ACT1+4
>> STA RX+8*, GOOD+4
TMP SEL+2~
TMP("PSOSEL" SEL+26*, SEL+31*, SEL+32
TMPLST SEL+5~, SEL+8*, SEL+11*, SEL+12*, SEL+13
U SEL+4, SEL+22, SEL+23, SEL+24, RX+6
>> VADM(6 CHK+4, CHK+5
>> VALMBCK SEL*, SEL+1*, SEL+54*, SEL+56*, SEL1*, SEL1+2*
VALMCNT SEL~
>> VALMSG SEL*, SEL+57*, SEL1*
X SEL1+4!, CHK+9*, CHK+10, CHK+11, CHK+12!, CHK+13!, GOOD!
XX CHK+12!, CHK+13!, ACT1+3!
Y SEL~, SEL+1, SEL+27*, SEL+37, SEL+41, SEL+43, SEL+46, SEL+49, SEL+51
Z SEL1+4!
>> ZD( RX+9*
ZZZ RX+13*, RX+14!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All