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 |  Local Variables  | All
Print Page as PDF
Routine: PSDDSOR2

Package: Controlled Substances

Routine: PSDDSOR2


Information

PSDDSOR2 ;BIR/MHA-Digitally Signed OP Released Rx Report ;02/02/2021

Source Information

Source file <PSDDSOR2.m>

Call Graph

Call Graph

Call Graph Total: 18

Package Total Call Graph
VA FileMan 6 ^%DT  NOW^%DTC  ^DIC  DT^DICRW  D^DIQ  ^DIR  
Kernel 5 ^%ZIS  ^%ZISC  ^%ZTLOAD  $$FMTE^XLFDT  $$DEA^XUSER  
Outpatient Pharmacy 3 $$RXRLDT^PSOBPSUT  ($$CHKERX,$$ERXIEN,ERXDATA)^PSOERXU9  $$CSDS^PSOSIGDS  
Controlled Substances 2 PRT^PSDDSOR1  ^PSDSET  
Order Entry Results Reporting 1 $$NATURE^ORUTL3  
Registration 1 ADD^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: 2

Package Total Caller Graph
Controlled Substances 2 PSD DIG. SIGNED RELEASED RX  PSDDSOR1  

Entry Points

Name Comments DBIA/ICR reference
BEG ;
D ;ask schedule(s)
DEV
EN ;
END ;
GD ;
PRD ;
PR
HD
HD1

External References

Name Field # of Occurrence
^%DT BEG+23, BEG+27
NOW^%DTC EN+27
^%ZIS DEVDEV+1
^%ZISC END+1
^%ZTLOAD DEV+6
^DIC BEG+13
DT^DICRW BEG+3
D^DIQ EN+29
^DIR BEG+36, D+6, HD1
$$NATURE^ORUTL3 GD+11
PRT^PSDDSOR1 PR+2
^PSDSET BEG+1
$$RXRLDT^PSOBPSUT EN+13
$$CHKERX^PSOERXU9 GD+10
$$ERXIEN^PSOERXU9 EN+22, EN+23, GD+11
ERXDATA^PSOERXU9 GD+25
$$CSDS^PSOSIGDS EN+20
ADD^VADPT GD+13
$$FMTE^XLFDT HD+2
$$DEA^XUSER GD+18

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: BEG+12
Function Call: WRITE
  • Prompt: !
  • Line Location: BEG+21
Function Call: WRITE
  • Prompt: !
  • Line Location: BEG+27
Function Call: WRITE
  • Prompt: !!,"Select a schedule(s)"
  • Line Location: D+1
Function Call: WRITE
  • Prompt: !
  • Line Location: D+12
Function Call: WRITE
  • Prompt: !,"Please try later!"
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !!,"********** NO DATA TO PRINT **********",!!
  • Line Location: EN+30
Function Call: WRITE
  • Prompt: !
  • Line Location: END+1
Function Call: WRITE
  • Prompt: @IOF,!,"OP "_$S(PSDRXSRC'="W"&(PSDRXSRC'="A"):"Digitally Signed ",1:"")_"Released Rx Report for Vault "_$E(PSDLN,1,21),?71,"Page: ",$J(PG,3)
  • Line Location: HD+1
Function Call: WRITE
  • Prompt: !,"Date Range: "_$$FMTE^XLFDT(PSDB,"2Y")_" - "_$$FMTE^XLFDT(PSDE,"2Y")
  • Line Location: HD+2
Function Call: WRITE
  • Prompt: ?33,"Source: ",$S(PSDRXSRC="C":"CPRS",PSDRXSRC="E":"eRx",PSDRXSRC="B":"CPRS+eRx",PSDRXSRC="W":"WRITTEN",1:"ALL")
  • Line Location: HD+3
Function Call: WRITE
  • Prompt: ?54,"Printed on: "_TDT,!
  • Line Location: HD+4
Routine Call
  • DIC
  • Line Location:
    • BEG+13
Routine Call
  • DIR
  • Line Location:
    • BEG+36
    • D+6
    • HD1
