Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
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>

Entry Points

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

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
Info |  Source |  Entry Points |  Interaction Calls