Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Scalable information extraction from free text electronic health records using large language models

View ORCID ProfileBowen Gu, Vivian Shao, Ziqian Liao, Valentina Carducci, Santiago Romero Brufau, Jie Yang, Rishi J Desai
doi: https://doi.org/10.1101/2024.08.08.24311237
Bowen Gu
1Division of Pharmacoepidemiology and Pharmacoeconomics, Department of Medicine, Brigham and Women’s Hospital, Harvard Medical School, Boston, MA, USA
2Department of Otorhinolaryngology – Head & Neck Surgery, Mayo Clinic, Rochester, MN, USA
3Department of Biostatistics, Harvard T.H. Chan School of Public Health, Harvard University, Boston, MA, USA
MS
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Bowen Gu
Vivian Shao
1Division of Pharmacoepidemiology and Pharmacoeconomics, Department of Medicine, Brigham and Women’s Hospital, Harvard Medical School, Boston, MA, USA
MS
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Ziqian Liao
3Department of Biostatistics, Harvard T.H. Chan School of Public Health, Harvard University, Boston, MA, USA
MS
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Valentina Carducci
2Department of Otorhinolaryngology – Head & Neck Surgery, Mayo Clinic, Rochester, MN, USA
MS
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Santiago Romero Brufau
2Department of Otorhinolaryngology – Head & Neck Surgery, Mayo Clinic, Rochester, MN, USA
3Department of Biostatistics, Harvard T.H. Chan School of Public Health, Harvard University, Boston, MA, USA
MD, PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Jie Yang
1Division of Pharmacoepidemiology and Pharmacoeconomics, Department of Medicine, Brigham and Women’s Hospital, Harvard Medical School, Boston, MA, USA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Rishi J Desai
1Division of Pharmacoepidemiology and Pharmacoeconomics, Department of Medicine, Brigham and Women’s Hospital, Harvard Medical School, Boston, MA, USA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: rdesai{at}bwh.harvard.edu
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Supplementary material
  • Data/Code
  • Preview PDF
Loading

ABSTRACT

Background A vast amount of potentially useful information such as description of patient symptoms, family, and social history is recorded as free-text notes in electronic health records (EHRs) but is difficult to reliably extract at scale, limiting their utility in research. This study aims to assess whether an “out of the box” implementation of open-source large language models (LLMs) without any fine-tuning can accurately extract social determinants of health (SDoH) data from free-text clinical notes.

Methods We conducted a cross-sectional study using EHR data from the Mass General Brigham (MGB) system, analyzing free-text notes for SDoH information. We selected a random sample of 200 patients and manually labeled nine SDoH aspects. Eight advanced open-source LLMs were evaluated against a baseline pattern-matching model. Two human reviewers provided the manual labels, achieving 93% inter-annotator agreement. LLM performance was assessed using accuracy metrics for overall, mentioned, and non-mentioned SDoH, and macro F1 scores.

Results LLMs outperformed the baseline pattern-matching approach, particularly for explicitly mentioned SDoH, achieving up to 40% higher Accuracymentioned. openchat_3.5 was the best-performing model, surpassing the baseline in overall accuracy across all nine SDoH aspects. The refined pipeline with prompt engineering reduced hallucinations and improved accuracy.

Conclusions Open-source LLMs are effective and scalable tools for extracting SDoH from unstructured EHRs, surpassing traditional pattern-matching methods. Further refinement and domain-specific training could enhance their utility in clinical research and predictive analytics, improving healthcare outcomes and addressing health disparities.

BACKGROUND

A vast amount of potentially useful information such as description of patient symptoms, family and social history, is not recorded as structured fields but found in free-text notes from electronic health records (EHRs). Substantial feature engineering is needed to directly extract and analyze the relevant information contained within free-text notes, which is time and resource intensive.[1–3] Therefore, free-text notes have historically been underutilized for research activities.[4]

