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 ;04/17/95

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

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

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
GD1
DOSE ;backdoor
DOS
DU
RTE ;*525
SCH
1
3
2
5
4
7
6
ASK
8
ASK1
9
DOSE1
11
10
13
12
RTEC ;
INS
INS1
INS2
KV
KX

External References

Name Field # of Occurrence
^%DT 1
^DIC RTEC+1
$$GET1^DIQ GD1+17
^DIR 10+6, ASK1+14, DOS+2, DOS+13, SCH+6
LST^PSOBKDE1 ASK+3
LST2^PSOBKDE1 ASK+2
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+22
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
FULL^VALM1 ASK+1

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+23
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+14
    • 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+23
^PS(55 - [#55] INS2+3, DU, GD1+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*, 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+2
DOS ASK1+18, GD1+1, GD1+17, GD1+19
DOSE1 DOSE+5
DU DOSE1
GD1 ASK1+17
INS1 DOSE+1
KV 10+6, RTE+3, ASK
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+3
>> 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+10*, SCH+2*
DIR("A" 10+6*, ASK1+9*, ASK1+10*, DOS+1*, SCH+2*
DIR("B" ASK1+11*, ASK1+12*, ASK1+13!, DOS+1*, DOS+12*!, SCH+4*!, SCH+5!
DIR(0 10+6*, ASK1+1*, DOS+1*, DOS+10*, SCH+2*
DIRUT RTE+19!, ASK1+15!, ASK1+16, DOS+1!, DOS+13!, KV!
>> DOLST GD1+2*, GD1+10*
DOSE ASK!, ASK1+19*, ASK1+20, GD1+2*, GD1+5, GD1+10*, GD1+12, GD1+15*, GD1+19, GD1+21
, DOS, DOS+1, DOS+2!, DOS+3
DOSE( ASK1+3, ASK1+17, GD1+1, GD1+2, GD1+3, GD1+4
DOSE("DD" ASK+2, ASK1, ASK1+4, GD1+3, GD1+18, GD1+20, GD1+21
DOSE("LD" ASK1*, ASK1+20, GD1+5, GD1+11, GD1+19, DOS+9
DOSE(0 ASK+3
DOSE(1 ASK1+4, ASK1+8
DRET RTE+1, RTE+21*, RTE+23!
DS DOSE+4*, DOSE1!
DT GD1+17
DTIME RTE+7
DTOUT RTE+8*, RTE+19!, RTE+20, ASK1+15!, DOS+13!, KV!
DUOUT RTE+9*, RTE+20, DOS+13!, KV!
DUPD ASK1+20!, GD1+3*, GD1+6!, GD1+21*
>> ENT RTE+1, RTE+3, RTE+21, RTE+23, RTEC+2, ASK1+11, ASK1+12, 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+21!, RTE+23*, RTEC+2*
>> FIELD RTE+19*, ASK1+15*
I DOSE+2*, DOSE+3, DOSE1+1, DOSE1+2, DU, DU+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, DOSE1+1, DOSE1+2*
, DU*, DU+1*, DU+2*, DU+3*, DU+4*, DU+5*, DU+7*, DU+8, DU+9*
JUMP RTE+19*, ASK!, ASK1+15*
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+16
>> OTHDOS( DOS+10!, DOS+11, DOS+14*
>> POERR 3
PSMAX 8+1!, 9+1!
>> PSOBDRG ASK1+13
>> PSODFN INS2+3, DU, ASK, GD1+7, GD1+8, DOS+9
PSODOSCT ASK+1~, ASK1+2, ASK1+3*, ASK1+4, ASK1+5, ASK1+8
PSODOSFL ASK+1~, ASK1+4*, ASK1+5, ASK1+8*, ASK1+9, ASK1+10
PSODOSWT ASK+1~, ASK1+5*, ASK1+10
>> PSODRUG("IEN" ASK, ASK1, ASK1+4, GD1+3, GD1+17, GD1+18, GD1+20, GD1+21
>> PSODRUG("OI" SCH+3
>> PSODSPL ASK1+16*
PSOEDDOS 10~*
PSOFDR 10+3*, 10+5!
>> PSOFROM ASK+3, GD1+7, GD1+8
>> PSOFROM1 ASK+3
>> PSOID 1+4*, 3
PSOINDT GD1+17*, DOS+2!
>> PSONEW 2, 3+1, 4, 5, 7, 8, 9, 10, 10+4, INS
, 11, 12, 13
>> PSONEW("# OF REFILLS" , 8+1
>> PSONEW("CONJUNCTION" DU+9
>> PSONEW("DOSE ORDERED" , DOSE+3, DOSE1+1, DOSE1+2, DU, DU+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("ISSUE DATE" , 1, 1+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!, INS2, INS2+1, INS2+2
>> PSONEW("SINS" INS2+5*, INS2+6
>> PSONEW("UNITS" DOSE1+1, DOSE1+2
>> PSONEW("VERB" DOSE+3, DU+1
>> PSOREEDQ ASK1+13
>> PSOREEDT SCH+5
>> PSORX("EDIT" ASK+3, DOS+6
>> PSORXED("DOSE ORDERED" , ASK1+20!, GD1+6!, DOS+4*
>> PSORXED("DOSE" ASK1+11, ASK1+17, ASK1+18, DOS+3*, DOS+9
>> 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+21*, RTE+23, RTEC+2*
>> PSORXED("SCHEDULE" SCH+3, SCH+4, SCH+5
>> PSORXED("UNITS" ASK1+12, ASK1+19, 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+21!, RTE+23*, RTEC+2*
SD DOSE+2*, DOSE+4!
>> SG INS2+1*, INS2+2
>> SIGOK 10+3
>> STRE ASK1*
U RTE+19, RTEC+1, ASK1+15
UNITN ASK!, ASK1*, ASK1+20*, GD1+3*, GD1+6*, GD1+15, GD1+19*, GD1+20*, DOS, DOS+1
UNITS ASK1+19*, ASK1+20*, GD1+3*, GD1+6*, GD1+9, GD1+19*, GD1+20*, DOS+2!
X 1+1, RTE+4*, RTE+12*, RTE+19, RTE+21, RTE+23, RTEC+1, RTEC+2, ASK1+15, ASK1+17
, ASK1+18, ASK1+19, DOS+13!, DOS+14, DOS+15, KX!
Y 1*, 1+3, 1+4, RTEC+1, RTEC+2, ASK1+17, 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