Initial Checking with all 820 MLMs
This commit is contained in:
70
MLMStripper/bin/Debug/SYS/SYS_GLOBAL_SESSION.mlm
Normal file
70
MLMStripper/bin/Debug/SYS/SYS_GLOBAL_SESSION.mlm
Normal file
@@ -0,0 +1,70 @@
|
||||
maintenance:
|
||||
|
||||
title: CDS Local Session Definition;;
|
||||
filename: SYS_GLOBAL_SESSION;;
|
||||
arden: version 2.5;;
|
||||
version: 18.4;;
|
||||
institution: Allscripts, System MLM;;
|
||||
author: Allscripts Healthcare Solutions, Inc.;;
|
||||
specialist: ;;
|
||||
date: 2018-10-26;;
|
||||
validation: testing;;
|
||||
|
||||
/* P r o p r i e t a r y N o t i c e */
|
||||
/* Unpublished (c) 2013 - 2018 Allscripts Healthcare, LLC. and/or its affiliates. All Rights Reserved.
|
||||
|
||||
P r o p r i e t a r y N o t i c e: This software has been provided pursuant to a License Agreement, with
|
||||
Allscripts Healthcare, LLC. and/or its affiliates, containing restrictions on its use. This software contains
|
||||
valuable trade secrets and proprietary information of Allscripts Healthcare, LLC. and/or its affiliates and is
|
||||
protected by trade secret and copyright law. This software may not be copied or distributed in any form or medium,
|
||||
disclosed to any third parties, or used in any manner not provided for in said License Agreement except with prior
|
||||
written authorization from Allscripts Healthcare, LLC. and/or its affiliates. Notice to U.S. Government Users:
|
||||
This software is {{{SINGLE-QUOTE}}}Commercial Computer Software{{{SINGLE-QUOTE}}}.
|
||||
|
||||
All product names are the trademarks or registered trademarks of Allscripts Healthcare, LLC. and/or its affiliates.
|
||||
*/
|
||||
/* P r o p r i e t a r y N o t i c e */
|
||||
|
||||
library:
|
||||
purpose:
|
||||
This MLM defines the global session object,
|
||||
stored in the Arden variable CDS_SESSION.global.
|
||||
;;
|
||||
explanation: Facilities should modify this MLM, as needed
|
||||
to support custom MLMs that are created by the facility.
|
||||
From Arden, the global session object can be referenced like this:
|
||||
global_session := CDS_SESSION.global;
|
||||
|
||||
Note: this MLM is called by the system both to define and to return
|
||||
a new session object. It must not refer to CDS_SESSION or else a circular
|
||||
reference may occur where the MLM will call itself again and again.
|
||||
|
||||
;;
|
||||
keywords: SESSION; CDS_SESSION
|
||||
;;
|
||||
knowledge:
|
||||
type: data-driven;;
|
||||
data:
|
||||
|
||||
// Declare the LOCAL SESSION object
|
||||
global_session := object
|
||||
[
|
||||
activated_applications_list, // Used by the sample signature manager MLM
|
||||
selected_patient_visit_list, // Used by the sample order entry worksheet info message MLM
|
||||
global_field_1, // Rename these or add additional fields as
|
||||
global_field_2 // needed for local institution{{{SINGLE-QUOTE}}}s MLMs
|
||||
];
|
||||
;;
|
||||
evoke: // Called internally by the system as necessary
|
||||
;;
|
||||
logic:
|
||||
// Create a GLOBAL SESSION and return it
|
||||
global_session_obj := new global_session;
|
||||
global_session_obj.activated_applications_list := ();
|
||||
global_session_obj.selected_patient_visit_list := ();
|
||||
conclude true;
|
||||
;;
|
||||
action:
|
||||
return global_session_obj;
|
||||
;;
|
||||
end:
|
||||
Reference in New Issue
Block a user