VistA Analysis » VistA Reference » RPCs » ORWDXM FORMID

ORWDXM FORMID

Return the FormID for a dialog entry.

Properties

Property Value
Label FORMID
MUMPS Implementation ORWDXM
Return Type SINGLE VALUE

MUMPS Method Description

Property Value
Method FORMID^ORWDXM
Method Comment Return the FormID for a dialog
Input Parameters DLG
Code
 S VAL=+$P($G(^ORD(101.41,DLG,5)),U,5) Q:VAL
I $P($G(^ORD(101.41,DLG,0)),U,4)="Q" D
. N DGRP S DGRP=$P($G(^ORD(101.41,DLG,0)),U,5) Q:'DGRP
. S DLG=$$DEFDLG^ORWDXQ(DGRP) Q:'DLG
. S VAL=+$P($G(^ORD(101.41,DLG,5)),U,5)
I 'VAL,$P($G(^ORD(101.41,DLG,0)),U,7)=$O(^DIC(9.4,"C","OR",0)) D
. S VAL=152 ; use generic "on the fly" form

CPRS

File Type Description
Pascal File Orders/rOrders.pas


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