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

Package: PCC Medical Query

Routine: AMQQAV0


Information

AMQQAV0 ;IHS/CMI/THL - SUBROUTINE FOR AGE, DATE, SET, NUMBER AND LOOKUP;

Source Information

Source file <AMQQAV0.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
PCC Medical Query 2 (ACA,ANY)^AMQQAC  ALIVE^AMQQAV  
IHS Patient 1 ($$CONVDAYS,INP)^AUPNCIX  
VA Fileman 1 ^%DT  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
PCC Medical Query 2 AMQQAV  AMQQSQBP  

Entry Points

Name Comments DBIA/ICR reference
COMPA1
COMPA2
COMPSR
S1
COMPSA
CN2
COMPN21
A2
COMPA21
N21
GETAGE
CN
D21
COMPN1
COMPN2
COMPSXX
N2
N
COMPD2
A21
COMPA ; ENTRY POINT FROM AMQQAV
COMPD ; ENTRY POINT FROM AMQQAV
COMPD21
COMPN ; ENTRY POINT FROM AMQQAV
DAYS ;EP;
COMPD29
COMPS ;ENTRY POINT FROM AMQQAV
D2
SPEC

External References

Name Field # of Occurrence
^%DT COMPD+7, COMPD2+5, COMPD29+3, COMPD21+4, D2+1
ACA^AMQQAC COMPSR+3
ANY^AMQQAC S1+3
ALIVE^AMQQAV COMPD+1
$$CONVDAYS^AUPNCIX DAYS+12
INP^AUPNCIX DAYS+9

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Timeout: DTIME
  • Line Location: GETAGE+0
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: COMPA1+6
Function Call: READ
  • Timeout: DTIME
  • Line Location: COMPA2+1
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: COMPA21+2
Function Call: READ
  • Timeout: DTIME
  • Line Location: A2+0
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: A21+3
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: A21+4
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: D21+4
Function Call: READ
  • Timeout: DTIME
  • Line Location: COMPSR+0
Function Call: WRITE
  • Prompt: !,"CHOOSE FROM: "
  • Line Location: COMPSR+2
Function Call: WRITE
  • Prompt: !,?7,$P(A,":"),?15,$P(A,":",2)
  • Line Location: COMPSR+2
Function Call: WRITE
  • Prompt: !!
  • Line Location: COMPSR+4
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: COMPSA+14
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: COMPN+4
Function Call: WRITE
  • Prompt: !,?(5*$D(AMQQZNM)),"Value: "
  • Line Location: COMPN+4
Function Call: WRITE
  • Prompt: !!,"Enter a number to be used as the comparison value.",!!
  • Line Location: COMPN+5
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: COMPN+8
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: COMPN1+4
Function Call: READ
  • Timeout: DTIME
  • Line Location: COMPN2+1
Function Call: WRITE
  • Prompt: !,"Enter a number",!!!
  • Line Location: COMPN21+2
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: COMPN21+3
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: COMPN21+4
Function Call: READ
  • Timeout: DTIME
  • Line Location: N2+0
Function Call: WRITE
  • Prompt: !,"Enter a number",!!!
  • Line Location: N21+1
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: N21+3
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: N21+4
Function Call: WRITE
  • Prompt: " (List all values)"
  • Line Location: SPEC+0
Function Call: WRITE
  • Prompt: $E(%,$L(X)+1,99)
  • Line Location: SPEC+3
Function Call: WRITE
  • Prompt: !!,"Enter the number of 'D'ays, 'W'eeks, 'M'onths or 'Y'ears in the format:"
  • Line Location: DAYS+3
Function Call: WRITE
  • Prompt: !?5,"4D for 4 days, or 3M for 3 months, etc.,"
  • Line Location: DAYS+4
