VistA Analysis » VistA Reference » RPCs » ORQQLR SEARCH RANGE OUTPT

ORQQLR SEARCH RANGE OUTPT

Returns the date search range in number of days (e.g. 90) to begin the search before today. For example, a value of 90 would indicate to limit thesearch between ninety day. Limited to Outpatients.

Properties

Property Value
Label SROUT
MUMPS Implementation ORQQLR
Return Type SINGLE VALUE

MUMPS Method Description

Property Value
Method SROUT^ORQQLR
Method Comment return lab results search date range for an outpatient
Code
 N DIFF,SDT,EDT,ORSRV
S ORSRV=$G(^VA(200,DUZ,5)) I +ORSRV>0 S ORSRV=$P(ORSRV,U)
S DIFF=$$GET^XPAR("USR^SRV.`"_+$G(ORSRV)_"^DIV^SYS^PKG","ORQQLR SEARCH RANGE OUTPT",1,"E")
S:+$G(DIFF)<1 DIFF=14 ;if no default defined use 14 days
S ORY=DIFF

CPRS

File Type Description
NOT OSEHRA CPRS  


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