Design and Implementation of Diagnosis System for Cardiomegaly from Clinical Chest X-ray Reports

Full Text (PDF, 584KB), PP.25-37

Views: 0 Downloads: 0


Omolara A. Ogungbe 1,* Abimbola R. Iyanda 1 Adeniyi S. Aderibigbe 1

1. Department of Computer Science and Engineering, Obafemi Awolowo University, Ile-Ife, Nigeria

* Corresponding author.


Received: 26 Mar. 2022 / Revised: 15 Apr. 2022 / Accepted: 4 May 2022 / Published: 8 Jun. 2022

Index Terms

Chest X-ray, Electronic Health Record, Clinical, Natural Language Processing, Machine Learning, Cardiothoracic Ratio, Cardiomegaly.


With the increasingly broadening adoption of Electronic Health Record (EHR) worldwide, there is a growing need to widen the use of EHR to support clinical decision making and research particularly in radiology. A number of studies on generation, analysis and presentation of chest x-ray reports from digital images to detect abnormalities have been well documented in the literature but studies on automatic analysis of chest x-ray reports have not been well represented. Interestingly, there is a large amount of unstructured electronic chest x-ray notes that need to be organized and processed in such a way that it can be automated for the purpose of giving urgent attention to abnormal radiographs in clinical findings to allow for quicker report analysis and decision making. This study developed a system to automate this analysis in order to prioritize findings from chest x-rays using support vector machine and Lagrange Multiplier for the constraint optimization. The classification model was implemented using Python programming language and Django framework. The developed system was evaluated based on precision, recall, f1-score, negative predictive value (NPV). Expert’s knowledge was also used as gold standard and comparison with the existing system. The result showed a precision of 96.04%, recall of 95.10%, f1-score of 95.57%, specificity of 86.21%, negative predictive value of 83.33% and an accuracy of 93.13%. The study revealed that a limited but important number of relevant attributes provided an effective and efficient model for the detection of cardiomegaly in clinical chest x-ray reports. From the evaluation result, it is evident that this system can help the clinicians to quickly prioritize findings from chest x-ray reports, thereby reducing the delay in attending to patients. Hence, the developed system could be used for the analysis of chest x-ray reports with the purpose of diagnosing the patient for cardiomegaly. Chest X-ray reports are usually textual, therefore, further studies can introduce spell checker to the system to provide higher sensitivity.

Cite This Paper

Omolara A. Ogungbe, Abimbola R. Iyanda, Adeniyi S. Aderibigbe, " Design and Implementation of Diagnosis System for Cardiomegaly from Clinical Chest X-ray Reports ", International Journal of Engineering and Manufacturing (IJEM), Vol.12, No.3, pp. 25-37, 2022. DOI: 10.5815/ijem.2022.03.03


[1]Islam, M. T., Aowal, M. A., Minhaz, A. T., & Ashraf, K. (2017). Abnormality detection and localization in chest x-rays using deep convolutional neural networks. arXiv preprint arXiv:1705.09850, 3(1), 1–16.

[2]Monfared, A. B., Farajollah, S. A., Sabour, F., Farzanegan, R., & Taghdisi, S. (2015). Comparison of radiological findings of chest x-ray with echocardiography in determination of the heart size. Iranian Red Crescent Medical Journal, 17(1), 1–6.

[3]Sridevi, M., & Arunkumar, B. (2016). Information extraction from clinical text using nlp and machine learning: Issues and opportunities. International Journal of Computer Applications, 975(8887), 11–16.

[4]Ilovar, M., & Sajn, L. (2011). Analysis of radiograph and detection of cardiomegaly. Inˇ 2011 Proceedings of the 34th International Convention MIPRO, pp. 859–863. IEEE.

[5]Gornale, S. S., Patravali, P. U., Marathe, K. S., & Hiremath, P. S. (2017). Determination of osteoarthritis using histogram of oriented gradients and multiclass SVM. International Journal of Image, Graphics and Signal Processing, 9(12), 41

[6]Geetha, V., & Aprameya, K. S. (2019). Textural analysis based classification of digital X-ray images for dental caries diagnosis. Int J Eng Manuf (IJEM), 9(3), 44-5.

[7]van Gelderen, F. (2004). A brief history of radiology. In Understanding X-Rays, pp. 597–602. Springer.

[8]Rubin, D., Wang, D., Chambers, D. A., Chambers, J. G., South, B. R., & Goldstein, M. K. (2010). Natural language processing for lines and devices in portable chest x-rays. In AMIA Annual Symposium Proceedings, Vol. 2010, p. 692. American Medical Informatics Association.

[9]Putha, P., Tadepalli, M., Reddy, B., Raj, T., Chiramal, J. A., Govil, S., Sinha, N., KS, M., Reddivari, S., Rao, P., et al. (2018). Can artificial intelligence reliably report chest x-rays?: Radiologist validation of an algorithm trained on 1.2 million x-rays. arXiv preprint arXiv:1807.07455, 1, 1–13.

[10]Yetisgen-Yildiz, M., Bejan, C., & Wurfel, M. (2013). Identification of patients with acute lung injury from free-text chest x-ray reports. In Proceedings of the 2013 Workshop on Biomedical Natural Language Processing, pp. 10–17.

[11]Savitha, S., & Naveen, N. (2018). Comprehensive classification model for diagnosing multiple disease condition from chest x-ray. International journal of advanced computer science and applications, 9(9), 326–337.

[12]Donnelly, L. F., Grzeszczuk, R., & Guimaraes, C. V. (2022). Use of natural language processing (nlp) in evaluation of radiology reports: An update on applications and technology advances. In Seminars in Ultrasound, CT and MRI. Elsevier.

[13]Mithun-Nair, S., Jha, A., Rangarajan, V., Wee, L., & Dekker, A. (2021). Natural language processing in radiology reports. In XIX Annual Conference on Evidence Based Management of Cancers in India: Technology and Cancer Care-Promise and Reality of the Brave New World, pp. 461–472. Tata Memorial Centre.

[14]Casey, A., Davidson, E., Poon, M., Dong, H., Duma, D., Grivas, A., Grover, C., Su´arezPaniagua, V., Tobin, R., Whiteley, W., et al. (2021). A systematic review of natural language processing applied to radiology reports. BMC medical informatics and decision making, 21(1), 1–18.

[15]Olthof, A. W., van Ooijen, P. M. A., & Cornelissen, L. J. (2021). Deep Learning-Based Natural Language Processing in Radiology: The Impact of Report Complexity, Disease Prevalence, Dataset Size, and Algorithm Type on Model Performance. Journal of medical systems, 45(10), 1-16.

[16]Olthof, A. W., Shouche, P., Fennema, E. M., IJpma, F. F. A., Koolstra, R. H. C., Stirler, V. M. A. Stirler, P. M. A. van Ooijen & Cornelissen, L. J. (2021). Machine learning based natural language processing of radiology reports in orthopaedic trauma. Computer methods and programs in biomedicine, 208, 106304