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

Package: Outpatient Pharmacy

Routine: PSOSIGTX


Information

PSOSIGTX ;BIR/RTR - Utility to calculate quantity ;Sept 20, 2021@16:25

Source Information

Source file <PSOSIGTX.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Outpatient Pharmacy 2 (QTS,SCH)^PSOSIG  (QTYCP,QTYOPS)^PSOSIGDS  
Kernel 1 $$FMADD^XLFDT  
VA FileMan 1 ^DIR  

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

Package Total Caller Graph
Outpatient Pharmacy 1 PSOSIGCX  

Entry Points

Name Comments DBIA/ICR reference
EN(PSOSIGX) ;
SCH ;*282 Centralized Call
QTY(PSOQX) ;
QTYCP ;CPRS qty call comes through here
TOP ;One Dose for complex and/then
COMP ;COMPLEX DOSE HERE - ANDS AND THENS
BOT ;
QTS ;*282 Centralized call
QEND ;
ROUND ;
ROUNDF ;
DAY(DATE) ;First 5 digits of FileMan date
QTYX(PSOQX) ;
QPASS
DAYS(PSOQX) ;Entry point for Days Supply calc for PSO

External References

Name Field # of Occurrence
^DIR COMP+27
QTS^PSOSIG QTS+1
SCH^PSOSIG SCH+1
QTYCP^PSOSIGDS QTYX+6
QTYOPS^PSOSIGDS DAYS+3
$$FMADD^XLFDT DAY+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"The Quantity (",QTYHLD,") has not been changed."
  • Line Location: COMP+25
Function Call: WRITE
  • Prompt: !,"Please review and update it if necessary.",!,$C(7)
  • Line Location: COMP+26
Function Call: WRITE
  • Prompt: !
  • Line Location: COMP+27
Routine Call
  • DIR
  • Line Location:
    • COMP+27

Label References

