Initial Checking with all 820 MLMs

This commit is contained in:
2020-02-02 00:54:01 -05:00
parent c59dc6de2e
commit 840d0432f4
828 changed files with 239162 additions and 0 deletions

View File

@@ -0,0 +1,84 @@
maintenance:
title: ED Respitory Page;;
mlmname: FORM_ED_Resp_Page;;
arden: version 2;;
version: 4.50;;
institution: St Clair Charger MLM;;
author: Robert Spence, Eclipsys Corp;;
specialist: ;;
date: 2008-03-07;;
validation: testing;;
library:
purpose: This MLM Fires On ED Resp Order being opened
;;
explanation: Simply retrieves the location from the status board.
;;
keywords: Called MLMs, Form fields, ED, Status Board
;;
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
) := argument;
/*******************Make Changes To Spelling And Flags In This Section*******************/
/* Set to true if a decision.log is needed.*/
log_execution_info := FALSE;
/***************************************************************************************/
// Initialize error message
error_message:="";
// Assigns fields passed in the Form object to the Field object
field_list:= this_form.fields;
Visit_Guid := this_communication.ClientVisitGuid;
CallingField :=this_communication.CallingFieldName;
CallingEvent := this_communication.CallingEvent;
FormType := this_communication.FormType;
// This sets the visible control on the field dataitem - CHG_OVERRIDE_WITH
EDLoc :=last of (field_list
where field_list.DataItemName = "ED Location" );
Temp := read last {"Select el.EDDisplayName "
|| " from sxaedlocation as el "
|| " join sxaedboard as eb "
|| " on eb.EdLocationguid = el.locationguid "
|| " and eb.clientvisitguid = " || SQL(Visit_Guid)
|| " and eb.active =1 "};
EDLoc.Value := Temp;
// this_communication.DisplayForm := "Yes";
// this_communication.Message := "ED Returned = " || Temp
// || "Visit_Guid = " || Visit_Guid;
// this_communication.MessageType := "Informational";
;;
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: