Skip to content
All work

Full-time · Healthtech · Clinical tools

Calculate by QxMD

Clinical calculators used by physicians at the point of care, including the version embedded in Medscape.

  • Frontend Software Engineer

    Frontend software engineer

  • 2019 to 2021

    full-time · healthtech · clinical tools

  • Zero bugs

    reported through Medscape or production

  • qxmd.com/calculate

    live site

At a glance

Frontend software engineer · 2019 — 2021 · Maps to · Contract

Engagement

Frontend software engineer at QxMD, a WebMD/Medscape company. Two years, nine months

Starting point

One of the largest medical calculator services in the world, running on an aging legacy web app

Delivered

A ground-up Next.js rebuild, shipped first as an embed inside Medscape, then as the full application on qxmd.com

Core system

Physician-authored clinical calculators where the implementation must match the formula exactly, every time

Compatibility

Built for essentially every browser and device in the world, including the ancient ones in hospitals

Quality

Zero bugs reported through Medscape or production, from launch through the end of tenure

Stack

React · Next.js · TypeScript · Redux · styled-components · Cypress

Links

The brief

Calculate is a clinical calculator suite — risk scores, dosing, decision tools — used by physicians at the point of care. The formulas were authored and validated by doctors; my job was to guarantee the implementation matched them exactly, every time, because the gap between "mostly correct" and "correct" is a patient-care decision.

EXISTING CONDITIONS

  • An aging legacy web app behind one of the largest medical calculator services in the world
  • The first deliverable ran inside Medscape by WebMD: someone else's front door, in front of clinicians, where a shipped bug isn't quietly patched, it's a partner incident
  • Medical software doesn't get to choose its clients: hospital environments run old machines, and clinicians reach for whatever device is closest
  • Medscape's licensing on its existing third-party calculators was expiring; replacing them with an owned product was part of the value the acquisition was meant to unlock

THE ASK

  • Rebuild the product ground-up into a modern React/Next.js application, pixel-accurate to the design specs
  • Implement the physician-authored calculation logic exactly, with no gap between formula and code
  • Ship the Medscape embed first, then the full application
  • Hold stability at a medical bar, not a web bar

What I built

I owned the Calculate-next codebase end to end — the rebuild, the tests, the compatibility work, and the embed that carried it into Medscape. The deliverables:

Calculate-next

The ground-up React/Next.js rebuild of the legacy application, pixel-accurate to spec, with the physician-authored calculation logic implemented exactly.

Medscape embed

Roughly half the calculator library running live inside WebMD's clinical reference platform: the first deliverable, into someone else's front door.

Test suite

Unit and integration tests across calculation logic and components, plus Cypress end-to-end coverage: the layer that made zero-defect delivery a system rather than a hope.

Compatibility layer

Legacy browser and device support with a QA-verified matrix, built for the hardware clinical environments actually run.

Component library

Reusable React components and utility modules, unit-tested, carrying the design system through the whole product.

The Read blueprint

A formal, month-long rebuild blueprint for QxMD's research-paper product: the architecture handed over before I left.

Process

The engineering culture matched the domain: every line formally reviewed, testing far past requirement, and a compatibility bar most teams never see. The project's shape changed midway — and the sequence below is the build as it actually ran.

Onboarding & Learn

I joined onto QxMD's Learn product before Calculate existed as a project.

  • Owned and extended the Learn frontend, my proving ground in the codebase and the review culture
  • Active in Agile sprints and design meetings from the start

The rebuild

Calculate-next: the legacy app rebuilt from zero, to a pixel-accurate spec.

  • Translated design specifications into a pixel-perfect, functionally accurate product
  • Reusable React components and utility modules, each carrying its own unit tests
  • The physician-authored formulas implemented as the contract. The code's job was fidelity, not interpretation

Testing strategy

Coverage far past what the project required, because the failure mode isn't a bug report.

  • Unit and integration tests across the calculation logic and shared components
  • Cypress end-to-end coverage over the product's real flows
  • The standard: all of the calculators working all of the time. "Works in the demo" doesn't exist in medicine

Compatibility

Built for the devices hospitals actually have, not the ones analytics dashboards show.

  • Legacy browser and device support long past a 2020 baseline: polyfills, constrained features, and device-by-device verification
  • A tight loop with a dedicated QA agent through launch, working the flagged-issue list until the matrix was actually clean, not just modern-browser clean

The Medscape embed

The first deliverable, carrying roughly half the calculator library into WebMD's clinical reference platform.

  • Shipped into a partner's platform, where stability is a contractual matter, not an internal one
  • My teammate absorbed the integration into Medscape's legacy systems (the brutal half of the project) while I carried the build

Review culture

Every line of code formally reviewed.

  • I built, he reviewed — nothing merged without consensus
  • Two people, full coverage: one constructing, one interrogating

After delivery: the Read blueprint

The last month before leaving.

  • A formal rebuild blueprint for Read, QxMD's research-paper product, reverse-engineered from a legacy PHP application originally contained in fewer than five files

Decisions

TESTING STRATEGY

Test coverage far past what the project required: unit and integration tests across the calculators, plus end-to-end coverage, targeting all of them working all of the time.

Instead of

Standard coverage on the risky paths, and lean on the review process and QA cycle to catch the rest — the normal calculus for a frontend rebuild.

Why

These are medical calculators. A rendering bug is cosmetic; a calculation bug is a wrong number in front of a physician. The cost was real velocity (writing and maintaining that suite was a large share of the build), and I accepted it because the failure mode isn't a bug report, it's harm. It also meant the Medscape deliverable went out with confidence instead of hope.

COMPATIBILITY

Build to run on essentially every browser and device, including legacy ones long past what a 2020 product would normally support.

Instead of

A modern-browser baseline — the standard call that year, and the one that makes development dramatically easier.

Why

Clinical environments run old machines, and clinicians pull up a calculator on whatever device is in reach. Dropping legacy support would have been invisible in our analytics and very visible in a hospital. The cost: a constrained feature set, polyfills, and a QA matrix several times the size of the product's, device-by-device compatibility work most teams never see.

THE REBUILD

Take the whole build when the project inverted.

Instead of

Hold the planned split — two engineers sharing the application — while the Medscape integration consumed my teammate anyway.

Why

The integration into Medscape's legacy systems turned out to be its own brutal project, and it swallowed the engineer who was meant to co-build the app. Splitting his focus would have made both halves slow. So the roles inverted: he took the integration trench and became the reviewer; I built the application entire. The cost was concentration, every implementation risk landing on one person with the review culture as the counterweight. What it bought was a coherent codebase from a single hand, delivered on time into a partner platform — and the company saved the licensing replacement it was counting on.

Outcome

Zero bugs reported through either Medscape or production for my entire tenure, from launch through December 2021. The app ran live in clinical environments via qxmd.com and inside Medscape's reference platform, and it retired an expiring dependency: Medscape had been licensing third-party calculators, and Calculate replaced them with a product the company owned. The company paid a discretionary bonus on delivery for pulling the project through — the kind of outcome measure you can't put in a dashboard, but it's the one I got.

  • Zero reported defects across both platforms, launch through December 2021
  • Live at the point of care — qxmd.com and Medscape's reference platform
  • Expiring third-party calculator licensing replaced with an owned product
  • A formal rebuild blueprint for Read delivered before departure

qxmd.com

I'm a systems designer, and I emotionally invest in the company's success. If I dedicate my energy to you, you get what my mind has to offer.

Available now · Taking up to two engagements, or the right full-time role.