Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Jan 20;23(1):15.
doi: 10.1186/s12911-023-02105-7.

Automatic medical specialty classification based on patients' description of their symptoms

Affiliations

Automatic medical specialty classification based on patients' description of their symptoms

Chao Mao et al. BMC Med Inform Decis Mak. .

Abstract

In China, patients usually determine their medical specialty before they register the corresponding specialists in the hospitals. This process usually requires a lot of medical knowledge for the patients. As a result, many patients do not register the correct specialty for the first time if they do not receive help from the hospitals. In this study, we try to automatically direct the patients to the appropriate specialty based on the symptoms they described. As far as we know, this is the first study to solve the problem. We propose a neural network-based model based on a hybrid model integrated with an attention mechanism. To prove the actual effect of this hybrid model, we utilized a data set of more than 40,000 items, including eight departments, such as Otorhinolaryngology, Pediatrics, and other common departments. The experiment results show that the hybrid model achieves more than 93.5% accuracy and has a high generalization capacity, which is superior to traditional classification models.

Keywords: Attention; BERT; Convolutional neural network; Medical specialty classification; Registration.

PubMed Disclaimer

Conflict of interest statement

The authors have no relevant financial or non-financial interests to disclose.

Figures

Fig. 1
Fig. 1
The overall architecture of the Hybrid methods, HyM, including TF-IDF, BERT, LSTM and TEXT-CNN, are applied to extract the features at different levels from the symptom texts. The features are concatenated and fed into a fully connected neural network for classification
Fig. 2
Fig. 2
LSTM unit structure
Fig. 3
Fig. 3
The confusion matrices (8 × 8) of four different model. A The confusion matrix of TEXT-CNN. B The confusion matrix of LSTM. C The confusion matrix of BERT. D The confusion matrix of HyM. The row indicates the number of data instances belonging to this class, and column of the confusion matrix indicates the number of data instances that has been predicted as this category. The confusion matrix is used to summarize the results of a classifier, where the closer the color is to the dark green in the middle of the picture, the more accurate the model is. From the four aboved pictures, the confusion matrix show that the HyM is superior to traditional classification models (TEXT-CNN, LSTM, BERT). TEXT-CNN, text convolutional neural networks; LSTM, long short-term memory; BERT, bidirectional encoder representations from transformers; HyM, Hybrid Model

Similar articles

Cited by

References

    1. FitzGerald G, Jelinek GA, Scott D, Gerdtz MF. Emergency department triage revisited. Emerg Med J. 2010;27(2):86–92. doi: 10.1136/emj.2009.077081. - DOI - PubMed
    1. Williams P, Csipke E, Rose D, Koeser L, McCrone P, Tulloch AD, Salaminios G, Wykes T, Craig T. Efficacy of a triage system to reduce length of hospital stay. Br J Psychiatry. 2014;204(6):480–485. doi: 10.1192/bjp.bp.113.141051. - DOI - PubMed
    1. Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need. Adv Neural Inf Process Syst. 2017;30.
    1. Yu CX, Zhang XM. Research on intelligent natural language texts classification. Int J Adv Comput Sci Appl. 2022;13(4).
    1. Kowsari K, Jafari Meimandi K, Heidarysafa M, et al. Text classification algorithms: a survey. Information. 2019;10(4):150.