Integrate Ambient AI Scribe Notes into TheraPlatform SOAP

Learn how to map ambient AI SOAP output to TheraPlatform via DOM injection, segment E/M from psychotherapy, and apply G2211 correctly for audit-ready notes.

Clinician's desk with laptop showing a SOAP note template and a small ambient recording device, representing AI scribe integration into TheraPlatform.

How to Integrate Ambient AI Scribe Notes into TheraPlatform SOAP Templates

Integrating ambient AI scribe notes into TheraPlatform SOAP templates requires mapping each AI-generated Subjective, Objective, Assessment, and Plan section to its matching template field through browser DOM injection, because TheraPlatform's publicly documented API does not write clinical notes. The clinician then links treatment plan goals and attests psychotherapy time before signature.

Written by the Scribing.io Integration Engineering Lead, who built DOM-injection connectors for web EHRs without published note APIs.

Dual-reviewed for clinical and coding accuracy by a board-certified psychiatrist (ABPN) and a CPC, CPMA-credentialed coding auditor from the Scribing.io Clinical Advisory Panel.

Last clinically reviewed: January 15, 2026.

Methodology disclosure

Selectors shown are illustrative patterns validated during customer onboarding. TheraPlatform's DOM may change. Scribing.io re-validates on every TheraPlatform release.

TheraPlatform's public API schedules sessions but does not write clinical notes

Medical directors evaluating ambient AI scribes usually ask one question first: can the vendor push finished notes directly into TheraPlatform? Based on the publicly documented developer and integration resources reviewed for this playbook (accessed January 2026), TheraPlatform's integration surface centers on scheduling, client records, telehealth video, and billing workflows. It does not publish a documented endpoint for creating or updating SOAP note objects. Confirm the current scope with your TheraPlatform account representative before you sign any vendor contract.

That gap changes vendor evaluation. Any ambient AI vendor that advertises a "direct TheraPlatform integration" for notes is using one of three methods: manual copy and paste, a section-by-section clipboard workflow, or a browser layer that writes into the note editor the clinician already has open. Ask every vendor which method they use. If the answer is vague, assume it is copy and paste.

The three integration paths differ sharply in error rate, clinician time, and audit exposure:

  • Full-note copy and paste: the clinician pastes one block of AI text into a single field. Fast to deploy, but it collapses SOAP structure, buries the assessment, and breaks payer reviewers' ability to find medical necessity.

  • Section-by-section clipboard: the clinician copies Subjective, then Objective, then Assessment, then Plan. Structure survives, but every note costs four to six context switches and invites misplaced paragraphs.

  • DOM injection: a browser extension reads the open TheraPlatform template, identifies each field by its visible label, and writes the matching section into it. The clinician reviews, edits, and signs inside TheraPlatform.

DOM injection preserves TheraPlatform's audit trail. The note is created, edited, and signed inside the clinician's own authenticated TheraPlatform session, so the EHR's native timestamps and signature records stay intact. No shared credentials, no unofficial server-to-server channel, and no PHI flows from Scribing.io into TheraPlatform's backend outside of what the clinician's browser already submits.

CMS permits note templates, but cloned narrative fails medical necessity review

The AMA's December 2024 explainer "Myth or fact? CMS says note templates are a no-go" corrected a persistent misconception: CMS does not prohibit documentation templates. That remains accurate in 2026. Templates organize information. They do not create audit risk on their own.

The real audit risk is cloned narrative. Medicare Administrative Contractors and commercial payer special investigation units flag notes where the clinical narrative is identical or nearly identical across visits for the same client, or across clients for the same clinician. A note that reads "Client engaged well and reported improvement" every week for twelve weeks does not establish individualized medical necessity, regardless of how cleanly the template is structured.

Ambient AI can solve or worsen cloning. Because the note is generated from the actual session audio, the narrative should be unique by default. The failure mode is a model that defaults to generic therapeutic phrases when the session content is thin. Scribing.io runs a phrase-repetition check against the same client's prior notes and flags any Assessment or Plan sentence that matches previous documentation above a similarity threshold, before the text ever reaches TheraPlatform.

