Intelligent Support System for Healthcare Logistics 4.0 Optimization in the Covid Pandemic Context

The covid pandemic points out inconsistencies and points to improve in the organization of healthcare logistics. Indeed, the dangerousness and the propagation process of the virus imply to increase health security (patient and personal health). In this context, healthcare logistics flows require a new and safety organization improving the hospital performance. The purpose of this paper consists in optimizing healthcare logistics flows by solving problems associated to the internal logistics such as reduction of the personal health wasting time and the protection of both patients and personal health. Then, the methodology corresponds to the use of the hospital sustainable digital transformation as a response to healthcare flows and safety problems. Indeed, social, societal and environmental aspects have to be considered in addition to new technologies such as artificial intelligence (AI), Internet of Things (IoTs), Big data and analytics. These parameters could be used in the healthcare for increasing doctor, nurse, caregiver performance during their daily operations, and patient satisfaction. Indeed, this hospital digital transformation requires the use of large data associated to patients and personal health, algorithms, a performance measurement tool (actual and future state) and a general approach for transforming digitally the hospital flows. The paper findings show that the healthcare logistics performance could be improved with a sustainable digital transformation methodology and an intelligent software tool. This paper aims to develop this healthcare logistics 4.0 methodology and to elaborate the intelligent support system. After an introduction presenting the common hospital flows and their main problems, a literature review will be detailed for showing how existing concepts could contribute to the elaboration of a structured methodology. The structure of the intelligent software tool for the healthcare digital transformation and the tool developHow to cite this paper: Dossou, P.-E., Foreste, L. and Misumi, E. (2021) Intelligent Support System for Healthcare Logistics 4.0 Optimization in the Covid Pandemic Context. Journal of Software Engineering and Applications, 14, 233-256. https://doi.org/10.4236/jsea.2021.146014 Received: April 25, 2021 Accepted: June 18, 2021 Published: June 21, 2021 Copyright © 2021 by author(s) and Scientific Research Publishing Inc. This work is licensed under the Creative Commons Attribution International License (CC BY 4.0). http://creativecommons.org/licenses/by/4.0/


