VistA Analysis » VistA Reference » RPCs » ORWOR VWSET

ORWOR VWSET

Sets the default view on the orders tab for the user.

Properties

Property Value
Label VWSET
MUMPS Implementation ORWOR
Return Type SINGLE VALUE

MUMPS Method Description

Property Value
Method VWSET^ORWOR
Method Comment Set the preferred view for orders
Input Parameters VIEW
First Comment
 VIEW:  semi-colon delimited record
1 - Relative From Date/Time or ""
2 - Relative Thru Date/Time or ""
3 - Filter
4 - Display Group Pointer
5 - Format (preserve for list manager)
6 - chronological display (R or F)
7 - sort by display group
Code
 N FMT
S $P(VIEW,";",4)=$P($G(^ORD(100.98,+$P(VIEW,";",4),0)),U,3)
S FMT=$P($$GET^XPAR("ALL","ORCH CONTEXT ORDERS",1,"I"),";",5)
S:'$L(FMT) FMT="L" S $P(VIEW,";",5)=FMT
D EN^XPAR(DUZ_";VA(200,","ORCH CONTEXT ORDERS",1,VIEW,.ORERR)

CPRS

File Type Description
Pascal File Orders/rOrders.pas


Document generated on August 31st 2022, 2:55:43 pm