Various Natural Language Processing (NLP) models have seen developed to extract clinical concepts from EHR notes automatically.[5–6] Traditional rule-based NLP approaches are often constrained by their lack of generalizability across different datasets and settings.[7–8] Machine learning-based NLP models rely heavily on the costly step of manual data annotation for model training, which makes them harder to scale across diverse concepts, particularly in clinical environments where data annotation requires specialized knowledge, cost and confidentiality considerations.[9–11] In contrast, Large Language Models (LLMs), advanced deep learning models that are pre-trained on large volumes of text, provide a scalable alternative for the task of clinical information extraction.[12–14] With their capabilities of zero-shot and few-shot learning, LLMs can extract target clinical information from EHR notes without the need for complex rules creation or extensive data annotation.[15–17]

Social determinants of health (SDoH) of patients are the economic and social conditions that influence individual and group differences in health status.[18–20] They are important for assessing and addressing health disparities, and are critical for clinical interventions and research.[21–23] For instance, quantifying the role SDoH in predisposing patients to adverse health outcomes is often of interest to facilitate development of educational and counseling interventions.[24–25] In epidemiologic investigations, various domains of SDoH are also frequently considered important confounding variables that require adjustment.[26–28] While structured EHRs typically lack explicit recording of SDoH information, it is frequently available in free-text form in notes.[29–31] As variables of universal interest, we selected SDoH as a representative use case where scalable extraction methods like LLMs can be of high value. In the current study, we aimed to assess an “out of the box” implementation of 8 advanced open-source LLMs without any fine-tuning for their capabilities on extracting 9 SDoH from free-text EHRs, and compare their performance with the traditional approach of using basic pattern matching.

METHODS

Data Source

We used EHR data from the Mass General Brigham (MGB) system, which is the largest healthcare system in the state of Massachusetts. The sampling frame included a total of 1.2 million individuals with deterministically linked EHRs from MGB to insurance claims data from Medicare and Medicaid for the period of 2007-2020. For this study, we used free text associated with the patients’ social history documentation from progress notes using regular expression matching. Since the patients’ social documentation is added incrementally over time, we only used the most recent social documentation for each patient.

SDoH Questions and Manual Labels

To identify the SDoH that are frequently reported in social documentation, we first performed a manual review of a random sample of 200 patients’ social documentation and summarized 9 aspects of the patient’s SDoH that appeared in > 5% of the notes. This list included marital status, number of children, employment status, educational status, lifestyle factors (use of tobacco, alcohol, illicit drugs, exercise), and cohabitation status. Of the random sample of the 200 reviewed patients, we split the first 100 patients’ social documentation as the validation set to inform prompt engineering (described below) and the remaining 100 patients’ social documentation as the test set to evaluate performance. Following the classic evaluation framework of LLM evaluation, we converted the SDoH extraction as a question-answer problem. That is, for each of the 9 SDoH characteristics, given the EHR notes, we designed a question and candidate options along with the note text as the LLM input, and let the LLM to select the option from the candidates. The SDoH questions, together with their distribution of candidate options in the validation and the test set, are shown in Supplementary Table S1.

For each of the 200 patients, two human reviewers (B.G and V.S) manually labeled the 9 SDoH aspects to one of the quantified choices according to the labeling criteria documentation (Supplementary: Annotation Guide section). Each reviewer labeled the 200 patients independently. The inter-annotator agreement was calculated based on the total number of the 1800 questions (9 SdoH questions * 200 patients) that the two annotators agreed before discussion among all the 1800 questions, which was 93%. For the inconsistently annotated cases, the two annotators discussed them in detail and reached a consensus. New criteria were also added to the labeling criteria documentation that addressed the causes of these inconsistencies.

Experiment Settings

We selected 8 well performing open source LLMs on the LLM leaderboard hosted by Hugging Face.[32–41] All LLMs used in this study are publicly available. The details of the LLMs and the links to the models can be found in Supplementary Table S2. A copy of the model weights went through the AWQ quantization process to generate the quantized model weights.[42–43] Quantization is a technique of reducing the model size for faster inference in resource limited settings.

Rule-based Baseline Model

To evaluate the comparative performance of LLMs against a common baseline, we designed a model that used pattern matching to extract the answers to the SDoH questions from the patients’ social documentation. The matching patterns were designed according to the labeling criteria. If a match was found in the patients’ social documentation, the output answer was guaranteed to be one of the choices of the SDoH question. If no match was found in the patients’ social documentation, the output answer was “Not mentioned”. To avoid mismatching (e.g. answer “No” was matched to “Not mentioned” since “No” was a substring of “Not mentioned”), we sorted the choices by their character lengths in descending order and matched the response from the longest choice to the shortest choice and stopped matching if the longer choice was matched. The specific patterns for each SDoH question are shown in Supplementary Table S3.

