Skip to content

Case Study: The OBGYN Automation Stack

A breakdown of the digital services running a private medical practice in 2026.

Matt Dennis

The OBGYN Stack: Engineering a Modern Private Practice

In 2026, a solo-practitioner OBGYN shouldn’t be buried in paperwork. We built the Dr. Ray Practice Automation Suite—a serverless, AI-integrated ecosystem that handles everything from the first patient fax to the final payment plan.


The Vision

The goal was simple: Zero manual data entry. We wanted a system where:

  • Faxes are read by AI, not staff.
  • Referrals are generated and sent with three clicks.
  • Billing is dynamic, supporting sliding-scale equity.
  • Data across fragmented platforms (Heidi, Unity, Clarius) is unified via custom scrapers.

The Architecture at a Glance

The “Dr. Ray Stack” is built on a Serverless-First philosophy using AWS, React, and Playwright.

1. The Fax “Brain”

Instead of a dusty fax machine, we built a pipeline:

  1. Ingestion: Faxes hit the SRFax API and are pulled by AWS Lambda.
  2. Preprocessing: Lambda functions automatically strip cover pages and rotate documents.
  3. Extraction & Analysis: Powered by AWS Bedrock (Nova), which handles both OCR and clinical data extraction in a single multimodal pass.
  4. UI: A custom React 19 dashboard lets the Dr. view AI-summarized faxes with PII-obfuscation for security.

2. Patient-Centric Billing

We moved away from rigid medical billing software to a custom Sliding-Scale Price Picker. Patients can choose their price point within a validated range ($250-$400), select payment terms (1-12 months), and check out via Stripe.

3. Deep Integration (The “Scraper” Layer)

Medical software is notoriously closed-off. We bypassed the lack of APIs by building custom Playwright/Puppeteer scrapers for:

  • Heidi Health: Automated session data extraction.
  • Unity Screen: Programmatic order submissions for genetic testing.
  • Clarius Cloud: Automated ultrasound report generation.

The Result

By leveraging 42+ independent services—including 20 Lambda functions and 12 frontend apps—we’ve created a practice that operates with the efficiency of a large clinic but the personal touch of a boutique provider.

“We didn’t just build a website; we built an operating system for the office.”

Key Tech Used

  • Backend: Node.js 20, AWS Lambda, DynamoDB, SQS.
  • AI: AWS Bedrock (Nova).
  • Frontend: React 19, Vite, Tailwind CSS, AWS Amplify.
  • Automation: Playwright, Puppeteer, Make.com.