Printer Friendly

Interfacing of large scale specimen testing machines in big hospitals to HMS software using RS 232.


Patients sample specimen testing queue, patient wait delays and patient overcrowding are the major challenges faced by big hospitals. Unnecessary and unwanted waits for long periods of time results in reducing substantial amount of human resource and time wastage and increase the irritation endured by patients. In the existing system, there is no provision for automatic movement of data from testing machines to Hospital Management Software. The objective of the project is to implement automatic movement of data from large testing machines to Hospital Management Software database and also to the cloud for data mining, data warehousing and research applications.

The large specimen testing machines used in Govt. Medical Colleges are EM 360 series with RS 232 and network socket connectivity manufactured by Transasia Biomedical Ltd. The system consist of a hardware unit to perform the specimen analysis and a local computer to feed the tests parameters into the analyser machine and a monitor to display the results after the completion of analyzing. A typical EM 360 Clinical Analysing machines are shown in the figure section. The basic concept of data transfer in this interface is the exchange of data and control frames between the host system and the analyzer. The existing system consist of manually entering of all the clinical laboratory test results into Local monitoring software and take the printout locally and issue to patients through results counter. And also the results is manually entering into Hospital Management System(HMS) and verify the same.

There is no provision for automatic movement of data from testing machines to HMS software. Proposed system consist of automatic movement of data from testing machines to HMS software. This methods of collecting big data have the following aspects in healthcare. Data heterogeneity and variety arise as a result of linking the diverse range of biomedical data sources available. Sources can be either quantitative (e.g., sensor data, images, laboratory tests) or qualitative (e.g., free text, demographics). The objectives underlying this data challenge are to support the basis for observational evidence to answer the questions related to clinical field, which would not or else been solved through studies which based on trials in randomized manner alone. In addition, the issue of generalizing various results based on a minute or narrow spectrum of attending people may be solved by taking the advantages of big data for constructing meaningful studies.

Related Work:

Currently, most hospitals are seems like overcrowded and lack of effective patient queue monitoring and management. Patient queue monitoring and management and wait time prediction form a challenging and complicated job since each patient may require different phases or steps of treatment, such as a doctor checkup, completing various specimen tests, e.g., a sugar level or blood test, X-rays or a CT scan, minor surgeries, required during treatment. We now represent each of these phases or treatment operations as treatment job or treatment tasks in this survey. Each treatment task can have varying time requirements for each patient, which makes issues in time prediction and further recommendation very complicated. A patient may usually in need of undergo examinations, inspections or specimen tests (refereed as treatment tasks) according to his condition. In such a case, more than one task might be required for each patient. Some of the tasks during treatment. We call each of these phases or treatment operations as treatment tasks or tasks in this paper. Each treatment task can have varying time requirements for patient by patient, which will results in time prediction and recommendation highly difficult in such a case, more than one task might be required for each patient.

Al most all peoples in Kerala depends Government Medical Colleges for medical treatments. As an average, total number of patients visit in Govt. Medical College Thrissur, Kerala is about 2500 nos. Among these, 2000 patients needs clinical investigation on Blood, Urine etc. The delay in obtaining lab results in proper timing affect the proper treatment of the patients.

Why is this problem interesting? Even if the testing machines have interfacing capability, all most all Medical Colleges follow manual processing of patient's sample. Is the problem already solved? What is done now? The problem is not solved yet. On enquiry, it is found that the delay of obtaining investigation results from the clinical labs is due to manual processing. Are there are possible improvements to current solutions? Serving congested areas in medical treatment using this solution, the main delay in clinical laboratories can be avoided.

Proposed Work:

Serial data communication feature is widely implemented. While it is sometimes presumed that a PC can deal with just about any problem you want to throw at it, nowadays number of electronic devices and accessories requires full of data that needs to be stored or recorded. Because of the femilarity and easiness of this type protocol, there are number of devices that have Because the RS-232 hardware is now implemented and widely available, together with many application and software tools, it is now also relatively cheap to fabricate and develop equipment.

A. RS232 Interfacing:

Rs 232 Sockets gives a vital function in client server applications. The client and server can make communication with each other by writing to or reading from these sockets. They are widely deployed in Berkeley as part of the BSD of operating systems like UNIX. And they spread like worm on the Internet. This paper introduces elements of RS 232 network programming and concepts involved in manufacturing interfacing applications using sockets.

One of the basic programming tasks related to networks likely to be faced by a java programmer is implementing the socket reading and writing functions because java has been introduced mostly for performing client server communications facility using sockets. A socket performs four fundamental operations: To connect to a remote machine, Send data, Receive data and Close the connection. A socket may not be connected to more than one host at a time. However, a socket may both send data to and receive data from the host to which it's connected. The basic class in java like class is Java's interface to a socket and allows you to perform all four above mentioned fundamental socket operations.

