VistA Analysis » VistA Reference » RPCs » ORWDPS32 DLGSLCT

ORWDPS32 DLGSLCT

Returns default lists for order dialogs in CPRS GUI.

Properties

Property Value
Label DLGSLCT
MUMPS Implementation ORWDPS32
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
PSTYPE LITERAL   true Code to determine the Dialog Type
DFN LITERAL   true  
LOCIEN LITERAL   true This will be set to the patient inpatient location IEN from file 44.

MUMPS Method Description

Property Value
Method DLGSLCT^ORWDPS32
Method Comment return def lists for dialog
Input Parameters PSTYPE, DFN, LOCIEN
First Comment
 PSTYPE: pharmacy type (U=unit dose, F=IV fluids, O=outpt)
Code
 N ILST S ILST=0
I PSTYPE="F" D Q ; IV Fluids
. S LST($$NXT)="~ShortList" D SHORT
. S LST($$NXT)="~Priorities" D PRIOR
. ;S LST($$NXT)="~Schedules" D SCHED(LOCIEN)
. S LST($$NXT)="~Route" D IVROUTE
S LST($$NXT)="~ShortList" D SHORT ; Unit Dose & Outpt
S LST($$NXT)="~Priorities" D PRIOR
I PSTYPE="O" D ; Outpt
. S LST($$NXT)="~Pickup" D PICKUP
. S LST($$NXT)="~SCStatus" D SCLIST

CPRS

File Type Description
Pascal File Orders/rODBase.pas


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