Abstract

Medication recommendation systems provide intelligent decision support by suggesting appropriate medications tailored to each patient's health profile and diagnosis. This reduces or eliminates the need to manually search drug databases when prescribing medications. In our study, we present an approach that involves word embedding to transform unstructured outpatient records into dense numerical vectors and a hierarchical recurrent neural network to make hierarchical predictions at four different levels of Anatomical Therapeutic Chemical (ATC) medication codes. Our algorithm was developed on 191,496 anonymized outpatient records. We compared the Word2Vec and FastText word embedding techniques. FastText emerged as a superior choice, possibly due to its ability to capture sub-word information. Our model achieved F1 scores of 0.7128, 0.6475, 0.3934, and 0.3156 at the 1st, 2nd, 3rd, and 4th ATC levels, respectively. Our work offers a promising approach to extract meaningful medical information from unstructured medical records to optimise the drug recommendation process.

Keywords:
Word2vec Word (group theory) Computer science Word embedding Artificial neural network Embedding Artificial intelligence Recurrent neural network Medical record Data mining Machine learning Natural language processing Medicine Mathematics

Metrics

1
Cited By
0.26
FWCI (Field Weighted Citation Impact)
16
Refs
0.58
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Topic Modeling
Physical Sciences →  Computer Science →  Artificial Intelligence
Machine Learning in Healthcare
Physical Sciences →  Computer Science →  Artificial Intelligence
Biomedical Text Mining and Ontologies
Life Sciences →  Biochemistry, Genetics and Molecular Biology →  Molecular Biology
© 2026 ScienceGate Book Chapters — All rights reserved.