MedElevator Войти в исследования
← Поиск публикаций

DOI 10.1093/jamia/ocag123

Медицинская библиотека · Journal of the American Medical Informatics Association : JAMIA · 2026

Developing and evaluating human-led and large language model-assisted hybrid deductive-inductive workflows for qualitative analysis.

Bang So Hyeon, Han Soojeong, Reading Turchioe Meghan, Ellison Melani, Dai Stacey, Happ Mary Beth, Russell David, Masterson Creber Ruth

СтатьяПеревод в очереди

Аннотация

OBJECTIVE

To develop and systematically compare a human-led and LLM-assisted hybrid deductive-inductive workflow for qualitative analyses.

MATERIALS AND

METHODS

We analyzed 122 transcripts (n = 61 research clinical consultations; n = 61 reflexive interviews) from a video ethnography study of patients with heart failure. Human-led thematic analysis used Dedoose software, and LLM-based analysis was conducted using ChatGPT Edu (GPT-5.2; OpenAI) with an eleven-prompt protocol. Both applied a hybrid deductive-inductive approach. The research team compared outputs across 63 human-LLM theme pairs using human consensus and LLM-based evaluation, integrated themes into a final framework, and manually verified quotation fidelity against the original transcripts.

RESULTS

Human-led and LLM-generated analyses produced complementary cross-cutting themes (7 human; 9 LLM), all judged valid and integrated into 14 final themes across three domains. Thematic overlap was moderate to substantial (Hit Rate 1.00; Jaccard 0.44-0.51). Robustness testing across three runs revealed recurrence of five core concepts alongside variability in theme labels and counts. Quotation fidelity showed 68% verbatim, 20% paraphrased, 6% partial and 3% full hallucinations, and 3% truncated excerpts; verbatim quotations did not always clearly support their assigned themes.

DISCUSSION: LLM-assisted analysis is feasible for large-scale qualitative health research within a HIPAA-compliant environment using an adaptable eleven-prompt protocol. Human oversight remained essential for contextual interpretation, quotation verification, and assessment of theme-quotation support.

CONCLUSIONS

LLMs are best positioned as analytic partners rather than autonomous coders. Transparent workflows with human-in-the-loop validation are essential for responsible AI integration in health and biomedical informatics.

Другие публикации по теме

Для цитирования: Bang So Hyeon, Han Soojeong, Reading Turchioe Meghan, Ellison Melani, Dai Stacey, Happ Mary Beth, Russell David, Masterson Creber Ruth. Developing and evaluating human-led and large language model-assisted hybrid deductive-inductive workflows for qualitative analysis.. Journal of the American Medical Informatics Association : JAMIA. 2026. DOI: 10.1093/jamia/ocag123.

Перевод полного текста: Перевод в очереди

Полный текст источника

https://creativecommons.org/licenses/by-nc-nd/4.0/ This is an Open Access article distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivs licence ( https://creativecommons.org/licenses/by-nc-nd/4.0/ ), which permits non-commercial reproduction and distribution of the work, in any medium, provided the original work is not altered or transformed in any way, and that the work is properly cited. For commercial re-use, please contact reprints@oup.com for reprints and translation rights for reprints. All other permissions can be obtained through our RightsLink service via the Permissions link on the article page on our site—for further information please contact journals.permissions@oup.com.

Текст сохранён. Часть иллюстраций пока доступна только в первоисточнике; загрузка будет проверена повторно.

Background and significance

Qualitative research plays a foundational role in biomedical and health informatics by illuminating the sociotechnical dimensions of clinical care that quantitative data alone cannot capture. 1 Observational and interview-based methods provide insight into how patients experience illness, how clinicians make decisions, and how health information technologies are adopted and used in practice. 1 , 2

Recent advances in large language models (LLMs), and the rapid uptake of LLM-powered applications such as ChatGPT, have intensified ongoing debates about the role of Artificial Intelligence (AI) in qualitative research. LLMs have been increasingly used to support qualitative analysis across diverse data sources in biomedical and health informatics research, including patient and clinician interview transcripts, 3 , 4 free-text clinical notes in electronic health records (EHRs), 5 online patient community and social media posts, 6 and open-ended survey responses. 7 Proponents argue that LLM-assisted approaches can enhance analytic efficiency, improve procedural reproducibility through structured prompt protocols, and support researchers in managing large and complex qualitative datasets. 8–10 Critics raise substantial methodological and ethical concerns, cautioning that generative AI lacks the capacity for meaning-making, reflexivity, and situated interpretation, and therefore risks undermining the epistemological foundations of qualitative inquiry, particularly in reflexive and interpretive analytic traditions. 11 , 12

Despite the growing body of scholarship in this area, two critical gaps remain. First, while LLM-assisted thematic analysis has been applied to semi-structured interview data in clinical contexts, including psychiatric patient interviews, maternal health provider interviews, and focus group transcripts from families of pediatric cardiac patients, 13–16 its application to unstructured, naturally occurring clinical encounter data remains underexplored. Transcripts of clinical consultations, in which patients and providers engage in open-ended conversation without a predefined interview guide, present a fundamentally more complex analytic challenge: interactional roles shift dynamically, and meaning is shaped through the flow of real-time dialogue. Whether LLMs can perform reliably in this more demanding analytic context remains an open question. Second, much of the existing work has focused on inductive analytic tasks, 17–19 with limited attention to theory-informed or hybrid approaches that integrate deductive and inductive reasoning designs to enable rigorous, framework-guided analysis while remaining open to emergent patterns in the data. 20