Introduction
Many countries in the world are confronted with problems related to covid pandemic management in hospitals. For instance, in France problems were detected on how to manage processes of masks, safety clothes, respirators, patient beds in intensive care, and both patient and personal health security. Indeed, the vaccine supply chain management has decreased the healthcare logistics performance. The problems that have been accentuated during this crisis are numerous but could be summarized around how to improve the hospital flows performance and to consider both personal health and patient security. Many tools and methodologies have been used for managing the actual hospital organization, but as the results in European countries have shown during the first wave, their success was moderated. In this context, finding solutions to increase the level of logistics performance and ensuring patient and personal health security is required.
Despite the great importance of Industry 4.0 main concepts and technologies in companies, they are not yet sufficiently integrated into hospitals. Nowadays, AGVs are already used for transporting goods inside the hospital and cobots/ robots are employed in the doctor's routine helping them in daily tasks. The existing digital transformation methods are mainly based on the use of new technologies and tools and correspond to reasons that could explain problems met during the covid pandemic crisis. This paper proposes to realize the healthcare digital transformation for increasing the hospital's global performance and the level of safety by defining a new methodology in which sustainability (social societal ad environmental aspects) is used as the kernel of the digital transformation process. Indeed, the use of technologies such as the Internet of Things (IoT), Artificial Intelligence (AI), and Big Data just in specific processes makes hospitals unable to effectively implement Healthcare 4.0. The problem lies in the fact that a complete implementation of Healthcare 4.0 beyond digital transformation, implies the integration of technical and sociocultural aspects inside the hospitals. The main barriers are associated with the development of an incorporated IT infrastructure aligned with the hospital's strategy. This issue is proven by the fact that healthcare has been the slowest sector to adopt information technologies.
This paper is based on a research-action project involving the elaboration of a Healthcare logistics 4.0 framework that aims to introduce new concepts and tools in hospital logistics to mitigate the mentioned barriers and allowing the implementation of suggested solutions in hospitals for measuring their impact on the healthcare digital transformation. The focus is on improving healthcare performance mainly because human lives depend on having all resources available, at the right time, in the whole hospital.
This new framework will contribute to the better management of hospital processes optimization. These improvements are required due to the aging of the population worldwide (mainly in Europe) and recently, the high demand for hospital resources because of the coronavirus pandemic. The integration of logistics processes applying Industry 4.0 main technologies to improve the efficiency of logistics flows would result in massive gains for hospitals, affecting process efficiency and resulting in cost reduction and ensuring better patient management. Despite the imminent benefits of adopting the mentioned technologies fully in hospital flows, it is not yet clear and easy to understand the real results of implementing technology and how its implementation will affect the flow.
The aim of this paper is to present an intelligent problem-solving tool that will facilitate the identification of logistics deficiencies in hospital flows and propose solutions implementing the lean manufacturing approach and Industry 4.0 main technologies. As a result, a hospital logistics digital twin will be elaborated and will facilitate the test and simulation of scenarios within hospitals, a clear identification of flow deficiencies, and how to solve them based on expert system knowledge.
After a literature review on logistics flow optimization methods, and logistics 4.0 formalisms such as Artificial intelligence (machine learning, expert systems, multi-agent systems), IoTs, and Big data analytics, a sustainable healthcare logistics 4.0 framework will be presented, and the structure of the intelligent software tool being developed for supporting sustainably the healthcare digital transformation will be exposed. The development of the software tool will exploit two hospitals (of the "Grand Paris Sud region") real data acquired during the study. The analysis of hospital flow deficiencies will be supported by the evidencing of real data collected in a hospital. The data collected will be transformed for elaborating a reference model called the "ideal situation" that could be suggested by the software tool during a hospital flow digital transformation. Then, based on the two hospital situations, an illustration as the suggested solution that would be proposed by the tool will be presented.

Literature Review
Many methods exist for improving company logistics performance such as lean manufacturing and DMAIC (Define, Measure, Analyze, Improve, Control and Standardize) formalisms. They have been exploited to improve hospital flow performance but don't necessarily include the use of industry 4.0 concepts and problems of patient and personal health security are not solved. Indeed, various healthcare experiences are made. For instance, in [1] four digital technologies (real-time care plan development and remote consultations, digital non-invasive

Logistics Flow Optimization Methods
Many tools and methods are exploited by industrial companies and contribute to optimize their performance. Most of them include a part of lean manufacturing method such as "Just In Time" (JIT) philosophy (Kanban, SMED), 5 S, Value Stream Mapping (VSM) tool, Waste management (Mudas), etc. Another tool is adapted for logistic problems' solving: DMAIC method. This part presents both methods.

Lean Manufacturing
This method is used for identifying added values and non-added values (waste) in a flow and elaborated transformations required for suppressing the non-added values and increasing the added values performance. this methodology is issued from the Toyota Work Philosophy, and the term "Lean" first appeared in the 90s. Seven types of waste (Mudas) were developed: overproduction, wait, transport, stock, unnecessary activity, defects, and motion. Overproduction is the task that generates the most losses [5]. To implement the Lean philosophy, several tools, and techniques such as VSM that helps to distinguish the non-waste and waste processes. The implementation of the Lean Manufacturing approach is realized in three main stages: pre-implementation stage (lean readiness), implementation stage (lean approach), and post-implementation stage (results) [6].
Aiming at increasing process efficiency and mitigating non-added value processes, Lean Manufacturing methods have been extensively implemented in healthcare institutions. For instance, the method is used for collecting patient information several times, unnecessary patient displacement, excessive waiting by patients for appointments, and uncoordinated processes. Despite the wide application of lean assumptions in hospitals and clinics, the prospected results are not achieved [6]. The significant number of failures can be explained by 3 main factors: • Absence of adaptation: it is essential to adapt lean concepts to knowledgeintensive service sectors such as healthcare. This transition is not always clear, which causes a higher probability of failure.  The use of this method is not sufficient for solving all problems related to covid pandemic context and logistics flows optimization. The following section will focus on the second flow optimization method.

