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

Package: Pharmacy Data Management

Routine: PSSSCHRP


Information

PSSSCHRP ;BIR/RTR-Schedule Report ; 10/15/15 4:26pm

Source Information

Source file <PSSSCHRP.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
VA FileMan 4 ($$GET1,GETS)^DIQ  ^DIR  ^DIWP  ^DIWW  
Kernel 3 ^%ZIS  ^%ZISC  ^%ZTLOAD  
National Drug File 1 $$DFSU^PSNAPIS  

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
Pharmacy Data Management 2 PSS SCHEDULE REPORT  PSS TRAILING SPACES REPORT  

Entry Points

Name Comments DBIA/ICR reference
EN ;Prompts for Administration File Schedule Report
START ;Print Administration Schedule File report
END ;
HD ;Report Header
MESS ;
FORMAT(PSSAFQC,PSSAFQQ) ;Format print arrays, breaking on the "-" character
TRAIL ;Trailing spaces Report
STRAIL ;Print Trailing spaces report
STEND ;
STHD ;Report Header
STST() ;Is strength numeric

External References

Name Field # of Occurrence
^%ZIS EN+18, TRAIL+7
^%ZISC END+7, STEND+6
^%ZTLOAD EN+19, TRAIL+8
$$GET1^DIQ START+56, START+87
GETS^DIQ START+11
^DIR EN+10, EN+11, EN+15, EN+16, EN+18, EN+19, END+3, HD+1, TRAIL+7, TRAIL+8
STEND+3, STHD+1
^DIWP START+41, START+43, START+49, START+51
^DIWW START+41, START+43, START+49, START+51
$$DFSU^PSNAPIS STRAIL+15

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This report displays entries from the ADMINISTRATION SCHEDULE (#51.1) File."
  • Line Location: EN+1
Function Call: WRITE
  • Prompt: !,"It can be run for all Schedules, or only Schedules without a FREQUENCY"
  • Line Location: EN+2
Function Call: WRITE
  • Prompt: !,"(IN MINUTES). Only schedules with a PSJ Package Prefix will be displayed, since"
  • Line Location: EN+3
Function Call: WRITE
  • Prompt: !,"they are the only schedules the software will look at when deriving a FREQUENCY"
  • Line Location: EN+4
Function Call: WRITE
  • Prompt: !,"(IN MINUTES) for the daily dosage checks. If a FREQUENCY (IN MINUTES) cannot",!,"be determined for an order, the daily dosage check cannot occur for that order."
  • Line Location: EN+5
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+10
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+15
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+17
Function Call: WRITE
  • Prompt: !!,"Report queued to print.",!
  • Line Location: EN+19
Function Call: WRITE
  • Prompt: PSSAFROP,!
  • Line Location: START+40
Function Call: WRITE
  • Prompt: PSSAFROP,!
  • Line Location: START+42
Function Call: WRITE
  • Prompt: !
  • Line Location: START+44
Function Call: WRITE
  • Prompt: PSSAFROO,!
  • Line Location: START+48
Function Call: WRITE
  • Prompt: PSSAFROO,!
  • Line Location: START+50
Function Call: WRITE
  • Prompt: !!,"No schedules found without frequencies.",!
  • Line Location: END+1
Function Call: WRITE
  • Prompt: !!,"End of Report.",!
  • Line Location: END+2
Function Call: WRITE
  • Prompt: !!,"End of Report."
  • Line Location: END+3
Function Call: WRITE
  • Prompt: !
  • Line Location: END+4
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: END+5
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HD+2
Function Call: WRITE
  • Prompt: !,"ADMINISTRATION SCHEDULE FILE REPORT (All)"
  • Line Location: HD+3
Function Call: WRITE
  • Prompt: !,"ADMINISTRATION SCHEDULE WITHOUT FREQUENCY REPORT"
  • Line Location: HD+4
Function Call: WRITE
  • Prompt: ?$S(PSSALONG=80:68,1:120),"PAGE: "_PSSAFCT,!,PSSAFLIN,!
  • Line Location: HD+5
Function Call: WRITE
  • Prompt: !!,"Nothing queued to print.",!
  • Line Location: MESS+1
Function Call: WRITE
  • Prompt: !!,"This report displays active, multi-ingredient entries from the DRUG (#50) File"
  • Line Location: TRAIL+1
Function Call: WRITE
  • Prompt: !,"with Local Possible Dosages defined, with trailing spaces in the name. Entries"
  • Line Location: TRAIL+2
Function Call: WRITE
  • Prompt: !,"not matched to National Drug File are also included if there are trailing"
  • Line Location: TRAIL+3
Function Call: WRITE
  • Prompt: !,"spaces. Trailing spaces can potentially cause the Dose check to fail, and"
  • Line Location: TRAIL+4
Function Call: WRITE
  • Prompt: !,"also possibly cause the conjunction and drug name to become part of the Dosage.",!
  • Line Location: TRAIL+5
Function Call: WRITE
  • Prompt: !!,"Report queued to print.",!
  • Line Location: TRAIL+8
Function Call: WRITE
  • Prompt: !,PSSTRSNM_" ("_PSSTRSBB_")"
  • Line Location: STRAIL+12
Function Call: WRITE
  • Prompt: !!,"No drug names found.",!
  • Line Location: STEND+1
Function Call: WRITE
  • Prompt: !!,"End of Report.",!
  • Line Location: STEND+2
Function Call: WRITE
  • Prompt: !!,"End of Report."
  • Line Location: STEND+3
Function Call: WRITE
  • Prompt: !
  • Line Location: STEND+4
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: STEND+5
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: STHD+2
Function Call: WRITE
  • Prompt: !,"DRUG NAME TRAILING SPACES REPORT"
  • Line Location: STHD+3
Function Call: WRITE
  • Prompt: ?68,"PAGE: "_PSSTRSPG,!,PSSTRSLG,!
  • Line Location: STHD+4
Routine Call
  • %ZIS
  • Line Location:
    • EN+18
    • TRAIL+7
Routine Call
  • DIR
  • Line Location:
    • EN+10
    • EN+11
    • EN+15
    • EN+16
    • EN+18
    • EN+19
    • END+3
    • HD+1
    • TRAIL+7
    • TRAIL+8
    • STEND+3
    • STHD+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(51.1 - [#51.1] GET1^DIQ,  GETS^DIQ
51.11 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(51.1 - [#51.1] START+7, START+8, START+54, START+55, START+61
^PSDRUG - [#50] STRAIL+7, STRAIL+8, STRAIL+11, STRAIL+13
^PSDRUG("B" STRAIL+6, STRAIL+7
^UTILITY($J START+41!, START+43!, START+49!, START+51!

Label References

Name Line Occurrences
$$STST STRAIL+16
FORMAT START+25, START+32, START+68, START+75
HD START+6, START+16, START+24, START+28, START+31, START+35, START+36, START+44, START+53, START+59
START+67, START+71, START+74, START+78, START+81, START+85, START+89, START+91, START+93, START+95
START+97, START+101, START+103
MESS EN+10, EN+11, EN+15, EN+16, EN+18, TRAIL+7
STHD STRAIL+5, STRAIL+12, STRAIL+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS EN+6~, EN+18!*, EN+19!, TRAIL+6~, TRAIL+7!*, TRAIL+8!
DIR EN+6~, EN+7!, EN+10!, EN+11!, EN+13!, EN+15!, EN+16!, EN+18!, EN+19!, END+3!
HD+1!, TRAIL+6~, TRAIL+7!, TRAIL+8!, STEND+3!, STHD+1!
DIR("?" EN+8*, EN+9*, EN+14*
DIR("A" EN+7*, EN+10*, EN+11*, EN+13*, EN+15*, EN+16*, EN+18*, EN+19*, END+3*, HD+1*
TRAIL+7*, TRAIL+8*, STEND+3*, STHD+1*
DIR("B" EN+7*, EN+13*
DIR(0 EN+7*, EN+10*, EN+11*, EN+13*, EN+15*, EN+16*, EN+18*, EN+19*, END+3*, HD+1*
TRAIL+7*, TRAIL+8*, STEND+3*, STHD+1*
DIROUT EN+6~, TRAIL+6~
DIRUT EN+6~, TRAIL+6~
DIWF START+41~*, START+43~*, START+49~*, START+51~*
DIWL START+41~*, START+43~*, START+49~*, START+51~*
DIWR START+41~*, START+43~*, START+49~*, START+51~*
DT STRAIL+10
DTOUT EN+6~, EN+10, EN+15, TRAIL+6~
DUOUT EN+6~, EN+10, EN+15, TRAIL+6~
IO START+1, STRAIL+1
IO("Q" EN+19, TRAIL+8
IOF END+5, HD+2, STEND+5, STHD+2
IOP EN+6~, EN+18!, TRAIL+6~, TRAIL+7!
IOSL START+16, START+24, START+28, START+31, START+35, START+36, START+44, START+53, START+59, START+67
START+71, START+74, START+78, START+81, START+85, START+89, START+91, START+93, START+95, START+97
START+101, START+103, STRAIL+12, STRAIL+17
IOST START+4, STRAIL+3
POP EN+6~, EN+18!, TRAIL+6~, TRAIL+7!
PSSAFAA START+2~, START+18!, START+25!, START+32!, START+68!, START+75!, START+80!
PSSAFAA( START+26, START+27, START+33, START+34, START+69, START+70, START+76, START+77, FORMAT+10*, FORMAT+11*
, FORMAT+12*
PSSAFAB FORMAT+3~, FORMAT+4!
PSSAFAB( FORMAT+5*, FORMAT+6*, FORMAT+9, FORMAT+10, FORMAT+11, FORMAT+12
PSSAFABC START+3~, START+69*, START+70*, START+76*, START+77*
PSSAFAC FORMAT+3~, FORMAT+4*, FORMAT+5*, FORMAT+6*, FORMAT+8
PSSAFAD FORMAT+3~, FORMAT+5*, FORMAT+6
PSSAFAF FORMAT+3~, FORMAT+7*, FORMAT+10, FORMAT+11, FORMAT+12*
PSSAFAL START+2~, START+26*, START+27, START+33*, START+34, START+69*, START+70, START+76*, START+77
PSSAFAX FORMAT+3~, FORMAT+8*, FORMAT+9, FORMAT+10, FORMAT+11, FORMAT+12
PSSAFAZ FORMAT+3~, FORMAT+4*, FORMAT+5*, FORMAT+6*
PSSAFCT START+2~, START+4*, HD+1, HD+5*
PSSAFDEV START+2~, START+4*, END+2, END+3, END+4, HD+1
PSSAFLIN START+2~, START+5!*, HD+5
PSSAFNOF START+3~, START+4*, START+14*, END+1
PSSAFOUT START+2~, START+4*, START+7, START+8, START+16, START+18, START+24, START+26, START+28, START+31
START+33, START+35, START+36, START+44, START+53, START+54, START+59, START+67, START+69, START+71
START+74, START+76, START+78, START+79, START+81, START+83, START+85, START+86, START+89, START+91
START+93, START+95, START+97, START+99, START+101, START+103, END+1, END+3, HD+1*
PSSAFQ START+2~, START+7*, START+8
PSSAFQC START+2~, START+9!, FORMAT~, FORMAT+5, FORMAT+6
PSSAFQEN START+2~, START+8*, START+10, START+54, START+55, START+56, START+61, START+87
PSSAFQL START+2~, START+3~, START+9!, START+20*, START+22, START+29, START+63*, FORMAT+5, FORMAT+6
PSSAFQQ START+2~, START+9!, FORMAT~, FORMAT+11
PSSAFQS START+2~, START+9!, START+17*, START+19, START+20, START+23, START+25, START+30, START+32
PSSAFRA START+3~, START+9!, START+10*, START+11, START+12, START+13, START+15, START+17, START+38, START+46
START+90, START+92, START+94, START+96, START+102
PSSAFRAA START+3~, START+9!
PSSAFRAA( START+12, START+13, START+15, START+17, START+38, START+46, START+83, START+84, START+90, START+92
START+94, START+96, START+99, START+100, START+102
PSSAFRFL START+3~, START+26*, START+27*, START+33*, START+34*, START+54*, START+58*, START+59*, START+60*, START+66*
START+67*, START+70*, START+71*, START+73*, START+74*, START+77*, START+78*, START+81*
PSSAFROO START+3~, START+9!, START+46*, START+48, START+49, START+50, START+51
PSSAFROP START+3~, START+9!, START+38*, START+40, START+41, START+42, START+43
PSSAFRP EN+6~, EN+12*, START+13, END+1, END+6!, HD+3, HD+4
PSSAFZZZ START+3~, START+53*, START+58*, START+59*, START+60*, START+66*, START+67*, START+70*, START+71*, START+73*
START+74*, START+77*, START+78*, START+81*, START+82, START+88
PSSALONG EN+6~, EN+17*, START+5, START+21, START+39, START+47, START+64, END+6!, HD+5
PSSDFS START+3~, START+83*, START+84*, START+99*, START+100*
PSSFD START+3~, START+83*, START+84, START+99*, START+100
PSSTPE START+2~, START+87!*, START+88
PSSTRSAA STRAIL+2~, STRAIL+6*, STRAIL+7
PSSTRSBB STRAIL+2~, STRAIL+7*, STRAIL+8, STRAIL+11, STRAIL+12, STRAIL+13, STRAIL+17
PSSTRSDV STRAIL+2~, STRAIL+3*, STEND+2, STEND+3, STEND+4, STHD+1
PSSTRSFL STRAIL+2~, STRAIL+3*, STRAIL+12*, STRAIL+17*, STEND+1
PSSTRSIN STRAIL+2~, STRAIL+8*, STRAIL+10
PSSTRSLG STRAIL+2~, STRAIL+4!*, STHD+4
PSSTRSN1 STRAIL+2~, STRAIL+11*, STRAIL+12, STRAIL+15
PSSTRSN3 STRAIL+2~, STRAIL+11*, STRAIL+12, STRAIL+15
PSSTRSN9 STRAIL+2~, STRAIL+15!*, STRAIL+16
PSSTRSNM STRAIL+2~, STRAIL+8*, STRAIL+9, STRAIL+12, STRAIL+17
PSSTRSOT STRAIL+2~, STRAIL+3*, STRAIL+6, STRAIL+7, STEND+1, STEND+3, STHD+1*
PSSTRSPG STRAIL+2~, STRAIL+3*, STHD+1, STHD+4*
PSSTRSST STRAIL+2~, STRAIL+13*, STRAIL+14, STRAIL+15, STRAIL+16*, STST+1, STST+2
PSSTRSUN STRAIL+2~, STRAIL+13*, STRAIL+15
PSSWAS START+2~, START+54*, START+55, START+56, START+61
PSSWASAD START+2~, START+61*, START+62, START+63, START+66, START+68, START+73, START+75
PSSWASEN START+2~, START+55*
PSSWASLL START+2~, START+63*, START+65, START+72
PSSWASNM START+2~, START+56*, START+58
PSSWASX START+3~, START+9!, START+56*
X EN+6~, START+41~*, START+43~*, START+49~*, START+51~*, TRAIL+6~
Y EN+6~, EN+7!, EN+10!, EN+11!, EN+12, EN+13!, EN+15!, EN+16!, EN+17, EN+18!
EN+19!, HD+1!, TRAIL+6~, TRAIL+7!, TRAIL+8!, STHD+1!
ZTDESC EN+6~, EN+19*, TRAIL+6~, TRAIL+8*
>> ZTQUEUED END+7, STEND+6
>> ZTREQ END+7*, STEND+6*
ZTRTN EN+6~, EN+19*, TRAIL+6~, TRAIL+8*
ZTSAVE EN+6~, TRAIL+6~
ZTSAVE("PSSAFRP" EN+19*
ZTSAVE("PSSALONG" EN+19*
ZTSK EN+6~, TRAIL+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