This study addresses both gaps by developing and evaluating a hybrid human–LLM analytic workflow for qualitative analysis of clinical transcript data from the Patient-Reported Outcomes: Video Observations of Interactions and Clinical Encounters in Heart Failure (PRO-VOICE HF) video ethnography study, a dataset comprising unstructured clinical consultation transcripts and semi-structured reflexive interview transcripts from patients with heart failure who engaged in discussions with their nurse practitioners about PRO findings summarized in a report using visual and numerical formats. By comparing and integrating themes generated through LLM-based and human-led analyses, this manuscript develops and evaluates a structured analytic workflow to guide the responsible use of LLM-assisted qualitative analysis within health informatics research.

Materials and methods

Study design

This study employed a methodological comparison design in which LLM-generated thematic outputs were systematically compared with human-led analysis within a hybrid deductive–inductive approach. The study design is illustrated in Figure 1 .

Иллюстрация — в первоисточнике ↗

Figure 1. Legend: Workflow illustrating the hybrid human–LLM approach to qualitative thematic analysis. Transcripts were analyzed in parallel using Dedoose (human-led) and ChatGPT Edu (GPT-5.2; OpenAI) with an eleven-prompt protocol (LLM-based). Two human review points were embedded in the LLM workflow: batch-level theme review (after Prompts 1–7) and cross-cutting theme review with quotation fidelity verification (after Prompts 8–11). Outputs from both approaches were compared and integrated into 14 final themes. Workflow illustrating a hybrid human–LLM approach to qualitative thematic analysis. Transcripts are analyzed in two parallel tracks—human-led coding in Dedoose (yielding 7 themes) and LLM-assisted analysis in ChatGPT Edu with two embedded human review points (yielding 9 themes)—which are then compared and integrated into 14 final themes.

Dataset

This study drew on qualitative data from the PRO-VOICE HF video ethnography study. Adult patients with heart failure were recruited from two outpatient clinics within a large, urban, academic health system in the United States. Eligibility criteria included age ≥18 years, a diagnosis of heart failure, English proficiency, and clinical stability for participation in an in-person or video visit, as determined by their clinician. Eligible patients were contacted by the research team, and written informed consent was obtained prior to enrollment.

Consultations for the study were scheduled and conducted either in person in a simulated clinical environment or via video visits. Each consultation lasted approximately 20–40 minutes. Personalized PRO–based health reports were developed in advance through research team discussions and reviewed collaboratively by patients and clinicians during the consultation. Consultations were not structured by a predefined interview guide, allowing participants to engage freely with the reports. Following each consultation, research team members conducted reflexive interviews to explore patients’ perceptions of the PRO-based reports and their consultation experience. All consultation and reflexive interview sessions were audio-recorded, transcribed verbatim, and de-identified prior to analysis.

The analytic dataset consisted of 122 transcripts (61 consultations and 61 reflexive interviews) from 61 patients. The study was approved by the [XXX University] Institutional Review Board (Protocol No. AAAV2118). Participants, both patients and clinicians, received a $100 gift card upon completion of study activities as compensation for their time. The PRO-VOICE HF study design is illustrated in Figure 2 .

Иллюстрация — в первоисточнике ↗

Figure 2. Legend: Patients completed PRO surveys that generated personalized health reports used during clinical consultations. Consultations and follow-up reflexive interviews were audio-recorded and transcribed to produce the qualitative transcripts analyzed in this study. Diagram of the PRO-VOICE HF study design showing how qualitative transcripts were generated across three phases: patients complete PRO surveys that generate a personalized health report (Phase 1); the report is discussed in an audio- and video-recorded clinical consultation, followed by an audio-recorded reflexive interview (Phase 2); and both are transcribed for qualitative analysis (Phase 3).

Human reference analysis

Human-led thematic analysis served as the reference analysis for comparison, as it was conducted independently of and prior to the LLM-based analysis. The analysis employed a hybrid deductive–inductive approach. 20 An initial coding framework was developed deductively, drawing on conceptual frameworks including cultural health capital, 21 illness work in chronic disease management, 22 and patient data work and interpretive sense-making of PROs. 23 These frameworks informed deductive codes reflecting patients’ cultural resources (e.g., Future Orientation, Knowledge of Medical Topics, Provider Sensitivity/Adaptability), chronic illness work (e.g., Medication Management, Regular Doctor Visits, Everyday Life Work), and engagement with PRO data (e.g., Data Sensing, Data Filtering, Recontextualization Work). Coding was conducted by the research team using Dedoose qualitative analysis software, 24 with transcripts distributed among team members for initial coding and iteratively reviewed to refine the codebook, resolve discrepancies, and ensure analytic consistency. Thematic saturation was determined when continued coding did not yield substantively new themes.

LLM-based analysis and prompt protocol

LLM-based thematic analysis was conducted using ChatGPT Edu (GPT-5.2; OpenAI), a Health Insurance Portability and Accountability Act (HIPAA)-compliant enterprise platform available through [XXX University’s] institutional environment. All transcripts were processed within this environment to ensure data security and compliance. To preserve contextual coherence within model processing limits, transcripts were analyzed using patient-level batching. Each batch included transcripts from five patients, incorporating 10 transcripts in total (five consultation and five reflexive interview transcripts), approximately 20 000–30 000 words per batch. This strategy was selected following preliminary sensitivity analyses comparing three- and five-patient batch sizes, which demonstrated comparable thematic stability across configurations.

