Skip to content

EHR Integration Architecture

eClinicalWorks v12 Integration for Family Medicine

G2211-attested Assessment notes written into eCW v12 progress notes without API fees. Book your audit at https://cal.com/merryai/demo.

Key Takeaways
  • Notes write directly into eClinicalWorks v12 fields via DOM injection without API fees
  • Specialty templates keep clinical documentation distinct from sensitive psychotherapy notes
  • Every draft requires clinician review and signature before chart commit
Verified Metric
Level 4/5 MDM Evidence

Documentation Integrity

Assessment drafts link each chronic problem to the data reviewed, the risk, and the management decisions. This gives family physicians traceable support for moderate and high complexity MDM.

Verified Metric
<500ms

Assessment Pane DOM Injection

Client-side writes into the eCW v12 progress note textarea re-resolve after each autosave reflow. This removes copy-paste and switching between the Problem List and Assessment tabs.

Verified Metric
$0

Vendor API & Marketplace Fees

No integration license is required. The focal-point check and the modifier 25 suppression gate log every G2211 decision, which gives the practice a reviewable trail for payer audits.

A Documentation Workflow Built for eClinicalWorks v12

Clinical documentation inside eClinicalWorks v12 rarely fails because clinicians lack dedication. It fails for two reasons. First, the progress note is assembled across Subjective, Objective, Assessment, and Plan panes while the physician moves between the Problem List, Orders, and Labs tabs. Second, the longitudinal reasoning that justifies complexity often stays in the physician's head instead of reaching the Assessment text. Merry AI addresses the second problem by drafting that reasoning and writing it into the Assessment pane before sign-off.

Merry AI does not use an eClinicalWorks API, a marketplace listing, or a vendor integration contract. The Chrome Extension runs inside the clinician's authenticated browser session. It writes into the same progress note textarea and contentEditable regions the physician would type into. There is no interface engine to configure, no per-provider integration fee, and no dependency on a vendor roadmap.

How the Extension Resolves v12 Assessment Nodes

Element IDs in eCW v12 are ephemeral. They regenerate between sessions and shift across patch levels, so an extension that caches a getElementById reference will eventually write into nothing. Merry AI resolves targets structurally instead. It locates the labeled Assessment header, walks to the adjacent editable region, and confirms the node by class signature and pane position.

Autosave reflows and iframe isolation are the two remaining failure modes. The autosave engine replaces editor nodes mid-interaction, so the extension re-resolves the Assessment target immediately before every write. Where a deployment wraps the editor in an iframe, the content script enumerates frames and attaches to the one hosting the SOAP editor. It then dispatches native input events so eCW registers the change and persists it on its next save cycle. A MutationObserver watches tab transitions, so the draft is present when the physician returns to the Assessment pane.

G2211 Attestation Logic in the Assessment Pane

HCPCS add-on code G2211 captures the complexity inherent in care that serves as the continuing focal point for all needed health care services. It also covers ongoing care for a single serious condition or a complex condition. G2211 is reportable only alongside an office/outpatient or home E/M base code. CMS has not published G2211-specific documentation elements beyond standard E/M rules. Instead, reviewers rely on diagnoses, the Assessment and Plan, other reported codes, and evidence of a longitudinal relationship, as described in the CMS G2211 FAQ.

Merry AI therefore enforces a single hard rule before any G2211 language is injected. The Assessment must contain an explicit continuing focal-point statement that names the practitioner's longitudinal role and the chronic problems under active management. If the encounter transcript does not support that statement, the extension leaves the block empty and flags the gap for the clinician. It does not generate filler.

Modifier 25 Suppression Gate

When modifier 25 attaches to the base E/M, the extension suppresses the G2211 attestation block by default. Since January 1, 2025, CMS policy permits G2211 alongside modifier 25 only when the same-day service is an annual wellness visit, vaccine administration, or a Medicare Part B preventive service. Merry AI does not adjudicate that exception automatically. It surfaces the suppressed draft for explicit physician confirmation. This keeps the separately identifiable E/M work distinct from procedural work billed under modifier 25 or modifier 59.

Framework-Anchored Chronic Problem Rationale