Medical directors should define the standard explicitly: the template is fixed, the content inside it is session-specific. Write that rule into your clinical documentation policy so that auditors see an intentional control, not an accident.

Every SOAP section must map to exactly one TheraPlatform template field

TheraPlatform lets practices build custom note templates, so a single group may run SOAP, DAP, and BIRP variants side by side. Before any AI text is written anywhere, complete a field inventory: list every template, every field label, the field type (free text, rich text, dropdown, checkbox, date, time), and whether it is required for signature.

Subjective captures attributed client-reported content

The Subjective field holds what the client reports: presenting concerns, symptom changes since last session, stressors, sleep, appetite, substance use, medication adherence, and self-reported scale responses such as PHQ-9 or GAD-7 items. Ambient output should attribute statements ("Client reports," "Client's mother states") and include short direct quotes when they carry clinical weight, such as statements about hopelessness or safety.

Objective records observed and measured findings

The Objective field holds what the clinician observed or measured: mental status examination elements (appearance, behavior, speech, mood as stated, affect as observed, thought process, thought content, perception, cognition, insight, judgment), standardized scores, and structured risk screening results such as the Columbia Suicide Severity Rating Scale. For telehealth sessions, the Objective section should state what was observable through video and what was not.

Assessment links findings to diagnosis and goals

The Assessment field carries the clinical reasoning that payers read first. It should interpret the Subjective and Objective data, state progress toward specific treatment plan goals, and support each billed diagnosis at the correct specificity. A note supporting F32 (ICD-10-CM) must document episode and severity so the claim carries a billable subcode such as F32.1 rather than an unspecified code. A note supporting F41.1 (ICD-10-CM) should document duration, core worry symptoms, and functional impairment, ideally anchored to a current GAD-7 score.

Plan documents interventions, homework, and next steps

The Plan field records what was done and what happens next: named interventions (CBT cognitive restructuring, DBT distress tolerance skills, motivational interviewing, exposure hierarchy work), homework assigned, safety plan updates, care coordination, referrals, and session frequency. Payers increasingly reject plans that say "continue current treatment" without naming the treatment.

Structured fields need different handling than text

Dropdowns, checkboxes, and pickers are not free text. Session modality, place of service, CPT code, start time, end time, and diagnosis selections are discrete controls. Scribing.io proposes values for these fields but requires the clinician to confirm each one, because a wrong place-of-service or modifier selection creates a billing error that no narrative can fix.

Label-anchored selectors survive TheraPlatform interface updates

Brittle CSS class selectors break whenever an EHR ships a front-end update. Scribing.io anchors on the visible field label the clinician sees, then locates the nearest associated input. The pattern below is illustrative, not production code.

// Illustrative pattern only. Anchors on visible labels, not CSS classes.
function findFieldByLabel(labelText) {
  const labels = Array.from(document.querySelectorAll('label'));
  const match = labels.find(l =>
    l.textContent.trim().toLowerCase() === labelText.toLowerCase());
  if (!match) return null;
  return match.htmlFor
    ? document.getElementById(match.htmlFor)
    : match.parentElement.querySelector('textarea, [contenteditable="true"]');
}

function writeValue(el, text) {
  if (el.isContentEditable) {
    el.focus();
    document.execCommand('insertText', false, text);
  } else {
    const setter = Object.getOwnPropertyDescriptor(
      HTMLTextAreaElement.prototype, 'value').set;
    setter.call(el, text);
  }
  el.dispatchEvent(new Event('input', { bubbles: true }));
  el.dispatchEvent(new Event('change', { bubbles: true }));
}
// Illustrative pattern only. Anchors on visible labels, not CSS classes.
function findFieldByLabel(labelText) {
  const labels = Array.from(document.querySelectorAll('label'));
  const match = labels.find(l =>
    l.textContent.trim().toLowerCase() === labelText.toLowerCase());
  if (!match) return null;
  return match.htmlFor
    ? document.getElementById(match.htmlFor)
    : match.parentElement.querySelector('textarea, [contenteditable="true"]');
}

