PXRMLOG ;SLC/PKR - Clinical Reminders logic routines. ;03/31/2022
Source file <PXRMLOG.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
CRSTATUS(DEFARR,FIEVAL) | ;Determine the contraindicated/refused status.
|
|
EVALPCL(DEFARR,PXRMPDEM,FREQ,PCLOGIC,FIEVAL) | ;Evaluate the Patient Cohort
|
|
ACHK | ;
|
|
EVAL | ;Evaluate the patient cohort logic.
|
|
EVALRESL(DEFARR,RESDATE,RESLOGIC,FIEVAL) | ;Evaluate the
|
|
LOGOP(DT1,DT2,LOP) | ;Given two dates return the most recent if the logical
|
|
RESDATE(RESLSTR,FIEVAL) | ;Return the resolution date based on the following
|
|
SEX(DEFARR,SEX) | ;Return FALSE (0) if the patient is the wrong sex for
; the reminder, TRUE (1) is the patient is the right sex. |
|
VALID(LOGSTR,DA,MINLEN,MAXLEN) | ;Make sure that LOGSTR is a valid logic string.
|
|
VALIDR(LOGSTR,DA,MINLEN,MAXLEN) | ;Make sure that LOGSTR is a valid resolution
|
|
VELEM(ELEMENT) | ;Make sure that the element is valid.
|