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: PSORXRP2

Package: Outpatient Pharmacy

Routine: PSORXRP2


Information

PSORXRP2 ;BIR/SAB-main menu entry reprint of a Rx label ;25-Feb-2013 15:01;DU

Source Information

Source file <PSORXRP2.m>

Call Graph

Call Graph Total: 13

Package Total Call Graph
Outpatient Pharmacy 6 ICN^PSODPT  EN^PSOHLSN1  ^PSOLSET  P^PSORXL  (CHK1,FSIG)^PSOUTLA  EN3^PSOUTLA1  
VA Fileman 4 NOW^%DTC  ^DIC  $$GET1^DIQ  ^DIR  
IHS Changes To Pharmacy 1 $$ESIG^APSPFUNC  
Pharmacy Data Management 1 (PSOL,PSOUL)^PSSLOCK  
Registration 1 (DEM,KVA)^VADPT  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Outpatient Pharmacy 2 PSO RXRPT  PSO SCRIPTALK REPRINT VISTA LB  

Entry Points

Name Comments DBIA/ICR reference
GOOD
ULR ;
ACT1
LRP
KILL
ACT ; IHS/CIA/PLS - 12/22/03 - Added 'O' to DIR(0)

External References

Name Field # of Occurrence
NOW^%DTC ACT1+4
$$ESIG^APSPFUNC PSORXRP2+10
^DIC LRP+2
$$GET1^DIQ GOOD+19, GOOD+20
^DIR GOOD+11, GOOD+21, ACT+5
ICN^PSODPT GOOD+8
EN^PSOHLSN1 LRP+12, LRP+15
^PSOLSET PSORXRP2+9
P^PSORXL GOOD+41
CHK1^PSOUTLA GOOD+3
FSIG^PSOUTLA GOOD+29
EN3^PSOUTLA1 GOOD+30
PSOL^PSSLOCK LRP+4
PSOUL^PSSLOCK ULR+1
DEM^VADPT LRP+13
KVA^VADPT KILL

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: LRP+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: LRP+2
Function Call: WRITE
  • Prompt: $C(7),!,"Cannot Reprint! Discontinued by Provider."
  • Line Location: LRP+5
Function Call: WRITE
  • Prompt: $C(7),!,"Cannot Reprint! Discontinued due to editing."
  • Line Location: LRP+6
Function Call: WRITE
  • Prompt: $C(7),!,"Cannot Reprint! Placed on HOLD by Provider."
  • Line Location: LRP+7
Function Call: WRITE
  • Prompt: !,$C(7),"Rx may NOT be printed using this option, use SUSPENSE FUNCTIONS Options."
  • Line Location: LRP+17
Function Call: WRITE
  • Prompt: !,"RX CAN NOT BE PRINTED using this option, use SUSPENSE FUNCTIONS Options."
  • Line Location: LRP+20
Function Call: WRITE
  • Prompt: !,"RX is being transmitted to the CMOP and can not be reprinted now."
  • Line Location: LRP+21
Function Call: WRITE
  • Prompt: !,"Prescription is Non-Verified",!!
  • Line Location: GOOD+1
Function Call: WRITE
  • Prompt: !,"Prescription is waiting for others to be verified",!!
  • Line Location: GOOD+2
Function Call: WRITE
  • Prompt: !?3,"Prescription is on Hold"
  • Line Location: GOOD+4
Function Call: WRITE
  • Prompt: !?3,"Prescription is Pending Due to Drug Interactions"
  • Line Location: GOOD+5
Function Call: WRITE
  • Prompt: !?3,"Prescription is Discontinued"
  • Line Location: GOOD+6
Function Call: WRITE
  • Prompt: !,"Patient is a ScripTalk patient. Use ScripTalk label for prescription bottle.",!
  • Line Location: GOOD+7
Function Call: WRITE
  • Prompt: !!,"Rx # "_P(1),?23,$E(P(13),4,5)_"/"_$E(P(13),6,7)_"/"_$E(P(13),2,3),!,$S($D(^DPT(+P(2),0)):$P(^(0),"^"),1:"Not on File"),?30,"#"_P(7),!
  • Line Location: GOOD+27
Function Call: WRITE
  • Prompt: !!,$S($G(^PSRX(DA,"TN"))]"":P(6),(P(6)=+P(6))&$D(^PSDRUG(P(6),0)):$P(^(0),"^"),1:P(6)),!
  • Line Location: GOOD+33
Function Call: WRITE
  • Prompt: PHYS
  • Line Location: GOOD+33
Function Call: WRITE
  • Prompt: ?25,$S($D(^VA(200,+P(16),0)):$P(^(0),"^"),1:"Unknown"),!,"# of Refills: "_$G(P(9))
  • Line Location: GOOD+34
Routine Call
  • DIC
  • Line Location:
    • LRP+2
