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

Package: Outpatient Pharmacy

Routine: PSOBKDED


Information

PSOBKDED ;BIR/SAB - Edit backdoor Rx Order entry ;Aug 11, 2020@11:13:08

Source Information

Source file <PSOBKDED.m>

Call Graph

Call Graph

Call Graph Total: 16

Package Total Call Graph
Outpatient Pharmacy 10 (LST,LST2)^PSOBKDE1  EN^PSODIAG  (DOSE,INS,PROV)^PSODIR  (COPIES,DAYS,PTSTAT,QTY,REFILL,SIG)^PSODIR1  (CLINIC,FILLDT,MW,RMK)^PSODIR2  ^PSODRG  6^PSODRGN  (CKMRSL,LAN,MRSL)^PSOORED5  
REF^PSOORNEW  (CID,CIDH)^PSOUTL  
VA FileMan 4 ^%DT  ^DIC  $$GET1^DIQ  ^DIR  
List Manager 1 FULL^VALM1  
Pharmacy Data Management 1 DOSE^PSSORPH  

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

Package Total Caller Graph
Outpatient Pharmacy 8 PSODRGN  PSOERXD2  PSOORED3  PSOORED4  PSOORED5  PSOORNE1  PSOORNE3  PSOORNE4  

Entry Points

Name Comments DBIA/ICR reference
1
2
3
4
5
6
7
8
9
10
INS
11
12
13
DOSE ;backdoor
INS1
INS2
DOSE1
DU
RTE ;*525
RTEC ;
ASK ;
ASK1
GD1
DOS
SCH
KX
KV

External References

Name Field # of Occurrence
^%DT 1
^DIC RTEC+1
$$GET1^DIQ GD1+17
^DIR 10+6, ASK1+13, DOS+2, DOS+13, SCH+6
LST^PSOBKDE1 ASK+4
LST2^PSOBKDE1 ASK+3
EN^PSODIAG 6
DOSE^PSODIR 10
INS^PSODIR INS
PROV^PSODIR 4
COPIES^PSODIR1 11
DAYS^PSODIR1 8
PTSTAT^PSODIR1 3+1
QTY^PSODIR1 7
REFILL^PSODIR1 9
SIG^PSODIR1 10+4
CLINIC^PSODIR2 5
FILLDT^PSODIR2 2
MW^PSODIR2 12
RMK^PSODIR2 13
^PSODRG 6
6^PSODRGN 6+1
CKMRSL^PSOORED5 RTE+17
LAN^PSOORED5 GD1+7, GD1+8, DOS+11
MRSL^PSOORED5 RTE+10
REF^PSOORNEW 8+1
CID^PSOUTL 1
CIDH^PSOUTL 1+3
DOSE^PSSORPH ASK+1
FULL^VALM1 ASK+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: 1+3
Function Call: WRITE
  • Prompt: !
  • Line Location: 1+3
Function Call: WRITE
  • Prompt: !,"ROUTE: "_MRDFV_"//"
  • Line Location: RTE+5
Function Call: WRITE
  • Prompt: X_" "_$G(ERTE)
  • Line Location: RTE+18
Function Call: WRITE
  • Prompt: " "_$P(Y(0),"^",2)
  • Line Location: RTEC+1
Function Call: WRITE
  • Prompt: !
  • Line Location: ASK1+1