function writeValue(el, text) {
  if (el.isContentEditable) {
    el.focus();
    document.execCommand('insertText', false, text);
  } else {
    const setter = Object.getOwnPropertyDescriptor(
      HTMLTextAreaElement.prototype, 'value').set;
    setter.call(el, text);
  }
  el.dispatchEvent(new Event('input', { bubbles: true }));
  el.dispatchEvent(new Event('change', { bubbles: true }));
}
// Illustrative pattern only. Anchors on visible labels, not CSS classes.
function findFieldByLabel(labelText) {
  const labels = Array.from(document.querySelectorAll('label'));
  const match = labels.find(l =>
    l.textContent.trim().toLowerCase() === labelText.toLowerCase());
  if (!match) return null;
  return match.htmlFor
    ? document.getElementById(match.htmlFor)
    : match.parentElement.querySelector('textarea, [contenteditable="true"]');
}

function writeValue(el, text) {
  if (el.isContentEditable) {
    el.focus();
    document.execCommand('insertText', false, text);
  } else {
    const setter = Object.getOwnPropertyDescriptor(
      HTMLTextAreaElement.prototype, 'value').set;
    setter.call(el, text);
  }
  el.dispatchEvent(new Event('input', { bubbles: true }));
  el.dispatchEvent(new Event('change', { bubbles: true }));
}

Dispatching native input events matters. Modern web EHRs track form state in a JavaScript framework. If text is written without the events the framework listens for, the field looks filled on screen but saves blank. Scribing.io verifies every write by reading the field back and comparing it to the intended section text before the clinician sees the "Ready for review" indicator.

This field map defines audit-defensible ambient AI integration for therapy notes

The table below is the working reference for medical directors, compliance leads, and coding auditors. Each row pairs a clinical parameter with what the note must prove, where audits find failures, and how Scribing.io's DOM layer enforces the requirement inside TheraPlatform.

Ambient AI to TheraPlatform SOAP field map for behavioral health

Clinical Parameter

Documentation Requirement

Audit Vulnerability

Scribing.io DOM Mechanism

Psychotherapy time (90832, 90834, 90837)

Total face-to-face psychotherapy minutes; 53 or more for 90837

90837 billed with no time or with recorded audio length as proxy

Proposes time from audio, subtracts non-therapy segments, requires clinician attestation checkbox

Start and stop times

Clock times required by many Medicaid and commercial payers

Overlapping sessions for one clinician across clients

Writes start and stop into TheraPlatform time fields; flags overlaps against the day's schedule

Treatment plan goal linkage

Each session references at least one active goal and objective

Notes disconnected from plan; plan review date expired

Reads active goals from open plan view; tags note text to goal IDs; warns on expired review

Depression diagnosis specificity

Episode and severity documented to support billable F32 subcode

Unspecified code claimed for months without severity rationale

Assessment prompt requires severity and episode language before injection completes

Generalized anxiety support

Duration, worry symptoms, impairment, current GAD-7

F41.1 billed with no measurement or symptom documentation

Extracts GAD-7 responses from audio into Objective; flags missing score

Suicide and violence risk

Screen result, risk formulation, safety plan status

Positive screen with no documented response

Hard stop: positive risk language blocks "Ready for review" until Plan addresses it

Interactive complexity (90785)

Specific qualifying factor named and described

Add-on billed routinely for family sessions without qualifying factor

Suggests 90785 only when a qualifying factor is detected; quotes evidence in note

E/M with psychotherapy add-on

Separate E/M and psychotherapy documentation; therapy time excludes E/M

Double-counted minutes; E/M level unsupported

Segments medication management from therapy content into distinct fields