DMAIC
Six Sigma is a method used for reducing defect rates, which is based on statistical and scientific methods. The improvement procedure is widely used to increase quality standards by reducing variation and improving complex problems in manufacturing and business firms [7] [8]. Six Sigma defines steps to improve quality and minimize variability in the processes. The four main steps of the method are [7]: • Function model and objective of the method; • The DMAIC (Define, Measure, Analyze, Improve, and Control) separating the model in stages; • Techniques to be employed; • CTQ (critical-to-quality) characteristics and the difference between the causes (vital and trivial).
A key element of Six Sigma is the DMAIC approach, which consists of understanding root causes of a problem through exhaustive analyses to propose assertive solutions [7] [8]. Its main objective is to apply the five steps (Define, Measure, Analyze, Improve, and Control) structuring a data-based analysis and prioritizing an exhaustive analysis of premature decision making to improve the process.
In the Define phase, the whole project is analyzed from the KPIs to project constraints and risks. The Measure phase determines the process capability and performance through the evaluation of waste, defects, and variations of the project. The Analyze phase seeks to determine the cause-and-effect relationships between steps and results of the process. The root causes for variability, imbalance and waste are identified. In the Improve phase, changes and improvements are elaborated in order to eliminate the root causes of a process. Improvements and changes are tested and implemented [8].
This method is structured and introduces the formalization of the measurement. Key performance can be elaborated in this frame and the structuration of the data associated with each phase could be exploited. But this method is not able to solve all problems related to covid pandemic context and logistics optimization.
The combination of both methods will allow to define an adapted methodology for managing the hospital flows digital transformation.

New Technologies and Methods for Logistics 4.0 2.2.1. Logistics 4.0 Concepts
Many frameworks have been developed on industry 4.0 and logistics 4.0 concepts, as explained in [9], but are only focused on technological and organizational parameters or social and human aspects. Then, they are not sufficiently used by SMEs. A framework with sustainability as the kernel of changes that combines both parameters and aspects cited above, has been elaborated. Sustainability as defined in the Cambridge dictionary is the quality of causing little or no damage to the environment and therefore able to continue for a long time.
This includes social, societal and environmental dimensions [10]. Instead of focusing on new technologies and organization (like in other frameworks), sustainability is used for taking into account SME brakes for this implementation, de- GRAI methodology developed at the University of Bordeaux has been chosen because it is one of the three main methodologies with PERA [12] and CIMOSA [13] of enterprise modelling. Indeed, CIMOSA (Computer Integrated Manufacturing Open System Architecture) is a methodology used for designing CIM open system architecture, for defining a set of concepts and rules for facilitating the realization of future manufacturing systems, and for aiding the reimplementation of existing systems. CIMOSA is the reference architecture for describing enterprises by giving characteristics for modelling production systems on three levels: definition of requirements, design specification, and implementation description [14]. PERA (Purdue Enterprise Reference Architecture) is used for describing in detail the steps in a project life cycle from the requirements to the end of the project. The approach developed identifies in the project, the functional analysis, the functional design, the detailed design, the development, and the implementation. GRAI methodology associates both previous methods' advantages in the company performance analysis and improvement. This framework could be used for managing the healthcare logistics digital transformation because it is focused on sustainability (social (personal health and patient), societal and environmental aspects) combined with new technologies and tools such as AI, IoTs and big data analytics.

