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

Package: PCC Medical Query

Routine: AMQQSQA0


Information

AMQQSQA0 ; IHS/CMI/THL - AMQQSQA SUBROUTINE...GETS ATTRIBUTE ;

Source Information

Source file <AMQQSQA0.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
PCC Medical Query 9 EN1^AMQQATAL  (EN1,EN2)^AMQQHEL2  (,EN1,ITEM)^AMQQHELP  SET^AMQQSQA1  ^AMQQSQAC  ^AMQQSQBP  ^AMQQSQL  ^AMQQSQP  
^AMQQSQVS  
VA Fileman 2 IX^DIC  ^DIR  
Kernel 1 EN1^XQH  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
PCC Medical Query 2 AMQQQ1  AMQQSQA  

Entry Points

Name Comments DBIA/ICR reference
SY
FUNQ
SCK ; ENTRY POINT FROM AMQQSQA
WHAT
S1
SCKEXIT
NOVM
EN1 ; ENTRY POINT FROM AMQQQ1
ADIC
TEMPLOOK
NOT
SPEC

External References

Name Field # of Occurrence
EN1^AMQQATAL SY+8
EN1^AMQQHEL2 FUNQ+15
EN2^AMQQHEL2 FUNQ+10
^AMQQHELP FUNQ+11
EN1^AMQQHELP FUNQ+9
ITEM^AMQQHELP TEMPLOOK
SET^AMQQSQA1 SCK+4
^AMQQSQAC ADIC+5
^AMQQSQBP SY+12
^AMQQSQL S1+15
^AMQQSQP SY
^AMQQSQVS SY+11
IX^DIC ADIC+6
^DIR WHAT+3
EN1^XQH FUNQ+12, FUNQ+13, FUNQ+14

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,AMQQSQQQ
  • Line Location: FUNQ+0
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: FUNQ+1
Function Call: WRITE
  • Prompt: !
  • Line Location: FUNQ+5
Function Call: WRITE
  • Prompt: !!,"Enter a specific VISIT characteristic like: LOCATION, CLINIC, PROVIDER etc.",!!
  • Line Location: EN1+2
Function Call: WRITE
  • Prompt: " ??",*7,!
  • Line Location: SY+5
Function Call: WRITE
  • Prompt: !,"OK, enter the logical condition to be applied to the attribue ""VALUE""...",!
  • Line Location: SY+6
Function Call: WRITE
  • Prompt: !,"Enter the specific name of the ",$P($P(Y,U,2),",")
  • Line Location: SY+7
Function Call: WRITE
  • Prompt: !!
  • Line Location: SY+7
Function Call: WRITE
  • Prompt: " (All values)"
  • Line Location: SPEC+0
Function Call: WRITE
  • Prompt: " (Null)"
  • Line Location: SPEC+1
Function Call: WRITE
  • Prompt: $E(%,$L(X)+1,99)
  • Line Location: SCK+2
Function Call: WRITE
  • Prompt: " = ",X
  • Line Location: S1+4
Function Call: WRITE
  • Prompt: " = ",X
  • Line Location: S1+5