G2211 complexity add-on

Longitudinal care relationship on an eligible E/M line

G2211 appended to psychotherapy-only claims

Suppresses G2211 suggestion when no E/M code is selected

Telehealth modality and location

Video or audio-only, patient location, correct POS and modifier

POS 11 billed for home video session

Reads TheraPlatform session type; proposes POS 10 or 02 and modifier for confirmation

Ambient recording consent

Documented consent before recording; all-party where required

Recording without consent in all-party consent states

Blocks audio capture until consent field or verbal consent is recorded

Psychotherapy notes segregation

Process notes kept separate from the progress note

Private reflections disclosed in records requests

Routes clinician-flagged content to a private field, never the SOAP body

Cloned narrative

Session-specific Assessment and Plan text

Identical sentences across consecutive visits

Similarity check against prior notes; flags repeated sentences before injection

Clinician signature

Treating clinician reviews and signs in the EHR

Automated signing or unsigned notes billed

Never clicks Sign; signature remains a manual TheraPlatform action

Treatment plan goal linkage turns each progress note into necessity evidence

Payer reviewers ask one question of every behavioral health progress note: is this session advancing an active, measurable treatment plan? TheraPlatform supports structured treatment plans with goals and objectives. The progress note has to point back to those goals by name, and an ambient scribe that ignores the plan produces notes that look clinically rich but fail necessity review.

Scribing.io reads the active plan when the clinician opens the client's treatment plan view, or the clinician selects the active goals from a short list before the session. During note generation, transcript segments are tagged to the goals they address. The Assessment then reads, for example: "Goal 2, Objective 2a (reduce avoidance of public transit): client completed two of four exposure steps this week; SUDS ratings decreased from 80 to 55."

Progress language should be measurable. Replace "client is making progress" with the metric the objective defined: frequency of panic episodes, PHQ-9 trajectory, days of school attended, number of skills used. If the session did not touch a goal, the note should say so and explain why (for example, a crisis took precedence), which is far more defensible than silence.

Stale treatment plans invalidate good notes. Many state Medicaid programs and commercial payers require plan review on a fixed cadence, commonly every 90 days, although requirements vary by state and contract. Scribing.io reads the plan review date when visible and displays a warning when the plan is past due, so the clinician can update the plan before signing the note.

Practices standardizing goal language can start from the Specialty Clinical Documentation Library, which includes measurable objective phrasing for depressive, anxiety, trauma, and substance use treatment plans.

CPT 90837 requires 53 minutes, and start-stop times protect the claim

Psychotherapy codes are time-based, and CPT time rules decide which code the note supports:

  • 90832: 16 to 37 minutes of psychotherapy.

  • 90834: 38 to 52 minutes of psychotherapy.

  • 90837: 53 minutes or more of psychotherapy.

  • Under 16 minutes: no psychotherapy code is reportable.

CMS requires documented psychotherapy time, and many Medicaid plans and commercial payers go further by requiring clock start and stop times. Writing both into every note costs nothing and protects against the most common time audit finding: overlapping sessions for the same clinician on the same day.

Recorded audio length is not psychotherapy time. A 58-minute recording may include five minutes of scheduling, billing questions, or connection troubleshooting. Scribing.io proposes a psychotherapy time by identifying and subtracting non-therapeutic segments, then presents the figure to the clinician as a suggestion, never as a final value. The clinician confirms the number and checks the attestation.

The attestation statement should be plain and specific to the session: "I personally provided 54 minutes of individual psychotherapy, from 2:02 PM to 2:56 PM, via synchronous video." Scribing.io fills the minutes and times from confirmed values, so the attestation is not cloned text even though its structure is consistent.

Expect 90837 utilization scrutiny in 2026. Several large commercial payers have run focused reviews of clinicians whose 90837 share is well above peer averages. Accurate time capture defends legitimate 60-minute sessions; it also prevents clinicians from defaulting to 90837 when the session actually ran 48 minutes.

