Cargando…

Transformer- and Generative Adversarial Network–Based Inpatient Traditional Chinese Medicine Prescription Recommendation: Development Study

BACKGROUND: Traditional Chinese medicine (TCM) practitioners usually follow a 4-step evaluation process during patient diagnosis: observation, auscultation, olfaction, inquiry, pulse feeling, and palpation. The information gathered in this process, along with laboratory test results and other measur...

Descripción completa

Detalles Bibliográficos
Autores principales: Zhang, Hong, Zhang, Jiajun, Ni, Wandong, Jiang, Youlin, Liu, Kunjing, Sun, Daying, Li, Jing
Formato: Online Artículo Texto
Lenguaje:English
Publicado: JMIR Publications 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9198826/
https://www.ncbi.nlm.nih.gov/pubmed/35639469
http://dx.doi.org/10.2196/35239
_version_ 1784727727032500224
author Zhang, Hong
Zhang, Jiajun
Ni, Wandong
Jiang, Youlin
Liu, Kunjing
Sun, Daying
Li, Jing
author_facet Zhang, Hong
Zhang, Jiajun
Ni, Wandong
Jiang, Youlin
Liu, Kunjing
Sun, Daying
Li, Jing
author_sort Zhang, Hong
collection PubMed
description BACKGROUND: Traditional Chinese medicine (TCM) practitioners usually follow a 4-step evaluation process during patient diagnosis: observation, auscultation, olfaction, inquiry, pulse feeling, and palpation. The information gathered in this process, along with laboratory test results and other measurements such as vital signs, is recorded in the patient’s electronic health record (EHR). In fact, all the information needed to make a treatment plan is contained in the EHR; however, only a seasoned TCM physician could use this information well to make a good treatment plan as the reasoning process is very complicated, and it takes years of practice for a medical graduate to master the reasoning skill. In this digital medicine era, with a deluge of medical data, ever-increasing computing power, and more advanced artificial neural network models, it is not only desirable but also readily possible for a computerized system to mimic the decision-making process of a TCM physician. OBJECTIVE: This study aims to develop an assistive tool that can predict prescriptions for inpatients in a hospital based on patients’ clinical EHRs. METHODS: Clinical health records containing medical histories, as well as current symptoms and diagnosis information, were used to train a transformer-based neural network model using the corresponding physician’s prescriptions as the target. This was accomplished by extracting relevant information, such as the patient’s current illness, medicines taken, nursing care given, vital signs, examinations, and laboratory results from the patient’s EHRs. The obtained information was then sorted chronologically to produce a sequence of data for the patient. These time sequence data were then used as input to a modified transformer network, which was chosen as a prescription prediction model. The output of the model was the prescription for the patient. The ultimate goal is for this tool to generate a prescription that matches what an expert TCM physician would prescribe. To alleviate the issue of overfitting, a generative adversarial network was used to augment the training sample data set by generating noise-added samples from the original training samples. RESULTS: In total, 21,295 copies of inpatient electronic medical records from Guang’anmen Hospital were used in this study. These records were generated between January 2017 and December 2018, covering 6352 types of medicines. These medicines were sorted into 819 types of first-category medicines based on their class relationships. As shown by the test results, the performance of a fully trained transformer model can have an average precision rate of 80.58% and an average recall rate of 68.49%. CONCLUSIONS: As shown by the preliminary test results, the transformer-based TCM prescription recommendation model outperformed the existing conventional methods. The extra training samples generated by the generative adversarial network help to overcome the overfitting issue, leading to further improved recall and precision rates.
format Online
Article
Text
id pubmed-9198826
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher JMIR Publications
record_format MEDLINE/PubMed
spelling pubmed-91988262022-06-16 Transformer- and Generative Adversarial Network–Based Inpatient Traditional Chinese Medicine Prescription Recommendation: Development Study Zhang, Hong Zhang, Jiajun Ni, Wandong Jiang, Youlin Liu, Kunjing Sun, Daying Li, Jing JMIR Med Inform Original Paper BACKGROUND: Traditional Chinese medicine (TCM) practitioners usually follow a 4-step evaluation process during patient diagnosis: observation, auscultation, olfaction, inquiry, pulse feeling, and palpation. The information gathered in this process, along with laboratory test results and other measurements such as vital signs, is recorded in the patient’s electronic health record (EHR). In fact, all the information needed to make a treatment plan is contained in the EHR; however, only a seasoned TCM physician could use this information well to make a good treatment plan as the reasoning process is very complicated, and it takes years of practice for a medical graduate to master the reasoning skill. In this digital medicine era, with a deluge of medical data, ever-increasing computing power, and more advanced artificial neural network models, it is not only desirable but also readily possible for a computerized system to mimic the decision-making process of a TCM physician. OBJECTIVE: This study aims to develop an assistive tool that can predict prescriptions for inpatients in a hospital based on patients’ clinical EHRs. METHODS: Clinical health records containing medical histories, as well as current symptoms and diagnosis information, were used to train a transformer-based neural network model using the corresponding physician’s prescriptions as the target. This was accomplished by extracting relevant information, such as the patient’s current illness, medicines taken, nursing care given, vital signs, examinations, and laboratory results from the patient’s EHRs. The obtained information was then sorted chronologically to produce a sequence of data for the patient. These time sequence data were then used as input to a modified transformer network, which was chosen as a prescription prediction model. The output of the model was the prescription for the patient. The ultimate goal is for this tool to generate a prescription that matches what an expert TCM physician would prescribe. To alleviate the issue of overfitting, a generative adversarial network was used to augment the training sample data set by generating noise-added samples from the original training samples. RESULTS: In total, 21,295 copies of inpatient electronic medical records from Guang’anmen Hospital were used in this study. These records were generated between January 2017 and December 2018, covering 6352 types of medicines. These medicines were sorted into 819 types of first-category medicines based on their class relationships. As shown by the test results, the performance of a fully trained transformer model can have an average precision rate of 80.58% and an average recall rate of 68.49%. CONCLUSIONS: As shown by the preliminary test results, the transformer-based TCM prescription recommendation model outperformed the existing conventional methods. The extra training samples generated by the generative adversarial network help to overcome the overfitting issue, leading to further improved recall and precision rates. JMIR Publications 2022-05-31 /pmc/articles/PMC9198826/ /pubmed/35639469 http://dx.doi.org/10.2196/35239 Text en ©Hong Zhang, Jiajun Zhang, Wandong Ni, Youlin Jiang, Kunjing Liu, Daying Sun, Jing Li. Originally published in JMIR Medical Informatics (https://medinform.jmir.org), 31.05.2022. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on https://medinform.jmir.org/, as well as this copyright and license information must be included.
spellingShingle Original Paper
Zhang, Hong
Zhang, Jiajun
Ni, Wandong
Jiang, Youlin
Liu, Kunjing
Sun, Daying
Li, Jing
Transformer- and Generative Adversarial Network–Based Inpatient Traditional Chinese Medicine Prescription Recommendation: Development Study
title Transformer- and Generative Adversarial Network–Based Inpatient Traditional Chinese Medicine Prescription Recommendation: Development Study
title_full Transformer- and Generative Adversarial Network–Based Inpatient Traditional Chinese Medicine Prescription Recommendation: Development Study
title_fullStr Transformer- and Generative Adversarial Network–Based Inpatient Traditional Chinese Medicine Prescription Recommendation: Development Study
title_full_unstemmed Transformer- and Generative Adversarial Network–Based Inpatient Traditional Chinese Medicine Prescription Recommendation: Development Study
title_short Transformer- and Generative Adversarial Network–Based Inpatient Traditional Chinese Medicine Prescription Recommendation: Development Study
title_sort transformer- and generative adversarial network–based inpatient traditional chinese medicine prescription recommendation: development study
topic Original Paper
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9198826/
https://www.ncbi.nlm.nih.gov/pubmed/35639469
http://dx.doi.org/10.2196/35239
work_keys_str_mv AT zhanghong transformerandgenerativeadversarialnetworkbasedinpatienttraditionalchinesemedicineprescriptionrecommendationdevelopmentstudy
AT zhangjiajun transformerandgenerativeadversarialnetworkbasedinpatienttraditionalchinesemedicineprescriptionrecommendationdevelopmentstudy
AT niwandong transformerandgenerativeadversarialnetworkbasedinpatienttraditionalchinesemedicineprescriptionrecommendationdevelopmentstudy
AT jiangyoulin transformerandgenerativeadversarialnetworkbasedinpatienttraditionalchinesemedicineprescriptionrecommendationdevelopmentstudy
AT liukunjing transformerandgenerativeadversarialnetworkbasedinpatienttraditionalchinesemedicineprescriptionrecommendationdevelopmentstudy
AT sundaying transformerandgenerativeadversarialnetworkbasedinpatienttraditionalchinesemedicineprescriptionrecommendationdevelopmentstudy
AT lijing transformerandgenerativeadversarialnetworkbasedinpatienttraditionalchinesemedicineprescriptionrecommendationdevelopmentstudy