ANESTHESIOLOGY® 2026 · San Diego, CA · October 16–20, 2026 · #ANES26

AI-Assisted "Vibe Coding" for Clinical Workflow OptimizationAn Anesthesiology Use Case

Andrew Peace, BS, FP-C¹  ·  Alexander Morris, MS²

¹²Burrell College School of Osteopathic Medicine, Class of 2027  —  ¹Las Cruces, NM  ·  ²Albuquerque, NM

Session
Session 08.5 · Equipment, Monitoring, and Engineering Technology – Machine Learning/AI
Abstract
A1325 · Control #26-SA-9624-ASAHQ

Worked Example — AnesCalc, a Native iOS Anesthesia Calculator

Built end to end by a medical student directing an AI assistant — zero lines of code written by hand.

AnesCalc patient inputs: demographics, perioperative values, ABG, and TIVA parameters
Patient inputs
AnesCalc results dashboard with the TIVA section expanded showing computed propofol doses and pump rates
Results dashboard
AnesCalc drug reference list with 14 class filters
Drug reference cards — 14 classes
AnesCalc clinical tools list: RSBI, RASS, driving pressure, Fick cardiac output, BP targets, NPO fasting, machine checkout, dermatomal levels, vasopressor drips, anticoagulant calculator
10 bedside clinical tools

Swipe for more screens →

How AnesCalc was built, then the app itself — patient inputs, 231 live calculations, drug reference cards, conversions, and bedside tools.

Become a beta tester Try a calculation ↓ ↓ ePoster (PDF)

Abstract

Read the full abstract

A third-year medical student engaged a conversational AI assistant (Claude, Anthropic) in an iterative development session to design and build a comprehensive anesthesia clinical decision support platform, with no prior software engineering experience. All AI-generated drug dosing, pharmacokinetic parameters, and clinical protocols were independently verified against UpToDate prior to inclusion.

The workflow proceeded in three phases: structured requirements elicitation across 14 clinical domains; a Microsoft Excel prototype with 116 live formulae as a validated reference layer; and a native iOS/iPadOS SwiftUI application (iOS 17+) incorporating all calculation domains, a TIVA module with Marsh/Schnider propofol pharmacokinetic modeling, a labor and regional obstetric module with five indication-specific protocols, and a searchable drug reference library. Debugging followed a patch-based workflow in which Xcode compiler errors were submitted verbatim to the AI and resolved across targeted iterations.

A fully functional, offline-capable native iOS application was produced without the student writing a single line of code, compiling and running on physical iPhone and iPad hardware across five discrete compiler-error patch releases. All dosing outputs were confirmed accurate against UpToDate references, including age-corrected MAC algorithms, weight-based pediatric dosing, and obstetric-specific vasopressor guidance.

This case demonstrates that AI-assisted vibe coding may democratize clinical software development beyond attending-level practitioners. Independent verification against established clinical references is feasible within this workflow and essential for safe deployment. Early trainees may be uniquely positioned to leverage AI-assisted development, translating emerging clinical knowledge into validated bedside tools during training itself.

Background

Traditional software development requires programming expertise, creating a barrier between clinical ideas and working prototypes. Large language models (LLMs) lower this barrier by allowing clinicians to translate natural-language requirements into functional applications. We demonstrate this workflow through development of a native iOS application providing point-of-care anesthetic reference values.

Development Workflow

An iterative build loop with the AI assistant

1
Think of an application
User forms the idea
2
Define constraints
User gives the AI requirements
3
Create a prototype
AI builds a first version
4
Test the prototype
Try it, gather feedback
5
Define new features
Identify what to add
6
Build the next version
AI updates the prototype
Repeat
Development workflow diagram: idea, constraints, AI builds a prototype, user tests it, AI applies fixes and new features, AI builds the next version, loop repeats until requirements are met

Steps 4–6 repeat until the prototype meets requirements. No programming training needed — zero lines of code authored by hand.

UserAI

… then the conversation became an app

Real prompts from the original development session

Pull a list of all necessary calculated information that an anesthesiologist could want based on simple inputs of age, weight, procedure, type of anesthesia, etc.
A 14-category output table — airway, induction, MAC, NMB, fluids, ventilator, vasopressors, and more — with the inputs each calculation needs.
Please build this as a spreadsheet where one enters the demographic information and variables at the top…
Built a workbook with 116 live formulae across 14 sections.
Can this be coded into an iOS compatible app for iPhone and iPad?
Generating a native SwiftUI project: PatientInputView, CalculationEngine, ResultsDashboardView, DrugCardsView…
Building…

Scope — v1.0 Session → v2.0 Today

116→231
Live calculations
10→55
Drug reference cards
0→10
Clinical tools
0→0
Lines of code authored

Features

Try It — Age-Adjusted MAC

The same age-corrected MAC calculation AnesCalc runs on-device. Nothing you enter leaves this page.

—
1.0 MAC at this age
—
MAC-awake (0.33×)
—
MAC-BAR (1.6×)
—
Total MAC delivered

MACage = MAC40 × 10−0.00269 × (age − 40), with MAC40 sevoflurane 1.80%, isoflurane 1.17%, desflurane 6.6%, N₂O 104% (Mapleson WW. Br J Anaesth. 1996;76(2):179-185). Same equation, constants, and minimum floors as AnesCalc’s CalculationEngine.swift. Valid for ages ≥ 1 year. Total MAC sums agent and N₂O fractions. Educational demonstration only — not for clinical decision-making.

Dosing Verification Audit

191
Rows audited
24
Sections
3
Independent passes

All values externally reviewed and cross-referenced against UpToDate, Miller's 9e, and Barash 8e.

Beyond This Application

The workflow, not the app, is the transferable product. Same 6 steps, any clinical need: EMR tools (calculators and order-set helpers), desktop widgets (quick reference at the workstation), plan generators (anesthetic plans from case data), case simulators (resident training scenarios), QI dashboards (protocols, checklists, and metrics)

Limitations & Future Work

Limitations

Future Work

AI Disclosure

A conversational LLM, Claude Sonnet 4.6 (Anthropic, PBC), was utilized for native code generation ("vibe coding"). The first author (AP) directed all prompt engineering, designed the system architecture, and verified compilation outputs. The AI assistant does not hold authorship status.

References

  1. Gropper MA, Miller RD, Cohen NH, et al., eds. Miller's Anesthesia. 9th ed. Philadelphia, PA: Elsevier; 2020.
  2. Barash PG, et al., eds. Clinical Anesthesia. 8th ed. Philadelphia, PA: Wolters Kluwer; 2017.
  3. Eger EI 2nd. Age, minimum alveolar anesthetic concentration, and minimum alveolar anesthetic concentration-awake. Anesth Analg. 2001;93(4):947-953.
  4. Gan TJ, Diemunsch P, Habib AS, et al. Consensus guidelines for the management of postoperative nausea and vomiting. Anesth Analg. 2014;118(1):85-113.
  5. Panchal AR, Bartos JA, Cabañas JG, et al. Part 3: Adult Basic and Advanced Life Support: 2020 American Heart Association Guidelines for CPR and Emergency Cardiovascular Care. Circulation. 2020;142(16 Suppl 2):S366-S468.

Materials

↓ ePoster (PDF) ↓ Demo video (1080p .mp4)

Acknowledgments / Contact

Andrew Peace, BS, FP-C
OMS-IV, Burrell College School of Osteopathic Medicine · Class of 2027

The authors thank Emily Waddle, Class of 2029 at Burrell College School of Osteopathic Medicine, NM, for technical data support during the external UpToDate reference validation and algorithmic verification phases.


Testers Wanted