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

Package: Incident Reporting

Routine: QANDBXX


Information

QANDBXX ;GJC/HISC-Database Checker ;4/1/92

Source Information

Source file <QANDBXX.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Kernel 3 (,HOME)^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 2 YX^%DTC  ^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
Incident Reporting 1 QAN DBASE INTEGRITY CHECKER  

Entry Points

Name Comments DBIA/ICR reference
DEV ;Select Device
START
EXIT ;Exit
KILL ;Kill and quit
CASE ;Case Number information
PAT ;Patient Information
HDH ;Header Prompt
HDR ;Header

External References

Name Field # of Occurrence
YX^%DTC HDR+2
^%ZIS DEV+1
HOME^%ZIS EXIT+1
^%ZISC EXIT+1
^%ZTLOAD DEV+3
^DIR HDH+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !,$S($D(ZTSK):"Request Queued.",1:"Request Cancelled."),!
  • Line Location: DEV+3
Function Call: WRITE
  • Prompt: !
  • Line Location: EXIT+1
Function Call: WRITE
  • Prompt: !,"Incident Record Number: ",QA," does NOT have data associated with the record!"
  • Line Location: CASE+3
Function Call: WRITE
  • Prompt: !,"Incident Record Number: ",QA," does NOT have a Case Number associated with the",!,"record!"
  • Line Location: CASE+4
Function Call: WRITE
  • Prompt: !,"Incident Record Number: ",QA," does NOT have a Incident associated with the record!"
  • Line Location: CASE+5
Function Call: WRITE
  • Prompt: !,"Incident Record Number: ",QA," does NOT have a Incident Date associated with the",!,"record!"
  • Line Location: CASE+6
Function Call: WRITE
  • Prompt: !,"Patient Record Number: ",QB," does NOT have data associated with the record!"
  • Line Location: PAT+2
Function Call: WRITE
  • Prompt: !,"'ACN' x-ref missing for Patient Record: ",QB," Incident Record: ",QA
  • Line Location: PAT+3
Function Call: WRITE
  • Prompt: !,"Patient Record Number: ",QA," does NOT have a Patient associated with the record!"
  • Line Location: PAT+5
Function Call: WRITE
  • Prompt: !,"Patient Record Number: ",QA," does NOT have a Patient ID associated with the record!"
  • Line Location: PAT+6
Function Call: WRITE
  • Prompt: !,"Patient Record Number: ",QA," does NOT have a Incident associated with the record!"
  • Line Location: PAT+7
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: ?69,"Page: ",QANPG,!?58,TODAY,!!
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: ?(IOM-$L(QANHD1)\2),QANHD1,!?(IOM-$L(QANHD2)\2),QANHD2,!!
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: QANLINE,!
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !
  • Line Location: HDR+6
Routine Call
  • DIR
  • Line Location:
    • HDH+1
Routine Call
  • %ZIS
  • Line Location:
    • DEV+1
Routine Call
  • %ZIS
  • Line Location:
    • EXIT+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^QA(742 - [#742] START+1, CASE+7, PAT+1
^QA(742.4 - [#742.4] CASE+1, PAT+3

Label References

Name Line Occurrences
CASE START+1
EXIT DEV+3
HDH CASE+3, CASE+4, CASE+5, CASE+6, PAT+2, PAT+3, PAT+5, PAT+6, PAT+7
HDR START
KILL DEV+2
PAT CASE+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%H KILL+1!, HDR+2*
%ZIS DEV+1!*, KILL+1!
%ZIS("A" DEV+1*
D KILL+2!
DIR HDH+1!
DIR(0 HDH+1*
IO START
IO("Q" DEV+3
IOF HDR+1
IOM START+2, HDR+4
IOP DEV+1!
IOSL CASE+3, CASE+4, CASE+5, CASE+6, PAT+2, PAT+3, PAT+5, PAT+6, PAT+7
IOST HDH+1
IZ KILL+1!, HDR+5*
POP DEV+2, KILL+1!
QA START+1*, KILL+2!, CASE+1, CASE+3, CASE+4, CASE+5, CASE+6, CASE+7, PAT+3, PAT+5
PAT+6, PAT+7
QAN742 KILL+2!, PAT+1*, PAT+2, PAT+4
QAN7424 KILL+2!, CASE+1*, CASE+2, CASE+3
QANCS KILL+2!
QANCS(1 CASE+2*, CASE+4
QANCS(2 CASE+2*, CASE+5
QANCS(3 CASE+2*, CASE+6
QANCS(4 PAT+4*, PAT+5
QANCS(5 PAT+4*, PAT+6
QANCS(6 PAT+4*, PAT+7
QANFLG QANDBXX+3*, START+2, KILL+1!, PAT+3*, PAT+5*, PAT+6*, PAT+7*
QANHD1 QANDBXX+4*, KILL+1!, HDR+4
QANHD2 QANDBXX+5*, KILL+1!, HDR+4
QANHD3 QANDBXX+6*, START+2, KILL+1!
QANLINE QANDBXX+7*, KILL+1!, HDR+5
QANPG QANDBXX+3*, KILL+1!, HDR+2*, HDR+3
QANXIT QANDBXX+3*, START+1, KILL+1!, CASE+3, CASE+4, CASE+5, CASE+6, CASE+7, PAT+2, PAT+3
PAT+5, PAT+6, PAT+7, HDH+1*
QB KILL+2!, CASE+7*, PAT+1, PAT+2, PAT+3
TODAY KILL+2!, HDR+2*, HDR+3
U CASE+2, PAT+4
X KILL+2!
Y KILL+2!, HDH+1, HDR+2
ZTDESC DEV+3*, KILL+2!
ZTRTN DEV+3*, KILL+2!
ZTSAVE KILL+2!
ZTSAVE("QAN*" DEV+3*
ZTSK DEV+3, KILL+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All