Artificial Intelligence Concepts and Tools
Artificial intelligence (AI) is a technology that adapts very well to the new challenges that emerge in the development of the fourth industrial revolution. Within artificial intelligence, cognitive systems and the learning of machines play an important role in the realization of the economy and society of both the present and the future [15]. Machine learning, deep learning, and other techniques have many applications in different domains such as healthcare, surgeries, diagnosis, etc. Even with the advertising created by technology companies such as Google, Facebook, and Amazon about Artificial Intelligence and its applications, there are still many learning applications to be explored, particularly within the construction sector in areas such as planning and site management, health and safety, and forecasting construction costs, which have not yet been so well explored [16].
Within the context of the supply chain and logistics, the use of Artificial Intelligence allows for opportunities to streamline operations by leveraging machine learning methods [17]. The use of AI within logistics consists of the wide use of data about each component of the supply chain [15]. One of the most used algorithms within this field is machine learning (ML), which is able to identify patterns in large data sets without knowledge of the underlying system. Through the analysis of planned and executed historical routes, it aims to identify the contribution of specific customers to the deviations of routes and to identify the constrained customers [17].
In recent years, one of the tools that have stood out in the use of Artificial Intelligence is the multi-agent system (MAS), which has attracted great attention due to its wide application in many fields, such as satellite communications, biological systems, mobile robots. This Multi-agent concept could be used by the software for managing the digital twin elaboration. Indeed, it is integrated with simulation tools (Flexsim, Anylogic, etc.) that could be used.
Based on cloud computing, a predictive control scheme for a multi-agent networked system is proposed to achieve stability and consensus simultaneously, where network delays are actively compensated [18].
At present, Artificial Intelligence has more complex techniques such as artificial neural networks, fuzzy logic, and genetic algorithms, which are common research topics because they can handle complicated problems in prediction and other areas, which are hard to solve by traditional methods. When one compares the capacity of AI techniques with conventional techniques such as ARIMA and Regression in the field of prediction and one notices that systems based on AI have more accurate results in these conventional approaches, which for this reason they have been used successfully in place of the prediction problems [19].
For the definition of an ideal model for healthcare logistics, case-based reasoning and generalization reasoning could be used. They could be combined with digital transformation expert knowledge for realizing the hospital logistics improvements. Indeed, the theory of the expert system could be exploited. The expert system described in Figure 1 is defined as an artificial intelligence system using knowledge from a relatively limited field to solve problems in that field. It Journal of Software Engineering and Applications is used to simulate human experts to solve problems in a professional environment [20]. One of the most important characteristics of an expert system is the ability to make inferences and automated reasoning [21].
To understand expert systems, certain concepts need to be defined, first, data and their relationship with knowledge. If, in the past, processing in a computer consisted of performing operations on data, with man understanding the meaning of manipulations, the objective of designing programs capable of analyzing the semantics (meaning) of the data used implies the use of knowledge bases.
Such programs can produce logical chains from the conclusions obtained beforehand, as if passing this knowledge through the conclusions, verifying their logic, specifying, and building finer structures [22].
In many decision-making situations, expert systems have been helpful in deducing a more conceptual understanding from data. With the rise of the Internet of Things and the increasing presence of cloud computing, expert systems need to be improved to support higher-level operators, large rule bases, and ample flow of inputs [23]. These systems include a human-computer interface, knowledge management system and library, interpretation module, inference engine, and dynamic database [20].
Expert systems involve three main knowledge: facts, rules (know-how), and control structures. The knowledge of facts is communicated to specialized systems by an expert geographer during a dialogue and reflects the views of this man during this work. The knowledge of the rules is closely linked to that of the facts but is the result, so to speak, of the accumulation of this knowledge, which is used to elaborate the rules that define the behavior of the system. Finally, the knowledge of control allows the choice of the best strategy for the functioning of the system [24]. The Expert System must manage inputs from the user interface, to make fuzzification, to use Inference Motor to reach a solution, to make defuzzification, to use adapted knowledge, and to manage outputs in the user interface.
All the formalisms presented above are used in the literature for treating  healthcare problems but need to be combined with other new technologies. Indeed, physical measuring systems must be elaborated.

