PXRMFF0 ;SLC/PKR - Clinical Reminders function finding routines. ;02/22/2022
Source file <PXRMFF0.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
COUNT(LIST,FIEVAL,COUNT) | ;
|
|
DIFFDATE(LIST,FIEVAL,DIFF) | ;Return the difference in days between the
|
|
DTIMDIFF(LIST,FIEVAL,DIFF) | ;General date difference function.
|
|
DUR(LIST,FIEVAL,DUR) | ;
|
|
FI(LIST,FIEVAL,LV) | ;Given a regular finding return its true/false value.
|
|
MAXDATE(LIST,FIEVAL,MAXDATE) | ;Given a list of findings return the maximum
|
|
MAXVALUE(LIST,FIEVAL,MAXVALUE) | ;Given a list of findings and associated
|
|
MINDATE(LIST,FIEVAL,MINDATE) | ;Given a list of findings return the minimum
|
|
MINVALUE(LIST,FIEVAL,MINVALUE) | ;Given a list of findings return the minimum
|
|
MRD(LIST,FIEVAL,MRD) | ;Given a list of findings return the most recent
|
|
NUMERIC(LIST,FIEVAL,NUMBER) | ;Given a finding, return the first numeric
|
|
FIRSTNUM(STRING) | ;return the first numeric portion of a string.
|
|
VALUE(LIST,FIEVAL,VALUE) | ;Given a finding return one of its "CSUB"
|
Name | Line Occurrences |
---|---|
$$FIRSTNUM | NUMERIC+5 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
C1 | COUNT+1~, COUNT+4*, COUNT+5, COUNT+8, DIFFDATE+2~, DIFFDATE+3*, DIFFDATE+4, DIFFDATE+6, DIFFDATE+9*, DIFFDATE+10 , DIFFDATE+12, DTIMDIFF+1~, DTIMDIFF+2*, DTIMDIFF+3, DTIMDIFF+5, DTIMDIFF+8*, DTIMDIFF+9, DTIMDIFF+11, DUR+1~, DUR+2* , DUR+3, DUR+5, FI+1~, FI+2*, FI+3, FI+5, MAXDATE+2~, MAXDATE+3*, MAXDATE+4, MAXDATE+6 , MAXDATE+12*, MAXDATE+13, MAXDATE+15, MINDATE+2~, MINDATE+3*, MINDATE+4, MINDATE+6, MINDATE+12*, MINDATE+13, MINDATE+15 , MRD+2~, MRD+3*, MRD+4, MRD+6, MRD+12*, MRD+13, MRD+15, VALUE+2~, VALUE+3*, VALUE+4 , VALUE+7 |
CALCUNIT | DTIMDIFF+1~, DTIMDIFF+15*, DTIMDIFF+16, DTIMDIFF+18 |
CHAR | FIRSTNUM+1~, FIRSTNUM+6*, FIRSTNUM+7, FIRSTNUM+8, FIRSTNUM+9 |
COUNT | COUNT~, COUNT+2*, COUNT+10*, COUNT+13* |
CRSUB | COUNT+6~, COUNT+8*, COUNT+10, DIFFDATE+2~, DIFFDATE+6*, DIFFDATE+7, DIFFDATE+12*, DIFFDATE+13, DTIMDIFF+1~, DTIMDIFF+5* , DTIMDIFF+6, DTIMDIFF+11*, DTIMDIFF+12, DUR+1~, DUR+5*, DUR+6, DUR+8, DUR+9, DUR+10, DUR+11 , FI+1~, FI+5*, FI+6, MAXDATE+2~, MAXDATE+6*, MAXDATE+7, MAXDATE+15*, MAXDATE+16, MINDATE+2~, MINDATE+6* , MINDATE+7, MINDATE+15*, MINDATE+16, MRD+2~, MRD+6*, MRD+7, MRD+15*, MRD+16, VALUE+5~, VALUE+7* , VALUE+9, VALUE+10 |
DATE | MAXDATE+10~, MAXDATE+16*, MAXDATE+17*, MAXDATE+18, MINDATE+10~, MINDATE+16*, MINDATE+17*, MINDATE+18, MRD+10~, MRD+16* , MRD+17*, MRD+18 |
DATE1 | DIFFDATE+2~, DIFFDATE+7*, DIFFDATE+8*, DIFFDATE+15, DTIMDIFF+1~, DTIMDIFF+6*, DTIMDIFF+7*, DTIMDIFF+16 |
DATE2 | DIFFDATE+2~, DIFFDATE+13*, DIFFDATE+14*, DIFFDATE+15, DTIMDIFF+1~, DTIMDIFF+12*, DTIMDIFF+13*, DTIMDIFF+16 |
DAYS | DIFFDATE+2~, DIFFDATE+15*, DIFFDATE+17 |
DIFF | DIFFDATE~, DIFFDATE+17*, DTIMDIFF~, DTIMDIFF+16*, DTIMDIFF+18*, DTIMDIFF+20* |
DONE | FIRSTNUM+1~, FIRSTNUM+4*, FIRSTNUM+5, FIRSTNUM+7*, FIRSTNUM+9* |
DUR | DUR~, DUR+27*, DUR+28* |
EDT | DUR+1~, DUR+6*, DUR+9*, DUR+14*, DUR+18*, DUR+19*, DUR+23*, DUR+27 |
FIEVAL | COUNT~, DIFFDATE~, DTIMDIFF~, DUR~, FI~, MAXDATE~, MAXVALUE~, MINDATE~, MINVALUE~, MRD~ , NUMERIC~, VALUE~ |
FIEVAL( | COUNT+10, COUNT+13, DIFFDATE+7, DIFFDATE+8, DIFFDATE+13, DIFFDATE+14, DTIMDIFF+6, DTIMDIFF+7, DTIMDIFF+12, DTIMDIFF+13 , DUR+6, DUR+8, DUR+9, DUR+10, DUR+11, DUR+14, DUR+16, DUR+17, DUR+18, DUR+19 , DUR+22, DUR+23, DUR+24, DUR+25, FI+6, FI+7, MAXDATE+7, MAXDATE+8, MAXDATE+16, MAXDATE+17 , MAXVALUE+3, MAXVALUE+5, MAXVALUE+7, MAXVALUE+8, MINDATE+7, MINDATE+8, MINDATE+16, MINDATE+17, MINVALUE+3, MINVALUE+5 , MINVALUE+7, MINVALUE+8, MRD+7, MRD+8, MRD+16, MRD+17, NUMERIC+3, NUMERIC+4, VALUE+9, VALUE+10 , VALUE+13, VALUE+14 |
IND | COUNT+1~, COUNT+3*, COUNT+4, COUNT+7, COUNT+12, DUR+1~, MAXDATE+10~, MAXDATE+11*, MAXDATE+12, MAXDATE+14 , MAXDATE+17, MAXVALUE+2~, MAXVALUE+4*, MAXVALUE+5, MAXVALUE+7, MAXVALUE+8, MINDATE+10~, MINDATE+11*, MINDATE+12, MINDATE+14 , MINDATE+17, MINVALUE+2~, MINVALUE+4*, MINVALUE+5, MINVALUE+7, MINVALUE+8, MRD+10~, MRD+11*, MRD+12, MRD+14 , MRD+17, FIRSTNUM+1~, FIRSTNUM+4*, FIRSTNUM+6* |
JND | COUNT+1~, COUNT+12*, COUNT+13, DUR+1~, DUR+13*, DUR+14, DUR+16, DUR+17, DUR+18, DUR+19 , DUR+22, DUR+23, DUR+24, DUR+25 |
KND | COUNT+1~, COUNT+9*, COUNT+10*, COUNT+12*, COUNT+13*, DUR+1~, DUR+8*, DUR+9, DUR+10*, DUR+11 , DUR+22*, DUR+23, DUR+24*, DUR+25 |
LIST | COUNT~, DIFFDATE~, DTIMDIFF~, DUR~, FI~, MAXDATE~, MAXVALUE~, MINDATE~, MINVALUE~, MRD~ , NUMERIC~, VALUE~ |
LIST( | COUNT+4, COUNT+7, COUNT+12, MAXDATE+12, MAXDATE+14, MAXDATE+17, MAXVALUE+5, MAXVALUE+7, MAXVALUE+8, MINDATE+12 , MINDATE+14, MINDATE+17, MINVALUE+5, MINVALUE+7, MINVALUE+8, MRD+12, MRD+14, MRD+17 |
LIST(0 | COUNT+3, MAXDATE+9, MAXDATE+11, MAXVALUE+4, MINDATE+9, MINDATE+11, MINVALUE+4, MRD+9, MRD+11, NUMERIC+3 , NUMERIC+4, VALUE+9, VALUE+10, VALUE+13, VALUE+14 |
LIST(1 | DIFFDATE+3, DIFFDATE+5, DIFFDATE+8, DTIMDIFF+2, DTIMDIFF+4, DTIMDIFF+7, DUR+2, DUR+4, DUR+13, FI+2 , FI+4, FI+7, MAXDATE+3, MAXDATE+5, MAXDATE+8, MAXVALUE+3, MINDATE+3, MINDATE+5, MINDATE+8, MINVALUE+3 , MRD+3, MRD+5, MRD+8, NUMERIC+3, NUMERIC+4, VALUE+3, VALUE+6, VALUE+13, VALUE+14 |
LIST(2 | DIFFDATE+9, DIFFDATE+11, DIFFDATE+14, DTIMDIFF+6, DTIMDIFF+7, MAXVALUE+3, MINVALUE+3, NUMERIC+3, NUMERIC+4, VALUE+9 , VALUE+10, VALUE+13, VALUE+14 |
LIST(3 | DIFFDATE+17, DTIMDIFF+6, DTIMDIFF+7, NUMERIC+4, VALUE+9, VALUE+13 |
LIST(4 | DTIMDIFF+8, DTIMDIFF+10, DTIMDIFF+13 |
LIST(5 | DTIMDIFF+12, DTIMDIFF+13 |
LIST(6 | DTIMDIFF+12, DTIMDIFF+13 |
LIST(7 | DTIMDIFF+15, DTIMDIFF+18 |
LIST(8 | DTIMDIFF+20 |
LV | FI~, FI+6*, FI+7* |
MAXDATE | MAXDATE~, MAXDATE+7*, MAXDATE+8*, MAXDATE+18* |
MAXVALUE | MAXVALUE~, MAXVALUE+3*, MAXVALUE+9* |
MINDATE | MINDATE~, MINDATE+7*, MINDATE+8*, MINDATE+18* |
MINVALUE | MINVALUE~, MINVALUE+3*, MINVALUE+9* |
MRD | MRD~, MRD+7*, MRD+8*, MRD+18* |
NUMBER | NUMERIC~, NUMERIC+3*, NUMERIC+4*, NUMERIC+5*, FIRSTNUM+1~, FIRSTNUM+4*, FIRSTNUM+8*, FIRSTNUM+9, FIRSTNUM+10 |
NUMERIC | FIRSTNUM+1~, FIRSTNUM+2*, FIRSTNUM+8, FIRSTNUM+9 |
OCC | MAXVALUE+2~, MAXVALUE+6*, MAXVALUE+7*, MAXVALUE+8, MINVALUE+2~, MINVALUE+6*, MINVALUE+7*, MINVALUE+8 |
SDT | DUR+1~, DUR+6*, DUR+11*, DUR+14*, DUR+17*, DUR+25*, DUR+27 |
SF | DTIMDIFF+1~, DTIMDIFF+18* |
STRING | FIRSTNUM~, FIRSTNUM+3*, FIRSTNUM+6 |
SUB | COUNT+6~, COUNT+7*, COUNT+10, DIFFDATE+2~, DIFFDATE+5*, DIFFDATE+7, DIFFDATE+11*, DIFFDATE+13, DTIMDIFF+1~, DTIMDIFF+4* , DTIMDIFF+6, DTIMDIFF+10*, DTIMDIFF+12, DUR+1~, DUR+4*, DUR+6, DUR+8, DUR+9, DUR+10, DUR+11 , FI+1~, FI+4*, FI+6, MAXDATE+2~, MAXDATE+5*, MAXDATE+7, MAXDATE+14*, MAXDATE+16, MINDATE+2~, MINDATE+5* , MINDATE+7, MINDATE+14*, MINDATE+16, MRD+2~, MRD+5*, MRD+7, MRD+14*, MRD+16, VALUE+5~, VALUE+6* , VALUE+9, VALUE+10 |
TEMP | MAXVALUE+2~, MAXVALUE+8*, MAXVALUE+9, MINVALUE+2~, MINVALUE+8*, MINVALUE+9 |
VALUE | VALUE~, VALUE+9*, VALUE+10*, VALUE+13*, VALUE+14* |