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 AI

Date Submitted: Apr 12, 2026
Open Peer Review Period: Apr 17, 2026 - Jun 12, 2026
(currently open for review)

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.

Physician-Led AI Development in Primary Care: Lessons From Building, Deploying, and Abandoning a Pre-Consultation Chatbot

  • Damoun Nassehi

ABSTRACT

Time constraints and fragmented pre-consultation information are persistent challenges in general practice. This viewpoint describes the development, deployment, and discontinuation of Sokrates AI, a physician-developed, open-source chatbot designed to conduct Socratic pre-consultation history-taking in Norwegian primary care. Built almost entirely through AI-assisted code-generation through natural language prompting (vibe-coding) using OpenAI Codex/GPT-4 and Cursor.ai, the tool was deployed on a GDPR-compliant server and used informally with approximately 20 patients over one month in autumn 2025. Clinical utility was most apparent for asynchronous e-consultations and for patients disclosing psychosocial concerns; the tool was ultimately discontinued due to implementation burden and the availability of simpler alternatives for routine use. The central argument of this viewpoint is that AI-assisted development has meaningfully lowered the threshold for clinician-led digital innovation, enabling a practicing physician with no formal software engineering training to build and deploy a functional clinical application. This shift has implications for how the medical profession engages with the AI systems entering clinical practice, and for how medical education should respond. Three further observations from the project—concerning clinical adoption barriers, the unsuitability of LLMs for triage, and the risk of digital inequity—are noted as hypotheses warranting dedicated investigation rather than conclusions this single experience can support.


 Citation

Please cite as:

Nassehi D

Physician-Led AI Development in Primary Care: Lessons From Building, Deploying, and Abandoning a Pre-Consultation Chatbot

JMIR Preprints. 12/04/2026:98034

DOI: 10.2196/preprints.98034

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

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.