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 |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: BSDNXAA

Package: IHS Changes To Scheduling

Routine: BSDNXAA


Information

BSDNXAA ; IHS/ANMC/LJF - # DAYS TIL NEXT APPT ;

Source Information

Source file <BSDNXAA.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Kernel 5 HOME^%ZIS  ^%ZISC  ($$FMTE,$$NOW)^XLFDT  $$REPEAT^XLFSTR  DISP^XQORM1  
Registration 3 EN^VALM  TERM^VALM0  CLEAR^VALM1  
VA Fileman 2 ^%DTC  $$GET1^DIQ  
IHS Changes To ADT 1 ($$BROWSE,$$READ,MSG,ZIS)^BDGF  
IHS Changes To Scheduling 1 ($$PRIN,CLINIC)^BSDU  

Entry Points

Name Comments DBIA/ICR reference
SET(DATA,NUM) ; -- set display data into global
EN ;EP; -- main entry point for BSDRM NEXT AVAIL APPT
DAY(CLN,NAME) ; -- loop visit days / clinic and print next appt
HDR ; -- header code
PAD(D,L) ;EP -- SUBRTN to pad length of data
; -- D=data L=length
SP(N) ; -- SUBRTN to pad N number of spaces
PRINT ; -- print display global to paper
EXPND ; -- expand code
START ;EP; -- re-entry for printing to paper
INIT ; -- init variables and list array
EXIT ; -- exit code
NA() ; -- next appointment
HELP1 ;EP; help for 3rd appt question
ASK ; -- ask user for clinics and device
D(X1,X2,X) ; -- number of days from today
OKAY(C) ; -- active clinic? (yes=true)
HD ; -- heading
HELP ; -- help code

External References

Name Field # of Occurrence
^%DTC D+1
HOME^%ZIS PRINT+6
^%ZISC PRINT+6
$$BROWSE^BDGF ASK+5
$$READ^BDGF ASK+2
MSG^BDGF HELP1+1, HELP1+2, HELP1+3, HELP1+4, HELP1+5, HELP1+6
ZIS^BDGF ASK+6
$$PRIN^BSDU INIT+8
CLINIC^BSDU ASK+4
$$GET1^DIQ INIT+9
EN^VALM EN+2
TERM^VALM0 EN+1
CLEAR^VALM1 EN+1, EN+3
$$FMTE^XLFDT DAY+10, HD+2
$$NOW^XLFDT HD+2
$$REPEAT^XLFSTR PAD+2
DISP^XQORM1 HELP+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: HELP+1
Function Call: WRITE
  • Prompt: !,^TMP("BSDNXAA",$J,X,0)
  • Line Location: PRINT+5
Function Call: WRITE
  • Prompt: @IOF,!!,?2,"Next Available Appointment by Principle Clinic"
  • Line Location: HD+1
Function Call: WRITE
  • Prompt: ?50,"Printed at ",$$FMTE^XLFDT($$NOW^XLFDT),!
  • Line Location: HD+2
Routine Call
  • VALM
  • Line Location:
    • EN+2
Routine Call
  • %ZIS
  • Line Location:
    • PRINT+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] DAY+5, NA+2, NA+3, NA+6, OKAY+2, OKAY+3
^SC("AIHSPC" INIT+7
^TMP("BSDNXAA" INIT+2!, EXIT+1!, SET+2*, PRINT+3, PRINT+5
^TMP("BSDNXAA1" INIT+2!, INIT+12*, INIT+14, INIT+17, INIT+19, INIT+21, INIT+24!

Label References

Name Line Occurrences
$$D DAY+10
$$DAY INIT+22
$$NA DAY+5
$$OKAY INIT+6
$$PAD DAY+2, DAY+10, SP+1
$$SP DAY+2
EN ASK+5
EXIT PRINT+6
HD PRINT+1, PRINT+4
INIT START+1
PRINT START+1
SET INIT+14, INIT+18, INIT+22

Naked Globals

Name Field # of Occurrence
^("ST" OKAY+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRAY INIT+1~, INIT+3*, INIT+5
BSD3CT DAY+1~, DAY+3*, NA+8*, NA+11
BSD3RD ASK+1~, ASK+2*, ASK+3, NA+7, NA+8, NA+9
BSDAY DAY+1~, DAY+3*, DAY+5*, DAY+7, DAY+10, NA+2, NA+3, NA+6
>> BSDQ ASK+4
C OKAY~, OKAY+2, OKAY+3
CLINIC INIT+1~, INIT+4*, INIT+5*, INIT+6, INIT+7, INIT+8, INIT+9, INIT+12, INIT+20*, INIT+21*
, INIT+22
CLN DAY~, DAY+5, NA+2, NA+3, NA+6
D PAD~, PAD+2
DATA SET~, SET+2
DT DAY+3, D+1, OKAY+2, OKAY+3
IO PRINT+1
IOF HD+1
IOSL PRINT+4
J NA+1~, NA+7*, NA+8, NA+9*, NA+10*, NA+11
L PAD~, PAD+2
LINE DAY+1~, DAY+2*, DAY+7, DAY+10
N SP~, SP+1
NAME INIT+1~, INIT+9*, INIT+12, INIT+19*, INIT+21, INIT+22, DAY~, DAY+2
NUM SET~, SET+1*, SET+2
PC INIT+1~, INIT+8*, INIT+12, INIT+17*, INIT+18, INIT+19, INIT+21
POP ASK+1~, EXIT+1!
U ASK+3, OKAY+3
VALMCNT EN+1~, INIT+2*, INIT+14, INIT+18, INIT+22, EXIT+1!
VAUTC ASK+1~, INIT+3
VAUTD ASK+1~
X HELP+1*, NA+1~, NA+5*, NA+8, NA+10, D~, D+1, PRINT+2~, PRINT+3*, PRINT+5
, OKAY+1~, OKAY+2*, OKAY+3
X1 D~
X2 D~, D+1*
Y ASK+5*, NA+1~, NA+2*, NA+6
Z NA+1~, NA+6*, NA+7, NA+8, NA+9, NA+10
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All