Routine Call
  • %ZIS
  • Line Location:
    • DEV
    • DEV+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSD(58.8 - [#58.8] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(5 - [#5] GD+22
^DPT - [#2] GD+15
^PS(59 - [#59] GD+20
^PSD(58.81 - [#58.81] EN+6, EN+8, EN+9, EN+16
^PSD(58.84 - [#58.84] EN+5
^PSDRUG - [#50] EN+17, EN+18, GD+16
^PSRX - [#52] EN+14, EN+19, EN+21, EN+23, GD+2, GD+4, GD+5
^TMP("PSDDSOR" EN+1!, EN+30, END+2!, GD+14*, GD+15*, GD+16*, GD+17*, GD+18*, GD+22*, GD+26*
GD+27*, GD+32*, GD+33*, GD+37*, GD+44*, PRD+1, PRD+2, PRD+3, PR+1
^VA(200 - [#200] GD+18

Label References

Name Line Occurrences
END BEG+1, BEG+15, BEG+24, BEG+27, DEV+1, DEV+2, EN+30
GD EN+24
HD EN+30, PR+2
HD1 HD
PR PRD+3
PRD EN+31

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% EN+26~, EN+28
%DT BEG+22!, BEG+23*
%DT("A" BEG+23*, BEG+26*
%DT(0 BEG+23*, BEG+25*
%ZIS DEV!*
AC EN+2~, EN+29*
BDT EN+2~, EN+29*
DDR EN+3~, EN+18*, GD+9
DEA EN+3~, EN+17*, EN+24
DFN EN+2~, GD+1*, GD+6, GD+15
DIC BEG+6*, BEG+14!
DIC("A" BEG+8*
DIC("B" BEG+11*
DIC("S" BEG+10*
DIC(0 BEG+7*
DIR BEG+32!, D+2!, D+13!, HD1!
DIR("?" BEG+34*
DIR("A" BEG+35*, D+4*, HD1*
DIR("B" BEG+33*, D+5*
DIR(0 BEG+32*, D+3*, HD1*
DIRUT BEG+2~, BEG+37, D+7, PRD+1, PRD+2, PRD+3, PR+2, HD
DR EN+2~, EN+15*, EN+16, EN+17, EN+18, EN+20, GD+6, GD+16
DRG BEG+2~, DEV+5
DRN EN+3~, GD+9*, GD+14, GD+15, GD+16, GD+17, GD+18, GD+22, GD+26, GD+27
GD+32, GD+33, GD+37, GD+44
DRUGDEA GD+30~*, GD+32
DRUGNM GD+28~*, GD+32
DRUGQTY GD+29~*, GD+32
DT BEG+23
DTOUT BEG+2~, BEG+37, D+7
DUOUT BEG+2~, D+7
DV EN+3~, GD+19*, GD+20
DVD EN+3~, GD+20*, GD+21, GD+22
EDT EN+2~, EN+29*
ERXDATA GD+24~, GD+25
ERXDATA(1 GD+28, GD+29, GD+30, GD+31
ERXDATA(2 GD+34, GD+35, GD+36
ERXDATA(3 GD+38, GD+39, GD+40, GD+41, GD+42
ERXDATA(4 GD+27
ERXDATA(5 GD+27
ERXIEN GD+10~*, GD+12, GD+25
FILL EN+3~, EN+11*, EN+13
G BEG+2~, DEV+4*
HUBID GD+31~*, GD+32
I D+9*, D+11, D+13!, EN+3~
IO EN+30
IO("Q" DEV+2!
IOF HD+1
ION DEV
IOP DEV!, DEV+1*!
IOSL PR+2
IOST HD1
J D+10*, D+11, D+13!, EN+3~
K D+11*, D+13!
NATURE GD+11~*, GD+14, GD+26
NODE6 EN+3~, EN+9*, EN+10, EN+11
ORD EN+2~, EN+19*, GD+4*, GD+6, GD+10, GD+11, GD+14, GD+26
P1 EN+2~, EN+29*
P2 EN+2~, EN+29*
PG EN+2~, EN+29*, HD+1, HD+5*, HD1
PL EN+2~
PL1 EN+2~
POP DEV!, DEV+1
PR EN+3~, GD+3*, GD+6, GD+18
PRVDEA GD+35~*, GD+37
PRVDTX GD+36~*, GD+37
PRVNM GD+34~*, GD+37
PSDB BEG+2~, BEG+25*, BEG+29, EN+29, HD+2
PSDE BEG+2~, BEG+28*, EN+6, EN+29, HD+2
PSDIO DEV*, DEV+1!, DEV+2!
PSDL BEG+2~, BEG+4*, BEG+17*, EN+8
PSDLN BEG+2~, BEG+5*, BEG+19*, HD+1
PSDRG BEG+2~
PSDRXSRC BEG+2~, BEG+38*, EN+21, EN+22, EN+23, HD+1, HD+3
PSDS BEG+2~, BEG+29*, EN+6*, EN+8, GD+14, GD+15, GD+16, GD+17, GD+18, GD+22
GD+26, GD+27, GD+32, GD+33, GD+37, GD+44
>> PSDSITE BEG+1, BEG+4, BEG+5, BEG+11, BEG+16*, BEG+18*, BEG+20
PSDV BEG+2~, BEG+20*
RC EN+3~, EN+7*, EN+8*, EN+9, EN+16
RX EN+2~, EN+10*, EN+12, EN+13, EN+14, EN+19, EN+21, EN+22, EN+23, GD+2
GD+4, GD+5, GD+11, GD+14, GD+15, GD+16, GD+17, GD+18, GD+22, GD+26
GD+27, GD+32, GD+33, GD+37, GD+44
RX0 EN+2~, EN+14*, EN+15, GD+1, GD+3, GD+16
RX2 EN+2~, GD+2*, GD+14, GD+19, GD+26
S1 EN+2~, PRD+1*, PRD+2, PRD+3, PR+1
S2 EN+2~, PRD+2*, PRD+3, PR+1
S5 EN+2~, PRD+3*, PR+1
S6 EN+2~, PR*, PR+1*
SCH D+8!
SCH( D+11*, EN+24
SITECITY GD+40~*, GD+44
SITENM GD+38~*, GD+44
SITEST GD+41~*, GD+44
SITESTR GD+39~*, GD+44
SITEZIP GD+42~*, GD+43*, GD+44
ST EN+3~, GD+5*, GD+7, GD+8*, GD+14, GD+26
STD EN+3~, GD+7*, GD+8
TDT EN+2~, EN+28*, HD+4
TRXTYPE EN+3~, EN+5*, EN+8
U BEG+4, BEG+5, BEG+11, BEG+16, BEG+18, BEG+19, EN+16, GD+1, GD+3, GD+4
GD+5, GD+14, GD+15, GD+16, GD+18, GD+19, GD+22, GD+26, GD+27, GD+28
GD+29, GD+30, GD+31, GD+32, GD+34, GD+35, GD+36, GD+37, GD+38, GD+39
GD+40, GD+41, GD+42, GD+44
>> VAPA(1 GD+15
>> VAPA(2 GD+15
>> VAPA(3 GD+15
>> VAPA(4 GD+15
>> VAPA(5 GD+15
>> VAPA(6 GD+15
X D+13!
Y BEG+15, BEG+16, BEG+17, BEG+18, BEG+19, BEG+24, BEG+25, BEG+27, BEG+28, BEG+38
D+9, D+10, D+13!, EN+29*
Y0 EN+2~, PR!
Y1 EN+2~, PR!
Y2 EN+2~, PR!
Y3 EN+2~, PR!
Y4 EN+2~, PR!
Y5 EN+2~, PR!
Y6 EN+2~, PR!, PR+2*
Z EN+3~, PR+1*
ZIP GD+21~*, GD+22
>> ZTDESC DEV+3*
ZTDTH DEV+2!
ZTIO DEV+2!
>> ZTQUEUED END+1
>> ZTREQ END+1*
>> ZTRTN DEV+3*
ZTSAVE DEV+2!
ZTSAVE( DEV+4*
ZTSAVE("DRG(" DEV+5*
ZTSAVE("SCH(" DEV+4*
ZTSK DEV!, DEV+2!, DEV+6!
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 |  Local Variables  | All