InterviewLegend

Model a Medication Schedule (2019-2025)

Sometimes asked
Alex Chen22 min readGuide updated

Four firsthand reports describe this prompt, the oldest from October 2019 and the newest from August 2025. No report from the last 12 months names it. It still has more reports than any prompt asked in 2026, and Epic reuses interview material for years, at least in its coding bank. It's worth an hour of prep. The versions differ in what they stress. A 2019 onsite case study started from warfarin, a blood thinner, and asked for "the representation you would use to store records for patients' dosage levels and programs." A 2021 final round wanted a class, in any language, "that could show someone's prescription dosage."

A 2022 developer got the version this lesson is built around: "Change scheduling system from daily to any number of days. Allow schedules to cycle via specifying a start and end date, and also allow individual dates to be overridden." And an August 2025 final round, 45 minutes of design, described a drug X and a measured value Y with healthy bounds of 100 to 300. The task was a wireframe and a database to view and add readings and doses, see the schedule and set a new repeating pattern. One more is close. A May 2025 final day asked for a class tracking patients, their medications and their administration schedules, then a method for the fewest pills that make a dose.

This is a modelling question more than a scale question. Nobody asks how many servers. The interviewer wants to see whether your objects match how medication really works, and whether the model bends when a requirement is added. Most of the points sit in one decision: what you store and what you calculate.

The Epic Systems angle
A May 2026 candidate described Epic's design conversation as "mostly discussion-based with a virtual whiteboard." So draw the screen early, even roughly. The 2025 version asked for a wireframe outright, and a screen makes it obvious which questions the data has to answer.

Epic SystemsPremium lesson · System design round

The Epic Systems design, worked end to end.

  1. Requirements and scopeSystem design
  2. The API and data model
  3. The design, drawn out1 diagram
  4. 4 deep divesWith the tradeoffs
Get the Epic Systems questions

$49 a year · all 122 companies · instant access

21,000+ candidate reports

Epic Systems interview guide

Know what Epic Systems asks before you walk in.

28 coding · 4 system design · 20 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Epic Systems interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.