VIP Daily

Inspiration

Medical students learn communication and clinical reasoning by interviewing patients, but realistic practice partners are not always available. Text simulations can test knowledge, yet they miss the pauses, uncertainty, and personality that shape a real consultation.

VIP Daily is inspired by the question: what if one daily practice case could feel as personal and unpredictable as a real patient interview?

We wanted medical students to be able to practice by voice, respond to a patient who has their own temperament, gather clues through thoughtful questioning, and receive feedback after the consultation. We also wanted to turn it into a daily ritual rather than a one-off exam tool, so we designed the MVP around one challenge, one completed result, and a streak.

What it does

VIP Daily is a voice-first virtual patient interview for medical students.

Students start a session, interview a sampled patient over live voice or text, choose when to perform examinations or order tests, and finish by submitting a diagnosis. The patient speaks back with a distinct personality, emotional delivery, and selective answers: it does not reveal every fact at once and does not invent medical symptoms.

The app also:

  • Samples a different persona for the same medical case
  • Keeps the patient's spoken answers in lay language
  • Collects revealed facts and tracks point costs for examination actions
  • Separates the patient's medical view from the hidden diagnosis and grading view
  • Provides a post-session score and communication feedback
  • Downloadable dialogue data for transcript and latency review
  • Records completed daily results and a browser-local streak
  • Provides a responsive interface for desktop and mobile browsers

The medical facts come from structured case files, while the sampled persona controls age, occupation, family context, speaking style, anxiety, openness, and voice. This lets two patients with the same disease behave like genuinely different people.

How we built it

We built VIP Daily as a FastAPI backend and a dependency-free responsive HTML, CSS, and JavaScript frontend.

For each student turn, the browser captures a short microphone recording or accepts text input. The backend sends spoken input through a cascading voice pipeline:

  1. Speech transcription converts the student's turn into text.
  2. Speech analysis captures observable language and delivery metadata.
  3. The patient model receives the transcript, the sampled persona, the current conversation, and the patient-only case facts.
  4. A structured patient reply includes text, emotion, and voice style.
  5. Text-to-speech generates the patient's spoken response.

The diagnosis, differential, checklist, and expected examinations remain in a separate examiner view that is never sent to the patient model. The scoring path runs after the session and evaluates history, communication, clinical reasoning, and actions against the hidden case data.

The patient engine uses seeded sampling so the same seed produces the same patient, while different seeds create different ages, personalities, traits, and voices within the case's medical boundaries. A per-session state layer controls disclosure, mood, and conversational consistency.

We prepared structured case data, including a stable-angina case and a set of PriMock57-derived cases, and built the interface around a shared result contract rather than coupling presentation to a specific disease or scoring implementation.

Challenges we ran into

The first challenge was preventing the patient model from seeing information it should not know. We solved this by physically separating patient_view from examiner_view and keeping the grader and diagnosis server-side.

The second challenge was consistency. A believable patient must answer the same fact consistently over a long conversation, reveal only what was asked, and avoid adding symptoms that are not in the case. We addressed this with structured facts, first answers and follow-up probes, an unknown-default policy, and session memory.

Voice latency was also a major constraint. Transcription, patient generation, and text-to-speech can add up quickly, so we made the reply short and structured, measured stage timings, and included a text fallback for development and noisy environments.

Finally, local statistics required a careful privacy and product boundary. We added a random browser device ID and a server-local JSON store for completed daily results and streaks, but did not add accounts or imply that the MVP tracks users across devices.

Accomplishments that we're proud of

We built a working end-to-end demo rather than only a conversation prototype:

  • A voice consultation with push-to-talk and automatic voice-detection options
  • A text fallback that uses the same patient and scoring flow
  • Distinct seeded personas for the same medical case
  • A patient engine that follows medical ownership and disclosure rules
  • OpenAI and ElevenLabs text-to-speech adapters
  • Examination and test actions with local point tracking
  • Post-session feedback and a date-keyed daily statistics view
  • Downloadable conversation JSON with transcripts and observed latency metadata
  • A showcase mode that exposes the patient engine for demonstrations
  • A responsive desktop and mobile-browser interface

We are also proud that the implementation keeps grounded medical facts and personality in separate modules. That separation makes it possible to change the patient experience or UI without moving the hidden diagnosis into the patient's prompt.

What we learned

We learned that a convincing medical simulation depends on state and boundaries as much as on language-model quality. A strong prompt is not enough: the application needs explicit case facts, disclosure rules, persona traits, conversation memory, and a separate grading path.

We also learned that generated dialogue should be evaluated as a system, not treated as one lucky response. Consistency, selective disclosure, hallucination resistance, character stability, and medical ground-truth isolation need repeatable tests and demo-visible evidence.

On the product side, we learned to separate a polished student experience from internal debug information. The normal game is simple and calm, while showcase and lab modes expose the personality and prompt state for teammates and judges.

Finally, building the voice path showed that latency is part of UX: reply length, provider sequencing, fallbacks, and visible stage measurements all affect whether the consultation feels natural.

What's next for VIP Daily

We would expand VIP Daily from a local hackathon MVP into a repeatable clinical training platform.

The next priorities are:

  • Calibrate and validate scoring across good, average, and poor consultation transcripts
  • Add more structured cases across additional specialities
  • Run automated leak, consistency, hallucination, disclosure, and personality evaluations
  • Improve end-to-end voice latency and barge-in behaviour
  • Add account-backed history and cross-device streaks
  • Turn the personality-generation adapter into a production integration
  • Let educators create and validate their own cases
  • Support team and institutional analytics while protecting student privacy

Our longer-term vision is a daily clinical reasoning routine: one new virtual patient each day, a memorable personality, and focused feedback that makes every practice session more useful than the last.

Built With

Share this project:

Updates

Submission history