Pipeline Workflow and prompt engineering

We built two pipelines: a default pipeline and a refined pipeline. The default pipeline was designed to run the LLM to extract the SDoHs from the unstructured social documentation using the default prompt for all SDoH questions. Alternatively, the refined pipeline used different engineered prompts on 3 (Q2, Q6, and Q7) of the 9 SDoH questions that most LLMs struggled with in the validation set experiments. We ran both pipelines to compare the effectiveness of the refinement. An illustration of the two pipelines is shown in Figure 1. The “LLM Response Postprocessing” step included implementing a systematic code that uses pattern matching to map the model response to one of the choices of the SDoH questions. The “Auto-Grader” took the refined response from the “LLM Response Postprocessing” procedure and compared it against manual labels. When mapped model response matched exactly with the human label, then the auto-grader considered it as an accurate extraction. Otherwise, the auto-grader considered the LLM extraction inaccurate. The “Model Comparator” step combined the graded model responses from the “Auto-Grader” and provided the grading results in a single chart to formulate the final benchmark.

Figure 1.
  • Download figure
  • Open in new tab
Figure 1. The default and the refined pipeline

Additional context for the “Default Prompt” and the “Engineered Prompt” is shown in Supplementary Table S4, which summarizes 4 types of prompts: default prompts (not including the default secondary prompts), premise prompts, special prompts, and secondary prompts. Th default pipeline only used the default prompts while the refined pipeline used all 4 types of prompts.

LLM performance evaluation

To evaluate the model performance, we used three metrics in the test set: Accuracyoverall, Accuracymentioned, and Accuracynon-mentioned, which corresponds to the overall accuracy for extractions, the accuracy when a note contained mention of the specific SDoH, and the accuracy when a note did not contain mention of the specific SDoH, respectively. The three accuracies are defined as follows, where the Accuracyoverall is a weighted average of the Accuracymentioned and the Accuracynon-mentioned, with the weights dependent on the missingness of the SDoH aspects in the text: Embedded Image We calculated all three metrics on all 9 SDoH questions. To calculate the confidence interval for these accuracies, we used the Jackknife resampling technique to generate samples for each model accuracy on every question.[44] We then calculated the 95% CI of each accuracy using the samples generated. We assumed t-distribution since our sample size was small (100 per model, per question, per accuracy). For questions that did not meet the premise (e.g. The human label is “not mentioned” for this patient on this SDoH question when trying to calculate Accuracymentioned), we marked them as not applicable for calculations. To evaluate the performance difference between the LLM and the baseline, we also used the Jackknife resampling to generate samples for each model on each question on each accuracy. After that, we performed a two-sided Welch’s t-test on the accuracy differences between the LLM and the baseline using the samples generated from the LLM and the baseline, assuming t-distribution.

Additionally, when the post-processing procedure could not map the LLM response to one of the predefined choices, we defined the response to be invalid and reported the proportion of invalid responses for all models. We further reported the F1 score, calculated as a harmonic mean of precision and recall, using the macro averaging method considering all the SDoH questions as multi-class classification problems. When calculating F1 scores for LLM responses, we combined invalid responses with the ‘not mentioned’ category for each question as a default since invalid responses from LLMs lacked a corresponding manual label.

RESULTS

LLM Accuracy

To compare the performance between the LLMs and the baseline, we averaged the model Accuracyoverall across the 9 SDoH questions for each LLM and the baseline and did this for the three accuracies defined above (Figure 2 (a) and (b)). The baseline model achieved a 77.33% average Accuracyoverall, which was mainly attributable to its high average Accuracynon-mentioned. Among all the LLMs, openchat_3.5 was the only LLM that had a significantly better average Accuracyoverall than the baseline, it was also the only LLM that outperformed the baseline on each of the 9 SDoH questions on the average Accuracyoverall. On the other hand, the two Llama-2 models had the worst performance on the average Accuracyoverall and were significantly lower than the baseline. The remaining LLMs had comparable average Accuracyoverall than the baseline, with the zephyr-7b models performing slightly worse. The baseline, which only had limited patterns to match, had an average Accuracymentioned of 39.02%; while the majority of the LLMs achieved a higher average Accuracymentioned. Openchat_3.5 achieved over 40% higher of the average Accuracymentioned than the baseline, which shows its superior capability in extracting information when it is contained in free text. On the other hand, Llama-2-13b-chat was the only LLM that had a significantly worse average Accuracymentioned compared to the baseline.

