Initial Checking with all 820 MLMs
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
maintenance:
|
||||
|
||||
title: Generic Read Only Per Field;;
|
||||
mlmname: FORM_Set_Generic_ReadOnly_FieldCall;;
|
||||
arden: version 2;;
|
||||
version: 5.00;;
|
||||
institution: St Clair;;
|
||||
author: Robert Spence, Eclipsys Corp ext 7461;;
|
||||
specialist: Robert Spence, Eclipsys Corp ext 7461;;
|
||||
date: 2010-02-11;;
|
||||
validation: testing;;
|
||||
|
||||
library:
|
||||
purpose: Used to gray our any orderset field on form open.
|
||||
;;
|
||||
|
||||
explanation: Following this strategy to improve CPOE turnaround
|
||||
|
||||
Change history
|
||||
|
||||
;;
|
||||
keywords: Generic, FormOpen, Read Only
|
||||
;;
|
||||
knowledge:
|
||||
type: data-driven;;
|
||||
data:
|
||||
|
||||
// This MLM is passed three arguments, of types
|
||||
// communication_type, form_type and client info object respectively.
|
||||
|
||||
(this_communication, // Communication object
|
||||
this_form, // Form object
|
||||
client_info_obj, //Arden ClientInfo object
|
||||
fieldname,
|
||||
fieldnumber
|
||||
) := argument;
|
||||
|
||||
|
||||
/*******************Make Changes To Spelling And Flags In This Section*******************/
|
||||
|
||||
/* Set to true if a decision.log is needed.*/
|
||||
log_execution_info := FALSE;
|
||||
|
||||
|
||||
field_list:= this_form.fields;
|
||||
|
||||
list_false_true := mlm {{{SINGLE-QUOTE}}}UTIL_LIST_FALSE_TRUE{{{SINGLE-QUOTE}}};
|
||||
|
||||
Generic1 := last of (field_list where field_list.DataItemName = fieldname and field_List.Control_MultiFieldOccNum = fieldnumber);
|
||||
Generic1_List := Generic1.Value;
|
||||
|
||||
test := call list_false_true with Generic1_List.IsSelected ,true;
|
||||
Generic1_List.IsReadOnly := test;
|
||||
|
||||
;;
|
||||
evoke: // No evoke statement
|
||||
;;
|
||||
logic:
|
||||
|
||||
conclude true;
|
||||
;;
|
||||
action:
|
||||
// This MLM returns two parameters, of types communication_type and form_type respectively.
|
||||
return this_communication, this_form;
|
||||
;;
|
||||
end:
|
||||
Reference in New Issue
Block a user