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 |  Marked Items |  All
Print Page as PDF
Routine: APCLAGE

Package: Patient Care Component Reports

Routine: APCLAGE


Information

APCLAGE ; IHS/CMI/LAB - Age bucker driver ;

Source Information

Source file <APCLAGE.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 4 DD^%DT  ^DIC  EN1^DIP  ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Patient Care Component Reports 1 APCLBIN1  

Entry Points

Name Comments DBIA/ICR reference
BIN
SET
RUN ;
HDR ;EP -Header
F ;
PRNT ;
MENU ;
AGE ;
LIST ;
1 ;;SEX;;APCL P BIN SEX;;^DPT(
START ;
3 ;;TRIBE OF MEMBERSHIP;;APCL P BIN TRIBE;;^AUPNPAT(
2 ;;CURRENT COMMUNITY;;APCL P BIN CURRENT COMM;;^AUPNPAT(
GC ;
EOJ ;ENTRY POINT
CLOSE
SETBIN ;
HELP ;

External References

Name Field # of Occurrence
DD^%DT START+5
^DIC F+1
EN1^DIP PRNT+5
^DIR MENU+1, BIN+2, AGE+1, GC+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"This report will present, for all Living Patients registered at the facility",!,"that you select, age groups for a selected attribute.",!
  • Line Location: START+4
Function Call: WRITE
  • Prompt: !,"The Age Groups to be used are currently defined as:",!
  • Line Location: BIN+1
Function Call: WRITE
  • Prompt: !!,$C(7),"WARNING: If you use more than 8 age groups the report will wrap around",!,"the page. Only 8 will fit on an 80 column screen or page!!",!
  • Line Location: BIN+5
Function Call: WRITE
  • Prompt: !
  • Line Location: RUN+1
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: AGE+6
Function Call: WRITE
  • Prompt: !,"Make sure the age is higher the beginning age of the previous group.",!
  • Line Location: AGE+6
Function Call: WRITE
  • Prompt: " ??",$C(7)
  • Line Location: GC+5
Function Call: WRITE
  • Prompt: !,$P(X,":")," - ",$P(X,":",2)
  • Line Location: LIST+2
Function Call: WRITE
  • Prompt: !
  • Line Location: LIST+3
Function Call: WRITE
  • Prompt: !!,$C(7),$C(7),"TEMPLATE MISSING",!
  • Line Location: PRNT+1
Function Call: WRITE
  • Prompt: ?((80-APCLHDRL)/2),APCLHDR," By AGE GROUP",?71,"Page ",APCLPG,!
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: ?((80-APCLHDRL)/2),"All Living Patients Registered at ",$P(^DIC(4,APCLSITE,0),U),!
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: ?(80-$L(APCLDT)/2),APCLDT,!
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: !?35,"AGE GROUPS",!
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: !,"Choose a number from the menu presented. The item selected will be ",!,"displayed in a matrix by age groups.",!
  • Line Location: HELP+1
Routine Call
  • DIC
  • Line Location:
    • F+1
Routine Call
  • DIR
  • Line Location:
    • MENU+1
    • BIN+2
    • AGE+1
    • GC+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUTTLOC - [#9999999.06] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(4 - [#4] HDR+4, HDR+5
^TMP("APCLAGE" START+3!, EOJ+1!

Label References

Name Line Occurrences
AGE RUN+1
BIN RUN+1, RUN+2
CLOSE RUN+2, GC+5
EOJ F+1, PRNT+1
F MENU+2
HELP MENU+3
LIST BIN+1, RUN+3
MENU MENU+3, BIN+3
PRNT BIN+4, RUN+4
RUN AGE+6
SET AGE+5
SETBIN BIN

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% LIST+1*, LIST+2, EOJ+5!
%F EOJ+5!
APCLA RUN+1*, AGE+5, SET*, GC+4, EOJ+4!
APCLAGEG GC+4*, LIST+1, EOJ+2!, SETBIN+1*
APCLDT START+5*, EOJ+4!, HDR+6
APCLHDR PRNT+4*, EOJ+4!, HDR+2, HDR+3
APCLHDRL EOJ+4!, HDR+2*, HDR+3, HDR+4*, HDR+5
APCLPG START+1*, EOJ+4!, HDR+1*, HDR+3
APCLQUIT RUN+1!, RUN+2, AGE+2*, GC+2*, EOJ+4!
APCLSITE F+2*, EOJ+4!, HDR+4, HDR+5
APCLTEMP PRNT+1*, PRNT+3, EOJ+4!
APCLX RUN+1, AGE+2*, AGE+3*, AGE+5, SET, SET+1, SET+2, GC+3*, GC+4, EOJ+4!
APCLY RUN+1*, AGE+1, SET+1*, SET+2*, CLOSE, GC+4*, EOJ+4!
APCLZ MENU+4*, PRNT+1, PRNT+4, EOJ+4!
BY PRNT+4*, EOJ+5!
DA F+1!
DCC EOJ+5!
DHD EOJ+5!
DIC F+1*!, PRNT+4*
DIC("A" F+1*
DIC(0 F+1*
DINS EOJ+5!
DIPT EOJ+5!
DIR MENU+1!, BIN+2!, AGE+1!, GC+1!
DIR("A" MENU+1*, BIN+2*, AGE+1*, GC+1*
DIR("B" BIN+2*
DIR(0 MENU+1*, BIN+2*, AGE+1*, GC+1*
>> DIRUT MENU+1*, MENU+2, BIN+3, AGE+1*, GC+1*
DIS EOJ+5!
DIS(0 PRNT+2*
DIS(1 PRNT+2*
DIS(2 PRNT+2*
DISH EOJ+5!
DR EOJ+5!
DT START+5
>> DTOUT AGE+2, GC+2
>> DUOUT MENU+1, AGE+1, AGE+2, GC+1, GC+2
FLDS PRNT+3*, EOJ+5!
FR PRNT+4*, EOJ+5!
>> I LIST+2*
IOF START+2, EOJ+3
>> L PRNT+4*
TO EOJ+5!
U HDR+4, HDR+5
X LIST+2*, EOJ+5!
Y START+5*, F+1, F+2, BIN+4, AGE+3, AGE+4, GC+3, EOJ+5!
Z EOJ+5!

Marked Items

Name Field # of Occurrence
$T(@X MENU+4
$T(@Y MENU+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 |  Marked Items |  All