How can you build an ambient medical scribe? A 2026 Guide
A developer's guide to building an AI medical scribe for in-person visits and telehealth.
TL;DR
To build an ambient scribe for healthcare, connect encounter recording, medical transcription, structured note generation, clinician review, and EHR integration. Recall.ai can provide recording and transcription infrastructure while your team builds the clinical workflow.
What is an ambient medical scribe?
An ambient medical scribe is an AI-powered tool that captures the conversation between a clinician and patient during a visit and uses it to generate a draft clinical note. Unlike dictation software, which requires the clinician to speak their notes explicitly, an ambient scribe processes the natural conversation and organizes relevant information into a format such as a SOAP note. It can support in-person or telehealth appointments, helping clinicians spend less time documenting care. The clinician reviews and edits the draft before it becomes part of the patient’s medical record.
What components do you need to build an ambient medical scribe?
- Encounter capture: Record the intended visit and associate it with the right encounter.
- Medical transcription: Convert speech into timestamped text; distinguish speakers where possible.
- Note generation: Create a structured draft using supported visit information.
- Clinician review: Let the clinician verify, edit, and approve the note.
- EHR integration: Save approved documentation to the correct patient and encounter.
- Security and operations: Control PHI access, retention, auditability, and recovery.
1. Define the clinical workflow before choosing models
Choose a narrow starting point: one specialty, language, note template, and encounter setting. A primary care follow-up and a behavioral health intake need different templates and evaluation criteria.
You should also define the note lifecycle explicitly: recording, processing, draft, reviewed, approved, and exported. Keep the patient identifier, encounter identifier, recording identifier, and note version linked throughout the workflow.
2. Capture audio from in-person visits or telehealth appointments
For an in-person scribe, you can record through a microphone on the clinician's computer or phone. For telehealth, you’ll need to capture both sides of the conversation (doctor and patient) on the meeting platform the practice uses.
Possible approaches to capture include browser microphone recording, native desktop or mobile audio capture, a desktop recording SDK, or a meeting bot on supported video platforms. To determine which one works best for you, test permission handling, microphone changes, background noise, interruptions, and what happens when the connection drops. Your implementation should also have a clear indicator of when the recording is active and allow the clinician to have control over pausing and stopping the recording.
Recall.ai's Desktop Recording SDK supports recording on macOS and Windows, and can capture both in-person conversations and telehealth meetings without a bot participant in the call. With the Desktop Recording SDK, the healthcare professional records the meeting from their computer. Recall.ai’s Meeting Bot API provides another capture option, and records by sending a visible bot to the meeting.
3. Evaluate transcription on clinical conversations
When choosing a speech-to-text provider, you should choose a speech-to-text service that has the best support for the accents and languages the clinic most often deals with. It’s also essential to have good support for medical terminology. For example, transcription providers like Deepgram and AssemblyAI have models that are trained on clinical terms and can accurately transcribe symptoms, medications, and clinical jargon.
When making a decision on which transcription API to use, evaluate clinically meaningful errors as well as overall word error rate. Recall.ai allows you to test out and benchmark multiple transcription providers with one API, which can be useful for this phase of this process.
4. Generate structured notes grounded in the encounter
After you’ve picked your transcription provider, you’ll need to transform the raw transcript into the required clinical template, such as SOAP notes. For this step, you can feed the transcripts into an LLM and supply the template and documentation rules explicitly.
For example, a good practical generation contract should tell the model to:
- Use only the supplied transcript and explicitly authorized chart context.
- Separate patient-reported information from observed findings and clinician decisions.
- Preserve negation, uncertainty, and whether an action was discussed, proposed, or ordered.
- Leave unsupported sections empty or mark them as not documented.
- Return a structured result that your application can validate.
For example, if the patient mentions a medication but never states the dose, the scribe should not fill in a typical dose. If the clinician discusses a possible referral, the note should not report that the referral was placed. When creating notes, add source references for important statements where feasible.
5. Build clinician review into the product
Present the draft in an editor that supports quick correction from the clinician. Where retention and permissions allow, connect note statements to transcript passages and audio timestamps. Flag unresolved speaker roles, unclear medication details, and unsupported sections rather than making a guess or inference.
Keep the clinician's edits and approval associated with a specific note version. Require approval again if the approved content changes before export. Make the status visible: draft, approved, export pending, or saved. A clinician should be able to tell whether documentation actually reached the EHR.
6. Integrate with the EHR's supported workflow
To make your medical scribe useful in practice, connect approved notes to the EHR your customers already use, such as Epic, athenahealth, or Oracle Health. Confirm each system’s supported APIs, authorization requirements, and note-submission workflow before building the integration.
For example, Epic offers a FHIR DocumentReference.Create API for clinical notes. Oracle Health’s Millennium platform also supports creating documents through its FHIR DocumentReference API. athenahealth provides APIs for patient documents and encounter workflows, with functionality depending on the products the practice uses. These interfaces have different requirements, so plan and validate each integration separately.
For each EHR, verify that the note reaches the correct patient and encounter, preserves the clinician-approved content, and appears where clinicians expect to find it. You should also require clinician review before submitting finalized documentation and track whether each export succeeds.
How can you ensure your ambient medical scribe stays compliant?
For your medical scribe to be compliant, you need it to handle patient data appropriately for every stage: from capture to sending the data to an EHR. For U.S. deployments subject to HIPAA, this includes appropriate business associate agreements (BAAs), a documented risk analysis, and safeguards across every service that handles protected health information (PHI).
For the capture side, Recall.ai states that it is HIPAA compliant and can sign a BAA. However, you should evaluate the contracts and configuration for every service that processes PHI.
Another thing to note is to build patient notification and consent requirements into the workflow based on the applicable laws, care setting, and organizational policies. Offer a clear way to decline or stop recording.
You should also set applicable retention and deletion policies for recordings, transcripts, and notes. For example, Recall.ai offers configurable recording-media retention, including a Zero Data Retention option. This ensures that no recording media is stored on Recall’s servers, and allows you to access meeting data through real-time streams. This allows you to safeguard PHI for your capture workflow.
Should you build or buy the infrastructure for an ambient medical scribe?
For most teams building an ambient medical scribe, buying recording and transcription infrastructure lets you focus more engineering time on clinical note quality, specialty-specific templates, clinician review, and EHR integration. Building the infrastructure yourself gives you more control, but also makes your team responsible for audio capture, device compatibility, transcription delivery, and ongoing maintenance.
For this reason, you should compare the total cost of ownership rather than API pricing alone. An internal implementation needs engineering support for microphone changes, interrupted recordings, and telehealth meeting platform changes. These are all things you would have to manually build and account for yourself, which could take months of engineering time.
Recall.ai offers a way to buy the capture layer while building your own medical scribe experience. Its Desktop Recording SDK supports in-person and supported telehealth recording without a meeting bot, while its Meeting Bot API provides another option for supported video platforms. Your team can build the clinical note-generation pipeline, approval workflow, and EHR integration around that conversation data.
You can also combine both approaches: use recording infrastructure for common encounter types and build custom capture where your requirements demand it. Keep a consistent interface between capture, transcription, and note generation so you can change providers or add recording methods without rebuilding the clinical workflow.