B. RS 232 Socket programming in Java: Java programming language has provided the facility to well handling sockets functions for interprocess communication (IPC). While programming for sockets in java, one has to make sure to import the package. The module in the Java programming provides a class module, Socket that can use in the client side connection. And a class Server Socket that implements the server side connection. The Server Socket on the server side the 'bind' method which is related to a certain port number and IP address, the 'listen' method to wait for incoming requests on the port and 'accept' for connection from the client side accordingly.

After acceptance, the server try to gets a new socket bound to the same port and also to its remote endpoint. The client starts initiates a three way handshake method with the server and try to creates a TCP connection. The client, server machines can now communicate by writing or reading their sockets. When the communication is over between the client and the server, the close method is called from the client and the server for closing the existing connections. This project, suggest a solution for automatic data movement between the specimen sample testing machine controller and hospital management system software using the RS232 interface and socket programming.

This avoids increase accuracy of results provided by the hospital laboratory, avoid manual entry of results, avoid delay in result publishing, only verification process is needed since the results of the patient's specimen tests is automatically feed into the Hospital Management Software, the manpower requirement is less, previous results can be accessed easily from the data bank, rare dieses can be find out easily analyzing the data bank.

Conclusion And Future Work:

The collection of clinical data will be stored in the personal health record system and make it available for query and update so it can be helpful in making important medical decisions. It also discuss about the barriers in personal health record adoption and how to lift such barriers so patient- centered healthcare may be possible. A better use of medical resources by means of personalization can lead to well-managed health services that can overcome the challenges of a rapidly increasing and aging population. The governmental policy and regulation are required to ensure privacy during data transmission and storage, as well as during subsequent data analysis tasks. This papert focus on helping patients complete their treatment tasks in a predictable time and helping hospitals schedule each treatment task queue and avoid people overcrowded queues.


[1.] Cottle, M., W. Hoover, S. Kanwal, M. Kohn, T. Strome and N.W. Treis- ter, 2013. Transforming Health Care Through Big Data, Institute for Health Technology Transformation, Washington DC, USA.

[2.] Laney, 2011. "3D data management: Controlling data volume, velocity and variety," Meta Group Inc., Stamford, CT, USA, Tech. Rep., 949.

[3.] Xu, H., M.C. Aldrich, Q. Chen, H. Liu, N.B. Peterson, Q. Dai, M. Levy, A. Shah, X. Han and X. Ruan, 2014. "Validating drug repurposing signals using electronic health records: A case study of metformin associated with reduced cancer mortality," J. Amer. Med. Informat. Assoc., pp: 110.

[4.] Cuckler, G.A., A.M. Sisko, S.P. Keehan, S.D. Smith, A.J. Madison, J.A. Poisal, C.J. Wolfe, J.M. Lizonitz, and D.A. Stone, 2013. "National health expenditure projections, 2012-22: slow growth until coverage expands and economy improves," Health Affairs, 32: 1820-1831.

[5.] Friedman, L. Shagina, Y. Lussier and G. Hripcsak, 2004. "Automated en- coding of clinical documents based on natural language processing," J. Amer. Med. Informat. Assoc., 11: 392-402.

[6.] Sun, J., C.D. McNaughton, P. Zhang, A. Perer, A. Gkoulalas-Divanis, J.C. Denny, J. Kirby, T. Lasko, A. Saip and B.A. Malin, 2014. "Predicting changes in hypertension control using electronic health records from a chronic disease management program," J. Amer. Med. Informat. Assoc., 21: 337-344.

[7.] Forrest, G.N., T.C. Van Schooneveld, R. Kullar, L.T. Schulz, P. Duong and M. Postelnick, 2014. "Use of electronic health records and clinical decisionsupport systems for antimicrobial stewardship," Clin. Infectious Dis., 59: 122-133.

[8.] Eriksson, R., T. Werge, L.J. Jensen and S. Brunak, 2014. "Dose-specific adverse drug reaction identification in electronic patient records: Temporal data mining in an inpatient psychiatric population," Drug Saf., 37: 237-247.

[9.] Bates, W., S. Saria, L. Ohno-Machado, A. Shah and G. Escobar, 2014. "Big data in health care: Using analytics to identify and manage high- risk and high-cost patients," Health Affairs, 33: 1123-1131.

[10.] Boland, M.R., G. Hripcsak, D.J. Albers, Y. Wei, A.B. Wilcox, J. Wei, J. Li, S. Lin, M. Breene and R. Myers, 2013. "Discovering medical conditions associated with periodontitis using linked electronic health records," J. Clin. Periodontol., 40: 474-482.

