1. Introduction
The prescription and administration of drugs are the most common process that takes place in hospitals. Although a relatively simple process, it is considered the riskiest process in hospitals because mistakes during drug administration are among the most common ones. Normally, a hospital with, for example, 500 beds administers over 1,600,000 drugs per year (with an average of nine drugs administered to a patient per day). However, the number and typology of mistakes they make are often not even monitored. Even with the correct administration of drugs at the level of 99.9%, there would be 1643 medication errors in such a hospital in one year.
Until recently, interest in healthcare errors—and the role of the human factor in them—was very low. Unlike areas with a high degree of potential risk (e.g., air, rail, and maritime transport, nuclear power, chemical industry, etc.), when in case of disaster, the massive loss of life and extensive damage to property and the environment occurs, in fact, accident in health care concerns individuals. Therefore, they do not individually attract such great social and political attention. However, this does not mean that they are not serious and, not at all, that they do not happen.
In general, the medication process in Czech healthcare facilities (unlike other hospital processes) has not been much innovated over the past few decades—the same manual decentralized preparation of drugs by nurses in wards is still applied. Unlike the clinical part of hospitals, institutional pharmacies do not use worlds’ common technologies and techniques; rarely, a clinical pharmacist is involved in the medication process, and patient verification and administration record are not sufficient, so the ability to verify the correctness of administration is limited (there is usually no clear and complete record of drug administration); stock records of medicines are administratively very demanding and, therefore, confusing and unreliable; the time of preparation of medication is time-consuming, etc. An important factor increasing the risk of the process is the lack and overload of nurses.
Despite the obvious success of Czech hospitals in increasing the safety of the medication, it is indisputable that the current decentralized manual preparation of drugs by nurses in wards carries a number of safety risks for patients in inpatient wards and also a number of economic and procedural inefficiencies for the entire hospital.
The safety of the drug delivery process increases with the introduction of new technologies and innovative approaches. The current safest and most effective practice is the automated preparation of drug therapies for individual patients centralized in a hospital pharmacy using robotically prepared single-doses of drugs. Every movement of such a single dose within the hospital is completely transparent and ensures maximum safety for the patient. For efficiency, records, and safety reasons, this approach is combined with the use of automated warehouses to manage drugs that cannot be prepared in individual doses.
Zhou et al. [
1] published a study about the safety of the drug delivery system that fully considers the clinical drug safety decision support system in various businesses. They used the object-oriented method, the client-server (C/S) architecture method to design the system, and strict access control and realized the basic data maintenance, information query, drug prevention, a variety of interface design of the business, information query, prescription, prescription management.
Technology to automate aspects of the dispensing process of drugs is described, e.g., in [
2,
3,
4]. These articles present the background to automation, giving details of the main pharmacy-based, original pack dispensing systems that are currently available.
Le Gonidec et al. [
5] presented a study focused on the performances of the automated dispensing system in terms of single-dose packaging, single-dose dispensing, dispensing error rate, and security of the medication circuit. The 76 plus or minus 5% of the prescribed medications are automatically dispensed. The packaging working flow rate is 377 units doses per hour, and the dispensing working flow rate is 537 doses per hour. The dispensing error rate is 0.5% due to wrong delivery orders, mainly generated by the Pharma
® computer-order entry software.
Another study dealt with automated drug dispensing systems but from a different point of view. Skyggedal et al. [
6] measured dexamethasone residue left on the suction cup after the production of 100 and 400 dexamethasone tablets and after 20 paracetamol tablets used as a negative control. Results: It has been found that 32.9 μg and 49.5 μg of dexamethasone have been transferred to the suction cup in the two experiments. This is approximately 1 per mile of the dexamethasone content in a 40 mg tablet. The reason for their research was that the risk of drug-drug cross-contamination in drug-dispensing robots in hospital pharmacies causes cumbersome restraints to be put on the production of the robot, for example, by scheduling high-risk drugs to be dispensed at the end of the day.
The solutions described below are compliant, for example, with the requirements of the European Association of Hospital Pharmacists [
7] and the recommendations of the Expert Group on Safe Medication at the European Council [
8]. In the current medication process, the medication process itself is separate from the drug distribution and management process. However, an innovative approach through digitalization, at all levels, integrates these processes and creates a closed cycle (see
Figure 1).
The automated and safe medication process, as can be seen in
Figure 1, proceeds as follows:
The doctor prescribes a schedule of medication in the Information System (IS).
The clinical pharmacist can verify the medication, possibly corrected as needed (e.g., exchange for appropriate drug or adjusts the strength of the dose).
The original packages of medicines are divided into the institutional pharmacy and repackaged into sachets containing a single dose of a specific medicine. A barcode and other necessary information about the medicine are printed on these bags.
The pharmacist completes the therapy (robotically-bound single-dose packs and non-single-dose packs) and prepares them for transport to the ward.
Nurses give this therapy (already prepared in the pharmacy) to patients at the right time.
3. Communication Protocols in Healthcare
Data standards serve to facilitate communication between healthcare systems during the transfer of medical data.
“In view of the ever-expanding and growing healthcare agenda and the effort to integrate individual global healthcare systems, there is a need for a single standard that defines all systems. The Czech Republic, however, has gone in the opposite direction. While the global trend is unification, it bet on the development of its own medical data standard. It is quite different from the most frequently used world standard, HL7” [
46].
The main structural problem is that the HIS (hospital information system) and outpatient software in the Czech Republic are not able to communicate in HL7 (validly). There is a lack of structured medical records and problematic translation of DASTA into HL7 [
47].
In order for information systems to exchange data, we must specify a communication language—a protocol. It must be implemented on both sides and, if possible, with the greatest possible generality. At the same time, however, we must include all possible states that systems could transmit. Such standards for the exchange of medical data have existed for some time, but the problem is their inconsistency and the absence of a major data standard for healthcare.
3.1. The DASTA Communication Protocol
DASTA is an acronym for the Czech national data standard for the exchange of information in healthcare. This standard is published by the Ministry of Health of the Czech Republic.
DASTA is a regularly updated, open standard for communication between the information systems of healthcare facilities, covering clinical, laboratory, statistical, and administrative areas, which includes code lists (for example, the National Code List of Laboratory Items, Clinical Events code list, current code lists of the Institute of Health Information and Statistics, etc.), documents, and tools (for example, the Laboratory Items Code List (ČLP) program) [
48].
“The conceptual basis of the standard is created by the Working Group of Data Standards of the Czech Society of Health Informatics and Scientific Data (ČSZIVI) ČLS JEP in cooperation with other entities involved in the development of the standard and according to the needs of the National Health Information system” [
48].
In 1997, the first version of the Czech national standard for the exchange of information in the healthcare sector, DASTA, was created; since 2002, DASTA has been routinely used by all main information systems in Czech healthcare.
Data blocks form the basis of DASTA; they are described by a unique name within the entire standard, as well as a unique name of the XML element in the file. The block specifies what mandatory and optional information it will contain. The definition of these blocks can be found in text form and in the form of tables on the DASTA website [
49]. As of DS 04.01, it is also possible to define an Extensible Markup Language (XML) schema or an earlier Document Type Definition (DTD). Officially, however, the tabular form is superior to all others.
Description of main data blocks:
source_js—here, we find codes: company_code, program_code, program_version, clearly specifying the source of the data.
pm—receiving place—the place where we send the data file—it is possible to select from the following codes: ico, icl, icp, icz, pcz, oddel.
is—one of the most important blocks, containing directly the data on patients (in block ip). Another important item is the definition of the sender of the data file.
ip—block, uniquely defining the patient—there are items like id_pac, rodcis (birth number), name, surname, sex (gender—M for men and F for women), and others.
3.2. The HL7 Communication Protocol
3.2.1. Overview of HL7
In contrast to the DASTA standard, which is strictly national, HL7 represents a set of international standards. HL7 standards are set by the international organization Health Level Seven International, and from there, they are adopted by other standard organizations, such as the International Organization for Standardization and the American National Standards Institute.
“The HL7 (Health Level Seven) communication standard was developed for the healthcare system. HL7 enables electronic communication between virtually all participating institutions and fields. Currently, it offers the support of extensive experience, with respect to its use in hospitals” [
50].
As Noumier [
51] presented, HL7 is a standard for exchanging information between medical information systems. It is widely deployed and covers the exchange of information in several functional domains. It is very important and crucial to achieving interoperability in healthcare. HL7 competencies are needed by all professionals, touching information technology in healthcare.
“HL7 and its members provide a framework (and related standards) for the exchange, integration, sharing, and retrieval of electronic health information. These standards define how information is packaged and communicated from one party to another, setting the language, structure, and data types required for seamless integration between systems. HL7 standards support clinical practice and the management, delivery, and evaluation of health services and are recognized as the most commonly used in the world” [
52].
The name refers to the upper (seventh) level of the international organization for standardization (ISO) communication model for the open system interconnection (OSI). This level is also called the application layer. In the application layer, the data to be exchanged must be defined, as well as sequential message processing and error protection management.
The message is the smallest transferable unit and consists of segments. It starts with a message header segment (MSH). It is identified by message type and initialization event (trigger event).
“Example: A message transmitting patient admission data is identified by the ADT (Admission, Discharge, Transfer) message type and the trigger event A01 (ADT ^ A01)” [
50].
Segments are arranged sequences of boxes. Segments can be declared as mandatory, optional, or with possible repetition. They are clearly identified by three characters placed at the beginning (segment identifier). They are separated by segment delimiters. For example, the ADT message may consist of segments on the simple scheme,
Figure 2, where the ADT message is displayed with segments MSH (i.e., message header), EVN (trigger event description), PID (patient identification), and PV1 (patient visit information).
Fields: The semantic content of messages is transmitted in the so-called segment fields. Fields can be of variable length and are separated by field separators,
Figure 3. A data type is defined for each field, e.g., string, value, time (duration), timestamp.
Abstract message syntax: The message consists of control and data segments, the frequency of which (cardinality) is defined using mandatory/optional/repeatable values. The frequency of occurrence can be described using the abstract message syntax.
Mandatory segments are identified by segment identifiers, and optional segments are enclosed in [], repeatable in {}.
Each message begins with information about the message itself (MSH message header, ENV event description, etc.). Usually, it is followed by patient data (patient identification PID, etc.)
Exchanging HL7 messages requires that error-free and complete transmission within networks (e.g., via TCP/IP (Transmission Control Protocol/Internet Protocol)) be ensured and that an unlimited message length be possible.
3.2.2. The Usage of HL7 in the Case of Automated Drug Management System Swisslog (PillPick and BoxPicker)
Incoming and outgoing messages are transmitted over TCP/IP or stored in a file. The automated drug management system (ADMS) interface receives and responds to ports that are specified during configuration.
The interface reads the message from a file in the shared storage and saves the response to another file. Message segments and fields that are not directly supported by the ADMS are ignored. Incoming messages are acknowledged with an ACK (acknowledge) message. Outgoing messages require a response in the form of an ACK message. Messaging is asynchronous.
Table 3 presents the definition of selected segments as well as an overview of the message field values and their description.
Default HL7 separators are supported:
3.3. Data Exchange in HL7
HL7 enables data exchange between systems. An example is the “admission of a patient to the hospital” event. In HL7, such an event is called a “trigger event”, see
Figure 4, where the graphical interpretation of that kind of algorithm is shown.
In general, two categories of messages are distinguished:
Unsolicited change of data,
A query, such as a specific laboratory system query, as to whether demographic information is available about the patient in question.
The so-called “unsolicited data change” is created by an event (e.g., patient admission). This event leads to an internal transaction in the sending system (e.g., insertion into the database). Then, the data is sent via HL7. The recipient receives the message and can respond to the transaction himself.
The ‘hospitalized patient admission’ event leads to the exchange of data in HL7 via message A01. The sending system (the inpatient care subsystem in
Figure 5) must transmit message A01 to the other subsystems. Typically, interface tools are used for the data distribution task. The sending system transmits the data to the interface tool, which then sends a message to all systems for which the receipt information is relevant.
Acknowledgment messages (ACK, see
Figure 6) are sent back to the sender to indicate receipt as “message received” (receiving ACK) or “message understood and processed” (application ACK). The acronym ADT in the next figure is one of the multi-purpose messages defined in HL7, namely “patient administration: admission, discharge, and transfer”.
If data is missing during the transaction, a query is generated in the system. The recipient should respond. Apart from this response, no other transaction is performed. The answer allows the querying system to complete the transaction.
3.4. Prescription Medication Requirement for the Patient (Standard)
This message is sent from the department (from Hospital Information System HIS) or pharmacy information system (from PIS) to the PillPick Manager (robotics SW) and ensures the preparation of personalized medication (drug circle for a specific patient) for the next 24 h. The system will start handling this type of request based on a “command” from the operator, respectively, according to a given schedule of activities in a robotic pharmacy.
The following tables (
Table 4,
Table 5,
Table 6,
Table 7,
Table 8,
Table 9,
Table 10,
Table 11,
Table 12,
Table 13,
Table 14 and
Table 15) describe individual segments of the HL7 message for the prescription of medication.
Patient code: 00001094879
Name and surname: Petr Svoboda
Date of birth: 5. 5. 1965
Sex: Male
Medication preparation from: 4. 10. 2018 10:00
Medication preparation till: 5. 10. 2018 09:59
Priority: 3
Schedule of administration: 10:00, 16:00, 22:00
Code of medicine: 38783695
Number of serving (doses): 6 (respectively, 2 doses at 10:00, 2 doses at 16:00, 2 doses at 22:00)
In this message, the priority has a numeric value of 1–89, with 89 being the highest.
The schedule of submissions is recorded, for example, as follows: …… ^ 1000 = once a day; …… ^ 1000 & 1800 = 2x daily; …… ^ 0600 & 1200 & 1800 & 2400 = 4 times a day.
The messages described above (
Table 3,
Table 4,
Table 5,
Table 6,
Table 7,
Table 8,
Table 9,
Table 10,
Table 11,
Table 12,
Table 13 and
Table 14) send the following information to the PillPick system:
● Patient code: | 00001094879 |
● Name: | Petr Svoboda |
● Born: | 5 May 1965 |
● Sex/Gender: | Male |
● Department: | SUR1 |
● Room: | 12 |
● Bed: | 12B |
● Department description: | SURGERY |
● Requirements type: | NW |
● Medication course/schedule number: | 001299 |
● Date and time of order: | 3. 10. 2018 09:12:25 |
● Preparation of medication for the period from: | 4 October 2018 10:00 |
● Preparation of medication for the period until: | 5 October 2018 09:59 |
● Priority: | 3 |
● Submission schedule: | 10:00, 16:00, 22:00 |
● Medicinal product code: | 38783695 |
● Number of servings: | 6 |
This report represents the requirement to prepare one medicinal product per day for one patient. One message must be sent for each Medicinal product (MP). The complete “order” of medication is, therefore, formed from these individual reports.
3.5. Summary of Healthcare Communication Standards
Seidl compared [
53] the data standard DASTA and HL7 from the technical point of view, and they seem to be very similar. In both cases, we may have a problem with the non-standard character set; the original writing format has no support in modern programming languages, but both standards offer a variant of writing in XML. Looking at the transport layer, the current practice between DASTA systems is to create files on shared storage; HL7 version 2 defines the requirements for the transport layer (so-called LLP—lower layer protocol), which is usually implemented in a TCP connection. However, HL7 messages as disk files are also common (*.hl7 files). From a technical point of view, there is a significant difference in the data types used, where DASTA uses the basic types provided by programming languages (number, text, enumeration), while HL7 version 2 uses 89 compound data types [
53].
In terms of content, however, the standards are practically incomparable. Each trigger event has its own unique code (e.g., A01, S04), and if it occurs, it will cause the transmission of a specific type of message with a defined segment structure. New segments are also defined that contain the necessary fields for transferring domain-specific data. In contrast, DASTA is always limited to the description of the data structure, while the obligation, multiplicity, the non-use of a specific data, or block, respectively, follows from the logic of the case. Likewise, the triggering event (and thus also the meaning of the processed message) must be inferred by the receiving party, or the meaning must be explicitly agreed in advance (e.g., by choosing a separate directory) [
53].
The book written by Oemig et al. [
54] focuses on the development and use of interoperability standards related to healthcare information technology (HIT) and provides an in-depth discussion of the associated essential aspects. The book explains the principles of conformance, examining how to improve the content of healthcare data exchange standards (including HL7 v2.x, V3/CDA (Clinical Document Architecture), FHIR (Fast Healthcare Interoperability Resources), CTS2 (Common Terminology Services, Release 2), DICOM (Digital Imaging and Communication in Medicine), EDIFACT (Electronic Data Interchange For Administration, Commerce and Transport), and ebXML (Electronic business XML)), the rigor of conformance testing, and the interoperability capabilities of healthcare applications for the benefit of healthcare professionals who use Health(care) Information Technology (HIT), developers of HIT applications, and healthcare consumers who aspire to be recipients of safe and effective health services facilitated through meaningful use of well-designed HIT.
6. The Interface between DASTA and HL7 (IDH)
6.1. Basic Description of IDH
Data communication is realized via Ethernet with cabling according to the IEEE 802.3u standard (Institute of Electrical and Electronics Engineers) and higher with a throughput of 100 Mbps and more. TCP/IP—IPv4 is used as a communication protocol. Data for communication with ADMS systems are stored in a database. It is necessary to create a communication interface to the robot software between the hospital information system (or more systems used in the hospital).
For this project, we have named the software interface, which converts the data necessary for robotic preparation of patient medication from the Czech DASTA data standard to the international standard HL7 “readable” for Swisslog robotics, IDH (interface between DASTA and HL7).
Since we have not been able to work with the real HIS so far, we have chosen a solution that, of the options described in the previous chapter, is closest to option 3—data bridge communication. IDH converts the data needed for the robotic preparation of patient medication (written in DASTA standard) into the structure. However, it simulates both the Swisslog robot and the HIS, therefore accessing a database created specifically for this purpose.
The SW allows:
Selection of medication in the form of a simple simulation of the patient’s medical record and treatment prescribed, as executed by the doctor in HIS,
A statement of the data sentence created in the DASTA standard,
A statement of the data sentence created in the HL7 standard, “translated” through the interface created between protocols,
Display of the prepared medication for the patient according to the treatment plan, in a simple graphical output simulating the robotic preparation of medication in the hospital pharmacy.
The output is presentable via a web interface.
We suppose that upon the completion of this project, the final version of this SW will work with data provided by the real HIS, or will acquire data via the API (a variant preferred by HIS vendors/administrators). In the final phase, we should, therefore, create an integration bridge that retrieves HIS data through the API and provides the necessary conversion and communication of messages to make them usable for Swisslog robotics. In the final phase, this should most likely be option 2, described above.
The information listed below must be available in the HIS/PIS database in order to order drug therapy for a specific patient. Data can originate in different systems/databases/code lists:
Unique identification of the patient
Department
department identifier
name of the department
Unique identification of the drug (or active substance)
Date and time of drug administration
Nurse identifier (when verifying drug administration)
No information about the patient is required for the need to store single doses in the department. For communication, the data must be transformed into a format corresponding to the specification of the international standard HL7.
6.2. Description of Interface Functionality
The web interface for testing and demonstrating HIS and IHD (Interface DASTA-HL7) communication is designed to be as intuitive as possible and to focus on the essence, which is the communication of the two systems themselves. Therefore, we do not find here all the functions and possibilities that the real HIS provides, because, for the given purpose, these would be distracting and clutter the space unnecessarily. Instead of detailed emulation, we prefer to offer an intuitive and clear presentation that should be quickly understandable, even to those who do not work with similar systems. For those who are accustomed to such systems, however, the arrangement should be familiar and not disrupt their ingrained habits.
The biggest advantage of the simplified preview is clearly the possibility of seeing at first glance the connections between individual phases and the data used in them.
The entire interface consists of the following basic building blocks:
Patient information
New medication entry form
Preview of the patient’s medication
Selection of the date to generate a medication report
DASTA report as of the given day
HL7 report generated from DASTA report
Illustration of the resulting IHD physical output
6.2.1. Patient Information
In this section, it is possible to read basic patient information. All data is randomly generated and is by no means real data on real persons. For a greater variety of test data, it is possible to switch between 100 fictitious patients using the arrows.
6.2.2. Form for Entering New Medication
The form for entering new medication is based on data obtained from the publicly accessible database of covered or not-covered drugs as of 1 September 2019. The user enters the name of the medication, which is auto-filled from the options provided in the database as it is typed. If there are multiple possibilities of drug strength or form, the desired option can be selected in the fields called “Strength” or “Path”. Based on this, the corresponding drug code is then displayed in the “SUKL” (state institute for drug control) field.
To complete the assignment, it is also necessary to fill in the “Schedule” and “Quantity” of drug administration. For better clarity, the “Schedule” in our presentation is limited to whether the drug will be administered in the morning, at noon, and/or in the evening. This information is provided in the form of “x-x-x“, where x is either 0 or 1, but this does not mean the number/quantity of MP doses, but only whether or not the MP is administered at a given time. All options provided by IDH for the “Schedule” field can be selected from the automatic menu that appears after the first digit is entered. The necessary information regarding drug administration also includes its amount/quantity, as stated in the “Quantity” field. In the case of 1-0-1 and an amount of 2, the patient receives 2 medications in the morning, none at noon, and 2 medications in the evening.
The final information needed to input a new medication on a patient’s card is the date from and to when the drug should be administered. Here, it is possible to ignore the end date for long-term medication. In the case of an urgent order, the start date can be ignored. The current date will be automatically filled in along with the increased priority.
Data cannot be input retroactively into the past and must progress in a logical order, where the start of medication use and the start date come before or on the same day as its termination.
Sending the prescription by one of the two buttons offers the incorporation of the drug into the patient’s list of medications. This effect is immediately visible. The new drug is shown in the first position in the medication report.
6.2.3. Preview of the Patient’s Current Medications
Each sample patient has a pre-filled current medication list generated by IDH, which is a random selection from the drug database and no diagnosis. Again, this is primarily about the widest possible range of test cases. By filling in the prescription, new drugs can be added, and you can remove any of the existing ones from the database by pressing the “Delete” button.
The information displayed in the individual drug view is minimal, but sufficient set of data that is reflected in the DASTA report and that comes from the new medication form. It is again an effort to make the data flow as clear as possible. Even though the real system would show some additional information, this might unnecessarily attract attention, even though it does not play any role in the process demonstrated.
6.2.4. Selection of Day for the Generation of Medication Message
Here, a single click is enough to display a calendar for selecting the date to which you want to issue medication. A good helper for choosing a suitable date is a direct look into the patient’s medication history, where drug names are accompanied by dates of use. After selecting the date, another field is displayed with generated messages and a preview of the IDH physical output.
If a patient’s medication as of the selected date grows to unrealistic dimensions, for clarity of outputs, it will be reduced to a maximum of 10 various medications.
6.2.5. Visualization of the Message Generated from the Input Data in the DASTA Standard
After a date for medication administration is selected, fields that have been hidden up to now are revealed. The first of these is a DASTA message in XML format.
Here, we use the sample DASTA standard message, which is part of its documentation. Individual fields are filled with information from the patient’s card and medication on that day. Highlighted is the information we will need to convert to an HL7 message. In real operation, this message will be provided by the HIS itself.
In the message, information shared between DASTA and HL7 standard messages is shown in a different color, as can be seen in
Figure 11.
6.2.6. An HL7 Message Generated from a DASTA Message
The HL7 message appears along with the DASTA message, although it is generated slightly later. The DASTA message is the source of all the information contained here. Therefore, we do not take the displayed data from the patient card or medication but take it directly from the message, which we will also work with in real operation. Again, there is color-shaded data that is shared between messages, see
Figure 12.
The format of this message directly corresponds to a format that is “readable” for ADMS.
7. Tests Performed and Results
For illustrative purposes, we present only one example of a randomly generated patient. These are data contained only in IDH and do not correspond to any real patients (all patient’s information and medication are fictional). The aim is to make the output of the application as clear as possible to the reader of this message, who would not have enough time to try the application itself.
7.1. Patient 1
The patient (Martin Veselý), see
Figure 13, lying in the Ear-Nose-Throat Clinique (abbr. ORL), was prescribed Tobrex eye drops (2 drops 3x daily) and Apo-Ibuprofen tablets (1 tablet in the morning and in the evening). Another previously entered medication is no longer in the current use of the patient.
From this input data, IDH will generate messages in the DASTA and HL7 standards and visualize them, as described in
Table 16.
Table 17 describes an algorithm of messages generated from IDH in the HL7 standard.
IDH will further create a simple visualization of the prepared “circuit” with the patient’s 24-h drug therapy, see
Figure 14. The circuit contains a “dispatch note” for the patient Martin Veselý (the dispatch note provides information about the patient and all his/her medication, whether or not it can be physically single-dose) and “bags” with single-doses of the prescribed medicine. Because drops cannot be single-dosed, the robot would only dispense ibuprofen in single doses, and the next part of the medication would be handled by an automated warehouse instead of robotics for single-dose preparation.
The image representing the tablet, as shown in
Figure 9, will reappear when you click to an arrow on the right. The arrows in the visualization field of the “drug bag” show the “flipping” between the images of the individual single doses that the ring would contain. The tablet image is shown twice because the patient is prescribed an ibuprofen tablet twice a day, and the “ring” contains a single-dose, 24-h medication.
7.2. Patient 2
A patient (Petr Procházka), shown in
Figure 15, lying in the Orthopedics Department, was prescribed two medicines: Muscoril in the morning and Una tablet in the evening.
From this input data, IDH will generate messages in the DASTA and HL7 standards and visualize them, see
Table 18 and
Table 19.
IDH will again create a “circle” at the same time as visualizing the writing of data standards, shown in
Figure 16. In the case of Petr Procházka, this is a patient’s guide, followed by two different single doses (ampoule with a solution for injection and pill).
In our testing environment, the Swisslog Interface Suite for HL7 was installed, which provided the communication with C.P.O.E. (computerized physician order entry or computerized provider order entry) via its TCP components. Our developed solution received the DASTA message via Web Form, as described above, which simulates receiving input data according to Czech DASTA message format requirements. The DASTA message was then translated into the HL7 format using our module and sent via a TCP connection to the HL7 interface. The response was received via the same connection, acknowledging the acceptance of the message by the C.P.O.E. with very low latency that ensured instant execution.
7.3. Benefits of the Innovated Process
Thanks to the developed SW interface, which enables the conversion of data from Czech DASTA to international HL7 standard, and the Swisslog Pillpick system for automated and safe medication processes can be used. It is a system for the preparation of single doses of drugs, which is the most technologically advanced, the safest in terms of errors in medication, the most comprehensive in terms of drug inventory management, and the most effective from the drug consumption point of view.
In addition to eliminating or minimizing errors in the medication process and economic-operational inefficiencies in existing practices, such an innovated (automated) medication process brings a number of benefits:
Saving time of nurses—according to measurements within the performed process analyses, 15–30% of nurses’ time is used for the management of the drug supply of temporary warehouses and the preparation of medicines according to the surgery. With the introduction of the proposed process-technological change, this time would be re-allocated, in favor of more intensive and thus better nursing care. (Due to the fact that nurses are generally in short supply in Czech hospitals, it cannot be assumed that hospitals will dismiss nurses.)
Effective use of expertise and know-how of hospital pharmacists and clinical pharmacists, who in the current process play the role of storekeepers in the pharmacy, rather than professional participation in the process of healing the patient by the hospital.
Easier accreditation or certification of the quality of care, for which the hospital must demonstrate a continuous increase in the quality of care in measurable indicators and data on the results of clinical care. Renewing accreditation forces you to change your routine and demonstrate improved security and process optimization.
Reduction of the administrative burden of individual departments, thanks to the digitalization of all drug transactions (up to the level of single-dose packages), including patient verification before drug administration.
Reduction of hospital pharmacy requirements for statim orders, which will be truly exceptional in the new system. The pharmacy will be operated (and thus the individual departments “serviced”) according to a precise schedule of work activities.
Effective reporting of the actual cost of medicines to individual patients.
Possibility of generating comprehensive analyses and reports in the field of medication and drug management in order to optimize the drug supply, clinical studies, documents for discussion with insurance companies, etc.
Increasing the image of the hospital.
Reduction of risks in the form of future costs of possible legal disputes arising from potential lawsuits of injured patients; in connection with this, the better position of the hospital in relation to commercial insurance companies that insure liability for damage to third parties. (The importance of both of these aspects can be expected to grow in the future.)
8. Conclusions
The paper described the interface created between DASTA and HL7 standards using a visual simulation presentable via a web interface that very simply simulates the process of a doctor’s prescribing a drug in the ward and its automated preparation in a hospital pharmacy. The newly-created interface between DASTA and HL7 (which has a working name abbreviated as IDH) allows the selection of medication in a very simple simulation of the registration of a patient’s medical record and treatment plan in HIS, a statement of the data sentence generated in the DASTA standard, a statement of the data sentence in the HL7 standard from the DASTA message, and showing the patient’s prepared medication in a simple graphical output, simulating a robotically prepared “circuit” of the patient’s personalized drug therapy with accompanying information about the patient and his or her medications for the next 24 h.
To ensure interoperability between healthcare information systems, a solution is presented. The web application for the translation of medical data from the DASTA standard to HL7 can help medical staff and hospital administrators because they can configure the local system easily and prepare it for communication with other systems. The resulted information will have a higher quality and will provide knowledge that will support safe drug dispensing.
For the purpose of this paper, we decided to use option 3 as an illustrative way how to easily transfer data from one standard to another. For future work, the final version of this SW will work with data provided by the real HIS or will acquire data via the API (a variant preferred by HIS vendors/administrators). In the final phase, we should, therefore, create an integration bridge that retrieves HIS data through the API and provides the necessary conversion and communication of messages to make them usable for Swisslog robotics. In the final phase, this should most likely be option 2 described above.