VistA Analysis » VistA Reference » RPCs » ORQPT DEFAULT LIST SORT

ORQPT DEFAULT LIST SORT

Returns the current user’s default patient selection list SORT ORDERsetting.

Properties

Property Value
Label DEFSORT
MUMPS Implementation ORQPTQ11
Return Type SINGLE VALUE

MUMPS Method Description

Property Value
Method DEFSORT^ORQPTQ11
Method Comment Return user's default sort.
First Comment
 SLC/PKS - 4/6/2001
Code
 N ORSORT,ORSECT,ORPARAM
I ('$D(DUZ)) S Y="Unable to determine DUZ." Q
S ORSECT=$G(^VA(200,DUZ,5))
I +ORSECT>0 S ORSECT=$P(ORSECT,U)
S Y="A" ; Default of "Alpha" sort.
S ORPARAM="ORLP DEFAULT LIST ORDER"
S ORSORT=$$GET^XPAR("USR^SRV.`"_$G(ORSECT)_"^DIV^SYS^PKG",ORPARAM,1,"I")
I (ORSORT'="") S Y=ORSORT

CPRS

File Type Description
Pascal File rCore.pas


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