Pretectal

Interactive demo

The A&P, drafted beside the EHR you already use.

Sidecar reads the finished exam on screen, writes the assessment and plan the way you chart it, and turns one sentence of dictation into the referral, the PCP letter or the patient summary. Pick a sample patient, read the chart, and edit any field to watch the draft follow.

Sits on top, replaces nothing

It reads the exam from the screen the way you do and types the plan into the box you would type it in. No migration, and nothing for the EHR vendor to build first.

Learns your shorthand

It studies your signed notes for the phrases you always write, asks about the ones it can't work out, and decides ambiguous ones — PVD, EOD — by where they appear in the chart.

Dictate the task, not the template

Say who the letter is for and how soon. The findings, codes and follow-up come from the chart you already finished.

Practice EHR 9.2 — Exam — Robert Hale
Robert HaleDOB 03/14/196462 MMRN SMP-40217Medical eye exam · 2026-10-24
History
Entrance
ODOS
VA cc
IOP Tapp
Slit lamp
ODOS
L/L
C/S
K
AC
Iris
Lens
Dilated fundus
ODOS
Vit
C/D
Mac
Vess
Periph
Testing
ODOS
OCT
VF
Other
Assessment / Plan

The box Sidecar types into. Edit it freely — it is the EHR's own field.

ReadySidecar: UI AutomationNUM

Making it real

Four ways in, in the order a practice can say yes to them.

RevolutionEHR, Compulink, Eyefinity, MaximEyes, ModMed and Nextech have each launched or announced their own ambient scribe. Their materials describe filling in exam fields. None that we read mentions drafting the A&P, writing referral and PCP letters, or learning a doctor's own shorthand — the layer Sidecar is built around. The diabetic letter to the PCP also lines up with the 2026 quality measure for communicating retinopathy findings (MIPS #019 / CMS142v14).

  1. Phase 0No vendor involvement

    Dictate and paste

    A desktop sidecar that drafts the A&P and letters from what the doctor dictates or pastes, and puts the result on the clipboard or types it at the cursor. It works with every EHR, including ones run over Citrix or remote desktop.

    • Hotkey paste, with the patient's name and date of birth on screen to confirm before anything is inserted
    • Letters as PDF, sent through an eFax service that signs a BAA
    • Dictation by the doctor only — no ambient recording of the patient
  2. Phase 1No vendor involvement

    Read the screen

    Read the exam that is already on screen instead of asking for it twice. Cloud EHRs (RevolutionEHR, Eyefinity Encompass, MaximEyes cloud) are read through a browser extension. Desktop EHRs (Compulink on-premise, OfficeMate/ExamWRITER) are read through Windows UI Automation.

    • Standard Win32, WinForms and WPF fields are exposed to UI Automation automatically
    • OCR is the fallback for remote desktop, and every number it reads (IOP, acuity) is confirmed by the doctor
    • Text is inserted only when the doctor clicks — no unattended typing into the chart
  3. Phase 2The practice authorizes it

    Read the record

    Certified FHIR APIs that each practice can switch on for an app it chooses. They supply the problem list, medications, allergies and care team that fill in letters. These APIs are read-only, and discrete eye-exam values probably aren't in them.

    • Compulink: read-only FHIR R4; the practice registers the app and controls scopes
    • Eyefinity Encompass and ExamWRITER: request through Eyefinity; the API is hosted by ModMed
    • RevolutionEHR, MaximEyes and Crystal PM list certified APIs; activity varies by vendor
  4. Phase 3Vendor partnership

    Write back

    Filing the signed A&P and letters straight into the chart needs a partner API. ModMed's proprietary EMA API documents uploading documents and creating tasks; Compulink and RevolutionEHR take partner requests. Referrals can go over Direct secure messaging.

    • Writing notes through standard FHIR (US Core DocumentReference) is guidance only, with no certification requirement behind it
    • A Direct address from a DirectTrust-accredited provider, or the EHR's own Direct service
    • ONC's HTI-5 rule, proposed but not final, would treat blocking AI access as information blocking

Open-source building blocks

Most of the stack already exists, permissively licensed.

Sidecar shellMIT

Handy, on Tauri 2 (opens in a new tab)

