Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Currently submitted to: JMIR Medical Informatics

Date Submitted: Sep 8, 2026
Open Peer Review Period: Sep 15, 2026 - Nov 10, 2026
(closed for review but you can still tweet)

NOTE: This is an unreviewed Preprint

Warning: This is a unreviewed preprint (What is a preprint?). Readers are warned that the document has not been peer-reviewed by expert/patient reviewers or an academic editor, may contain misleading claims, and is likely to undergo changes before final publication, if accepted, or may have been rejected/withdrawn (a note "no longer under consideration" will appear above).

Peer review me: Readers with interest and expertise are encouraged to sign up as peer-reviewer, if the paper is within an open peer-review period (in this case, a "Peer Review Me" button to sign up as reviewer is displayed above). All preprints currently open for review are listed here. Outside of the formal open peer-review period we encourage you to tweet about the preprint.

Citation: Please cite this preprint only for review purposes or for grant applications and CVs (if you are the author).

Final version: If our system detects a final peer-reviewed "version of record" (VoR) published in any journal, a link to that VoR will appear below. Readers are then encourage to cite the VoR instead of this preprint.

Settings: If you are the author, you can login and change the preprint display settings, but the preprint URL/DOI is supposed to be stable and citable, so it should not be removed once posted.

Submit: To post your own preprint, simply submit to any JMIR journal, and choose the appropriate settings to expose your submitted version as preprint.

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Entity Recognition of the Age-Friendly Health System 4Ms in Nursing Home Text Messages Using Large Language Model Revision of Bio-ClinicalBERT Candidate Entities: Development and Evaluation Study

  • Philip Amewudah; 
  • Mihail Popescu; 
  • Matthew Farmer; 
  • Kimberly Powell

ABSTRACT

Background:

Text messages exchanged among care teams in nursing homes contain information aligned with the Age-Friendly Health Systems 4Ms (What Matters, Medication, Mentation, and Mobility) that need to be extracted for downstream uses. A very limited number of evaluated approaches exist in this domain for extracting 4M information from nursing home text messages, with a most recent and major approach using LLM fine-tuning. An approach that constrains locally deployable LLMs to revision only of encoder-detected candidate spans remains unexplored.

Objective:

This study aimed to develop and evaluate a 4M Entity Recognition (4M-ER) pipeline that combines encoder-based token classification with LLM revision by locally deployable, open-weight instruction-tuned LLMs, to identify 4M entities in nursing home text messages without additional LLM fine-tuning.

Methods:

An expert-annotated dataset of 1,169 messages from 16 Midwest nursing homes was used for development and evaluation. The pipeline uses a fine-tuned Bio-ClinicalBERT token classifier to identify candidate spans, then an LLM revision step (guided by semantically retrieved in-context exemplars) corrects boundaries, evaluates labels, and accepts or rejects candidates. Four 4M-ER variants (Gemma, Phi, Qwen and Mistral-Nemo) were compared against zero-shot LLM extraction, standalone fine-tuned Bio-ClinicalBERT, and a previously published fine-tuned Gemma LLM.

Results:

Evaluating via entity-type F1 score, to ensure semantically accurate assessment rather than strict boundary rigidity and partial-matching leniency, the 4M-ER variants performed better compared to the fine-tuned Gemma with significant improvement for What Matters: Gemma, Qwen, and Mistral-Nemo variants increased What Matters F1 by 0.114, 0.108, and 0.094 respectively (95% bootstrap CIs excluding). Mentation and Mobility F1 scores were generally higher than those of the fine-tuned Gemma, but not significantly. The fine-tuned Gemma performed better for Medication, significantly outperforming the Phi variant of the pipeline by 0.062 and also had higher secondary strict and partial F1 scores.

Conclusions:

The 4M-ER pipeline provides a locally deployable approach to 4M entity recognition in text messages through LLM revision of fine-tuned Bio-ClinicalBERT candidate entities without LLM fine-tuning with significant advantage for What Matters entity recognition.


 Citation

Please cite as:

Amewudah P, Popescu M, Farmer M, Powell K

Entity Recognition of the Age-Friendly Health System 4Ms in Nursing Home Text Messages Using Large Language Model Revision of Bio-ClinicalBERT Candidate Entities: Development and Evaluation Study

JMIR Preprints. 08/09/2026:111552

DOI: 10.2196/preprints.111552

URL: https://preprints.jmir.org/preprint/111552

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.