© Borgis - New Medicine 2/2008, s. 40-44
Software to Support a Medical Practitioner in an Endoscopic Laboratory
Lublin University of Technology
The article presents a concept of applying supporting software for a physician who does endoscopic examination. The proposed system archives examination results together with the picture and video materials and also stores a handy database of descriptions and diagnoses. The discussed software focuses on changes of a polyp character. When the examination is done it is possible to consult a rule expert system that makes a separate application.
The application of expert systems in Polish hospitals is rather inconspicuous. A few systems that support medical practice have already been implemented, among them: an expert system to support a diagnosis of benign prostate hypertrophy (1), and the medical expert system BayEx-DYSRAFIE (2). Some information technology projects concerning endoscopic testing such as a system for computer-supported endoscopic tests (3) or systems for computer visualization of the tests (4) have also been elaborated. However, none of the mentioned systems operates real-time in any specific endoscopic laboratory. The projects were either abandoned or completed a long time ago (1999 for (1) and 2001 for (3)) or remained at an experimental stage. Some of the research works were performed using packages that proved not to be optimal such as the Java language platform application for graphical operations, which did not make an effective solution because of excessive memory use by the Java virtual machine itself as well as because of a specific code performance from the level of a precompiled format (3).
The system proposed by the present author is not as platform-wise portable like Java language applications but is easier to program, use, correct and implement. Graphic stations of the system operate within the MS Windows environment, the server is based on one of the Linux distributions (or the MS Windows 2003 Server), access platform – PHP language and MySQL databases, owing to which access to test results via WWW of the hospital LAN and then WAN has been automatically implemented. Architecture of the existing LAN (example implementation in an endoscopic lab of Public Clinical Hospital No. 1 in Lublin) that connects graphic stations with a multimedia server (1Gb/s (5)) has also been altered.
Such a system is easy to implement and integrate
with the existing hospital equipment from where information in the graphical file form can be obtained or when it is only used as access stations to the results. The proposed system stores not only single pictures of various kinds but also videos recorded during USG or endoscopic testing, which makes it possible to comparatively quickly verify the condition of a patient and efficiently compare current results to previous ones. The quality of such verification and comparison based on recorded visual material is much higher than for previously practiced analyses of text documents. It also reduces overall costs of multiple testing performed for the same patient who happened to be diagnosed and treated in several medical units and by various doctors. It is worth mentioning that such a procedure is also more comfortable for the patient, who sometimes can be saved too numerous medical interventions. This is possible owing to a database where results and records of previous examinations are stored together with descriptions attached by the medical staff. Only authorized persons are granted access to the database and the patient records include information of the performed medical testing with the option to see not only its results but also its course if it was performed by other physicians in some other medical establishments (hospital departments). Such information can be very helpful in the course of further treatment or when evaluating the treatment effects.
Objective of the project
The presented research work has aimed at elaborating a computer application to support a medical practitioner who performs endoscopic testing. The application aside with archiving of the test results supports loading descriptions and generating reports that include image and text material. Based on the entered data the implemented expert system would suggest possible interpretations for the observed pathological changes.
Materials and methods
Rapid technological development and the great amounts of information that a medical practitioner can get about the condition of a patient makes support for decision-making in medicine more and more essential. When data and results concerning the condition of a patient come from various sources their analysis can be difficult. In such a situation a computer system for decision-making support can be very helpful. Such systems can analyze archival data and select the most important information out of them in a comparatively short time. They indicate deviations from correct values and suggest a diagnosis or possible procedures to be applied. They also can quickly compare actual test results to archived data and determine improvement or worsening of a patient´s condition.
It should be remembered that the decision-making process is very complex, especially when it concerns treatment, application of medicines or other clinical decisions.
There are many techniques that can be used in elaborating a system for supporting clinical decisions, including: clinical algorithms, expert systems based on rule knowledge, fuzzy systems, systems based on a theory of approximate sets, systems based on conditional probability, and others (6).
Presently, it is clinical algorithms that are the most often applied systems in hospitals and clinics. They define a list of consecutive actions that should be performed during medical procedures. They constitute one of the simplest tools to support medical staff in their work.
The discussed project has aimed at elaborating such a system whose databases would contain data obtained from procedures performed according to assumed algorithms. Such procedures ensure pretty good repeatability of results obtained for the patients and make it possible to compare actual results to the archival ones.
An expert system should be characterized by the following properties:
– all information pieces concerning the area of interest are recorded in a formalized and ordered way and form a structure called a knowledge base,
– processing of the knowledge base data is performed by an adequately developed part of the program called an inference machine,
– the system is equipped with a mechanism that makes it possible to communicate with the user – a user interface.
Easy access to the information and compiled knowledge of many experts are the main advantages of using the expert system (fig. 1). In the discussed case it is necessary to supplement the system with calculation models that can quickly provide quantitative information about the tested phenomena. Another valuable property of the expert system is the possibility of perpetual updating of the knowledge base and a reduction of expertise opinion costs (6).
Fig. 1. Schematic diagram of the expert system.
Rules of the expert system for the interpretation of the obtained knowledge
When elaborating an expert system that cooperates with knowledge databases it should be remembered that a description of the input data should be unambiguous (e.g. by a colour specification), invariable (e.g. by mathematical functions describing shape or regularity of a coat), or concern a determined quantity such as the diameter of a polyp or its volume (fig. 2) (7).
Fig. 2. Example screen of the new software that determines measurable characteristics of pathological changes based on a pattern.
In order to make the discussion of the elaborated expert system very clear, one of the possible anomalies that can occur in the human digestive system, that is polyps, has been selected for descriptive purposes.
Based on the performed observations the following data about polyps have been selected to be stored in the database: location of the polyp (description or a selection field listing digestive system parts), height (mm), diameter (mm), volume (mm3), stalk length (mm), colour (selection field or colour pattern), bleeding or not (selection field), regularity of shapes (selection field), preliminary cancer classification (name if the polyp resembles some known cancerous form), ingrowth depth (mm – update field to be filled e.g. by actual USG test results), ulcerous condition (selection field/check box), blood supply (selection field), comments (description field).
An analysis of changes and pathologies that form a basis for the discussed system elaboration yields example rules for an example system to be based on, such as the following ones:
Rule 21: If a polyp is of porous structure it may be a cancerous change.
Powyżej zamieściliśmy fragment artykułu, do którego możesz uzyskać pełny dostęp.
Płatny dostęp tylko do jednego, POWYŻSZEGO artykułu w Czytelni Medycznej
(uzyskany kod musi być wprowadzony na stronie artykułu, do którego został wykupiony)
Płatny dostęp do wszystkich zasobów Czytelni Medycznej
1. Makal J, Nazarkiewicz A, Oniśko A, et al.: System ekspertowy do wspomagania diagnozy łagodnego przerostu prostaty, PAR, Warszawa 7-8/2004; s. 193-196. 2. Valenta MA, Zygmunt A: Medyczny system ekspertowy BayEx-DYSRAFIE, Telemedycyna 2001, II krajowa konferencja naukowa, Łódź 2001; s. 67-72. 3. Krawczyk H, Knopa R, Mazurkiewicz A: Komputerowe wspomaganie badań endoskopowych [w:] Biocybernetyka i Inżynieria Biomedyczna 2000, Tom 7, Systemy komputerowe i teleinformatyczne w służbie zdrowia, EXIT, Warszawa 2002; s. 82-97. 4. Bartz D, Skalej M: VIVENDI - A Virtual Ventricle Endoscopy System for Virtual Medicine. In Data Visualization (Proc. of Symposium on Visualization), s. 155. 166, 324, 1999. 5. Gutek D: The computer system of medical picturing, Materiały IX International PHD Workshop, Wisła 2007. 6. Michnikowski M: Systemy wspomagania decyzji, w: Informatyka medyczna, (Red. R. Rudowski), PWN, Warszawa 2003; s. 93-117. 7. Gutek D: Measurements of the size of losses and polyp diameters on basis of endoscope images, 4th International conference of PHD students, University of Miskolc, Hungary 2003. 8. PC-Shell wersja 4. 1. 0. 0. Plik pomocy programu, AITECH, http://aitech.pl/, 2004.