An offline speech-to-text app that already records on a hotkey, transcribes locally and pastes into the focused window on Windows. A fork covers dictation and paste-back.

Speech to textCC-BY-4.0 · Apache-2.0 · MIT

Parakeet TDT 0.6B v3 via sherpa-onnx; faster-whisper (opens in a new tab)

Fast on a laptop CPU with no audio leaving the room. faster-whisper's hotword and prompt biasing can favor each practice's terms (SPK, DFE, CI-DME).

Shorthand and negationMIT · CC-BY-4.0

medspaCy + Clinical Abbreviation Meta-Inventory (opens in a new tab)

ConText negation ("no NVE" is not NVE) and an inventory of 400,000+ abbreviation senses to seed the dictionary — no UMLS license required.

Learning from past notesApache-2.0 · MIT/Apache-2.0

sentence-transformers + sqlite-vec (opens in a new tab)

Local retrieval over the doctor's own charts, which decides an ambiguous abbreviation by how they used it before and shows the notes it relied on.

Drafting modelApache-2.0

Gemma 4 or Qwen3.8-27B on Ollama / llama.cpp (opens in a new tab)

Permissively licensed open weights that run on practice hardware. A cloud model is an option under a BAA.

Structured outputMIT · Apache-2.0

Instructor or Outlines (opens in a new tab)

Forces each A&P item into a schema — diagnosis, laterality, ICD-10, plan, follow-up — so the text is rendered from checked fields, not free generation.

De-identificationMIT

Presidio (opens in a new tab)

Strips names, dates and MRNs before anything reaches a cloud model. Add custom recognizers; it is a safeguard, not a HIPAA guarantee.

Reading desktop EHRsBSD-3 · MIT · Apache-2.0

pywinauto or FlaUI, RapidOCR as fallback (opens in a new tab)

Windows UI Automation to find the exam fields and the A&P box; OCR only when remote desktop hides the controls.

InteroperabilityApache-2.0

SMART fhirclient, HAPI FHIR, Medplum (opens in a new tab)

SMART on FHIR authorization and resource handling for the Phase 2 reads, with a test server to develop against.

LettersBSD-3

Jinja2 + WeasyPrint (opens in a new tab)

Templated letters rendered to PDF for fax or the chart's document tab.

Open projects worth studying

  • Phlox (MIT) — A local-first medical scribe that learns from past notes and drafts letters. The closest open project to study.
  • OpenScribe (MIT) — Local Whisper plus a hosted model. Its README states it is not yet HIPAA-compliant.
  • Berta (Apache-2.0) — An open scribe deployed in Alberta Health Services, with self-hosted model backends.

Licenses to read twice

  • MedGemma and Google's MedASR use the Health AI Developer Foundations terms, which are not an open-source license and restrict uses that would make Google a device manufacturer.
  • Llama models use a community license with usage caps and an acceptable-use policy.
  • FreeScribe (AGPL-3.0), Espanso (GPL-3.0) and AutoHotkey (GPL-2.0) are copyleft. Run text expanders as separate processes rather than embedding them.
  • QuickUMLS, cTAKES's default dictionary, MedCAT models and scispaCy's linker depend on a UMLS license, which carries reporting and distribution conditions.

Before it touches a real chart

The guardrails are part of the design.

A BAA all the way down

Sign a business associate agreement with each practice and with every subcontractor that touches PHI: model, speech-to-text, hosting and fax. Anthropic, OpenAI, Azure, AWS and Google each offer BAAs with service-specific scope.

Stay on the documentation side of FDA's line

FDA's January 2026 clinical decision support guidance allows summarizing a clinician's own findings into a draft. Analyzing the OCT or fundus image itself is device territory. So drafts come from entered findings, show their sources, and avoid time-critical triage.

Dictation before ambient

About eleven states require every party's consent to record a conversation, and an ambient-scribe class action is in the courts. A doctor dictating alone sidesteps that while consent workflows mature.

The doctor signs before anything leaves

California's AB 3030 requires a disclaimer on AI-written patient messages unless a licensed provider reviews them, and Texas now requires disclosing AI use to patients. Sidecar never sends a letter on its own.