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
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…
Also: OB/regional protocols · unit conversions · PDF export
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
Limitations & Future Work
Limitations
AI-generated content and calculations require independent verification
Visual and UI design require iterative human refinement
Hardware and OS compatibility require testing on physical devices
Institutional IT, security, and protected health information policies may limit deployment
Current implementation is iOS-only and has not undergone prospective clinical validation
Future Work
Prospective outcomes validation
FDA SaMD regulatory classification
Clinician evaluation · formal usability review in training contexts
App Store sponsorship for publication
Android functionality
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
Gropper MA, Miller RD, Cohen NH, et al., eds. Miller's Anesthesia. 9th ed. Philadelphia, PA: Elsevier; 2020.
Eger EI 2nd. Age, minimum alveolar anesthetic concentration, and minimum alveolar anesthetic concentration-awake. Anesth Analg. 2001;93(4):947-953.
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.
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.
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.