Figure 2(a).
  • Download figure
  • Open in new tab
Figure 2(a). Average accuracies comparison of the LLMs over the baseline (Refined pipeline)
Figure 2(b).
  • Download figure
  • Open in new tab
Figure 2(b). Average accuracies comparison of the LLMs over the baseline (Default pipeline)

The Accuracynon-mentioned is the accuracy that indicates the model’s capability of not producing false information (i.e avoiding “hallucination”).[45–47] The baseline, which reported its responses using pattern matching, had a very slim probability of producing false responses unless the information recorded in the text was internally contradicting. On the other hand, the LLMs had a higher probability of producing false information. We found that the baseline achieved an average Accuracynon-mentioned of 96.66%. This was reasonable as the default response from the baseline is “Not mentioned”. The openchat_3.5 model was the best model in terms of minimizing hallucination. On the contrary, the two models that had poor average Accuracynon- mentioned were the two Llama-2 models.

Compared to the default pipeline, the refined pipeline helped reduce LLM hallucination, but in some instances, this came at a cost of reduced sensitivity to the SDoH features mentioned in the text. This is expected as we used the premise prompt in the refined pipeline, which aims at reducing model hallucinations, but this prompt can make the model more conservative in its responses.

We observed that among all the 9 SDoH questions, Q2 (How many children does the patient have?) and Q7 (What is the patient’s employment status?) were the two questions that most LLMs (except the two Llama 2 models) had a better Accuracyoverall than the baseline on both the default and the refined pipeline (Supplementary Table S6-S7). This can be explained by Supplementary Table S8-S9, which shows that the Accuracymentioned for the baseline on Q2 and Q7 were very low compared to the LLMs. Besides Q2, and Q7, Supplementary Table S8-S9 indicates that the baseline model also had very poor Accuracymentioned on SDoH questions Q3 (Does the patient currently use tobacco?) and Q5 (Does the patient currently use illicit drugs?). This is likely attributable to the fact that the unstructured social history documentation has many ways of expressing the answers on these questions, a simpler rule-based approach misses most of them. Supplementary Table S10-S11 indicates that the baseline had a much lower probability to produce false positive results compared to LLMs among all 9 SDoH questions. This eliminated the gains in accuracy by LLMs on the Accuracymentioned and makes the advantage of most LLMs (except the openchat_3.5 model) slim or even negative on the Accuracyoverall.

Macro F1 Score

We averaged the model macro F1 scores across the 9 SDoH questions for each LLM and the baseline (Figure 3). The baseline had 0.53 average macro F1 for the default pipeline and 0.54 average macro F1 for the refined pipeline. Among all the models, openchat_3.5 was the only LLM that had a clear advantage over the baseline. The two Vicuna models and the WizardLM model had comparable performance as the baseline. The zephyr model and the two Llama 2 models had worse average macro F1 scores than the baseline.

Figure 3.
  • Download figure
  • Open in new tab
Figure 3. Average Macro F1 score of LLMs

Invalid Responses

Figure 4 shows the comparison of the invalid responses between the refined and the default pipeline. It indicates that the refined pipeline greatly reduced the number of invalid responses for each LLM. Some examples of the models’ invalid responses and the corresponding analysis are shown in Supplementary Table S12.

Figure 4.
  • Download figure
  • Open in new tab
Figure 4. Invalid response rate comparison between the default and the refined pipeline

DISCUSSION

In this work, we designed a pipeline that used various open-sourced LLMs to extract patients’ SDoH based on social history documentation in free text EHRs. Using prompt engineering and postprocessing, we demonstrated that some LLMs achieved better performance than the baseline approach of pattern matching on most of the SDoH questions, especially when the answer to the SDoH question was mentioned in the text. We also observed that quantization, which could make these models more applicable in resource limited settings, did not substantially compromise the performance on extraction tasks.

