Generate SOAP Notes using LeMUR
The acronym SOAP stands for Subjective, Objective, Assessment, and Plan. This standardized method of documenting patient encounters allows providers to concisely record patient information. This guide walks through how to generate SOAP notes with AssemblyAI’s LLM, LeMUR.
Get Started
Before we begin, make sure you have an AssemblyAI account and an API key. You can sign up for an AssemblyAI account and get your API key from your dashboard. You will need to upgrade your account by adding a credit card to have access to LeMUR.
Find more details on the current LeMUR pricing in the AssemblyAI pricing page.
Step-by-Step Instructions
Install the SDK:
Import the SDK and set your AssemblyAI API key.
Initialize your Transcription Config
variable.
Optionally, enable the PII Redaction model. This will remove any personal info from the transcript & SOAP note.
Initialize your transcriber
variable and transcribe your file.
Two different methods of generating SOAP notes
LeMUR Summary
This method uses the Summary endpoint to generate the SOAP note in its entirety. The LeMUR prompt includes some context about the audio file, a specific format for the SOAP note, and more context on what each category of the note should include.
LeMUR Q&A
This method uses the Q&A endpoint to generate each section of the SOAP note separately. This makes it easy to regenerate one or more of the categories individually if the user chooses to. The LeMUR prompt includes a question, some context on the question (with an example) and a specified answer format.