VistA Analysis » VistA Reference » RPCs » ORWDLR33 LASTTIME

ORWDLR33 LASTTIME

When entering quick orders from an order menu, the ^TMP(“ORECALL”,$J)array contains the last responses entered. This RPC allows retrieval ofthe previous order’s collection time from that array.

Properties

Property Value
Label LASTTIME
MUMPS Implementation ORWDLR33
Return Type SINGLE VALUE

MUMPS Method Description

Property Value
Method LASTTIME^ORWDLR33
Method Comment Get last collection time used from ^TMP("ORECALL",$J) array
Code
 N ORDIALOG,ORTYPE,ORTIME
S ORDIALOG=$O(^ORD(101.41,"B","LR OTHER LAB TESTS",0))
S ORTYPE=$O(^ORD(101.41,"B","OR GTX COLLECTION TYPE",0))
S ORTIME=$O(^ORD(101.41,"B","OR GTX START DATE/TIME",0))
S ORY=$$RECALL^ORCD(ORTYPE,1)_U_$$RECALL^ORCD(ORTIME,1)

CPRS

File Type Description
Pascal File Orders/rODLab.pas


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