Our study offers some practical learnings regarding using LLMs as scalable extraction tools from free text EHRs. First, thoughtful prompt engineering, as we conducted in our ‘refined’ pipeline, can substantially elevate model performance, and should be routinely considered. Second, manual review of erroneous model responses indicated that in almost all such instances, the text was either controversial or required strong deductive reasoning to infer the correct answer, which is a known challenge for LLMs.[48–50] We also found these cases had a high overlap with the cases reported by the human reviewers as ambiguous or controversial, and the reviewers needed to expand the labeling criteria to reach an agreement on such cases, which showed that such cases are also challenging to humans. Third, we documented clear and large differences between LLMs in this task of information extraction, which underscores the importance of evaluating multiple models when considering specific tasks. Our findings suggesting robust performance of “out of the box” implementation of LLMs without any fine-tuning are complementary to that of a prior report[16], which demonstrated that when resources permit, fine-tuning LLMs for specific extraction tasks including SDOH information can be a viable alternative to further enhance performance.

Our study has important implications. The use of LLM pipelines for generating structured SDoH data from unstructured EHR notes could facilitate numerous downstream applications. One significant area is predictive analytics, where structured SDoH information can be routinely considered alongside structured clinical information to improve risk prediction for various health outcomes. This capability is particularly valuable in managing chronic diseases, where social and environmental factors, such as income and community, play a crucial role. Additionally, structured SDoH data can enhance population health management by enabling healthcare providers to identify and address social disparities in health. In clinical research, the availability of structured SDoH data can refine the selection of study cohorts, improve confounding adjustment in epidemiologic studies, and improve recruitment efforts in clinical trials that aim to oversample socioeconomically disadvantaged patient populations.

The strengths of this work include the automation of the SDoH extraction process with high accuracy. As LLMs avoid the need for model training, this approach is likely scalable and transportable across institutions. Limitations include the complexity and subjectivity involved in the prompt engineering and LLM response postprocessing steps. Further, as most open source LLMs are trained using non-clinical text data, specific training on free-text EHRs maybe needed for extraction of more complex clinical concepts with LLMs and our observations regarding model performance based on general SDoH concepts may not extrapolate to other clinical feature extraction tasks.

CONCLUSIONS

In conclusion, we demonstrated the feasibility of employing open weight LLMs to extract patients’ SDoH with high accuracy without any additional finetuning. LLMs can offer effective and efficient information extraction from EHR text.

DECLARATIONS

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Availability of data and materials

The data that support the findings of this study are available from Mass General Brigham (MGB) but restrictions apply to the availability of these data, which were used under license for the current study, and so are not publicly available. Data are however available from the authors upon reasonable request and with permission of Mass General Brigham (MGB).

Competing interests

Dr. Desai reports serving as Principal Investigator on investigator-initiated grants to the Brigham and Women’s Hospital from Novartis, Vertex, and Bayer on unrelated projects. Other authors do not have any competing interests to disclose.

Funding

There is no source of funding for this study.

Authors’ contributions

BG and VS processed the data, labeled the data, analyzed the data, and drafted the manuscript. ZL contributed the idea of the secondary prompt, which significantly improved the study results. VC and SB contributed the idea of the pipelines in this study. JY and RD proposed the idea of the study, supervised the study, and refined the manuscript. All authors read and approved the final manuscript.

Data Availability

All data produced in the present study are available from Mass General Brigham (MGB) but restrictions apply to the availability of these data, which were used under license for the current study, and so are not publicly available. Data are however available from the authors upon reasonable request and with permission of Mass General Brigham (MGB).

Acknowledgements

Not applicable.

LIST OF ABBREVIATIONS

AWQ
Activation-aware Weight Quantization
EHR
Electronic Health Records
LLM
Large Language Model
MGB
Mass General Brigham
NLP
Natural Language Processing
SDoH
Social Determinants of Health

