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

Package: Quasar

Routine: ACKQRU


Information

ACKQRU ;AUG/JLTP BIR/PTD HCIOFO/AG-Support Routine for Reports ; 9/2/09 11:56am

Source Information

Source file <ACKQRU.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 3 (,LIST)^DIC  $$GET1^DIQ  ^DIR  
Quasar 2 $$NUMDT^ACKQUTL  $$CONVERT1^ACKQUTL4  

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

Package Total Caller Graph
Quasar 7 ACKQPCX  ACKQR1  ACKQR2  ACKQR3  ACKQR4  ACKQR5  ACKQUTL2  

Entry Points

Name Comments DBIA/ICR reference
DTRANGE ;
BEGDT
ENDDT ; S DIR(0)="D^"_(ACKBD+.1)_":"_DT_":AEXP",DIR("A")="Ending Date"
PARAMS ;
; this subroutine contains two standard prompts
; 1. Select a = AUDIOLOGY
; s = SPEECH PATHOLOGY
; b = BOTH
; 2. Choose 1 = ONE CLINICIAN
; 2 = ONE OTHER PROVIDER
; 3 = ONE STUDENT
; 4 = ALL CLINICIANS
; 5 = ALL OTHER PROVIDERS
; 6 = ALL STUDENTS
; it returns
; DIRUT=1 user chose to exit
; ACKASB response to prompt 1
; (A=audio, S=speech, B=Both)
; ACKSS response to prompt 2 (1-6)
; ACKSTF() array containing all selected staff
; where ACKSTF(n)=persons IEN on NEW PERSON FILE
GETDIV(DIVARR,ACKSTA,ACKOPT) ; get all the Divisions and put them in DIVARR
; INPUT: DIVARR must be passed by reference
; ACKSTA division status (optional)
; 'A' will get active divisions only (default)
; 'I' will get inactive divisions only
; 'AI' or 'IA' will get all divisions
; ACKOPT options. so far the only option is 'U' to output the
; names in uppercase.
; RETURNS: DIVARR= number found (n)
; DIVARR(1,n)=x^y^name
; DIVARR(2,name)=n
; and DIVARR(3,x)=n
; where x=IEN of Div from Medical Center Division file
; and y=sequence number from A&SP Site Parameter file
; (in other words ^ACK(509850.8,1,2,y)=x^...)
; and name=the division name
UP(ACKOPT,X) ; convert X to uppercase (if requested)
STOPSORT(ACKASB,ACKVSC) ; determine stop code sort value
; this function determines whether the Stop Code for the Visit is
; valid for the type of report selected.
; If it is not valid the function returns 0
; If it is valid the function returns an integer which may be used to
; sequence the visit so that Audio comes first, Audio/Tel next,
; then Speech and Speech/Tel.
; If an unknown Visit Stop Code is encountered, it is given a 9
; which means it will appear at the end of the report as UNKNOWN.
STOPNM(ACKSORT) ; convert stop code sort value into a stop code name

External References

Name Field # of Occurrence
$$NUMDT^ACKQUTL BEGDT+6, ENDDT+7
$$CONVERT1^ACKQUTL4 PARAMS+42, PARAMS+53
^DIC PARAMS+39
LIST^DIC GETDIV+23
$$GET1^DIQ GETDIV+28
^DIR BEGDT+4, ENDDT+5, PARAMS+25, PARAMS+31

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Jumping not allowed.",!
  • Line Location: BEGDT+5
Function Call: WRITE
  • Prompt: !,"Jumping not allowed.",!
  • Line Location: ENDDT+6
Function Call: WRITE
  • Prompt: !,"End date cannot be before the Begin date.",!
  • Line Location: ENDDT+8
Routine Call
  • DIC
  • Line Location:
    • PARAMS+39
Routine Call
  • DIC
  • Line Location:
    • GETDIV+23
Routine Call
  • DIR
  • Line Location:
    • BEGDT+4
    • ENDDT+5
    • PARAMS+25
    • PARAMS+31

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DG(40.8 - [#40.8] GET1^DIQ
509850.83 LIST^DIC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ACK(509850.3 - [#509850.3] PARAMS+45, PARAMS+46

Label References

Name Line Occurrences
$$UP GETDIV+30
BEGDT BEGDT+5
ENDDT ENDDT+6, ENDDT+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACK GETDIV+17~, GETDIV+26*, GETDIV+27, GETDIV+29, GETDIV+30, GETDIV+31
ACKASB PARAMS+26*, STOPSORT~, STOPSORT+9, STOPSORT+10, STOPSORT+11, STOPSORT+12
>> ACKBD BEGDT+6*
>> ACKED ENDDT+7*
ACKMSG GETDIV+17~
ACKOPT GETDIV~, GETDIV+30, UP~, UP+1
ACKQHLP PARAMS+19~
ACKSCRN GETDIV+17~, GETDIV+21*, GETDIV+23
ACKSORT STOPNM~, STOPNM+1, STOPNM+2, STOPNM+3, STOPNM+4
>> ACKSS PARAMS+32*, PARAMS+35, PARAMS+36, PARAMS+44, PARAMS+48, PARAMS+49, PARAMS+50
ACKSTA GETDIV~, GETDIV+20*, GETDIV+21
ACKSTF PARAMS+33!
ACKSTF( PARAMS+42*, PARAMS+53*
ACKTGT GETDIV+17~
ACKTGT("DILIST" GETDIV+25, GETDIV+27
ACKTMPB BEGDT~, BEGDT+6*, ENDDT+8
ACKVSC STOPSORT~, STOPSORT+9, STOPSORT+10, STOPSORT+11, STOPSORT+12
>> ACKXBD BEGDT+6*
>> ACKXED ENDDT+7*
DIC PARAMS+19~, PARAMS+37*, PARAMS+39!
DIC("A" PARAMS+36*
DIC("S" PARAMS+38*
DIC(0 PARAMS+37*
DIR BEGDT+4!, ENDDT+5!, PARAMS+19~, PARAMS+25!, PARAMS+31!
DIR("?" BEGDT+2*, ENDDT+3*
DIR("??" BEGDT+3*, ENDDT+4*, PARAMS+24*, PARAMS+30*
DIR("A" BEGDT+1*, ENDDT+2*, PARAMS+23*, PARAMS+30*
DIR("B" PARAMS+23*
DIR(0 BEGDT+1*, ENDDT+1*, PARAMS+22*, PARAMS+29*
>> DIRUT BEGDT+6, ENDDT+7, PARAMS+25, PARAMS+31, PARAMS+35, PARAMS+39*
DIV GETDIV+17~, GETDIV+27*, GETDIV+28, GETDIV+29, GETDIV+31
DIVARR GETDIV~, GETDIV+18!, GETDIV+25*, GETDIV+26
DIVARR(1 GETDIV+29*
DIVARR(2 GETDIV+30*
DIVARR(3 GETDIV+31*
DIVNAME GETDIV+17~, GETDIV+28*, GETDIV+29, GETDIV+30
DT BEGDT+1
I PARAMS+19~, PARAMS+45*, PARAMS+46, PARAMS+53
SEQ GETDIV+17~, GETDIV+27*, GETDIV+29
U PARAMS+46, GETDIV+25, GETDIV+29
X PARAMS+19~, PARAMS+46*, PARAMS+47, PARAMS+48, PARAMS+49, PARAMS+50, UP~, UP+1, UP+2
Y BEGDT+5, BEGDT+6, ENDDT+6, ENDDT+7, ENDDT+8, PARAMS+19~, PARAMS+26, PARAMS+32, PARAMS+39, PARAMS+42
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