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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SRSCDW

Package: Surgery

Routine: SRSCDW


Information

SRSCDW ;B'HAM ISC/MAM - SCHEDULED OPERATIONS BY WARD ; [ 07/27/98 2:33 PM ]

Source Information

Source file <SRSCDW.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Surgery 4 ^SROSTOP  ($$NODATA,$$ORDIV)^SROUTL0  ^SRSCDW1  ^SRSKILL  
Kernel 3 ^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 2 ^DIC  D^DIQ  
Registration 1 DEM^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: 1

Package Total Caller Graph
Surgery 1 SRSCD  

Entry Points

Name Comments DBIA/ICR reference
SER
SRW ; entry when queued
OR
END
LOOP ; break procedure if greater than 65 characters
ZTSAVE
HDR ; print heading
UTL ; set ^TMP("SR",$J)
PRINT ; loop through ^TMP and print cases
OUT ; output data
PAGE

External References

Name Field # of Occurrence
^%ZIS SER+4
^%ZISC END+2
^%ZTLOAD SER+4
^DIC SER+3
D^DIQ SRW+1, UTL+4
^SROSTOP HDR+1
$$NODATA^SROUTL0 OR+2
$$ORDIV^SROUTL0 OR
^SRSCDW1 SER+2
^SRSKILL END+2
DEM^VADPT UTL+1

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: Z
  • Timeout: DTIME
  • Line Location: SER+0
Function Call: WRITE
  • Prompt: !!,"Enter RETURN to list the scheduled operations for a specific ward,",!,"or 'NO' to list the scheduled cases for all wards."
  • Line Location: SER+1
Function Call: WRITE
  • Prompt: !
  • Line Location: SER+4
Function Call: WRITE
  • Prompt: $$NODATA^SROUTL0()
  • Line Location: OR+2
Function Call: WRITE
  • Prompt: !!,"Press RETURN to continue "
  • Line Location: END+0
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: END+2
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,?20,"* Scheduled Operations for "_SRW("N")_" *",!,?30,SRDATE,!!,"Start Time",?12,"Patient",?45,"Operating Room",!,?12,"ID #",?45,"Specialty",!
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: "="
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,$P(SR,"^",4),?12,$P(SR,"^"),?45,SROR,!,?12,$P(SR,"^",5),?45,$P(SR,"^",3),!,?12,SROPS(1)
  • Line Location: OUT+3
Function Call: WRITE
  • Prompt: !,?12,SROPS(2)
  • Line Location: OUT+3
Function Call: WRITE
  • Prompt: !,?12,SROPS(2)
  • Line Location: OUT+3
Function Call: WRITE
  • Prompt: !
  • Line Location: OUT+4
Function Call: WRITE
  • Prompt: "-"
  • Line Location: OUT+4
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: PAGE+0
Routine Call
  • %ZIS
  • Line Location:
    • SER+4
Routine Call
  • DIC
  • Line Location:
    • SER+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] UTL+1
^SC - [#44] UTL+2
^SRF - [#130] ORUTL+1
^SRF("AOR" OR
^SRO(137.45 - [#137.45] UTL+3
^SRS - [#131.7] UTL+2
^TMP("SR" SER!, OR+2, END+1!, UTL+6*, PRINT+2, OUT+2

Label References

Name Line Occurrences
END SERSER+3, SER+4
HDR PRINT+2, OUT+1
LOOP OUT+2
OUT PRINT+2
PAGE PRINT+2, OUT+1
PRINT OR+1
SER SER+1
UTL OR
ZTSAVE SER+4

Naked Globals

Name Field # of Occurrence
^( UTL+1
^(31 OR

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS SER+4!*
%ZIS("A" SER+4*
>> DFN UTL+1*
>> DIC SER+3*
>> DIC("S" SER+3*
>> DIC(0 SER+3*
DTIME SERENDPAGE
IO SRW+1
IO("Q" SER+4!
IOF END+1, END+2, HDR+2
IOP SER+4!
IOSL OUT+1
IOST ENDEND+1, PAGE
>> LINE HDR+2*, OUT+4*
>> LOOP LOOP+1*
>> M LOOP+1, OUT+2*
MM LOOP+1*, OUT+2!
MMM LOOP+1*, OUT+2!
POP SER+4!
>> SR OUT+2*, OUT+3
>> SRDATE SRW+1*, HDR+2
>> SRFIND UTL+4*
>> SRHALT HDR+1
>> SRNM UTL+1*, UTL+6
>> SROPER LOOP+1*, OUT+2*
SROPS OUT+2!
SROPS( LOOP+1*
SROPS(1 OUT+2*, OUT+3
SROPS(2 OUT+3
SROPS(3 OUT+3
>> SROR SRW+1*, OR*, UTL+2, PRINT+1*, PRINT+2*, OUT+2, OUT+3
>> SROR("N" UTL+2*, UTL+6
>> SRQ SRW+1*, ORENDHDR+1*, PRINT+2, OUT+1, PAGE*
>> SRSDATE SRW+1, ORZTSAVE
>> SRSITE("DIV" OR
>> SRSOP UTL+1*, UTL+6
>> SRSS UTL+1*, UTL+3*, UTL+5*, UTL+6
>> SRSSN UTL+1*, UTL+6
>> SRST OR*, UTL+4, UTL+6, PRINT+1*, PRINT+2*, OUT+2
>> SRTIME UTL+4*, UTL+6
SRTN SRW+1*, OR*, END+2!, UTL+1
>> SRW SER+3*
>> SRW("N" SER+3*, HDR+2, UTL+6, PRINT+2, OUT+2
>> SRWARD UTL+1*, UTL+6
>> SRZ HDR+2*, PRINT+1*, PRINT+2
>> VA("PID" UTL+1
>> VADM(1 UTL+1
>> X END*, PAGE*
>> Y SER+3, SRW+1*, UTL+4*
>> Z SER*, SER+1*, SER+2
>> ZTDESC SER+4*
>> ZTQUEUED END+1, HDR+1
>> ZTREQ END+1*
>> ZTRTN SER+4*
>> ZTSAVE("SRSDATE" ZTSAVE*
>> ZTSAVE("SRSITE*" ZTSAVE*
>> ZTSAVE("SRW*" ZTSAVE*
>> ZTSTOP END+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All