Routine Call
  • DIR
  • Line Location:
    • GOOD+11
    • GOOD+21
    • ACT+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSDRUG - [#50] GET1^DIQ
^PSRX - [#52] Classic Fileman Calls
^PS(59 - [#59] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] LRP+14, GOOD+27
^PS(52.4 - [#52.4] GOOD+1, GOOD+2
^PS(52.5 - [#52.5] LRP+17, LRP+19
^PS(55 - [#55] GOOD+7
^PSDRUG - [#50] GOOD+33
^PSRX - [#52] LRP+3, LRP+5, LRP+6, LRP+7, LRP+10, LRP+11*, LRP+12, LRP+15*, GOOD+2, GOOD+3
, GOOD+26, GOOD+28, GOOD+33, GOOD+38, ACT1, ACT1+1, ACT1+2*, ACT1+4*, ACT1+5*
^VA(200 - [#200] GOOD+33, GOOD+34

Label References

Name Line Occurrences
ACT GOOD+23, ACT+5
ACT1 LRP+16
GOOD LRP+18, LRP+19
KILL PSORXRP2+9, LRP+2, LRP+5, LRP+6, LRP+7, LRP+16, LRP+17, LRP+20, LRP+21, GOOD+1
, GOOD+2, GOOD+3, GOOD+4, GOOD+5, GOOD+6, GOOD+11, GOOD+22, GOOD+23, GOOD+24, GOOD+41
LRP LRP+4, LRP+13, LRP+17, LRP+20, LRP+21, GOOD+1, GOOD+2, GOOD+3, GOOD+4, GOOD+5
, GOOD+6, GOOD+11, GOOD+22, GOOD+23, GOOD+24, GOOD+41
ULR LRP+5, LRP+6, LRP+7, LRP+16, LRP+17, LRP+20, LRP+21, GOOD+1, GOOD+2, GOOD+3
, GOOD+4, GOOD+5, GOOD+6, GOOD+11, GOOD+22, GOOD+23, GOOD+24, GOOD+41

Naked Globals

Name Field # of Occurrence
^("TN" GOOD+26
^(0 GOOD+27, GOOD+33, GOOD+34
^(2 LRP+11, LRP+12, GOOD+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ACT1+4!, KILL!
%H ACT1+4!
%I ACT1+4!
>> APSPREIS ACT1+4
BSIG GOOD+31!
BSIG( GOOD+30
C KILL!
COMM LRP+12*!
COPIES GOOD+9*, GOOD+10, GOOD+12*, GOOD+36, GOOD+41!, ACT1+4, KILL!
D GOOD+28*!, GOOD+29*, GOOD+30*, GOOD+31!
DA LRP+3*, LRP+11, LRP+12, LRP+17, GOOD+1, GOOD+2, GOOD+3, GOOD+26, GOOD+28, GOOD+29
, GOOD+30, GOOD+33, ACT1, ACT1+1, ACT1+2, ACT1+4, ACT1+5, KILL!
DFN LRP+13*, GOOD+2*, GOOD+7, GOOD+8, KILL!
DIC LRP+2*, KILL!
DIC("A" LRP+2*!
DIC("S" LRP+2*
DIC(0 LRP+2*
DIR GOOD+10!, GOOD+11!, GOOD+21!, ACT+2!, ACT+5!, KILL!
DIR("?" GOOD+10*, ACT+2*
DIR("A" GOOD+10*, GOOD+21*, ACT+2*
DIR("B" GOOD+10*, GOOD+21*, ACT+2*
DIR(0 GOOD+10*, GOOD+21*, ACT+2*
DIROUT ACT+5, KILL!
DIRUT GOOD+11, GOOD+21!, GOOD+22, GOOD+23, KILL!
DT LRP+3, LRP+10
DTOUT ACT+5, KILL!
DUOUT ACT+5, KILL!
DUZ ACT+6, ACT1+4
FSIG GOOD+28!
FSIG( GOOD+29
I GOOD+25*, KILL!
IOP GOOD+41!
IR ACT1+1*, ACT1+2*, ACT1+4!
J ACT1*, ACT1+1*, KILL!
JJJ KILL!
K KILL!
P LRP+2!, KILL!
P( GOOD+25*
P(1 GOOD+27
P(13 GOOD+27
P(16 GOOD+34
P(2 GOOD+27
P(4 GOOD+33
P(6 GOOD+26*, GOOD+33
P(7 GOOD+27
P(9 GOOD+34
PC ACT1+4!
PCOM LRP+2!, LRP+15*, GOOD+24, GOOD+41!, ACT+5*, ACT1+4!
PCOMX LRP+2!, ACT+2, ACT+5*, ACT1+4*
PDA LRP+3*, LRP+13, LRP+14, GOOD+9, GOOD+20, GOOD+25, KILL!
PHYS GOOD+33*!
PPL LRP+3*, GOOD+41!, KILL!
PS ACT1+4!
PSL GOOD+41!
PSNP GOOD+41!
>> PSOCLC ACT+6*
PSODISP LRP~, GOOD+21*, GOOD+37
>> PSODIV GOOD+3
PSOMSG LRP+4!, KILL!
>> PSOPAR PSORXRP2+9, GOOD+19, GOOD+20
PSORPRX LRP+3*, LRP+4, KILL!, ULR+1
>> PSOSITE GOOD+3, GOOD+19
PSPOP GOOD+3*, GOOD+41!
PSPRXN GOOD+3*, KILL!
PSXSTAT KILL!
REPRINT LRP+2!, LRP+3*, GOOD+41!, KILL!
RX LRP+3*, LRP+5, LRP+6, LRP+7, LRP+10, LRP+11, LRP+12, LRP+15, GOOD+35, GOOD+36
, GOOD+37, GOOD+38, GOOD+41, KILL!
RXF LRP+3*, ACT1*, ACT1+4!, KILL!
>> RXFL( GOOD+38*, GOOD+41!
>> RXRP( GOOD+36*, GOOD+37*
SIDE GOOD+17*, GOOD+36, GOOD+41!, KILL!
>> ST LRP+15*, ACT1+4, ACT1+5
>> STA LRP+3*, GOOD+4, GOOD+5, GOOD+6
U LRP+19
>> VADM(6 LRP+13, LRP+14, LRP+15
X LRP+2, LRP+17*!, LRP+18, LRP+19, LRP+20!, LRP+21!, GOOD!, ACT+5, KILL!
XX LRP+19*, LRP+20!, LRP+21!, ACT1+4!
Y LRP+2, LRP+3, GOOD+12, GOOD+21, KILL!
Y(0 LRP+3
Z KILL!
ZD KILL!
ZD( LRP+3*
ZZZ GOOD+38*, GOOD+41!
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