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

Package: Mental Health Social Services

Routine: AMHRPT1


Information

AMHRPT1 ; IHS/CMI/LAB - SELECTION OF ITEMS FOR REPORTS ;

Source Information

Source file <AMHRPT1.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA Fileman 4 DD^%DT  C^%DTC  ^DIC  ^DIR  
Mental Health Social Services 1 (N,Y)^AMHRPT0  
PCC Medical Query 1 PEP^AMQQGTX0  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Mental Health Social Services 1 AMHRPT  

Entry Points

Name Comments DBIA/ICR reference
BD ;get beginning date
D ;DATE RANGE
F ;FREE TEXT RANGE
ED ;get ending date
PSELECT ;EP
Q ;EP
R ;EP
SPECIAL ;
Y ;
N ;
SELECT ;EP

External References

Name Field # of Occurrence
DD^%DT ED+1
C^%DTC ED+4
N^AMHRPT0 N+1
Y^AMHRPT0 Y+1
PEP^AMQQGTX0 Q+4
^DIC Q+2
^DIR PSELECT+2, R+1, BD+1, ED+1, F+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: "OOPS - QMAN NOT CURRENT - QUITTING"
  • Line Location: Q+2
Function Call: WRITE
  • Prompt: !!,$C(7),"** No ",$P(^AMHSORT(AMHCRIT,0),U)," selected, all will be included."
  • Line Location: Q+5
Function Call: WRITE
  • Prompt: !
  • Line Location: BD+1
Function Call: WRITE
  • Prompt: !
  • Line Location: ED+1
Function Call: WRITE
  • Prompt: !!,"No range entered. All ",AMHTEXT," will be included."
  • Line Location: F+3
Function Call: WRITE
  • Prompt: !!
  • Line Location: F+4
Function Call: WRITE
  • Prompt: !!,$C(7),$C(7),"Enter an free text range in the format AAA:AAA. E.g. 94-01:94-200,CA:CZ, A:Z."
  • Line Location: F+5
Routine Call
  • DIC
  • Line Location:
    • Q+2
Routine Call
  • DIR
  • Line Location:
    • PSELECT+2
    • R+1
    • BD+1
    • ED+1
    • F+2

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)
^AMHSORT - [#9002013.3] SELECT+2, SELECT+3, SELECT+5, PSELECT+2, PSELECT+3, Q+2, Q+5, R+1, SPECIAL+2, F+4
, F+5
^AMHTPRT( SPECIAL+1!
^AMHTRPT - [#9002013.8] SELECT+3!, SELECT+5*, PSELECT+4*, PSELECT+5*, PSELECT+7*, Q+7*, Q+8*, R+4*, R+5*, SPECIAL+1!
, SPECIAL+4*, SPECIAL+5*, F+1!, F+6*, F+7*
^AMHVRPT( ED+6*, ED+7*
^UTILITY("AMQQ TAX" Q+1!
^XTMP("AMHVL" Q+1!, Q+5, Q+6!, Q+8, Q+10!

Label References

Name Line Occurrences
@( SELECT+5
BD ED+2
F F+4, F+5
R R+6

Naked Globals

Name Field # of Occurrence
^(0 PSELECT+2, R+1
^(21 F+4
^(22 F+4
^(4 SPECIAL+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AMHANS SELECT+1*, PSELECT+1*
>> AMHBD BD+3*, ED+1, ED+4, ED+7
>> AMHC SELECT+1*, SELECT+4, PSELECT+1*
>> AMHCNT SELECT+5*, R+5*, ED+7*, SPECIAL+5*, F+7*
>> AMHCRIT SELECT+1*, SELECT+2, SELECT+3, SELECT+5, PSELECT+1*, PSELECT+2, PSELECT+3, PSELECT+5, PSELECT+7, Q+2
, Q+5, Q+7, Q+8, R+1, R+4, R+5, ED+6, ED+7, SPECIAL+1, SPECIAL+2
, SPECIAL+4, SPECIAL+5, F+1, F+4, F+5, F+6, F+7
>> AMHED ED+3*, ED+7
>> AMHI SELECT+1*, PSELECT+1*
>> AMHPCNT PSELECT+1*, PSELECT+7
AMHQMAN Q+3*, Q+4, Q+9!
>> AMHRPT SELECT+3, SELECT+5, PSELECT+4, PSELECT+5, PSELECT+7, Q+7, Q+8, R+4, R+5, ED+6
, ED+7, SPECIAL+1, SPECIAL+4, SPECIAL+5, F+1, F+6, F+7
>> AMHSD ED+4*
>> AMHSEL( SELECT+1, PSELECT+1
>> AMHTCW PSELECT+5*, PSELECT+7*, PSELECT+8
>> AMHTEXT SELECT+2*, SELECT+4, BD+1, ED+1, F+3
>> AMHVAR SELECT+3*
DA Q+2!
DD Q+2!
DIC Q+2!*
DIC("S" Q+2*
DIC(0 Q+2*
DICR Q+2!
DINUM Q+2!
DIR PSELECT+2!, R+1!, BD+1!, ED+1!, F+2!
DIR("A" PSELECT+2*, R+1*, BD+1*, ED+1*, F+2*
DIR("B" PSELECT+2*
DIR(0 PSELECT+2*, R+1*, BD+1*, ED+1*, F+2*
>> DIRUT PSELECT+2*, PSELECT+3, R+1*, R+2, BD+1*, BD+2, ED+1*, ED+2, F+2*
>> DUOUT PSELECT+2, R+1, BD+1, ED+1, F+2
U SELECT+2, SELECT+3, SELECT+5, PSELECT+2, PSELECT+3, PSELECT+5, PSELECT+7, Q+2, Q+5, R+1
, R+5, ED+7, SPECIAL+5, F+7
V Q+9!
X PSELECT+5*, Q+2!*, Q+8*, Q+9!, ED+4, F+4*, F+7
>> X1 ED+4*
>> X2 ED+4*
Y SELECT+1, PSELECT+1, PSELECT+3*, PSELECT+5, PSELECT+7, Q+2!, Q+3, Q+8*, Q+9!, R+3
, R+5, BD+3, ED+1*, ED+3, SPECIAL+2*, SPECIAL+3, SPECIAL+5, F+3, F+4, F+5
Z Q+9!
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