Internet of Things
According to [24] the Internet of Things (IoT) is an organization of correlated preparing devices, mechanical and propelled machines, things, animals, or people that are given unique identifiers and the ability to move data over a framework without anticipating that human-to-human or human-to-PC. The IoT architecture is designed to provide all objects with identification, detection, networking, and processing capabilities, so that they can exchange and share information with each other and develop advanced services over the Internet. As described in [25], IoT architecture involves four levels: • hardware: smart devices such as sensors and actuators; • connectivity and communication middleware (data collected by sensors and stored in the cloud); • big data storage and analytics (storage and analysis of data; data analytics is the process of transforming data from raw units into actions and insights); • and IoT applications (various applications leverage across several sectors such as transportation, logistics, delivery, healthcare, etc.).
The elaboration of the IoT physical systems in healthcare 4.0 problems is pertinent and regularly used. But it is important in this case to manage all data associated with these measures.

Big Data and Analytics
BDA is defined as a holistic approach for managing, processing, and analyzing data sizes (volume, variety, velocity, veracity, and value) that are needed to create action-oriented information for sustained delivery, performance measurement, and competitive advantage [26] [27]. Analytic problems and techniques [28] are summarized in Figure 2.
An analytics project will try to create a data model from unstructured data. Journal of Software Engineering and Applications Unstructured data is another area in most organizations, but it too can provide important insights and can also help add a qualitative story to quantitative analysis. That means that when combined with intuition, the data becomes a powerful tool for making decisions for business. As such with the perspective to produce services to logistics managers or company logistics analytics uses data to make better decisions. For instance, relating to a company, one of the most critical decisions in transportation and logistics involves planning for the future.
Managers need to prepare for a host of what-if scenarios, understanding how each action they take could potentially impact their network and costs. It is overarching to indicate that external consulting services are conceptualized for logistic firms, through software services. The intelligent support system that is being developed, is based on AI formalisms, more precisely the use of expert systems, machine learning and multi-agent systems to solve healthcare logistics problems. The objective is to demonstrate that some of the concepts presented above could be exploited for creating and developing an efficient intelligent support system.
In synthesis, the software tool developed by combining the concepts presented above will be used for transforming digitally the hospital logistics. The following section presents how the formalisms, methods, concepts, and tools explained above are exploited for developing the framework of healthcare logistics 4.0 and the intelligent software tool for optimizing this hospital logistics flow.

Healthcare Logistics 4.0 Optimization Method and Tools
The decision-aided system is a problem-solving tool based on Artificial Intelligence designed to improve logistics in hospitals. The aim of the decision aided system is to eliminate inconsistencies in hospital flows and optimize the lead time throughout the simulation and measure of the gains generated by the im-

The General Approach of Healthcare 4.0 Optimization
This tool is developed from the collection and analysis of hospital flow data and the identification of numerous dysfunctions and the opportunity to implement concepts and technologies to reduce non-value added and reduce costs. The development phases of the tool are shown in Figure 4.  To reach its goal, the software tool requires data from hospitals as inputs.
These inputs will be compared to the general model (ideal situation) created from the real data collected in hospitals. The outputs of the intelligent system show the main dysfunctions of the processes and give suggestions incorporating logistics 4.0 main technologies.
The inputs of the intelligent system are: • Layout of the hospital; • Place of beginning and end of the activity; • Number and type of healthcare workers; • Type of process; • Times per day and week that the process is performed; • Equipment used in the process; • Duration of the process.
The outputs of the intelligent tool are: • Dashboard with main KPIs for flow analysis in the current process; • Simulation of the current process;

Concepts and Methodology for the Intelligent System Development
The methods, concepts and tools used for developing Healthcare Logistics 4.0 are elaborated from lean manufacturing concepts, decision aided mechanisms, • Manual tasks that could be digitized; • Lack of organization of the process; • Lack of traceability of medicaments and other supplies; • Unnecessary displacements. The intelligent support system is being developed using Artificial Intelligence formalisms to integrate human reasoning into the system to improve its efficiency and support the suggestions given. The system needs to be capable of reasoning in order to solve problems, acquiring new knowledge and applying it into a system, exploiting real cases to learn and understand how to solve different situations, measuring the importance degree of the situation and treating incomplete/wrong data with high efficiency.

