Initial Checking with all 820 MLMs
This commit is contained in:
88
MLMStripper/bin/Debug/STD/STD_FUNC_HM_AUTO_ASSIGNMENT.mlm
Normal file
88
MLMStripper/bin/Debug/STD/STD_FUNC_HM_AUTO_ASSIGNMENT.mlm
Normal file
@@ -0,0 +1,88 @@
|
||||
maintenance:
|
||||
|
||||
title: Health Management Auto assignment MLM;;
|
||||
mlmname: STD_FUNC_HM_AUTO_ASSIGNMENT;;
|
||||
arden: version 2.5;;
|
||||
version: 18.4;;
|
||||
institution: Allscripts, Standard 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 is a standard function MLM that is used
|
||||
to insert a queue entry for the Health Management
|
||||
auto assignment functionality.
|
||||
|
||||
;;
|
||||
explanation: This MLM is called with 3 parameters.
|
||||
|
||||
clientGUID - The client GUID for the current patient
|
||||
|
||||
userGUID - The user GUID for the current logged on user
|
||||
|
||||
updateDatabase - Should only be set to true if the MLM needs to
|
||||
write data to the queue. Generally set to false when the
|
||||
calling MLM is being run from the MLM editor.
|
||||
|
||||
The CDS Scheduled Service must be running and the MLM
|
||||
SCH_HM_AUTO_ASSIGNMENT_EXECUTE must be loaded and in production.
|
||||
|
||||
;;
|
||||
keywords: HealthManagement, AutoAssignment
|
||||
;;
|
||||
knowledge:
|
||||
type: data-driven;;
|
||||
data:
|
||||
(clientGUID,
|
||||
userGUID,
|
||||
updateDatabase
|
||||
):= ARGUMENT;
|
||||
|
||||
log_execution_info := false;
|
||||
|
||||
// Do not run if called by the editor
|
||||
if ( updateDatabase ) then
|
||||
|
||||
if clientGUID is null or userGUID is null then
|
||||
result := null;
|
||||
else
|
||||
// Insert into the Auto Assignment Queue
|
||||
// Using the stored procedure
|
||||
|
||||
result := read last { "Execute SXAHMAutoAssignmentScheduleInsPr @clientGUID=" ||
|
||||
SQL(clientGUID) || ", @userGUID=" || SQL(userGUID) };
|
||||
|
||||
endif;
|
||||
endif;
|
||||
;;
|
||||
priority: 50
|
||||
;;
|
||||
evoke:
|
||||
;;
|
||||
logic:
|
||||
|
||||
conclude true;
|
||||
|
||||
;;
|
||||
action:
|
||||
return result;
|
||||
;;
|
||||
Urgency: 50;;
|
||||
end:
|
||||
Reference in New Issue
Block a user