A structured eleven-prompt protocol was developed to operationalize the hybrid deductive–inductive analytic workflow informed by prior work ( Table 1 ). 3 , 9 The model was provided with a brief description of the study purpose and dataset structure to establish analytic context, but was not provided with the human-generated codes, codebook, or thematic structures at any stage of the analysis. To implement the deductive component, ChatGPT Edu was provided with the same three articles that informed the deductive coding in the human reference analysis 21–23 and instructed to generate a theory-informed coding schema, which was then applied to the transcripts. The model was subsequently prompted to extend the analysis inductively to identify additional codes and themes not captured by the deductive coding. Batch-level outputs were synthesized into themes with representative quotes. For cross-batch analysis, batch-level thematic outputs from all 13 batches were compiled and uploaded simultaneously to enable dataset-wide synthesis without order effects. Cross-cutting themes were then derived from recurring patterns across batches, each classified as deductively or inductively derived. Themes were reviewed by the research team to assess coherence and alignment with the dataset.

Table 1.
Eleven-prompt protocol for LLM-based thematic analysis.

Prompt StepPromptOutput
Prompt 1This study examines patient–clinician communication during research-designed clinical consultations, in which patient-reported outcome (PRO) information was presented in a visual report, reviewed, and discussed. We have uploaded five consultation transcripts from five patient-clinician consultations. Each transcript captures a conversational consultation between a clinician (nurse practitioner) and a patient with heart failure. Please confirm whether all five consultation transcripts have been successfully incorporated. Do not perform any analysis yet.Clinical consultation transcript incorporation confirmation
Prompt 2This study also examines patients’ reflections on their clinical consultation through reflexive interviews conducted by a research interviewer after the consultation with the clinician. We have uploaded five reflexive interview transcripts from the same five patients. Each transcript captures a post-consultation reflexive interview between a patient and a research team member. Please confirm whether all five reflexive interview transcripts have been successfully incorporated. Do not perform any analysis yet.Reflexive interview transcript incorporation confirmation
Prompt 3We have attached three articles to serve as the basis for developing a deductive analytic framework. Carefully review the three attached articles and identify the core concepts and domains that constitute the analytic framework. Present the resulting framework clearly, listing each domain with a brief description. Do not analyze the transcripts yet.Framework development
Prompt 4Using the analytic framework developed in the previous step, apply this framework as a coding template to analyze the uploaded ten transcripts. Identify codes and categories in the transcripts that align with the predefined framework domains.Deductive codes and categories
Prompt 5While applying the framework to the transcripts, identify any meaningful codes or categories in the data that are not adequately represented by the existing framework–i.e., that is, inductive codes. Do not force data to fit predefined categories. Propose new codes or categories only when they are strongly grounded in recurring or salient data patterns.Inductively derived codes and categories
Prompt 6Review all deductive and inductive codes and categories identified in the previous steps, including those aligned with the initial framework and those newly proposed. Integrate and organize these codes and categories into a set of higher-order themes. Clearly indicate which codes and categories are grouped under each theme. Present the final analytic structure in a table with the following columns: Theme, Categories, and Representative Codes. Do not introduce new codes or categories at this stage. Focus on synthesizing and structurally organizing the analytic results.Theme synthesis
Prompt 7Using the final set of themes identified in the previous step, present the results in a table. For each theme, clearly indicate whether it was derived from the existing framework or newly emerged from the data. Include associated keywords or phrases and a brief analytic description capturing the core meaning of the theme. Provide representative verbatim quotes from the transcripts for each theme, and for each quote, indicate the transcript ID and transcript type (e.g., clinical consultation or reflexive interview). Do not introduce new themes, codes, or categories at this stage.Final thematic results with representative quotes
Prompt 8We have uploaded thematic results (themes and representative quotes) generated from multiple analytic batches. Review these results to compare themes across analytic batches, identifying recurring themes and points of divergence across patients. Do not synthesize higher-level themes yet.Cross-batch thematic comparison
Prompt 9Based on the recurring patterns identified in the previous step, synthesize higher-level cross-cutting themes by integrating overlapping and conceptually related previously identified themes. For each cross-cutting theme, provide a brief description that captures its core meaning.Cross-cutting themes
Prompt 10Using the cross-cutting themes identified in the previous prompt, select 1–2 representative quotes for each theme from the previously analyzed thematic results. Important instructions: Copy the full quote text exactly as it appears in the Excel file. Do not extract partial sentences. Do not shorten or select only a portion of a quote. If multiple quotes appear within one cell, reproduce the entire cell content exactly as written. Do not paraphrase, summarize, or modify punctuation. For each quote, clearly indicate the transcript ID and transcript type (clinical consultation or reflexive interview) exactly as written in the Excel file. Present each quote exactly as written under its corresponding cross-cutting theme.Cross-cutting themes with representative quotes
Prompt 11For each theme, clearly indicate whether it was derived from the existing framework or newly emerged from the data.Analytic origin classification of cross-cutting themes

Comparison of human-led and LLM-generated themes

Qualitative comparison was conducted through iterative team discussion, focusing on conceptual overlap between themes and differences in thematic organization. For quantitative comparison, all possible theme pairs (63 pairs: 7 human themes by 9 LLM themes) were evaluated using two complementary approaches: human consensus ratings and LLM-based binary evaluation.

For human consensus ratings, three members of the research team (SB, DR, SD) independently rated each pair as substantially overlapping, partially overlapping, or non-overlapping. Consensus was derived by majority agreement (≥2 of 3 raters), with discordant cases resolved through team discussion. For similarity calculations, pairs rated as substantially or partially overlapping were treated as positive matches; pairs rated as non-overlapping were treated as no match.