The Intelligent Support System for Healthcare Logistics 4.0
The structure presented in Figure 5 supports the development of the decision Journal of Software Engineering and Applications

Database
The first step to find a solution for the hospital's logistics problems is to analyze the actual situation comparing it with an ideal situation. The Database will store the ideal situation in the Reference Model and the actual situation will be recorded in the Inputs of the system. The software will be able to cross-reference these data to clearly define the problem and then propose solutions. The outputs of the comparative analysis will be recorded in the Results. The database will be the fixed memory of the whole platform, which means that some modules will have access to this data to function properly.

Tool Manager
This module manages the interactions between the different modules of the platform. It serves as a link between them and could be used to make the final synthesis. It is essential for the functioning of the platform since it serves as a link between the other modules.

The User Interface
The user interface manages the interaction between the user and the platform. It is through this module that users can enter their data, understand the problems identified in the current situation, participate in the creation of the problem res-

The Expert System
The expert system of the intelligent tool must be able to acquire new knowledge depending on the situation detailed by the user. The user will contribute to the improvement of this module due to the flow data that will be inputted in the software. The software will accumulate and sort the data, being able to propose more relevant solutions as it is used. The inference motor is the kernel of the expert system. The interaction between fact and rules bases, are created by this module of the Expert System. Data stocked in these bases would be extracted for analyzing the current case inputted by the user and identifying problems. Basically, it is a protocol for navigating inside the database through rules aiming to solve the problems.
The aim of the Learning System is to improve Expert System performance through the Artificial Neural Network. The module will be able to forecast the demand and adapt the formulas by learning with data provided by the user. Data available integrated with the tool in the Inputs would increase the learning system knowledge and improve its performance.

The Logistics Optimizer
The Logistics Optimizer module is directly linked to the following modules: measure of performance, the database, and the expert system. Its main purpose is to solve problems detected in the expert system module. The outputs of the module are the improvements that will be proposed to the user. The system will then, after the analysis by the expert system, propose solutions. It will also propose a base of possible solutions allowing to choose the appropriate ones according to the perception of the user. To better accomplish these goals, it will also exploit the reference models of the Capitalization System.

Measure of Performance
The main goal of the module is to exploit the results of the Logistics Optimizer.
This module aims to measure the level of each indicator that has been defined to analyze the flow, this will allow to easily identify the impact of the outputs of the Logistic Optimizer (options of improvement). The outputs of this module must be the indicators related to the process (current and with the improvements chosen by the user) organized in an easy-to-view dashboard.

Capitalization System
This module will be used as a database of old cases that can be accessed by the user to compare them with the current situation of the logistic flow of the hospital. These cases can give examples of how implementation of 4.0 logistics technologies can improve real processes.

Simulation System
The Simulation System module explains the different functions that need to be developed to properly connect the tool with the source software that will be used to simulate logistic flows.

Input System
To allow the construction of the final solution to the problems identified by the Expert System together with the user, the module will give the system flexibility of option choice. The module is composed of three parts: co-creation system, verification, and data treatment. The co-creation system will guide the user through various instructions to show him the possible application flow improvement options.

Design of the Intelligent Support System
To help the software developers for specifying, visualizing, constructing, and documenting the artifacts of the software system the Unified Modeling Language  Show the dashboard with key parameters for each process: these indicators will be shown after the simulation of the current process and after the implementation of the improvements, to allow the analysis of the process evolution Table 3. Description of the expert system function Main Function Expert System 1 Process and analyze inputs: this module will analyze and process the data to provide the best possible solution 2 Improve the ideal model: through repeated situation analysis, the tool will be able to propose an increasingly performing solution Journal of Software Engineering and Applications  Figure 6. Homepage of the platform.
The maquette of the software was developed to support the visualization of each module and how the integration between them is accomplished ( Figure 6).
The UML combined with the maquette will allow the development of the software.

