Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Used in RPC
Print Page as PDF
Routine: ORWPS

Package: Order Entry Results Reporting

Routine: ORWPS


Information

ORWPS ;SLC/KCM,JLI,REV,CLA - MEDS TAB ; May 15, 2023@16:02

Source Information

Source file <ORWPS.m>

Entry Points

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

Used in RPC

RPC Name Call Tags
ORWPS ACTIVE ACTIVE
ORWPS DETAIL DETAIL
ORWPS COVER COVER
ORWPS MEDHIST MEDHIST
ORWPS REASON REASON
Info |  Source |  Entry Points |  Used in RPC