REFERENCES

  1. 1.↵
    Petch J, Batt J, Murray J, Mamdani M. Extracting clinical features from dictated ambulatory consult notes using a commercially available natural language processing tool: pilot, retrospective, cross-sectional validation study. JMIR Med Inform.
  2. 2.
    Ozery-Flato M, Yanover C, Gottlieb A, et al. Fast and efficient feature engineering for multi-cohort analysis of EHR data. Stud Health Technol Inform.
  3. 3.↵
    Soguero-Ruíz C, Hindberg K, Rojo-Álvarez J, et al. Support vector feature selection for early detection of anastomosis leakage from bag-of-words in electronic health records. IEEE J Biomed Health Inform.
  4. 4.↵
    Koleck TA, Dreisbach C, Bourne PE, Bakken S. Natural language processing of symptoms documented in free-text narratives of Electronic Health Records: A systematic review. J Am Med Inform Assoc. 2019;26(4):364–379. doi:10.1093/jamia/ocy173
    OpenUrlCrossRefPubMed
  5. 5.↵
    Reátegui Rojas R, Ratté S. Comparison of MetaMap and cTAKES for entity extraction in clinical notes. BMC Med Inform Decis Mak.
  6. 6.↵
    Peng J, Zhao M, Havrilla JM, et al. Natural language processing (NLP) tools in extracting biomedical concepts from research articles: a case study on autism spectrum disorder. BMC Med Inform Decis Mak.
  7. 7.↵
    Dasgupta I, Grant E, Griffiths TL. Distinguishing rule– and exemplar-based generalization in learning systems. arXiv.
  8. 8.↵
    Shi J, Hurdle JF. Trie-based rule processing for clinical NLP: A use-case study of n-trie, making the ConText algorithm more efficient and scalable. J Biomed Inform.
  9. 9.↵
    Chen Y, Mani S, Xu H. Applying active learning to assertion classification of concepts in clinical text. J Biomed Inform. 45(2):265–272.
  10. 10.
    Spasic I, Nenadic G. Clinical text data in machine learning: systematic review. JMIR Med Inform. 8.
  11. 11.↵
    Landolsi MY, Hlaoua L, Ben Romdhane L. Information extraction from Electronic Medical Documents: State of the art and Future Research Directions. Knowl Inf Syst. 2022;65(2):463–516. doi:10.1007/s10115-022-01779-1
    OpenUrlCrossRef
  12. 12.↵
    Yang X, Pournejatian NM, Shin H-C, et al. GatorTron: A large clinical language model to unlock patient information from unstructured electronic health records. medRxiv. 2022.02.27.22271257.
  13. 13.
    Meoni S, De la Clergerie E, Ryffel T. Large language models as instructors: A study on multilingual clinical entity extraction. In The 22nd Workshop on Biomedical Natural Language Processing and BioNLP Shared Tasks, pages 178–190, Toronto, Canada. Association for Computational Linguistics.
  14. 14.↵
    Guevara M, Chen S, Thomas S, et al. Large language models to identify social determinants of health in electronic health records. NPJ Digit Med. 2024;7:6.
  15. 15.↵
    Agrawal M, Hegselmann S, Lang H, et al. Large language models are few-shot clinical information extractors. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 1998–2022, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
  16. 16.↵
    McInerney DJ, Young GS, van de Meent J-W, Wallace BC. CHiLL: Zero-shot custom interpretable feature extraction from clinical notes with large language models. arXiv:2302.12343.
  17. 17.↵
    Singhal K, Azizi S, Tu T, et al. Large language models encode clinical knowledge. Nature. 2023;620:172–180. doi:10.1038/s41586-023-06291-2
    OpenUrlCrossRefPubMed
  18. 18.↵
    Marmot M. Social determinants of health inequalities. Lancet. 2005;365:1099–1104.
    OpenUrlCrossRefPubMedWeb of Science
  19. 19.
    Brown A. The community impact of social determinants of health. MOJ Public Health. 2016;4(3):98–105. doi:10.15406/mojph.2016.04.00083
    OpenUrlCrossRef
  20. 20.↵
    Wypych-Ślusarska A, Głogowska-Ligus J, Słowiński J. Social determinants of health inequalities. Nurs Public Health.
  21. 21.↵
    Williams DR, Costa M, Odunlami AO, Mohammed SA. Moving upstream: how interventions that address the social determinants of health can improve health and reduce disparities. J Public
  22. 22.
    Braveman P, Egerter S, Williams DR. The social determinants of health: Coming of age. Annu Rev Public Health.
  23. 23.↵
    Hewitt AM. Addressing health disparities: Understanding place in the role of social determinant interventions. arXiv.
  24. 24.↵
    Anderson E, Lippert SC, Newberry J, et al. Addressing social determinants of health from the emergency department through social emergency medicine. West J Emerg Med. 2016;17(3):487–489.
    OpenUrlPubMed
  25. 25.↵
    Farthing H, Simko S, Eckembrecher FJ, et al. Development and evaluation of electronic social needs assessment and resource connection tool in facilitating utilization of community services that address upstream health. J Student-Run Clin.
  26. 26.↵
    Poundstone K, Strathdee S, Celentano D. The social epidemiology of human immunodeficiency virus/acquired immunodeficiency syndrome. Epidemiol Rev. 26:22–35.
  27. 27.
    Liang Y, Gong Y, Wen X, et al. Social determinants of health and depression: A preliminary investigation from rural China. PLoS ONE. 7.
  28. 28.↵
    Vineis P. Invited perspective: The mysterious case of social determinants of health. Environ Health Perspect. 130.
  29. 29.↵
    Feller DJ, Oliver JB, Zucker J, et al. Detecting social and behavioral determinants of health with structured and free-text clinical data. Appl Clin Inform.
  30. 30.
    Wang MD, Pantell M, Gottlieb L, Adler-Milstein J. Documentation and review of social determinants of health data in the EHR: Measures and associated insights. J Am Med Inform Assoc.
  31. 31.↵
    Yu Z, Yang X, Guo Y, Bian J, Wu Y. Assessing the documentation of social determinants of health for lung cancer patients in clinical narratives. Front Public Health.
  32. 32.↵
    Beeching E, Fourrier C, Habib N, et al. Open LLM Leaderboard. Hugging Face. https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
  33. 33.
    Gao L, Tow J, Biderman S, et al. A framework for few-shot language model evaluation. Zenodo. (Version v0.0.1). doi:10.5281/zenodo.5371628
    OpenUrlCrossRef
  34. 34.
    Clark P, Cowhey I, Etzioni O, et al. Think you have solved question answering? Try ARC, the AI2 Reasoning Challenge. arXiv. https://arxiv.org/abs/1803.05457
  35. 35.
    Zellers R, Holtzman A, Bisk Y, et al. HellaSwag: Can a machine really finish your sentence? arXiv. https://arxiv.org/abs/1905.07830
  36. 36.
    Hendrycks D, Burns C, Basart S, et al. Measuring massive multitask language understanding. arXiv. https://arxiv.org/abs/2009.03300
  37. 37.
    Lin S, Hilton J, Evans O. TruthfulQA: Measuring how models mimic human falsehoods. arXiv. https://arxiv.org/abs/2109.07958
  38. 38.
    Sakaguchi K, Le Bras R, Bhagavatula C, Choi Y. WINOGRANDE: An adversarial Winograd schema challenge at scale. arXiv. https://arxiv.org/abs/1907.10641
  39. 39.
    Cobbe K, Kosaraju V, Bavarian M, et al. Training verifiers to solve math word problems. arXiv. https://arxiv.org/abs/2110.14168
  40. 40.
    Xu C, Sun Q, Zheng K, et al. WizardLM: Empowering large language models to follow complex instructions. arXiv: 2304.12244v2.
  41. 41.↵
    Vicuna: An open-source chatbot impressing GPT-4 with 90%* ChatGPT quality. LMSYS Org. https://lmsys.org/blog/2023-03-30-vicuna/. Accessed April 17, 2024.
  42. 42.↵
    Lin J. AWQ: Activation-aware weight quantization for LLM compression and acceleration. Retrieved from https://arxiv.org/abs/2306.00978
  43. 43.↵
    AWQ: Activation-aware weight quantization for LLM compression and acceleration – GitHub. GitHub. https://github.com/mit-han-lab/llm-awq. Accessed April 11, 2024.
  44. 44.↵
    McIntosh A. The jackknife estimation method. arXiv: Methodology.
  45. 45.↵
    Huang L, Yu W, Feng Z, Feng X. A survey on hallucination in large language models: Principles, taxonomy, challenges, and open questions. Retrieved from https://arxiv.org/abs/2311.05232
  46. 46.
    Ji Z, Yu T, Xu Y, et al. Towards mitigating hallucination in large language models via self-reflection. ArXiv. 2023;abs/2310.06271. doi:10.48550/arXiv.2310.06271
    OpenUrlCrossRef
  47. 47.↵
    McKenna N, Li T, Cheng L, Hosseini MJ, Johnson M, Steedman M. Sources of hallucination by large language models on inference tasks. ArXiv. 2023;abs/2305.14552:2758-2774. doi:10.48550/arXiv.2305.14552
    OpenUrlCrossRef
  48. 48.↵
    Seals SM, Shalin VL. Evaluating the deductive competence of large language models. Retrieved from https://arxiv.org/abs/2309.05452
  49. 49.
    Chen K, Wang C, Yang K, et al. Gaining wisdom from setbacks: Aligning large language models via mistake analysis. ArXiv. 2023;abs/2310.10477. doi:10.48550/arXiv.2310.10477
    OpenUrlCrossRef
  50. 50.↵
    Liu R, Shah NB. ReviewerGPT? An exploratory study on using large language models for paper reviewing. ArXiv. 2023;abs/2306.00622. doi:10.48550/arXiv.2306.00622
    OpenUrlCrossRef
