ResearchWestern Journal of Emergency Medicine · Dec 20, 2025

An Organized Approach to Using Large Language Models for Medical Information

Andalib S, Spina A, Halaseh FF, Thiagarajan AB, Vermani R, Liang J, et al
Emergency MedicineDigital Health & AIAdult
Read the full paper free at PubMed Central ↗

Abstract

Introduction ChatGPT and other large language models (LLM) have increased in popularity. Despite the rapid rise in the implementation of such technologies, frameworks for implementing appropriate prompting techniques in medical applications are limited. In this paper we establish the nomenclature of "variable" and "clause" in the prompting of a LLM, while providing example interviews that outline the utility of such an approach in medical applications. Methods In this study assessing the LLM ChatGPT-4, we define terms used in prompting procedures including "input prompt," "variable," "demographic variable and clause," "independent variable and clause," "dependent variable and clause," "generative clause," and "output." This methodology was implemented with three sample patient cases from both a patient and physician perspective. Results As demonstrated in our three cases, precise combinations of variables and clauses that consider the patient's age, gender, weight, height, and education level can yield unique outputs. The software can do so quickly and in a personalized, patient-specific manner. Our findings demonstrate that LLMs can be used to generate comprehensive sets of educational material to augment current limitations, with the potential of improving healthcare outcomes as the use of LLM is further explored. Conclusion The framework we describe represents a unique attempt to standardize a methodology for medical inputs into a large language model. Doing so expands the potential for outlining patient-specific information that can be implemented in a query by either a patient or a physician. Most notably, future projects should consider the specialty- and presentation-specific input changes that may yield the best outputs for the desired goals.

More on this topic

AI in medicine

Subject terms

Large Language Models; Humans; Generative Artificial Intelligence

DOI: 10.5811/westjem.46577 · PubMed: 41554155

Cite this article

Andalib S, Spina A, Halaseh FF, et al. An Organized Approach to Using Large Language Models for Medical Information. West J Emerg Med. 2025;27(1):194-204. doi:10.5811/westjem.46577

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Emergency Medicine studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Systematic review · Nat Med · Mar 3, 2026 · Digital Health & AI

Large language model research in clinical medicine relies heavily on simulated tasks and exam questions

Randomized trial n = 9,691 · Nat Med · Jun 26, 2026 · Family Medicine & Primary Care, Digital Health & AI

AI assistance did not reduce treatment failure in Kenyan primary care clinics

Research · Nat Med · Jun 12, 2026 · Digital Health & AI

General-purpose large language models outperform specialized clinical AI tools on medical benchmarks

Research · J Am Med Inform Assoc · May 21, 2026 · Digital Health & AI, Psychiatry & Mental Health

Building safer artificial intelligence mental health chatbots: a framework for transparency, evaluation, and shared accountability

Review · Lancet Digit Health · Jun 8, 2026 · Digital Health & AI

Beyond language: generative artificial intelligence as a general computing model for medicine