For LLM-based evaluation, ChatGPT Edu (GPT-5.2; OpenAI) was prompted to assess conceptual overlap for each pair as a binary outcome (1 = overlap; 0 = no overlap), with each pair evaluated in an independent prompt session to avoid contextual carryover. For each approach, we computed: (1) Jaccard similarity, defined as the proportion of theme pairs identified as overlapping out of all 63 possible pairs, 13 and (2) Hit Rate, defined as the proportion of human-led themes with at least one overlapping LLM-generated themes. 14 , 15

Quotation fidelity and alignment assessment

To assess (1) the fidelity of LLM-generated quotations to the original transcripts and (2) the extent to which each quotation supported its assigned theme, all representative quotations generated from both batch-level and cross-batch analyses were manually verified by the first author (SB) with selected quotations subsequently discussed with the research team. Quotations were classified into five predefined fidelity categories: (1) verbatim (quotations reproduced exactly from the source transcript), (2) truncated excerpts (verbatim quotations from which portions of the surrounding text were omitted, leaving insufficient context to support theme illustration), (3) paraphrased reconstructions (quotations that conveyed the original meaning but were reworded or restructured), (4) partial hallucinations (quotations partially grounded in the source transcript but containing inserted or modified wording not present in the original text), and (5) full hallucinations (statements lacking identifiable grounding in the source transcripts).

Robustness analysis

To evaluate the reproducibility of LLM-generated analytic outputs and the influence of batch processing order, robustness analyses were conducted using three batches of five patients each (15 patients total; 30 transcripts). Three runs were completed using the same prompt protocol: Run 1 corresponded to the original analysis (batch order: 1, 2, 3; conducted in December 2025), Run 2 replicated the same batch order (May 2026), and Run 3 used a different batch order (batch order: 3, 1, 2; May 2026).

Results

Participant characteristics

A total of 61 patients were included in the analysis. Participant demographics are presented in Table 2 . The mean age was 60.8 years ( SD = 12.9), and the majority were male (55.7%). The sample was racially and ethnically diverse, with 45.9% identifying as White, 29.5% as Black or African American, and 36.1% as Hispanic.

Table 2.
Participant demographics.
Note. Race and ethnicity are reported separately; Hispanic ethnicity is not mutually exclusive with racial categories.

CharacteristicTotal, N = 61
Age , Mean ( SD )60.8 (12.9)
Gender, n (%)
Male34 (55.7%)
Female27 (44.3%)
Race, n (%)
Black or African American18 (29.5%)
White28 (45.9%)
Asian1 (1.6%)
Other/Unknown14 (22.9%)
Ethnicity, n (%)
Hispanic22 (36.1%)
Not Hispanic39 (63.9%)
Education, n (%)
High school graduate or less11 (18.0%)
Some college or bachelor’s degree14 (23.0%)
Graduate degree36 (59.0%)

Comparison and integration of human-led and LLM-generated themes

Human-led and LLM-generated thematic analyses produced distinct yet complementary themes ( Table 3 ). Human-led themes focused on the clinical context and patients’ use of and perceptions of PROs, the central focus of the study. LLM-generated themes, in contrast, were more conceptual, emphasizing patients’ identity, moral framing, agency, and uncertainty in living with chronic illness, closely reflecting constructs from the source articles that informed the deductive coding.

Table 3.
Comparison of human-led and LLM-generated themes with integrated themes.
Note . H: Human-led theme; L: LLM-generated theme. D: Deductive; I: Inductive; M: Mixed. Consolidated themes are indicated in bold.

LLM-Generated ThemesHuman-Led ThemesIntegrated Themes
Domain 1. Illness Experience and Identity
L1. Chronic Illness as Continuous, Structured Work (I)H1. “Work” Involved in Managing Chronic Illness (D)Illness Management as Ongoing Work
H2. Illness Experiences (I)Illness Experiences
L2. Moral Framing of Self-Management (I)Moral Framing of Self-Management
L3. Agency Within Constraint (I)Agency Within Constraint
L4. Calibration and Negotiation Between Body, Guidelines, and Lived Reality (I)Calibration and Negotiation Between Body, Guidelines, and Lived Reality
L5. Integration of Illness Into Identity and Normalcy (I)Integration of Illness Into Identity and Normalcy
L6. Uncertainty as a Persistent Condition of Living (I)Uncertainty as a Persistent Condition of Living
Domain 2. Patient-reported outcome (PRO) Data and Reports
H3. Data Work (D)Data Work
L7. Data, Metrics, and Visual Reports as Identity-Shaping Tools (D)Data, Metrics, and Visual Reports as Identity-Shaping Tools
H4. PRO Results Discussion (I)PRO Results Discussion
H5. Perceptions, Reactions, and Preferences for PROs (I)Perceptions, Reactions, and Preferences for PROs
H6. Uses of PRO by Patients and Clinicians (I)Uses of PRO by Patients and Clinicians
Domain 3. Clinical Relationships and Social Context
L8. Relational Recognition and Trust in Care Encounters (D)Relational Recognition and Trust in Care Encounters
L9. Illness Within Social Roles and Everyday Life Contexts (D)H7. Social and Psychological Resources that Patients Bring into Consultations (M)Social and Contextual Resources in Illness Management

Thematic overlap was assessed quantitatively using Jaccard similarity coefficients and Hit Rates across all 63 theme pairs (7 human themes by 9 LLM themes). Human reviewer consensus yielded a Jaccard similarity coefficient of 0.44 and a Hit Rate of 1.00 (7/7), while LLM-based evaluation yielded a Jaccard similarity coefficient of 0.51 and a Hit Rate of 1.00 (7/7), indicating that all human-led themes had at least one conceptually similar LLM-generated counterpart. The thematic similarity matrix is presented in Figure 3 .

Иллюстрация — в первоисточнике ↗

