TIULMED1 ; SLC/JM - Active/Recent Med Objects Routine ;03/23/17 10:53
Source file <TIULMED1.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| ADD(TXT) | ; Saves TXT in TARGET
|
|
| ADDLNUM(TXT) | ; Add text with Line Number added to front of string
|
|
| ADDL(TXT) | ; Add with ADDLNUM on FIRST
|
|
| ADDMED(XMODE) | ; if XMODE creates XSTR, if not add med to TARGET
|
|
| FDT(PNUM) | ;Returns formatted date from piece number
|
|
| ADDDATE(LINENUM,TXT,PNUM) | ;Add date to TARGET
|
|
| XSUMS(STR,NOADD) | ; XSUMs a string
|
|
| WRAP | ; Wraps DATA to the output
|
|
| STRIP(X) | ; Removes Leading and Trialing Spaces
|
|
| ADDP(PNUM) | ; Adds or XSUMs a piece of NODE
|
|
| ADDM(SUB,FORCE) | ; Adds or XSUMs Multiple
|
|
| FLUSH | ; Flush the DATA buffer
|
|
| PL(PNUM) | ;Retuns length of peice
|
|
| ML(SUB) | ;Returns true if multiple exists and contains data
|
|
| ADDTITLE | ;Adds a title line indicating which meds are in the list
; ALLMEDS 0 - Specifies Inpatient Meds if patient is an ; Inpatient, or Outpatient Meds if patient ; is an Outpatient ; 1 - Specifies both Inpatient, Outpatient, & Clinic ; 2 or "I" - Specifies Inpatient only ; 3 or "O" - Specifies Outpatient only ; 4 or "C" - Specifies Clinic only |
|
| WARNING | ;Inserts warning about CLASSORT if needed
|