ORWPS ;SLC/KCM,JLI,REV,CLA - MEDS TAB ; May 15, 2023@16:02
Source file <ORWPS.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
COVER(LST,DFN,FILTER) | ; retrieve meds for cover sheet
|
|
DT(X) | ; -- Returns FM date for X
|
|
ACTIVE(LST,DFN,USER,VIEW,UPDATE,ADDINFO) | ; retrieve active inpatient & outpatient meds
; ADDINFO adds additional pieces of data to the first line of each medication. ; ADDINFO Value Piece Data ; 1 or higher 20 Display Group IEN |
|
NXT() | ; increment ILST
|
|
UDINST(Y,INDEX) | ; assembles instructions for a unit dose order
|
|
OPINST(Y,INDEX) | ; assembles instructions for an outpatient prescription
|
|
IVINST(Y,INDEX) | ; assembles instructions for an IV order
|
|
NVINST(Y,INDEX) | ; assembles instructions for a non-VA med
|
|
NVREASON(ORR,NVSDT,INDEX) | ; assembles start date and reasons for a non-VA med
|
|
SETMULT(Y,INDEX,SUB) | ; appends the multiple at the subscript to Y
|
|
COMPRESS(Y) | ; concatenate Y subscripts into smallest possible number
|
|
DETAIL(ROOT,DFN,ID) | ; -- show details for a med order
|
|
MEDHIST(ORROOT,DFN,ORIFN) | ; -- show admin history for a med (RV)
|
|
REASON(ORY) | ; -- Return Non-VA Med Statement/Reasons
|
|
TITR(INSTRUCT,ORIFN) | ; p405 - Add titration info
|
RPC Name | Call Tags |
---|---|
ORWPS ACTIVE | ACTIVE |
ORWPS DETAIL | DETAIL |
ORWPS COVER | COVER |
ORWPS MEDHIST | MEDHIST |
ORWPS REASON | REASON |