Figure 3. The matrix presents conceptual overlap between 7 human-led themes and 9 LLM-generated themes. Panel (a) shows human reviewer consensus using substantial, partial, and no overlap coding, whereas panel (b) shows LLM-based binary overlap evaluation. Jaccard similarity coefficients and Hit Rates are reported for both approaches. Two side-by-side heatmap matrices comparing conceptual overlap between 7 human-led themes (rows) and 9 LLM-generated themes (columns). Panel (a) shows human reviewer consensus (substantial, partial, or no overlap; Jaccard 0.44, Hit Rate 7/7); panel (b) shows LLM-based binary overlap evaluation (Jaccard 0.51, Hit Rate 7/7).

Integrated themes were derived through iterative team discussion, drawing on both human-led and LLM-generated analytic outputs. All 9 LLM-generated cross-cutting themes were determined to be valid and retained for integration. Two theme pairs showed substantial conceptual overlap and were consolidated into single integrated themes “Illness Management as Ongoing Work” and “Social and Contextual Resources in Illness Management” (see Table 3 for full mapping). The remaining themes from both approaches were retained as distinct contributions. The final integrated thematic framework comprised 14 themes organized into three domains: Illness Experience and Identity, PRO Data and Reports, and Clinical Relationships and Social Context ( Table 3 ).

Evaluation of LLM-generated themes

The nine cross-cutting themes generated during the final synthesis phase were supported by recurring batch-level themes observed across independent batches. For example, the cross-cutting theme “Chronic Illness as Continuous, Structured Work” recurred across 10 of 13 independent batches. Within these batches, conceptually similar formulations were generated, including “Chronic illness management as ongoing, multi-layered work,” “Chronic illness management as ongoing, situated work,” “Illness Management as Ongoing Work,” and “Chronic Illness as continuous, distributed work.” A similar pattern of cross-batch recurrence was observed for all nine cross-cutting themes ( Supplementary Table S1 , available at Journal of the American Medical Informatics Association online).

In addition, we evaluated whether LLM-assigned analytic labels (e.g., inductive vs deductive) were consistent with the analytic derivation of the generated themes. The LLM labeled six of the nine themes as inductively derived and three as deductively derived. On research team review, the three themes the LLM labeled as deductive were all judged deductive, but five of the six themes it labeled as inductive were judged to correspond closely to a priori framework constructs and were therefore reclassified as deductive ( Table S2 , available at Journal of the American Medical Informatics Association online). As a result, the research team judged eight of the nine LLM-generated themes to reflect deductive, framework-derived coding, with only one—”Moral Framing of Self-Management”—judged an inductive contribution. For example, “Chronic Illness as Continuous, Structured Work,” labeled inductive by the LLM, reflected Corbin and Strauss’s conceptualization of chronic illness management 22 as ongoing, structured work embedded within everyday life.

Quotation fidelity and alignment

A majority of LLM-generated representative quotations showed fidelity to the original transcripts. Of the nine representative quotations that were supplied to support cross-cutting themes, seven were reproduced verbatim, one was a paraphrased reconstruction, and one was a truncated excerpt. No hallucinations were identified at this cross-cutting theme level ( Supplementary Table 3 , available at Journal of the American Medical Informatics Association online).

A full fidelity assessment across the batch-level listing of 123 themes and 123 representative quotations revealed that approximately 68% were reproduced verbatim, 20% were paraphrased reconstructions, 3% were truncated excerpts, and 9% contained hallucinated content (at the batch level; 6% partial; 3% full; presented in Supplementary Table 4 , available at Journal of the American Medical Informatics Association online). Representative examples of each fidelity classification, drawn from the batch-level thematic analysis, are presented in Table 4 .

Table 4.
Representative examples of quotation fidelity classifications.
Note. Examples are drawn from batch-level thematic analysis ( Supplementary Table 4 , available at Journal of the American Medical Informatics Association online ).

Fidelity TypeThemeOriginal Transcript TextLLM-Generated Quotation
VerbatimMoral positioning and “doing everything I can”“I’ve had it for five years. I’m doing everything I can realistically do.” (REF05)“I’ve had it for five years. I’m doing everything I can realistically do.” (REF05)
TruncatedRelational trust and being treated as a person“They don’t just see you as a patient. They see you as a person with ailments, and then you know, it’s like they’ve been backwards.” (CONS03)“They don’t just see you as a patient. They see you as a person…” (CONS03)
Paraphrased reconstructionPatient-reported outcomes (PROs) as active patient data work“I did so and answered them as honestly as I possibly could. And, you know, seeing it visually, it basically just clarified in graph-form what the situation is.” (REF30)“I answered them as honestly as I could… seeing it visually just clarified it.” (REF30)
Partial hallucinationEmotional disruption and defensiveness around quantification“And so I would say that those scores are not really correct… It’s reflective of how I see my condition, except for those two points that I don’t feel reflective of how I feel, how I see the situation.” (REF35)“Those scores are not really correct… that’s not how I see myself.” (REF35)
Full hallucinationBalancing care demands, capacity, and quality of lifeNot found in source transcript“I know I can’t do what I did when I was younger. I still try, but I stop when I need to.” (CONS68)

We also examined the theme–quotation alignment. Although many quotations were reproduced verbatim, it was often difficult to determine whether the excerpts clearly supported the corresponding themes. In several instances, the relationship between quotations and thematic formulations was indirect or required additional interpretation. For example, the quotation “Sometimes I do have to take a nap” (REF76) was selected as the representative quotation for Integration of Illness Into Identity and Normalcy , but on its own did not fully convey the meaning of the assigned theme ( Supplementary Table 3 , available at Journal of the American Medical Informatics Association online).

