Abstract
Objective To characterize the clinical and administrative concerns communicated through secure ophthalmology messaging and to assess differences in message content across patient sociodemographic groups.
Design Cross-sectional study of de-identified, patient-initiated secure messages sent between June 2014 and July 2024.
Participants Patients with ophthalmic conditions who initiated secure electronic health record portal messages. Of 48 516 extracted message threads, 30 390 patient medical advice request messages from 4 817 unique patients were included after exclusion of questionnaires, courtesy messages, and clinician responses. Participants were 55.5% female, 56.9% aged 50 years or older, 48.7% White, and 85.7% non-Hispanic.
Methods Natural language processing and large language model–assisted topic classification were used to categorize message content. Differences in message frequency by demographic subgroup were assessed using 2-proportion z tests.
Main Outcomes and Measures Distribution of message topics and frequency of clinical concerns stratified by age, sex, race, ethnicity, and marital status.
Results Nearly half of all messages addressed administrative issues, including scheduling, medication refills, and insurance. Among clinical concerns, vision disturbances (20.8%), glaucoma-related symptoms (8.7%), imaging or tumor-related questions (7.5%), and postoperative concerns (7.4%) were most common. Message content differed significantly by demographic characteristics. Non-White patients more frequently raised issues related to pharmacy refills, insurance, glaucoma, and disability documentation, whereas White patients more often reported surgical concerns. Older patients more frequently messaged about glaucoma, surgery, and tumor-related issues, while female patients more often reported complications and swelling or infection.
Conclusions Secure patient messages frequently include clinically relevant symptoms with potential triage implications and demonstrate demographic differences in care-seeking behavior. Systematic analysis of message content may support safer triage, improved workflow efficiency, and more equitable delivery of ophthalmic care.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
This work was supported by the National Institutes of Health (K01MH137386, R01AR082109, K24AR075060, and P30EY026877) grants.
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
The details of the IRB/oversight body that provided approval or exemption for the research described are given below:
The institutional review board of Stanford University approved this study (IRB 71157).
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Footnotes
Author Contact
Jiyeong Y Kim jykim3{at}stanford.edu, Zoha Z Fazal fazalzz{at}stanford.edu, Sophia Y Wang sywang{at}stanford.edu, Robert T Chang6 rchang3{at}stanford.edu, Eleni Linos linos{at}stanford.edu, Yasir J Sepah yjs{at}stanford.edu
Data Availability
All data produced in the present study are available upon reasonable request to the authors.
Abbreviations
- AI
- artificial intelligence
- ED
- emergency department
- EHR
- electronic health record
- ICD
- International classification of diseases
- IRB
- institutional review board
- LLM
- large language model
- NLP
- natural language processing
- PMAR
- patient medical advice requests
- US
- United States





