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

Package: Clinical Reminders

Routine: PXRMAGE


Information

PXRMAGE ; SLC/PKR - Utilities for age calculations. ;10/07/2005

Source Information

Source file <PXRMAGE.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Clinical Reminders 2 $$OVERLAP^PXRMAGE  $$FREQ^PXRMPTD2  
Kernel 1 $$UP^XLFSTR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 9

Package Total Caller Graph
Clinical Reminders 9 PXRMAGE  PXRMLOG  PXRMOUTC  PXRMP4I  PXRMPDEM  PXRMPINF  PXRMPTD1  PXRMPTD2  
PXRMREDT  

Entry Points

Name Comments DBIA/ICR reference
AGECHECK(AGE,MINAGE,MAXAGE) ;Given an AGE, MINimumAGE, and MAXimumAGE
FMTFREQ(FREQ) ;Format the frequency for display.
FMTAGE(MINAGE,MAXAGE) ;Format the minimum age and maximum age for display.
AGE(DOB,DOD,DATE) ;Given a date of birth, date of death, and a date
MMF(DEFARR,PXRMPDEM,MINAGE,MAXAGE,FREQ,FIEVAL) ;Set the baseline minimum age,
OVLAP() ;Check age ranges for overlap. Called from definition editor after
OVERLAP(NAR,MINA,MAXA) ;Check age ranges for overlap. Return an error message

External References

Name Field # of Occurrence
$$OVERLAP^PXRMAGE OVLAP+9
$$FREQ^PXRMPTD2 FMTFREQ+3
$$UP^XLFSTR MMF+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Error - the following age ranges overlap:"
  • Line Location: OVLAP+11
Function Call: WRITE
  • Prompt: !,?2,^TMP($J,"OVERLAP",IC)
  • Line Location: OVLAP+13
Function Call: WRITE
  • Prompt: !,"Please correct this problem."
  • Line Location: OVLAP+15

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PXD(811.9 - [#811.9] OVLAP+4, OVLAP+6
^TMP( OVERLAP+21*
^TMP($J OVERLAP+22*, OVLAP+13, OVLAP+14!

Label References

Name Line Occurrences
$$AGECHECK MMF+24
$$OVERLAP MMF+18

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AGE AGECHECK~, AGECHECK+7, AGECHECK+11
CDATE AGE+4~, AGE+5*, AGE+6
>> DA OVLAP+4, OVLAP+6
DATE AGE~, AGE+5
DEFARR MMF~
DEFARR(7 MMF+7, MMF+9
DOB AGE~, AGE+6
DOD AGE~, AGE+5
FIEVAL MMF~
FIEVAL("AGE" MMF+14*, MMF+29*
FR MMF+3~
FR( MMF+10*, MMF+28
FREQ FMTFREQ~, FMTFREQ+3, FMTFREQ+4, MMF~, MMF+5*, MMF+21*, MMF+28*
FREQT FMTFREQ+1~, FMTFREQ+3*, FMTFREQ+4, FMTFREQ+5
IC MMF+3~, MMF+6*, MMF+7*, MMF+9, MMF+13, MMF+14, MMF+23*, MMF+24, MMF+26, MMF+27
, MMF+28, MMF+29, OVERLAP+3~, OVERLAP+5*, OVERLAP+6, OVERLAP+8, OVERLAP+10, OVERLAP+20, OVLAP+2~, OVLAP+3*
, OVLAP+4*, OVLAP+6, OVLAP+12*, OVLAP+13*
IN OVERLAP+3~, OVERLAP+15*, OVERLAP+16*, OVERLAP+17*, OVERLAP+18
INDEX MMF+3~
INDEX( MMF+13*, MMF+29
JC OVERLAP+3~, OVERLAP+10*, OVERLAP+11, OVERLAP+13, OVERLAP+20
MATCH MMF+3~, MMF+22*, MMF+23, MMF+25*
MAXA MMF+3~, MMF+18, OVERLAP~, OVLAP+2~, OVLAP+9
MAXA( MMF+12*, MMF+24, MMF+27, OVERLAP+6, OVERLAP+11, OVERLAP+20, OVLAP+8*
MAXAGE AGECHECK~, AGECHECK+4*, AGECHECK+7, FMTAGE~, FMTAGE+2, FMTAGE+3, FMTAGE+5, MMF~, MMF+5*, MMF+27*
MAXI OVERLAP+3~, OVERLAP+6*, OVERLAP+7*, OVERLAP+16, OVERLAP+17
MAXJ OVERLAP+3~, OVERLAP+11*, OVERLAP+12*, OVERLAP+17
MINA MMF+3~, MMF+18, OVERLAP~, OVLAP+2~, OVLAP+9
MINA( MMF+11*, MMF+24, MMF+26, OVERLAP+8, OVERLAP+13, OVERLAP+20, OVLAP+7*
MINAGE AGECHECK~, AGECHECK+5*, AGECHECK+10, AGECHECK+11, FMTAGE~, FMTAGE+2, FMTAGE+3, FMTAGE+4, MMF~, MMF+5*
, MMF+26*
MINI OVERLAP+3~, OVERLAP+8*, OVERLAP+9*, OVERLAP+16, OVERLAP+17
MINJ OVERLAP+3~, OVERLAP+13*, OVERLAP+14*, OVERLAP+16
NAR MMF+3~, MMF+6*, MMF+8*, MMF+10, MMF+11, MMF+12, MMF+13, MMF+15, MMF+18, MMF+23
, OVERLAP~, OVERLAP+2, OVERLAP+5, OVERLAP+10, OVLAP+2~, OVLAP+3*, OVLAP+5*, OVLAP+7, OVLAP+8, OVLAP+9
OVERLAP OVLAP+2~, OVLAP+9*, OVLAP+10, OVLAP+16
OVRLAP OVERLAP+3~, OVERLAP+4*, OVERLAP+19*, OVERLAP+21, OVERLAP+22, OVERLAP+23*, OVERLAP+24
>> PXRMDEBG MMF+18
>> PXRMITEM OVERLAP+21
PXRMPDEM MMF~
PXRMPDEM("AGE" MMF+24
>> PXRMPID OVERLAP+21
STR FMTAGE+1~, FMTAGE+3*, FMTAGE+4*, FMTAGE+5*, FMTAGE+6*, FMTAGE+7, FMTFREQ+1~, FMTFREQ+2*, FMTFREQ+4, FMTFREQ+5
TEMP MMF+3~, MMF+9*, MMF+10, MMF+11, MMF+12, OVLAP+2~, OVLAP+6*, OVLAP+7, OVLAP+8
TEXT OVERLAP+3~, OVERLAP+20*, OVERLAP+21, OVERLAP+22
U MMF+10, MMF+11, MMF+12, OVLAP+7, OVLAP+8
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All