Function Call: WRITE
  • Prompt: !?5,"to use in the ",AMQQATNM,$S(AMQQATNM["STA":" on or after",1:" on or before")," query."
  • Line Location: DAYS+5
Function Call: WRITE
  • Prompt: !!,?(5*$D(AMQQZNM)),"Value: "
  • Line Location: DAYS+6
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: DAYS+7
Function Call: WRITE
  • Prompt: !
  • Line Location: DAYS+11

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMQQ(1 - [#9009071] COMPS+2, COMPS+3, COMPSA+7
^DD( COMPS+6
^UTILITY("AMQQ TAX" COMPSA+2*, COMPSA+3*

Label References

Name Line Occurrences
A2 COMPA21, A21+3, A21+4
A21 COMPA21+4
CN COMPN+8
CN2 N21+3
COMPA1 COMPA+2
COMPA2 COMPA+1, COMPA21+2
COMPD2 COMPD+2, D21+4
COMPD21 COMPD2+6
COMPD29 COMPD2
COMPN COMPN+5, COMPN+8, COMPN1+5
COMPN1 COMPN+2
COMPN2 COMPN+1, COMPN21+2, COMPN21+3, COMPN21+4, N21+4
COMPN21 COMPA2, COMPN2
COMPS COMPSR+2
COMPSA COMPSXX, COMPSXX+1
COMPSR COMPSA+15
COMPSXX COMPS+3
D2 COMPD21+1
D21 COMPD21+4
DAYS COMPN+3
GETAGE COMPA1+7
N COMPN21+3
N2 N21+1, N21+3
N21 N+1
S1 SPEC+3
SPEC COMPA1+3, COMPSA+11, COMPN1+1

Naked Globals

Name Field # of Occurrence
^(1 COMPSA+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % COMPS+3*, SPEC+3*
>> %DT COMPD+3*, COMPD+5*, COMPD+6*, COMPD2+4*, COMPD29*, COMPD29+2*, COMPD21+4*
>> %DT("A" COMPD+4*, COMPD+6!, COMPD29+1*, D2*
>> A COMPSR+2*, COMPSA+4*, COMPSA+5*, COMPSA+6, COMPSA+8, COMPSA+9*
>> AMQQADAM COMPD+5, COMPD29+2
>> AMQQATNM COMPD+1, DAYS+5
>> AMQQCCHK COMPN+8, COMPN21+3, N21+3
AMQQCOMP COMPA1+2*, COMPA1+4, COMPA21*, COMPA21+3*, A21!, A21+4, A21+5*, A21+6*, COMPD+10*, COMPD+12*
, COMPD21+1*, COMPD21+3*, D21+1*, D21+4, D21+6*, COMPSA!, COMPSA+7*, COMPSA+9*, COMPSA+10, COMPSA+12
, COMPN1*, COMPN1+2, CN*, COMPN21*, N*, N21*, N21+4, CN2*, SPEC+1!, S1+5*
AMQQCOND COMPSR+4!
>> AMQQLINK COMPS+2, COMPS+3, COMPSA+1, COMPSA+7, COMPN+3, S1+5
>> AMQQMULT S1
>> AMQQNOCO COMPA+1, COMPD+2, COMPN+1
>> AMQQNVAL COMPSXX+1
>> AMQQQUIT GETAGE*, COMPA1+1*, COMPA2+1*, COMPA21+1*, A2*, A21+2*, COMPD+8*, COMPD+9*, COMPD+13*, COMPD21*
, COMPD21+2*, D21*, D21+3*, COMPSR*, COMPSR+1*, COMPN+4*, COMPN+6*, COMPN2+1*, COMPN21+1*, N2*
, N21+2*, DAYS+7*, DAYS+8*
AMQQSSS COMPS+1~, COMPS+3*, COMPS+6*, COMPSR+2, COMPSA+3, COMPSA+5, COMPSA+8, COMPSA+9
>> AMQQSYMB COMPD+10, COMPD+11, S1+4*
>> AMQQXX COMPA+2, COMPA1+5, COMPA2, COMPA21+4, COMPD+6, COMPD2, COMPD21+4, COMPSXX, COMPSXX+1, COMPSA+8
, COMPSA+9, COMPSA+13, COMPN+2, COMPN1+3, COMPN2, N+1
>> AMQQXXVV COMPSXX
>> AMQQZNM COMPN+4, DAYS+6
>> B COMPSA+9*
>> C COMPSA+9*
DT D21+1
DTIME GETAGE, COMPA2+1, A2, COMPSR, COMPN+4, COMPN2+1, N2, DAYS+7
DTOUT COMPD+8!, COMPD21!, D21!
I COMPSR+2*, COMPSA+3~*, COMPSA+9*, SPEC+3*, S1+1*, S1+2
J COMPSA+3~*
U COMPA1+1, COMPA21+1, A21+2, COMPD+9, COMPD+13, COMPD21+2, D21+3, COMPS+2, COMPS+6, COMPSR+1
, COMPN+6, COMPN21+1, N21+2, DAYS+8
>> X GETAGE*, COMPA1, COMPA1+1, COMPA1+2, COMPA2*, COMPA2+1*, COMPA21, COMPA21+1, COMPA21+2, COMPA21+3
, COMPA21+4*, A2*, A21, A21+1, A21+2, A21+3, A21+4, A21+6, COMPD+9*, COMPD+13
, COMPD2+2, COMPD2+3*, COMPD21+1, COMPD21+2, COMPD21+4*, D21+1, D21+2, D21+3, COMPS+2*, COMPS+3
, COMPS+4, COMPS+5, COMPSXX*, COMPSXX+1*, COMPSR*, COMPSR+1, COMPSR+2, COMPSR+3, COMPSR+4, COMPSA+2
, COMPSA+3, COMPSA+4, COMPSA+7, COMPSA+9, COMPN+4*, COMPN+5, COMPN+6, COMPN+7, COMPN+8, COMPN1
, CN, COMPN2*, COMPN2+1*, COMPN21, COMPN21+1, COMPN21+2, COMPN21+3, COMPN21+4, N, N+1*
, N2*, N21, N21+1, N21+2, N21+3, N21+4, CN2, SPEC*, SPEC+3*, S1+1
, S1+2*, S1+3, S1+5, DAYS+7*, DAYS+8, DAYS+10*, DAYS+12*, DAYS+13*
>> Y COMPD+10, COMPD+11*, COMPD+12, COMPD21+3, D21+4, D21+5*, D21+6, COMPS+4*, COMPS+6
Z COMPA2~*, COMPA21+4, COMPD2+1~, COMPD2+2*, COMPD21+4, COMPS+5*, COMPS+6, COMPN2~*, N+1, SPEC+2*
, SPEC+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All