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

Package: PCC Medical Query

Routine: AMQQAC


Information

AMQQAC ; IHS/CMI/THL - GETS CONDITIONS ; [ 07/26/2011 3:56 PM ]

Source Information

Source file <AMQQAC.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
PCC Medical Query 2 ^AMQQAC1  ^AMQQHELP  
Kernel 1 EN1^XQH  
VA Fileman 1 IX^DIC  

Caller Graph

Caller Graph Total: 8

Package Total Caller Graph
PCC Medical Query 8 AMQQAT  AMQQAV0  AMQQQ0  AMQQQ1  AMQQQ2  AMQQSQA1  AMQQSQUP  AMQQTXG  

Entry Points

Name Comments DBIA/ICR reference
STARSTOP ;SET CONDITION FOR FORMULA/SOLIDS STARTED AND BREAST STOPPED ATTRIBUTES
ACA ; ENTRY POINT FROM AMQQAV0 AND THE AMQQTAX* ROUTINES
SET
CONDP
ACAA
AUTO ; ENTRY POINT FROM AMQQQ
S1
DNOT
NOTX
CONDIC ; ENTRY POINT FROM AMQQ1
ANY ; ENTRY POINT FROM AMQQAV0
EN1 ; ENTRY POINT FROM AMQQQ2
NOT
COND
ACAR
Y
GETCOND ; ENTRY POINT FORM AMQQSQA1
SPEC

External References

Name Field # of Occurrence
^AMQQAC1 CONDP, S1+5
^AMQQHELP GETCOND+20
IX^DIC CONDIC+7
EN1^XQH GETCOND+21

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: Y+1
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: Y+2
Function Call: WRITE
  • Prompt: !,"Condition: "
  • Line Location: GETCOND+12
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: GETCOND+14
Function Call: WRITE
  • Prompt: !!
  • Line Location: GETCOND+19
Function Call: WRITE
  • Prompt: " (List all values)"
  • Line Location: SPEC+0
Function Call: WRITE
  • Prompt: $E(%,$L(X)+1,99)
  • Line Location: SPEC+2
Function Call: WRITE
  • Prompt: !!,"Since you did not specify a condition, select one of the following =>",!
  • Line Location: ACA+4
Function Call: WRITE
  • Prompt: !,?5,"1) Whoops...Let me try again"
  • Line Location: ACA+5
Function Call: WRITE
  • Prompt: !,?5,"2) List every ",AMQQATNM
  • Line Location: ACA+6
Function Call: WRITE
  • Prompt: !,?5,"3) List any ",AMQQATNM," including 'NULL'"
  • Line Location: ACA+7
Function Call: WRITE
  • Prompt: !,?5,"4) Exit",!
  • Line Location: ACA+8
Function Call: READ
  • Prompt: "YOUR CHOICE (1-4): 1// "
  • Formatting: !
  • Timeout: DTIME
  • Variable: X
  • Line Location: ACAR+0
Function Call: WRITE
  • Prompt: !!,"Enter a number from 1 to 4 or '^' to exit",!!
  • Line Location: ACAR+3
Function Call: WRITE
  • Prompt: " (1)"
  • Line Location: ACAR+4
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: ACAR+6
Function Call: WRITE
  • Prompt: !,"CHOOSE FROM: "
  • Line Location: SET+5
Function Call: WRITE
  • Prompt: !,?7,$P(A,":"),?15,$P(A,":",2)
  • Line Location: SET+6