Generic complexity language does not survive audit, so the chronic problem rationale is built from recognized clinical frameworks:

  • Integrated behavioral health: DSM-5-TR criteria with PHQ-9 and GAD-7 trends.
  • Heart failure: NYHA class and LVEF trajectory.
  • Chronic musculoskeletal conditions: range-of-motion degrees and ADL limitations.
  • Pediatric patients with ongoing developmental needs: Bright Futures periodicity.

Each rationale line references a specific diagnosis mapped against the https://www.cms.gov/medicare/coding-billing/icd-10-codes code set. This keeps the problem list, the Assessment, and the claim aligned.

Integration Architectures Compared

Three integration paths exist for family medicine practices on eCW v12. The table compares them on the dimensions that determine deployment cost and documentation reliability.

ArchitectureDeployment OverheadWrite LatencyAnnual FeeG2211 Attestation Logic
Traditional API Marketplace IntegrationVendor contract, IT onboarding, interface configurationSync-dependent; queued or batchedPer-provider or platform licensingGeneric, not specialty-specific
Manual Copy-PasteNoneClinician-dependent; tab switching every encounter$0None; relies on memory
Merry AI Chrome DOM InjectionChrome install with domain-scoped permissionsUnder 500ms client-side writeNo API or marketplace feeFocal-point check with modifier 25 gate

Manual copy-paste carries no fee but introduces transcription drift, lost formatting, and tab-switching overhead on every encounter. Marketplace integrations reduce that friction, but they require contracts, IT onboarding, and a dependency on interface availability. DOM injection writes into the fields the clinician already sees.

Governance, Review, and Deployment

Every injected draft remains a draft. Merry AI writes into the editable Assessment region but never signs, locks, or submits the note. The physician reviews, edits, and attests within eCW's native signature workflow. Authorship and the audit trail therefore stay with the licensed clinician, consistent with state medical record accuracy standards.

Deployment requires no server-side changes. The extension installs from the Chrome browser, requests permissions scoped to the practice's eCW domain, and operates only within the active session. Practices typically begin with a small physician pilot before a wider rollout. During the pilot, they review a sample of G2211-eligible encounters against the suppression logs.

Specialty prompt logic is maintained in the template library at https://templates.scribing.io. Family medicine teams can adapt chronic care, well-child, and behavioral health templates to match their existing eCW v12 note structure before first use.

Bespoke eClinicalWorks v12 Prompt Logic

Bespoke eClinicalWorks v12 Prompt Logic

Family medicine prompt logic maps its output to the eCW v12 SOAP panes. Browse [Access 1,000+ EHR Clinical Templates](https://templates.scribing.io) to find or generate notes in 5 seconds.

Browser Native

Zero-IT Extension Architecture

Our Chrome Extension runs directly inside the clinician's active eClinicalWorks v12 browser window with zero API fees.

Reimbursement

CPT G2211 Complexity Defense

Requires an explicit continuing focal-point statement in the Assessment and suppresses G2211 by default when modifier 25 attaches. [Schedule a 15-Minute Workflow Audit](https://cal.com/merryai/demo) today.

Clinician-Attested Final Record

Clinician-Attested Final Record

Every injected note requires clinician review and attestation, preserving signature integrity across charts.

Explore More Knowledge

Related EHR & Clinical Integrations Guides

View all ehr & clinical integrations
Kipu EMR AI Scribe for Addiction Medicine Group Notes
EHR Integration Architecture

Kipu EMR AI Scribe for Addiction Medicine Group Notes

Per-client ASAM group notes injected into Kipu EMR charts via Chrome DOM overlay. Book your audit at https://cal.com/merryai/demo.

Kaif R.•6 min read
Read guide
SimplePractice Group Therapy Notes via DOM Injection
EHR Integration Architecture

SimplePractice Group Therapy Notes via DOM Injection

Per-client CPT 90853 notes from diarized groups, injected into SimplePractice fields. Book your audit at https://cal.com/merryai/demo.

Kaif R.•6 min read
Read guide
Accuro EMR (QHR) AI Scribe Integration
EHR Integration Architecture

Accuro EMR (QHR) AI Scribe Integration

Merry AI injects structured notes directly into Accuro EMR (QHR) via a browser-native Chrome Extension with in-province data residency and PIPEDA-aligned audio destruction. Book your audit at https://cal.com/merryai/demo.

Kaif R.•6 min read
Read guide