Reproducibility of LLM-generated themes across runs

Variation in theme labels and the number of themes generated for each batch was observed across all three runs. Despite this variability, several core thematic concepts recurred across runs, including chronic illness management, balancing, identity, data work, and relational trust, although not all themes were consistently identified ( Supplementary Table 5 , available at Journal of the American Medical Informatics Association online).

Discussion

In this study, we implemented and evaluated a hybrid human–LLM analytic workflow using a large qualitative dataset in a clinical research setting. Human-led and LLM-generated thematic analyses produced distinct yet complementary thematic structures. Human-led themes focused on how patients and clinicians used PRO data within the consultation, while the LLM, anchored by the three conceptual articles, produced broader themes oriented toward patients’ illness experience, identity, and self-management. Together, the two approaches yielded a richer integrated thematic framework than either approach would have produced alone.

Our hybrid deductive–inductive design illustrates how AI can be integrated into a structured analytic workflow incorporating rather than being applied to inductive or deductive coding alone. Prior LLM-assisted thematic analyses in health research have typically applied deductive and inductive coding as separate tasks, with mixed findings: some report better LLM performance in deductive coding, 4 , 25 while others find better performance in inductive theme generation. 8 , 26 In our evaluation, all nine LLM-generated themes were judged valid and retained in the final integrated framework, demonstrating that the LLM can capture meaningful thematic content in clinical qualitative data. However, we found that the cross-cutting themes generated by the LLM were mostly deductive in our study: of the nine themes, only one was genuinely inductive, while the rest, though often labeled inductive by the LLM, were judged on research team review to reflect a priori framework constructs. This discrepancy between the LLM’s labels and the actual analytic origin of its themes underscores the need for human oversight.

In the quantitative similarity assessment, we compared the human-led and LLM-generated themes using the Jaccard similarity coefficient and Hit Rate (Jaccard 0.44–0.51; Hit Rate 1.00), and the LLM-generated themes showed a moderate to substantial degree of overlap with the human-led themes. Prior studies of human–LLM agreement have reported varying levels of concordance depending on the metric and analytic approach used. Reported percent agreement has ranged from 74% to 94%, 4 , 25 while studies using Cohen’s κ have reported fair to substantial agreement ( κ 0.58–0.82). 8 , 27 Using the Jaccard similarity coefficient in the same manner as our study, a prior analysis reported coefficients of 0.44–0.69 (moderate to substantial), 13 a range within which our findings fall. Studies using Hit Rate have likewise reported high agreement (approximately 0.75–1.00), 14 , 15 consistent with our findings.

We also observed several factors affecting the trustworthiness and transparency of LLM-based qualitative analysis. With respect to reproducibility, the robustness analysis showed that although some core thematic concepts remained stable across repeated runs, variation in themes was observed across analytic sessions. This is consistent with prior findings that LLM outputs vary across repeated runs 28 and that the behavior of the same model can shift over time following provider updates. 29 We also observed limitations in quotation fidelity: approximately one-third of the generated quotations were not reproduced verbatim, with 9% containing hallucinated wording, consistent with quotation fidelity and hallucination risks reported in prior studies. 18 , 25 , 30

This study contributes to health and biomedical informatics by demonstrating that LLM-based analysis is feasible for a large qualitative dataset of patient interviews collected in a clinical setting. These interviews consisted of unstructured conversational data generated without a predefined interview guide, extending prior work that has primarily applied LLM-assisted analysis to interview data elicited through structured guides. 4 , 16 , 18 Moreover, by conducting this analysis on Protected Health Information within a HIPAA-compliant, university-supported ChatGPT platform, the study demonstrates a workflow that addresses governance, data security, and privacy concerns. As AI increases the use of large-scale unstructured qualitative data arising in clinical practice, such as EHR free text 31 and patient–clinician consultations, 32 our approach may serve as a starting point for future work. In addition, the structured eleven-prompt protocol developed here provides a practical template that health informatics researchers can adapt to their own datasets by modifying the study-context description and providing the source articles that define their own theoretical framework.

Taken together, these findings underscore that final interpretive authority must remain with human researchers. 17 , 25 , 33 LLM-based tools can accelerate coding, summarization, and cross-case pattern identification in large unstructured clinical datasets, 3 , 17 , 18 but they cannot replace human expertise in the conceptual integration and meaning-making central to qualitative analysis. 9 , 11 , 18 To support the rigor and reproducibility, we recommend conducting repeated analyses under identical prompt conditions, manually verifying representative quotations against the original transcripts, and applying systematic human review and team-based consensus during thematic integration. Combining multiple complementary evaluation approaches, including human-reviewer consensus, LLM-based evaluation, semantic similarity assessment, and quantitative metrics such as Jaccard similarity and Hit Rate, 13 , 14 can further strengthen the credibility of LLM-based qualitative analysis in health research.

Limitations and future directions

Despite these contributions, several limitations should be acknowledged. First, this study examined a single LLM (ChatGPT) and did not compare analytic outputs across different models. Consequently, the findings may reflect model-specific characteristics rather than generalizable properties of LLM-based qualitative analysis. Second, LLM-generated outputs are sensitive to prompt design and model stochasticity, such that identical prompts may yield different analytic outputs across runs or over time. Third, robustness testing was limited to three batches (30 of 122 transcripts), restricting our ability to characterize analytic reproducibility across the full dataset. Fourth, this study used qualitative data from a single clinical population (patients with heart failure), and the findings may not generalize directly to other clinical contexts or sources of qualitative data (e.g., clinical notes, open-ended survey responses). Fifth, because all transcripts were de-identified and demographic information was not provided to the LLM, it was not possible to assess whether participant demographics influenced LLM-generated themes or quotations.

