PXRMDATE ;SLC/PKR - Clinical Reminders date utilities. ;06/28/2022
Source file <PXRMDATE.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| CEFD(FDA) | ;Called by the Exchange Utility only if the input packed
|
|
| COMPARE(X) | ;Compare beginning and ending dates, give a warning if
|
|
| COTN(EFP) | ;Convert an Effective Period to the new date/time format.
|
|
| CRDUEDATE(CRSTATUS,CRDUEDATE,DEFARR,FIEVAL) | ;Determine the C/R due date. If the C/R
|
|
| REFUSED | ||
| CTD(MULT,NUM) | ;Convert months or years to days.
|
|
| CTFMD(DATE) | ;Convert DATE which may be in any of the FileMan acceptable
|
|
| DCHECK(DATE) | ;Trap for special characters before calling CTFMD^PXRMDATE.
|
|
| DDATE(DATE,FMT) | ;Check for an historical (event) date, format as appropriate.
|
|
| DUE(DEFARR,RESDATE,FREQ,DUE,DUEDATE,FIEVAL) | ;Compute the due date.
|
|
| SETDUE | ;If the due date is less than or equal to now date the
|
|
| DURATION(START,STOP) | ;Return the number days between the Start Date and
|
|
| EDATE(DATE) | ;Check for an historical (event) date, format as appropriate,
|
|
| FMDATE(DFN,TEST,DATE,VALUE,TEXT) | ;FileMan date computed finding.
|
|
| FULLDATE(DATE) | ;See if DATE is a full date, i.e., it has a month and
|
|
| FRQINDAY(FREQ) | ;Given a frequency in the form ND, NM, or NY where N is a
|
|
| ISFULDTE(DATE) | ; Function to check for full FileMan date.
|
|
| ISLEAP(YEAR) | ;Given a 3 digit FileMan year return 1 if it is a leap year,
|
|
| MCALC(FMDATE,OP,NUM) | ;Add or subtract NUM months to FMDATE.
|
|
| MID() | ;If the reminder global PXRMDATE is defined return midnight on that day,
|
|
| NEWDATE(FMDATE,OP,OFFSET) | ;Given an internal FileMan date, an operator of
|
|
| NOON() | ;If the reminder global PXRMDATE is defined return noon on that day,
|
|
| NOW() | ;If the reminder global PXRMDATE is defined return it, otherwise
|
|
| TODAY() | ;If the reminder global PXRMDATE is defined return it, otherwise
|
|
| VDATE(VIEN) | ;Given a visit ien return the visit date.
|
|
| VOFFSET(OFFSET) | ;Make sure the offset part of a date is valid. It has to
|
|
| VSYM(SYM) | ;Make sure the symbolic part of a date is valid.
|
|
| YCALC(FMDATE,OP,NUM) | ;Add or subtract NUM years to FMDATE.
|
| Name | Line Occurrences |
|---|---|
| Function Call: WRITE |
|