Back to top
PreviousNext
Posted August 10, 2024.
Download PDF

Supplementary Material

Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Scalable information extraction from free text electronic health records using large language models
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Scalable information extraction from free text electronic health records using large language models
Bowen Gu, Vivian Shao, Ziqian Liao, Valentina Carducci, Santiago Romero Brufau, Jie Yang, Rishi J Desai
medRxiv 2024.08.08.24311237; doi: https://doi.org/10.1101/2024.08.08.24311237
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Scalable information extraction from free text electronic health records using large language models
Bowen Gu, Vivian Shao, Ziqian Liao, Valentina Carducci, Santiago Romero Brufau, Jie Yang, Rishi J Desai
medRxiv 2024.08.08.24311237; doi: https://doi.org/10.1101/2024.08.08.24311237

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Health Informatics
Subject Areas
All Articles
  • Addiction Medicine (349)
  • Allergy and Immunology (668)
  • Allergy and Immunology (668)
  • Anesthesia (181)
  • Cardiovascular Medicine (2648)
  • Dentistry and Oral Medicine (316)
  • Dermatology (223)
  • Emergency Medicine (399)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (942)
  • Epidemiology (12228)
  • Forensic Medicine (10)
  • Gastroenterology (759)
  • Genetic and Genomic Medicine (4103)
  • Geriatric Medicine (387)
  • Health Economics (680)
  • Health Informatics (2657)
  • Health Policy (1005)
  • Health Systems and Quality Improvement (985)
  • Hematology (363)
  • HIV/AIDS (851)
  • Infectious Diseases (except HIV/AIDS) (13695)
  • Intensive Care and Critical Care Medicine (797)
  • Medical Education (399)
  • Medical Ethics (109)
  • Nephrology (436)
  • Neurology (3882)
  • Nursing (209)
  • Nutrition (577)
  • Obstetrics and Gynecology (739)
  • Occupational and Environmental Health (695)
  • Oncology (2030)
  • Ophthalmology (585)
  • Orthopedics (240)
  • Otolaryngology (306)
  • Pain Medicine (250)
  • Palliative Medicine (75)
  • Pathology (473)
  • Pediatrics (1115)
  • Pharmacology and Therapeutics (466)
  • Primary Care Research (452)
  • Psychiatry and Clinical Psychology (3432)
  • Public and Global Health (6527)
  • Radiology and Imaging (1403)
  • Rehabilitation Medicine and Physical Therapy (814)
  • Respiratory Medicine (871)
  • Rheumatology (409)
  • Sexual and Reproductive Health (410)
  • Sports Medicine (342)
  • Surgery (448)
  • Toxicology (53)
  • Transplantation (185)
  • Urology (165)