Routine Call
  • DIC
  • Line Location:
    • CONDIC+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(1 - [#9009071] Y+2, SET+1
^AMQQ(4 - [#9009074] GETCOND+20, CONDIC+3
^AMQQ(5 - [#9009075] EN1+2, EN1+4
^DD( SET+4
^DIC(9.2 - [#9.2] GETCOND+21
^UTILITY("AMQQ" ANY+3*, ANY+4*, ANY+6*

Label References

Name Line Occurrences
ACA GETCOND+18
ACAA ACAR+5
ACAR ACAR+3, ACAR+6
AUTO GETCOND+2
COND Y+1, Y+2
CONDIC GETCOND+5, GETCOND+6
GETCOND COND+1, GETCOND+18, GETCOND+20, GETCOND+21
NOT AUTO+1
NOTX NOT+1
S1 GETCOND+1, SPEC+2
SET GETCOND+6
SPEC Y
STARSTOP GETCOND+10, GETCOND+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% Y+2*, GETCOND+4*, GETCOND+5*, SPEC+2*, SET~, SET+4*, SET+6, NOTX+2*, NOTX+3
%A GETCOND+21~
%B GETCOND+21~
A SET~, SET+6*
>> AMQQANYF ANY+8*
>> AMQQATN GETCOND+1, GETCOND+2, GETCOND+4
>> AMQQATNM CONDP+1, CONDP+2, CONDP+3, S1+4, ANY+3, ANY+5, ACA+2, ACA+3, ACA+6, ACA+7
>> AMQQCOMP S1+3*
AMQQCOND CONDP+1*, CONDP+2*, CONDP+3*, EN1+1*, GETCOND+19!
>> AMQQCONM CONDP+1*, CONDP+2*, CONDP+3*, EN1+3*
AMQQDICB GETCOND+7*, GETCOND+8*, GETCOND+13, GETCOND+16, GETCOND+17!
>> AMQQEXST S1+4*
AMQQFIFL GETCOND+7, GETCOND+8, GETCOND+17!
>> AMQQFTYP GETCOND+1*, GETCOND+6, GETCOND+7, GETCOND+8, GETCOND+20, CONDIC+3, CONDIC+5, S1+4, ANY+5
>> AMQQILIN ANY+2*, ANY+3
>> AMQQLINK Y+2, GETCOND+10, GETCOND+11, STARSTOP+1, STARSTOP+2, STARSTOP+3, S1+4, ANY+5, SET+1
>> AMQQMULT S1
>> AMQQNATF GETCOND+3
>> AMQQNOCO CONDP+1*, CONDP+2*, CONDP+3*, EN1+2*
AMQQNOT CONDP+1*, Y+2, GETCOND+9!, S1+1!
>> AMQQONE CONDP, ACA+3
>> AMQQQ S1+4*, ANY+5*, ANY+6
>> AMQQQUIT GETCOND+15*, ACAR+1*, ACAR+2*
AMQQSQRD CONDIC+6, CONDIC+9!
>> AMQQSQTP GETCOND+7, ACA+1
AMQQSVAL COND!, GETCOND+22*
>> AMQQSVFL S1+5*
>> AMQQSYMB CONDP+1*, CONDP+2*, CONDP+3*, EN1+4*
>> AMQQUATN CONDP*, S1+5*, ANY+4, ANY+6, ANY+7*
>> AMQQXX CONDIC+5
>> D CONDIC+4*
DIC CONDIC+1*, CONDIC+8!
DIC("S" CONDIC+3*, CONDIC+6*
DIC(0 CONDIC+2*, CONDIC+5*
DTIME GETCOND+14, ACAR
I GETCOND+1*, SPEC+2*, S1+1*, S1+2, S1+4, S1+5, SET~, SET+6*
U COND+2, Y+2, EN1+2, EN1+3, EN1+4, GETCOND+5, GETCOND+14, GETCOND+15, S1+4, ANY+5
, ACA+3, ACAR, ACAR+1, ACAA, SET+1, SET+4
>> X COND+2, GETCOND+2*, GETCOND+14*, GETCOND+15, GETCOND+16*, GETCOND+18, GETCOND+19, GETCOND+20*, GETCOND+21, GETCOND+22*
, AUTO+1, STARSTOP+1*, STARSTOP+2*, STARSTOP+3*, SPEC*, SPEC+2*, S1+2*, S1+3, S1+4, ACA+1*
, ACA+2*, ACA+3*, ACAR*, ACAR+1*, ACAR+2, ACAR+3, ACAR+4*, ACAR+5, ACAA*, SET+1*
, SET+2, SET+3, SET+7*, NOTX*, NOTX+1*, NOTX+2, NOTX+3*
>> XQH GETCOND+21*
Y COND+2!, Y, Y+1, Y+2*, EN1+1, EN1+2, EN1+3, EN1+4, GETCOND+1*, GETCOND+3*
, CONDIC+9, STARSTOP+1*, STARSTOP+2*, STARSTOP+3*, S1+4!, S1+5!, ANY+1*, ANY+3, ANY+9!, SET~
, SET+2*, SET+4, NOT*, DNOT*, NOTX, NOTX+1, NOTX+3
Z SPEC+1*, SPEC+2, SET~, SET+3*, SET+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 |  Local Variables |  All