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

Package: PCC Medical Query

Routine: AMQQ1


Information

AMQQ1 ; IHS/CMI/THL - AMQQ SUBROUTINE...GETS GOAL OF QUERY; ; 26 Oct 2010 9:07 AM

Source Information

Source file <AMQQ1.m>

Call Graph

Call Graph Total: 13

Package Total Call Graph
PCC Medical Query 9 LIST^AMQQ  ^AMQQ2  QAPT^AMQQAPT  ^AMQQATL  ^AMQQATR  ^AMQQATS  LISTG^AMQQHELP  ^AMQQN  
^AMQQREG  
VA Fileman 3 ^%DT  IX^DIC  DQ^DICQ  
Kernel 1 EN1^XQH  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
PCC Medical Query 5 AMQQ  AMQQATA  AMQQN1  AMQQQ  AMQQQ2  

Entry Points

Name Comments DBIA/ICR reference
SCR1 ; ENTRY POINT FROM AMQQATA
GOAL
G1
SCRIPT ; ENTRY POINT FROM AMQQATA
SETNG
AUTO ; ENTRY POINT FROM AMQQQ
PERSON ; ENTRY POINT FROM AMQQN1 THE NATURAL LANGUAGE ROUTINE
AUTO1 ; ENTRY POINT FOR DFN SUBJECT
EXIT
SWAP
N1
SCRDT
NEW ; ENTRY POINT FROM AMQQN1
LISTG
SCRDT1

External References

Name Field # of Occurrence
^%DT SCRDT1+2, SCRDT1+5
LIST^AMQQ PERSON+15, SCR1+4
^AMQQ2 G1+18
QAPT^AMQQAPT G1+16
^AMQQATL SCR1+2
^AMQQATR SCR1+2
^AMQQATS SCR1+2
LISTG^AMQQHELP G1+7
^AMQQN G1+3, G1+4
^AMQQREG N1+4
IX^DIC AUTO+7
DQ^DICQ LISTG+4
EN1^XQH G1+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$S(AMQQOPT="FAST":"Tell me what you want: ",1:"What is the subject of your search? LIVING PATIENTS // ")
  • Line Location: G1+0
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: G1+1
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: G1+2
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: G1+11
Function Call: WRITE
  • Prompt: !!
  • Line Location: G1+12
Function Call: WRITE
  • Prompt: !!
  • Line Location: G1+16
Function Call: WRITE
  • Prompt: !!,"You will now enter criteria for conducting a search on a preexisting cohort"
  • Line Location: SWAP+8
Function Call: WRITE
  • Prompt: !,"of patients."
  • Line Location: SWAP+9
Function Call: WRITE
  • Prompt: !!
  • Line Location: SWAP+10
Routine Call
  • DIC
  • Line Location:
    • AUTO+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AMQQ(5 - [#9009075] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMQQ(5 - [#9009075] G1+16, NEW+1, N1+1, SCRIPT+2, SCR1+2
^DIC(9.2 - [#9.2] G1+9
^UTILITY("AMQQ" PERSON+5*, PERSON+8*, PERSON+9*, SETNG*, SWAP+4*, SWAP+5*, SWAP+7*

Label References

Name Line Occurrences
AUTO G1+13
EXIT G1+3, G1+4, G1+8
GOAL G1+2, G1+7, G1+9, G1+11, AUTO1+2
N1 SCRIPT+2
NEW G1+17, PERSON+12
PERSON AUTO1+3
SCRDT SCR1+2
SCRDT1 SCRDT+3
SCRIPT NEW+1
SETNG N1+9
SWAP GOAL+1

Naked Globals

Name Field # of Occurrence
^( SCR1+2
^(0 SCRIPT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% EXIT!, LISTG+5!, N1+8*, N1+9*, N1+10*, SETNG, SCRDT~*, SCRDT+1, SCRDT+2, SWAP+6*
, SWAP+7
%A G1+9~
%B G1+9~
%H LISTG+5!
A SCRDT~, SCRDT+4*, SCRDT+5, SCRDT1*, SCRDT1+2*
AMQQATN NEW+1*, SCRIPT+2, SCR1+2, SCR1+3!
>> AMQQCCLS NEW+1*, N1+1*, SWAP*
>> AMQQCNAM N1*, N1+2, N1+4, SWAP+1*
>> AMQQEN31 GOAL+1, SWAP+6
AMQQFAIL AUTO1+2!
AMQQI SCR1+1*, SCR1+2*, SCR1+3!
>> AMQQILIN PERSON+14*, N1+5*, SWAP+3*
AMQQLLLL G1+15~*, G1+16*
>> AMQQNECO AUTO+5
>> AMQQONE PERSON+10*, N1+7
>> AMQQOPT GOAL*, G1, G1+4, G1+5
>> AMQQQ PERSON+4*, PERSON+5, SCR1+2*, SCRDT, SCRDT+5*
>> AMQQQSTG G1+3*, G1+4*
>> AMQQQUIT G1+1*, G1+3*, G1+4*, G1+8*
>> AMQQRSAF N1+2*
>> AMQQUATN PERSON+6*, SCR1+2*, SWAP+2*
>> AMQQUNBC PERSON+7*, SCR1+2*
AMQQXX G1+3!, G1+4!, AUTO+6, PERSON+8, PERSON+13, N1+3
B SCRDT~, SCRDT+4, SCRDT1+1*, SCRDT1+6*
D AUTO+4*, LISTG+2*, LISTG+5!
DD LISTG+5!
DIC AUTO+2*, AUTO+8!, LISTG*, LISTG+5!
DIC("S" AUTO+3*
DIC(0 AUTO+1*, AUTO+5*, AUTO+6*, LISTG+1*
DIX LISTG+5!
DIY LISTG+5!
DO LISTG+5!
DTIME G1+1
DZ LISTG+3*, LISTG+5!
I EXIT!
U G1+5, G1+8, G1+16, PERSON+1, PERSON+2, NEW+1, N1, N1+1, SCR1+2, SCRDT
, SCRDT+5
X G1+1*, G1+2, G1+3, G1+4, G1+5*, G1+6*, G1+7, G1+8, G1+9, G1+10*
, G1+11, AUTO1+1~, EXIT!, LISTG+5!, PERSON+1*, PERSON+4, N1+1*, N1+6*, N1+7*, N1+9
, N1+10, SCRIPT+2*, SCRDT~, SCRDT1+2*, SCRDT1+4*
>> XQH G1+9*
Y G1+14, G1+16*, LISTG+5!, PERSON+1, PERSON+2*, PERSON+3*, PERSON+4, PERSON+8, PERSON+10, PERSON+11*
, NEW+1, N1, N1+1, SCRDT~, SCRDT+2*, SCRDT1, SCRDT1+2, SCRDT1+6
Z SCRIPT+1*, SCRIPT+2*, SCR1+1, SCR1+3!, SCRDT~, SCRDT+2*, SCRDT1+1, SCRDT1+3, SCRDT1+4
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 |  Naked Globals |  Local Variables |  All