Future research should clarify the extent of LLMs’ inductive contribution within hybrid analytic designs, evaluate analytic robustness across diverse qualitative designs and data sources, and systematically compare analytic performance across multiple LLMs. Further work is also needed to examine how known LLM biases, including demographic, social, cognitive, and sycophantic biases, may influence qualitative theme generation and to identify mitigation strategies. 28 In parallel, prompt engineering approaches optimized for qualitative research contexts should be developed. Continued refinement of prompt strategies and transparent reporting standards will be essential to support methodological rigor and reproducibility of LLMs in qualitative research.

Conclusion

This study demonstrates that LLM-based qualitative analysis can meaningfully support the qualitative analysis of large-scale transcript data, including unstructured patient–clinician consultations alongside semi-structured interviews. Although the cross-cutting themes generated by the LLM were all judged valid, the model contributed mainly to deductive coding and rarely produced inductive themes, at times misattributing framework-derived themes as inductive. LLMs therefore operate most effectively as an analytic partner within intentionally designed, human-governed workflows, rather than as an automated substitute for coding and theme generation. Careful workflow design, including structured prompt protocols, contextual framing, batched processing, and systematic output verification, is essential. Future research should focus on methodological transparency, cross-model validation, and reproducibility to establish standards for the responsible integration of LLMs into qualitative health research.

Supplementary Material

Acknowledgments

The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health. ChatGPT Edu (GPT-5.2; OpenAI) was used to assist with thematic analysis under human supervision. All outputs were reviewed and interpreted by the research team.

Author contributions

So Hyeon Bang (Conceptualization, Methodology, Formal analysis, Visualization, Writing – Original Draft), Soojeong Han (Writing – Review & Editing), Meghan Reading Turchioe (Methodology, Writing – Review & Editing), Melani Ellison (Writing – Review & Editing), Stacey Dai (Writing – Review & Editing), Mary Beth Happ (Methodology, Writing – Review & Editing), David Russell (Methodology, Supervision, Writing – Review & Editing), and Ruth Masterson Creber (Conceptualization, Supervision, Writing – Review & Editing)

Supplementary material

Supplementary material is available at Journal of the American Medical Informatics Association online.

Funding

This work was supported by the National Heart, Lung, and Blood Institute of the National Institutes of Health under Award Number R01HL161458 (PI: Masterson Creber). Soojeong Han is a postdoctoral research fellow, supported by the National Institutes of Health, National Institute of Nursing Research—Reducing Health Differences Through Informatics Training Program (T32NR007969).

Conflicts of interest

None declared.

Data availability

The data underlying this study are not publicly available due to patient privacy considerations but may be available from the corresponding author upon reasonable request.

References

1 Ancker JS , Benda NC , Reddy M , et al Guidance for publishing qualitative research in informatics . J Am Med Inform Assoc . 2021 ; 28 : 2743 - 2748 . 10.1093/jamia/ocab195 PMC8633663 34537840

2 Al-Busaidi ZQ. Qualitative research and its uses in health care . Sultan Qaboos Univ Med J . 2008 ; 8 : 11 - 19 . 10.18295/2075-0528.2688 PMC3087733 21654952

3 Alexander GL , Livingstone A , Han S , et al Emerging models of care using IT in long-term/post-acute care: a comparative analysis of human and AI-driven qualitative insights . J. Gerontol. Nurs . 2025 ; 51 : 6 - 11 . 10.3928/00989134-20250307-01 PMC13289590 40163614

4 Misra R , Dahal R , Kirk B , et al Large Language Models in qualitative analysis: comparing traditional and researcher-interpreted approaches . Int J Qual Methods . 2026 ; 25 : 1 – 15 . 10.1177/16094069261426100

5 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 . 10.1038/s41746-023-00970-0 PMC10781957 38200151

6 Liu S , Liu J. Large language model-based analysis of statin therapy discussions and sentiment on social media: cross-sectional observational study . J Med Internet Res. 2026 ; 28 : e85057 . 10.2196/85057 PMC13068305 41962123

7 Burstein R , Mafuta E , Proctor JL. Large language models for analyzing open text in global health surveys: why children are not accessing vaccine services in the Democratic Republic of the Congo . Int Health . 2025 ; 17 : 843 - 852 . 10.1093/inthealth/ihaf015 PMC12406778 40052518

8 Bijker R , Merkouris SS , Dowling NA , et al ChatGPT for automated qualitative research: Content analysis . J Med Internet Res. 2024 ; 26 : e59050 . 10.2196/59050 PMC11310599 39052327

9 Goyanes M , Lopezosa C , Jordá B. Thematic analysis of interview data with ChatGPT: designing and testing a reliable research protocol for qualitative research . Qual Quant . 2025 ; 59 : 5491 - 5510 . 10.1007/s11135-025-02199-3

10 Zhang H , Wu C , Xie J , et al Harnessing the power of AI in qualitative research: exploring, using and redesigning ChatGPT . Comput Hum Behav Artif Hum . 2025 ; 4 : 100144 . 10.1016/j.chbah.2025.100144

11 Jowsey T , Braun V , Clarke V , et al We reject the use of generative artificial intelligence for reflexive qualitative research . Qual Inq . Published Online First. 17 December 2025 :1-5. 10.1177/10778004251401851

12 Bender EM , Gebru T , McMillan-Major A , et al On the dangers of stochastic parrots: Can language models be too big ? In: Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency . ACM ; 2021 : 610 – 623 .