Function Call: WRITE
  • Prompt: !!,"Sorry, """,$P(Y,U,2),""" should be entered as a new attribute of VISIT"
  • Line Location: NOVM+0
Function Call: WRITE
  • Prompt: !,"and not a subquery of """,AMQQATNM,""""
  • Line Location: NOVM+1
Function Call: WRITE
  • Prompt: !!,*7
  • Line Location: NOVM+2
Routine Call
  • DIR
  • Line Location:
    • WHAT+3
Routine Call
  • DIC
  • Line Location:
    • ADIC+6

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] SY+9
^AMQQ(5 - [#9009075] SY+1, SY+2, SY+7, SY+8, SY+9, SY+11, SY+12
^DIC(9.2 - [#9.2] FUNQ+12, FUNQ+13, FUNQ+14
^UTILITY("AMQQ" SY+10*, S1+7, S1+11*, S1+13*

Label References

Name Line Occurrences
FUNQ FUNQ+5, FUNQ+9, FUNQ+10, FUNQ+11, FUNQ+12, FUNQ+13, FUNQ+14, FUNQ+15, TEMPLOOK, EN1+1
, EN1+2, SY, SY+1, SY+5, SY+6, SY+7, SY+8, SY+11, SY+12
NOT EN1+1
NOVM SY+1
S1 SCK+2
SCKEXIT SCK+2, SCK+3, SCK+4
SPEC SY+3
WHAT FUNQ+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % SY+9*, SY+10*, NOT+2*, NOT+3, SCK+2*, SCK+3*
%A FUNQ+12~, FUNQ+13~, FUNQ+14~
%B FUNQ+12~, FUNQ+13~, FUNQ+14~
>> AMQQATNM NOVM+1
>> AMQQCCLS TEMPLOOK, SY+1
>> AMQQCNAM WHAT
>> AMQQCOMP SCKEXIT, S1+2*, S1+3, S1+7*, S1+8
>> AMQQDISV SY+12*
>> AMQQFAIL SY+4*
>> AMQQFSQN S1+11, S1+12
>> AMQQFSQX S1+12*
>> AMQQGVF FUNQ+11
>> AMQQLCOF FUNQ+3*
>> AMQQNECO ADIC+4
>> AMQQNMAS S1+6
AMQQNOL SY+8!
>> AMQQONE WHAT
>> AMQQQUIT FUNQ+8*, SY, SY+11, SY+12
>> AMQQRECV SCKEXIT*
>> AMQQSQAA S1+13
>> AMQQSQAN WHAT
>> AMQQSQCF FUNQ+14
>> AMQQSQCV SY+11, SY+12, S1+7*, S1+8*
>> AMQQSQDV FUNQ+10
>> AMQQSQFN FUNQ+4, FUNQ+6, SY+2*, S1+3
>> AMQQSQGF S1+13
>> AMQQSQNN S1+7, S1+10*, S1+11, S1+13
AMQQSQNT SY+2!, SY+5!, SY+8!, NOT*, NOT+1*, NOT+3*, S1+4!, S1+5!
>> AMQQSQQQ FUNQ
>> AMQQSQQT FUNQ+7*, S1+2*, S1+7*, S1+9*
>> AMQQSQRD SY+9*
>> AMQQSQSN FUNQ+9, FUNQ+11
>> AMQQSQST FUNQ+4, FUNQ+6, SY+2, SY+11, SY+12, SCK+3, SCK+4, S1+2
AMQQSQZL SY+10!
AMQQSVAL FUNQ+2!, TEMPLOOK+1*, TEMPLOOK+2*, SCK+3*
>> AMQQUSQL S1+13
>> AMQQXX ADIC+4, SY+1, SY+4, S1+15
>> AMQQYYMI S1+14
>> AMQQYYMS S1+14*
>> AMQQZSQL SY+10
>> D ADIC+2*
DIC ADIC*, ADIC+7!
DIC("S" ADIC+3*
DIC(0 ADIC+1*, ADIC+4*
DIR WHAT+4!
DIR("?" WHAT+2*
DIR("A" WHAT+1*
DIR("B" WHAT+2*
DIR(0 WHAT*
DIRUT WHAT+5!
DTIME FUNQ+1
DTOUT WHAT+5!
>> DUOUT WHAT+5
>> I SCK+2*, SCK+3*, S1
U FUNQ+1, FUNQ+8, SY+1, SY+2, SY+6, SY+7, SY+8, SY+9, SY+10, SY+11
, SY+12, SCK+3, SCKEXIT, NOVM
>> X FUNQ+1*, FUNQ+3*, FUNQ+4, FUNQ+5, FUNQ+6*, FUNQ+7, FUNQ+8, FUNQ+9*, FUNQ+10, FUNQ+11*
, FUNQ+12, FUNQ+13, FUNQ+14, FUNQ+15, TEMPLOOK, TEMPLOOK+1*, TEMPLOOK+2*, EN1+1, EN1+2, SY+2*
, NOT*, NOT+1*, NOT+2, NOT+3*, SPEC, SPEC+1, SCK+2*, SCK+3, SCK+4, S1*
, S1+2, S1+3, S1+4*, S1+5*, S1+6, S1+7, S1+11, S1+12, S1+13, WHAT+5*
, WHAT+6*
>> XQH FUNQ+12*, FUNQ+13*, FUNQ+14*
Y SY, SY+1, SY+2*, SY+3, SY+4, SY+5, SY+6, SY+7, SY+8*, SY+9
, SY+10, SY+11, SY+12, SCK+3*, S1+1!, S1+3*, S1+6*, NOVM, WHAT+6
>> Z SCK+1*, SCK+2, SCK+3*
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