Name Line Occurrences
BOT COMP+20
COMP QTYCP+8
QEND TOP+22, BOT+23, BOT+25, BOT+26, BOT+27, BOT+46, BOT+47, BOT+49
QPASS QTYX+5
QTS TOP+13, BOT+33
QTYCP QTYX+5
ROUND TOP+22, BOT+48
ROUNDF COMP+33

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DATE DAY~, DAY+2, DAY+3, DAY+4
DIR COMP+27~
DIR("A" COMP+27*
DIR(0 COMP+27*
>> OR0 COMP+24
PREVCONJ BOT+9~*, BOT+10, BOT+18, BOT+19
PREVDUX BOT+11~, BOT+12*, BOT+13, BOT+14
PREVDUX(1 BOT+12*, BOT+13, BOT+14, BOT+15, BOT+16
PREVDUXX BOT+11~, BOT+14*, BOT+15, BOT+16
PSOATQUT COMP+13~*, COMP+32, ROUND+3*
PSOCPRQT QTYCP+3, QTYCP+5, QTYX+1~*, QPASS+2!
PSODIFF BOT+9~, BOT+16*, BOT+17, BOT+18*
PSODSAME BOT+1~*, BOT+20*, BOT+25, BOT+26, BOT+27, BOT+38
PSODSDEC COMP+13~*
>> PSODSEDT COMP+24
PSODSMIN COMP+12~, COMP+15*, BOT+26, BOT+27, BOT+28
PSODSMXX TOP+10, TOP+11, TOP+20*, TOP+21, COMP+13~, COMP+15*, BOT+38, BOT+43*, BOT+44*, BOT+46
PSODUDIF COMP+12~, BOT+28*
PSODUMIS COMP+12~, BOT+1*, BOT+4*, BOT+25, BOT+26, BOT+28
PSODUMSS BOT+1~*, BOT+6*, BOT+28
PSODUREP COMP+12~, BOT+4*
PSODURT BOT+1~*, BOT+20, BOT+21*, BOT+27, BOT+38
PSODUTOT COMP+12~, BOT+1*, BOT+17*, BOT+18*, BOT+19*, BOT+26, BOT+28
PSODUX COMP+12~, BOT+5*, BOT+7
PSODUXX COMP+12~, BOT+7*, BOT+15, BOT+16, BOT+18, BOT+19, BOT+20, BOT+21
>> PSOFDR COMP+24
PSOFRQ QTYCP+2!, TOP+13, TOP+18, BOT+33, BOT+39, QEND+1!
PSOLOWER QTYCP+1~, TOP+4*, TOP+9*, TOP+10, TOP+12, TOP+14
PSOLOWST QTYCP+1~, TOP+14*, TOP+15, TOP+16, TOP+17
PSOLOWX QTYCP+1~, TOP+6*, TOP+8, TOP+11*, TOP+12, TOP+14
PSOLOWXL QTYCP+1~, TOP+8*, TOP+9
PSOQAR QTYX+1~
PSOQAR("DURATION" QTYX+2*, QPASSQPASS+1
PSOQDUR TOP+1~, TOP+7*, TOP+8
PSOQLN QTYX+1~, QTYX+3*
PSOQLP QTYX+1~*, QTYX+2, QTYX+3, QPASS*, QPASS+1
PSOQRND QTYCP+1~, TOP+19*, BOT+1*, BOT+40*, BOT+48, ROUND+1, ROUND+2
PSOQX QTY~, QTYX~, DAYS~
PSOQX("CONJUNCTION" COMP+14*, COMP+31!, BOT+9
PSOQX("DAYS S UPPLY" , QTYCP+6, TOP+3, COMP+15, BOT+23
PSOQX("DOSE O RDERED" , QTYCP+3, TOP+2, TOP+19, BOT+32, BOT+40, QTYX+4
PSOQX("DOSE" QTYCP+3
PSOQX("DURATION" TOP+3, TOP+5, TOP+6, TOP+7, TOP+9, BOT+4, BOT+5, BOT+7, BOT+12, BOT+15
BOT+16, BOT+18, BOT+19, BOT+20, BOT+21, BOT+34, BOT+35, BOT+36, BOT+38, QTYX+1
, QTYX+2, QTYX+3*, QPASS+1*
PSOQX("QTY" COMP+28!, COMP+32!, COMP+33, ROUND+2*, ROUNDF+1, ROUNDF+2*, QTYX+5, DAYS+2
PSOQX("SCHEDULE" TOP+13, BOT+32, BOT+33
PSOQZ COMP+13~
PSOQZX COMP+13~
PSORNDXX COMP+13~*
PSOSIGX EN~
PSOTFLAG COMP+13~*, COMP+14*, COMP+31
PSQ QTYCP+1~, QTYCP+3*, BOT+31*, BOT+32, BOT+33, BOT+34, BOT+35, BOT+36, BOT+38, BOT+40
PSQ1 COMP+12~, BOT+3*, BOT+4, BOT+5, BOT+7, BOT+9, BOT+12, BOT+15, BOT+16, BOT+17
BOT+18, BOT+19, BOT+20, BOT+21
PSQDOSE TOP+2, TOP+3, TOP+5, TOP+6, TOP+7, TOP+9, TOP+13, TOP+19, COMP+13~*
PSQDOSEX COMP+13~*, COMP+14, COMP+31
PSQFLAG COMP+13~, BOT+42*, BOT+43, BOT+44*, BOT+45!
PSQHOLDX COMP+13~, BOT+42*
PSQMIN QTYCP+1~, TOP+17*, TOP+18, TOP+20, BOT+36*, BOT+38*, BOT+39
PSQMINAR COMP+13~, BOT+45!
PSQMINAR( BOT+15*, BOT+17*, BOT+18*, BOT+38*, BOT+42, BOT+43, BOT+44
PSQMINLP COMP+13~, BOT+42*, BOT+43*, BOT+44*
PSQMINZ QTYCP+1~, TOP+18*, TOP+19, BOT+39*, BOT+40
PSQMNL COMP+12~, BOT+34*, BOT+35
PSQMNLX COMP+12~, BOT+35*, BOT+36
PSQQUIT QTYCP+1~, QTYCP+2*, QTYCP+3*, QTYCP+5, TOP+13, BOT+31, BOT+32*, BOT+33*, BOT+47
QDOSE QTY+1~, QTYCP+3*, QTYCP+7, QTYCP+8, COMP+13, BOT+3, BOT+31, QTYX+1~, QTYX+4*
QDOSEX QTYX+1~, QTYX+4*
QTSH QTYCP+1~, TOP+13*, BOT+33*
>> QTYHLD COMP+24, COMP+25
VARIABLE EN+1~
X DAY+1~, DAY+3*, DAY+4*, DAY+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Label References |  Local Variables  | All