PXRMAGE ; SLC/PKR - Utilities for age calculations. ;10/07/2005
Source file <PXRMAGE.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
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
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
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! |
Name | Line Occurrences |
---|---|
$$AGECHECK | MMF+24 |
$$OVERLAP | MMF+18 |
>> | 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 |