Developing the Intelligent Support System
The last part of this paper concerns the development of the software tool. A hospital digital transformation could be done by simulating the existing system, analyzing this system, and exploiting the ideal situation developed in the software tool for suggesting transformation solution. Two hospitals of the "Grand Paris Sud" region have been studied in detail for elaborating their existing logistics systems. These data have been exploited for finding inconsistencies and points to improve. Both existing systems have been used for defining the digital transformation general model. The actual digital transformation general model will be improved by integrating other cases in the system according to the software tool learning system. The use of the general framework allows to obtain digital transformation steps for optimizing these processes. Each process is studied in detail and transformed progressively with sustainability as the kernel of the transformation. Similar cases of transformations will be proposed to the user for defining the best and adapted organization. The software tool steps contribute to validate the two hospitals' global transformations. And these new transformations were stored as transformation cases for future studies.
The process between entering the information in the software and obtaining the final result will be detailed, being possible to identify the different modules of the system through what will be shown in the user interface.
The first step is the identification of the user. The data entered will be stored in the Inputs base (Database module). The objective is that all elaborated transformations will be recorded and able to be reused as a case (Case-based reasoning) for future transformations. In the second page, the user can choose between "create a new process" and "my personal area". In the personal area, as shown in Figure 7, the old, simulated flows will be stored (Results Database).
To create a new process and simulate the current flow to identify its dysfunctions, the user can press "create a new process" (Figure 8). To precisely measure the flow characteristics, the user must enter information as: Type of process (it will be linked to the Simulation System module to identify the types of existing process in the simulation software), Times per day (daily periodicity of the process), Times per week (weekly periodicity of the process) and the layout of the hospital. The information is important for measuring the existing system  performance and comparing them to the potential transformation results. Each process will be elaborated, measured, and compared with the future solution.
Each flow must be separated into steps. So, the software will be able to simulate the process precisely and, through the module Expert System, identify the dysfunctions. Through the module Logistic Optimizer, it will be able to solve them. The steps require information details about the flow, such as the Duration of the Action, the Equipment used in the process and the Number of workers.
Indeed, in the software tool these data have been defined for the ideal solution and the existing information of the new case will be compared to them. It is also necessary to indicate the starting point of the step and ending location as indicated in Figure 9.
The first output of the system will be the simulation of the current process and the dysfunctions found in the flow ( Figure 10) according to rules saved in the expert system. The module Expert System will help the identification of the  Thus, the user doesn't need to be a specialist in simulation before realizing the study. A graphical editor will be given to the user and the decision aided tool will help him with suggestions.
The second output is the results of the Logistics Optimizer analysis. The module will propose several solutions that can be implemented to improve the flow performance and the solutions must include the adoption of Logistics 4.0 main technologies. The Input System module will allow the co-creation of the solution with the user. Among the proposed solutions, the user can decide which are the most applicable depending on their context. For instance, in the situation presented in Figure 11, the user can decide between adopting the AGV for locomotion, optimization of locomotion and reorganization of materials. All the improvements have an impact on the flow that must be shown to the user.
The flow will be simulated again with the improvements chosen by the user.
The user will have the flexibility to simulate and test different scenarios from the options he chooses. The simulation ( Figure 12) and the dashboard ( Figure 13) Figure 11. Choice of applicable flow improvements.

Conclusions
Considering the great importance of the integration of all flow data in a hospital to the hospital logistics performance, and additional constraints integrated in hospitals by covid pandemic, this paper aims to present an intelligent software tool that makes the identification of dysfunctions in the hospitals flows easier and the adoption of the Industry 4.0 technologies to solve these problems more tangible to users. The healthcare logistics digital transformation will contribute to reduce nurses, caregivers, and doctors' wasting time, and to increase patient service quality. The imminent need to develop a tool such as the one presented in this paper is based on the analysis of real hospital flows, which presented nu-Journal of Software Engineering and Applications merous dysfunctions.
The flows studied allowed the construction of a general model (ideal organization) that can be used as a support for the hospital's digital transformation. The