Function Call: WRITE
  • Prompt: " "_$S($E(DOSE,1)="."&($G(UNITN)'=""):"0",1:"")_DOSE W:$G(UNITN)'=""
  • Line Location: DOS+0
Function Call: WRITE
  • Prompt: !
  • Line Location: DOS+1
Routine Call
  • DIC
  • Line Location:
    • RTEC+1
Routine Call
  • DIR
  • Line Location:
    • 10+6
    • ASK1+13
    • DOS+2
    • DOS+13
    • SCH+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSDRUG - [#50] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" 1
^PS(50.607 - [#50.607] DOSE1+1, DOSE1+2, ASK1+12, GD1+20
^PS(50.7 - [#50.7] SCH+3
^PS(51.2 - [#51.2] DU+4, RTE+3, RTE+18
^PS(55 - [#55] INS2+3, INS2+8, DUGD1+7, GD1+8, DOS+9
^PSRX - [#52] INS2+5
^TMP("PSOPO" DOSE+1*, DOSE+3*, DOSE+4*, INS1*, INS2+1*, INS2+2*, INS2+4*, INS2+6*, INS2+7*, INS2+9*
DOSE1+1*, DOSE1+2*, DU*, DU+1*, DU+2*, DU+3*, DU+4*, DU+5*, DU+8*, DU+9*

Label References

Name Line Occurrences
1 1+3, 1+4
ASK DOS+2
ASK1 ASK+3
DOS ASK1+17, GD1+1, GD1+17, GD1+19
DOSE1 DOSE+5
DU DOSE1
GD1 ASK1+16
INS1 DOSE+1
KV 10+6, RTE+3, ASK+1
KX 1+1, 1+4, DOS+2, DOS+10, DOS+14, SCH
RTE RTE+6, RTEC+1
RTEC RTE+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT 1*, 1+1!, 1+4!
%DT("A" 1*
%DT("B" 1*
%DT(0 1*
>> COPY 10+3, 10+5, ASK+4
>> D INS2*, INS2+1, INS2+2
DCHK GD1+12*, GD1+13, GD1+14*, GD1+15, GD1+16!
DIC RTEC+1!*
DIC("S" RTEC+1*
DIC(0 RTEC+1*
DIR DOS+1!, DOS+13!, KV!
DIR("?" ASK1+9*, SCH+2*
DIR("A" 10+6*, ASK1+8*, ASK1+9*, DOS+1*, SCH+2*
DIR("B" ASK1+11*, ASK1+12*!, DOS+1*, DOS+12*!, SCH+4*!, SCH+5!
DIR(0 10+6*, ASK1+1*, DOS+1*, DOS+10*, SCH+2*
DIRUT RTE+14!, ASK1+14!, ASK1+15, DOS+1!, DOS+13!, KV!
>> DOLST GD1+2*, GD1+10*
DOSE ASK+1!, ASK1+18*, ASK1+19, ASK1+20, GD1+2*, GD1+5, GD1+10*, GD1+12, GD1+15*, GD1+19
GD1+21, DOSDOS+1, DOS+2!, DOS+3
DOSE( ASK1+3, ASK1+16, GD1+1, GD1+2, GD1+3, GD1+4
DOSE("DD" ASK+3, ASK1ASK1+4, ASK1+19, GD1+3, GD1+18, GD1+20, GD1+21
DOSE("LD" ASK1*, ASK1+20, GD1+5, GD1+11, GD1+19, DOS+9
DOSE(0 ASK+4
DOSE(1 ASK1+4, ASK1+7
DRET RTE+1, RTE+16*, RTE+18!
DS DOSE+4*, DOSE1!
DT GD1+17
DTIME RTE+7
DTOUT RTE+8*, RTE+14!, RTE+15, ASK1+14!, DOS+13!, KV!
DUOUT RTE+9*, RTE+15, DOS+13!, KV!
DUPD ASK1+19*, ASK1+20!, GD1+3*, GD1+6!, GD1+21*
>> ENT RTE+1, RTE+3, RTE+16, RTE+18, RTEC+2, ASK1+11, ASK1+12, ASK1+16, ASK1+17, ASK1+18
ASK1+19, ASK1+20, GD1+3, GD1+4, GD1+6, GD1+9, GD1+18, GD1+19, GD1+20, GD1+21
DOS+3, DOS+4, DOS+5, DOS+7, DOS+8, DOS+9, DOS+10, DOS+11, DOS+12, DOS+14
DOS+15, SCH+3, SCH+4, SCH+5
ERTE RTE+16!, RTE+18*, RTEC+2*
>> FIELD RTE+14*, ASK1+14*
I DOSE+2*, DOSE+3, DOSE1+1, DOSE1+2, DUDU+1, DU+2, DU+3, DU+4, DU+5
DU+6, DU+8, DU+9, ASK1+3*, GD1+12*, GD1+16!
>> IEN DOSE+1*, DOSE+3*, DOSE+4*, INS1*, INS2+1*, INS2+2, INS2+4*, INS2+6, INS2+7*, INS2+9*
DOSE1+1, DOSE1+2*, DU*, DU+1*, DU+2*, DU+3*, DU+4*, DU+5*, DU+7*, DU+8
DU+9*
JUMP RTE+14*, ASK+1!, ASK1+14*
MRDFV RTE+3~*, RTE+5, RTE+11, RTE+13!
MRQ RTE+3~*, RTE+6, RTE+13!
MRSLS RTE+3~, RTE+6, RTE+13!
MRX RTE+3~, RTE+7*, RTE+9, RTE+10, RTE+11*, RTE+12, RTE+13!
>> ORD ASK1+15
>> OTHDOS( DOS+10!, DOS+11, DOS+14*
>> POERR 3
PSMAX 8+1!, 9+1!
>> PSOBDRG ASK1+12
>> PSODFN INS2+3, INS2+8, DUASK+1, GD1+7, GD1+8, DOS+9
PSODOSCT ASK+2~, ASK1+2, ASK1+3*, ASK1+4, ASK1+5, ASK1+7
PSODOSFL ASK+2~, ASK1+4*, ASK1+5, ASK1+7*, ASK1+8, ASK1+9
PSODOSWT ASK+2~, ASK1+5*, ASK1+9
>> PSODRUG("IEN" ASK+1, ASK1ASK1+4, ASK1+19, GD1+3, GD1+17, GD1+18, GD1+20, GD1+21
>> PSODRUG("OI" SCH+3
>> PSODSPL ASK1+15*
PSOEDDOS 10~*
PSOFDR 10+3*, 10+5!
>> PSOFROM ASK+4, GD1+7, GD1+8
>> PSOFROM1 ASK+4
>> PSOID 1+4*, 3
PSOINDT GD1+17*, DOS+2!
>> PSONEW 23+1, 457891010+4, INS
111213
>> PSONEW("# OF REFILLS" , 8+1
>> PSONEW("CONJUNCTION" DU+9
>> PSONEW("DOSE ORDERED" , DOSE+3, DOSE1+1, DOSE1+2, DUDU+1, DU+2, DU+3
>> PSONEW("DOSE" DOSE1+1, DOSE1+2
>> PSONEW("DURATION" DU+6, DU+8
>> PSONEW("ENT" DOSE+1, DOSE+2
>> PSONEW("FILL DATE" , 1
>> PSONEW("FLD" 2*, 3+1*, 4*, 5*, 6*, 7*, 8*, 9*, 10*, 10+4*
, INS*, 11*, 12*, 13*
>> PSONEW("IND" INS2+7
>> PSONEW("INDO" INS2+9
>> PSONEW("ISSUE DATE" , 11+4*, 3*
>> PSONEW("N# RE F" , 8+1*
>> PSONEW("NOUN" DU+3
>> PSONEW("ODOSE" DU
>> PSONEW("OIRXN" INS2+5
>> PSONEW("ROUTE" DU+4
>> PSONEW("SCHEDULE" DU+5
>> PSONEW("SIG" 10+3!, INS2INS2+1, INS2+2
>> PSONEW("SINS" INS2+5*, INS2+6
>> PSONEW("UNITS" DOSE1+1, DOSE1+2
>> PSONEW("VERB" DOSE+3, DU+1
>> PSOREEDQ ASK1+12
>> PSOREEDT SCH+5
>> PSORX("EDIT" ASK+4, DOS+6
>> PSORXED("DOSE EDIT" , ASK1+16*, ASK1+18*, GD1+10*, GD1+15*,  ORDERED" , ASK1+19*, ASK1+20!, GD1+6!, DOS+4*
>> PSORXED("DOSE" ASK1+11, ASK1+16, ASK1+17, DOS+3*, DOS+9
>> PSORXED("NEW DOSE" , GD1+2*
>> PSORXED("NOUN" ASK1+20!, GD1+6!, GD1+19!, DOS+5*
>> PSORXED("ODOSE" GD1+19!, DOS+11, DOS+12, DOS+14!, DOS+15*
>> PSORXED("ROUTE" RTE+1*, RTE+3, RTE+16*, RTE+18, RTEC+2*
>> PSORXED("SCHEDULE" SCH+3, SCH+4, SCH+5
>> PSORXED("UNITS" ASK1+12, ASK1+18, ASK1+20*, GD1+6*, GD1+19*, DOS+8*
>> PSORXED("VERB" DOS+7*
PSORXTE GD1~, DOS+2!
PSORXTE("DOSE ORDERED" , GD1+3*, GD1+21*, DOS+4
PSORXTE("NOUN" GD1+4*, GD1+18*, DOS+5
PSORXTE("UNITS" GD1+9*, GD1+20*, DOS+8
PSORXTE("VERB" GD1+4*, GD1+18*, DOS+7
>> PSOSCH SCH+3*, SCH+4
PSTMAX 8+1!, 9+1!
RTE RTE+2!, RTE+3, RTE+16!, RTE+18*, RTEC+2*
SD DOSE+2*, DOSE+4!
>> SG INS2+1*, INS2+2
>> SIGOK 10+3
>> STRE ASK1*
U RTE+14, RTEC+1, ASK1+14
UNITN ASK+1!, ASK1*, ASK1+20*, GD1+3*, GD1+6*, GD1+15, GD1+19*, GD1+20*, DOSDOS+1
UNITS ASK1+18*, ASK1+20*, GD1+3*, GD1+6*, GD1+9, GD1+19*, GD1+20*, DOS+2!
X 1+1, RTE+4*, RTE+12*, RTE+14, RTE+16, RTE+18, RTEC+1, RTEC+2, ASK1+14, ASK1+16
ASK1+17, ASK1+18, DOS+13!, DOS+14, DOS+15, KX!
Y 1*, 1+3, 1+4, RTEC+1, RTEC+2, ASK1+16, GD1+1, GD1+2, GD1+3, GD1+4
GD1+10, DOS+2, DOS+13!, KX!
Y(0 RTEC+1, RTEC+2
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