Interactive complexity and crisis codes need explicit evidence

Add-on code 90785 requires a named qualifying factor: maladaptive communication among participants that complicates care, caregiver emotions or behavior that interfere with the treatment plan, disclosure of a sentinel event with required third-party notification, or the need for play equipment or other devices to overcome communication barriers. Scribing.io suggests 90785 only when one of these factors is present in the transcript and quotes the supporting exchange in the note. It cannot be reported with crisis psychotherapy.

Crisis psychotherapy (90839 and 90840) requires documentation of urgent assessment, mobilization of resources, and interventions to reduce acute distress, with time totals (90839 covers the first 30 to 74 minutes; 90840 covers each additional 30 minutes). When ambient output detects crisis language, the Plan field is held open until the clinician documents the response.

Psychiatric E/M with psychotherapy add-on needs separately documented components

Psychiatrists and PMHNPs using TheraPlatform often combine medication management with brief psychotherapy. That combination is billed as an E/M code (99212 to 99215) plus a psychotherapy add-on: 90833 (16 to 37 minutes), 90836 (38 to 52 minutes), or 90838 (53 minutes or more). The two services must be distinguishable in the note.

Psychotherapy minutes cannot count toward E/M time. Select the E/M level by medical decision making, or by time that excludes every psychotherapy minute. The note must show the E/M content (medication response, side effects, labs, prescribing decisions, risk of management) separately from the psychotherapy content (interventions, client response, goal progress).

Scribing.io segments the session automatically. Medication-focused discussion flows into the E/M portion of the template, while therapeutic intervention content flows into a dedicated psychotherapy section with its own time field. If the practice's TheraPlatform template has only one narrative box, the integration lead should add a labeled psychotherapy subsection before go-live.

G2211 attaches only to eligible E/M lines

HCPCS G2211 recognizes the inherent complexity of a longitudinal care relationship and is reported with office or outpatient E/M visits. It is not reported with psychotherapy-only claims such as a standalone 90837. CMS policy effective 2025 permits G2211 alongside an E/M billed with modifier 25 only when the separate service is an annual wellness visit, a Part B preventive service, or vaccine administration. Behavioral health practices rarely meet that exception, so treat modifier 25 claims as G2211-ineligible unless your coding auditor confirms otherwise.

The note must show continuity. Document that the prescriber is the continuing focal point for the client's serious or complex condition, for example ongoing management of recurrent major depression with medication titration. Scribing.io suppresses any G2211 suggestion when no E/M code is selected in the TheraPlatform billing fields.

Ambient recording consent must be documented before session audio starts

Recording consent is a legal prerequisite, not a courtesy. California Penal Code Section 632 and the laws of other all-party consent states require every party to consent before a confidential conversation is recorded. For telehealth, the stricter of the clinician's and the client's state laws should govern, because the session spans both jurisdictions.


Still not sure? Book a free discovery call now.

Frequently

asked question

Answers to your asked queries

Can we get started today?

Can I edit or review notes before they go into my EHR?

Does Scribing.io work with telehealth and video visits?

Is Scribing.io HIPAA compliant?

Is patient data used to train your AI models?

Still not sure? Book a free discovery call now.

Frequently

asked question

Answers to your asked queries

Can we get started today?

Can I edit or review notes before they go into my EHR?

Does Scribing.io work with telehealth and video visits?

Is Scribing.io HIPAA compliant?

Is patient data used to train your AI models?

Still not sure? Book a free discovery call now.

Frequently

asked question

Answers to your asked queries

Can we get started today?

Can I edit or review notes before they go into my EHR?

Does Scribing.io work with telehealth and video visits?

Is Scribing.io HIPAA compliant?

Is patient data used to train your AI models?

Image

Clinical Precision.
Zero Documentation Debt

Finish Your Charts - Go Home on Time.

Clinical Precision.
Zero Documentation Debt

Finish Your Charts - Go Home on Time.