13 Mathis WS , Zhao S , Pratt N , et al Inductive thematic analysis of healthcare qualitative interviews using open-source large language models: how does it compare to traditional methods? Comput Methods Programs Biomed . 2024 ; 255 : 108356 . 10.1016/j.cmpb.2024.108356 39067136

14 Raza MZ , Xu J , Lim T , et al LLM-TA: An LLM-Enhanced Thematic Analysis pipeline for transcripts from parents of children with congenital heart disease. arXiv:2502.01620 [cs.CL]. 2025 , preprint: not peer reviewed. 10.48550/arXiv.2502.01620

15 Xu H , Yi S , Lim T , et al TAMA: A human-AI Collaborative Thematic Analysis framework using multi-Agent LLMs for clinical interviews. ACM Trans Comput Healthcare. 2026. 10.1145/3828752

16 Qiao S , Fang X , Wang J , et al Generative AI for thematic analysis in a maternal health study: coding semistructured interviews using large language models . Appl Psychol Health Well Being 2025 ; 17 ( 3 ): e70038 . 10.1111/aphw.70038 PMC12083056 40377231

17 Morgan DL. Exploring the use of artificial intelligence for qualitative data analysis: the case of ChatGPT . Int J Qual Methods . 2023 ; 22 : 1 – 10 . 10.1177/16094069231211248

18 Lee VV , van der Lubbe SCC , Goh LH , et al Harnessing ChatGPT for thematic analysis: are we ready? J Med Internet Res . 2024 ; 26 : e54974 . 10.2196/54974 PMC11179012 38819896

19 Cook DA , Ginsburg S , Sawatsky AP , et al Artificial intelligence to support qualitative data analysis: promises, approaches, pitfalls . Acad Med . 2025 ; 100 : 1134 - 1149 . 10.1097/ACM.0000000000006134 40560241

20 Swain J. A hybrid approach to thematic analysis in qualitative research: using a practical example. In: SAGE Research Methods Cases . SAGE Publications Ltd; 2018 :2–21. 10.4135/9781526435477

21 Shim JK. Cultural health capital: a theoretical approach to understanding health care interactions and the dynamics of unequal treatment: a theoretical approach to understanding health care interactions and the dynamics of unequal treatment . J Health Soc Behav . 2010 ; 51 : 1 - 15 . 10.1177/0022146509361185 PMC10658877 20420291

22 Corbin J , Strauss A. Managing chronic illness at home: three lines of work . Qual Sociol . 1985 ; 8 : 224 - 247 . 10.1007/bf00989485

23 Torenholt R , Saltbæk L , Langstrup H. Patient data work: filtering and sensing patient‐reported outcomes . Sociol Health Illness . 2020 ; 42 : 1379 - 1393 . 10.1111/1467-9566.13114

24 SocioCultural Research Consultants, LLC . Dedoose. 2025 .

25 Hill C , Dahil A , Simpson G , et al Large language models for thematic analysis in healthcare research: A blinded mixed-methods comparison with human analysts . PLOS Digit Health 2026 ; 5 ( 4 ): e0001189 . 10.1371/journal.pdig.0001189 PMC13048440 41931471

26 Prescott MR , Yeager S , Ham L , et al Comparing the efficacy and efficiency of human and generative AI: qualitative thematic analyses . JMIR AI. 2024 ; 3 : e54482 . 10.2196/54482 PMC11329846 39094113

27 Jeong Y , Smith M , Gallo RJ , et al Leveraging ChatGPT for thematic analysis of medical best practice advisory data . JAMIA Open . 2025 ; 8 ( 5 ): ooaf126 . 10.1093/jamiaopen/ooaf126 PMC12757007 41487277

28 Mee T , Choi JJ , Baduashvili A. Same prompt, different answer: why AI disagrees with itself . J Gen Intern Med . 2026 ; 41 : 1283 - 1285 . 10.1007/s11606-025-10071-1 PMC13083561 41331203

29 Chen L , Zaharia M , Zou J. How is ChatGPT’s behavior changing over time? Issue 62, Spring 2024. 2024 ;6. 10.1162/99608f92.5317da47

30 Anh-Hoang D , Tran V , Nguyen L-M. Survey and analysis of hallucinations in large language models: attribution to prompting strategies or model behavior . Front Artif Intell . 2025 ; 8 : 1622292 . 10.3389/frai.2025.1622292 PMC12518350 41098969

31 Koleck TA , Dreisbach C , Bourne PE , et al Natural language processing of symptoms documented in free-text narratives of electronic health records: a systematic review . J Am Med Inform Assoc . 2019 ; 26 : 364 - 379 . 10.1093/jamia/ocy173 PMC6657282 30726935

32 Kanaparthy NS , Villuendas-Rey Y , Bakare T , et al Real-world evidence synthesis of digital scribes using ambient listening and generative artificial intelligence for clinician documentation workflows: Rapid review . Jmir AI. 2025 ; 4 : e76743 . 10.2196/76743 PMC12513689 41071988

33 Alqazlan L , Fang Z , Castelle M , et al A novel, human-in-the-loop computational grounded theory framework for big social data . Big Data Soc . 2025 ; 12 : 1 – 16 . 10.1177/20539517251347598

Подготовка и перевод публикации
Обработка статьи · этапы, ошибки и управление
Загрузка состояния…

История · было → стало

Состояние обновляется каждые 5 секунд, пока блок открыт. Процент показывается только там, где известен объём работы. Пауза останавливает продолжение этапа; текущий запрос к источнику может завершиться.

Тип публикации указан по данным источника. Уровень доказательности автоматически не присваивается.