[11.] Hagar, Y., D. Albers, R. Pivovarov, H. Chase, V. Dukic and N. Elhadad, 2014. "Survival analysis with electronic health record data: Experiments with chronic kidney disease," Statist. Anal. Data Mining, ASA Data Sci. J., 7: 385-403.

[12.] Cars, T., B. Wettermark, R.E. Malmstro m, G. Ekeving, B. Vikstro m, U. Bergman, M. Neovius, B. Ringertz, and L.L. Gustafsson, 2013. "Extrac- tion of electronic health record data in a hospital setting: Compari- son of automatic and semi automatic methods using anti TNF ther- apy as model," Basic Clin. Pharmacol. Toxicol., 112: 392-400.

[13.] Marcos, M., J.A. Maldonado, B. Martinez-Salvador, D. Bosca and M. Robles, 2013. "Interoperability of clinical decision-support systems and electronic health records using archetypes: A case study in clinical trial eligibility," J. Biomed. Informat., 46: 676-689.

[14.] Andreu-Perez, J., D. Leff, H.M.D. IP and G.-Z. Yang, 2015. "From wear- able sensors to smart implants-Towards pervasive and personalised healthcare," IEEE Trans. Biomed. Eng., pp: 1-13, submitted for publication.

[15.] Signorini, A.M. Segre and P.M. Polgreen, 2011. "The use of Twitter to track levels of disease activity and public concern in the US during the influenza A H1N1 pandemic," PLoS One, 6: 1-10.

(1) BINU A U and (2) Dr. C. SUNDAR

(1) PG Scholar, Department of Computer Science and Engineering Christian College of Engineering and Technology, Oddanchatram, Tamilnadu-624619, India.

(2) Professor, Department of Computer Science and Engineering Christian College of Engineering and Technology, Oddanchatram, Tamilnadu-624619, India.

Received 18 January 2017; Accepted 22 March 2017; Available online 28 March 2017

Address For Correspondence:

BINU A U, PG Scholar, Department of Computer Science and Engineering Christian College of Engineering and Technology, Oddanchatram, Tamilnadu-624619, India.


Caption: Fig. 1: Treatment of the patients

Caption: Fig. 2: explaining related work

Caption: Fig. 3: Proposed Architecture Diagram
Table I: Rs 232 Communication Specification for proposed work

Transmission Method   RS232C asynchronous, half duplex.
Transmission Rate     1200, 2400, 4800, 9600, 19200 bps
Transmission Code     ASCII
Data Length           7 bits, 8 bits
Parity                Even, Odd, None
Stop Bit              1 bit, 2 bit

Table II: Rs 232 pin out diagram for proposed work

D-SUB 9-Pin                   D-SUB 9-Pin

Frame GND          1   [??]   1   Frame GND
Receive Data       2   [??]   3   Transmit Data
Transmit Data      3   [??]   2   Receive Data
Data Terminal OK   4   [??]   6   Data Set Ready
Signal GND         5   [??]   5   Signal GND
Data Set Ready     6   [??]   4   Data Terminal OK
Request to Send    7   [??]   8   Data Set Ready
Data Set Ready     8   [??]   7   Request to Send
NC                 9   [??]   9   NC

Table III: Lower Level Communication Methodology proposed

Item             Method             Explanation

Frame            For Middle Frame   Control character (characters
Configurations   <STX> FN text      enclosed in <>):
                 <ETB> C1
                 C2 <CR><LF>        <STX> is control character
                                      (HEX 02)
                 For Last Frame     <ETB> is control character
                 <STX> FN text        (HEX 17)
                 <ETX> C1           <CR> is control character (Hex 0D)
                 C2 <CR><LF>        <LF> is control character (HEX 0A)
                                    <ETX> is control character
                                      (HEX 03)

Table IV: Handshake between Analyzer and Interfacing PC

Analyzer        Function                     Interfacing PC
NEUTRAL         ENQ [??]
Establishment   ENQ ACK Interval k           NEUTRAL Establishment
                ACK [??]
Transfer        Transmit [??}                Transfer
Transmit        ContinueSending next frame   Receive
Termination     [??]                         Termination
NEUTRAL                                      NEUTRAL
COPYRIGHT 2017 American-Eurasian Network for Scientific Information
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2017 Gale, Cengage Learning. All rights reserved.

Article Details
Printer friendly Cite/link Email Feedback
Author:Binum A.U.; Sundar, C.
Publication:Advances in Natural and Applied Sciences
Article Type:Report
Date:Mar 1, 2017
Previous Article:A vibrant comparative analysis of LDA and SVM classification.
Next Article:High dimensional data partitioning with an adaptive ensemble construction and analysis scheme.

Terms of use | Privacy policy | Copyright © 2020 Farlex, Inc. | Feedback | For webmasters