Blog & news

Vibe coding for physicians: where the safety line sits

Physicians can build small tools in plain English. Two rules keep that safe: no patient data, and no unvalidated tool at the bedside.

DR GPT™ perspective card: Vibe coding for physicians, where the safety line sits, by Harvey Castro, MD

Clinicians do not hate technology. We hate friction between us and the patient. Vibe coding, describing software in plain language and letting AI build it, gives physicians a new way to remove some of that friction themselves.

Key points

  • In a time-and-motion study in Annals of Internal Medicine, physicians spent 49.2% of the office day on EHR and desk work versus 27.0% face to face with patients.
  • The AMA’s 2026 survey found 27% of physicians had no AI training, and 92% want more.
  • Building a small tool teaches AI literacy fast, fixes annoyances vendors ignore, and makes you a sharper buyer of clinical AI.
  • Vibe coding fits personal, educational and administrative use. It is not a substitute for clinical safety, privacy law or real software engineering.

Pearls you can use this week

  • No patient information, ever. No PHI, dates of birth, record numbers or identifiable stories in personal tools.
  • Never deploy an unvalidated build for patient care. Diagnosis, dosing, triage, patient advice and EHR integration belong to formal teams and governance.
  • Start small and nonclinical. A reading tracker, a shift checklist or a teaching exercise with synthetic examples.
  • Write five things before you prompt: the AI’s role, the tool, why it helps, the safety guardrails and the exact output you will review.
  • Measure for two weeks. Keep the tool only if it truly saves effort.

This is a short companion to my full article on KevinMD. Read the full article on KevinMD for the evidence and the complete argument.

Want this conversation in front of your team? Invite me to speak at your event.

Educational commentary, not medical advice.

Keep reading

More articles like this