CRM · Beta
ModMed EMA
API integration
Ship CRM features without building the integration. Full ModMed EMA API access via Proxy and 60+ MCP-ready tools for AI agents — extend models and mappings to fit your product.
Built for specific customer use cases. Issues are resolved quickly.
Talk to usUse Cases
Why integrate with ModMed EMA
Common scenarios for SaaS companies building ModMed EMA integrations for their customers.
Embed digital patient intake for specialty clinics
Patient engagement platforms can offer ModMed EMA as a native integration so demographics, allergies, conditions, medications, past surgeries, and signed consent PDFs flow directly into the EHR chart without manual re-entry by front-desk staff.
Power external scheduling and booking experiences
Telehealth, marketplace, and patient acquisition SaaS can read real-time Slot availability and write Appointments back to ModMed, letting their users capture bookings from their own websites while keeping the EHR calendar as the source of truth.
Automate medical coding and charge capture
RCM and AI coding platforms can pull Encounters, Conditions, and DiagnosticReports to validate CPT/ICD-10 accuracy, then push ChargeItems into ModMed PM — letting ModMed's fee schedules handle pricing automatically.
Route clinical alerts into the provider's native inbox
RPM, care coordination, and messaging SaaS can create Tasks using the clinic's configured task name prefixes, embedding alerts directly inside ModMed instead of forcing staff to monitor a separate dashboard.
Sync external documents and lab results into the chart
Lab, imaging, and forms vendors can upload PDFs and external reports into ModMed via DocumentReference so clinicians see everything inside the patient's EHR record.
What You Can Build
Ship these features with Truto + ModMed EMA
Concrete product features your team can ship faster by leveraging Truto’s ModMed EMA integration instead of building from scratch.
Real-time Slot availability search
Query open appointment slots filtered by appointment-type and surface bookable times inside your own scheduling UI.
Bi-directional appointment sync
Create, read, and update Appointments in ModMed from your product so bookings and reschedules stay consistent across both systems.
Patient chart write-back from intake forms
Push patient-submitted AllergyIntolerance, Condition, MedicationStatement, and Procedure (with PSX/OSX identifier prefixes) records straight into ModMed's clinical clipboards.
ChargeItem ingestion for RCM workflows
Programmatically inject CPT/HCPCS charge lines into ModMed PM while letting the practice's contracted fee schedules calculate unit and total cost.
Document upload to the patient chart
Attach signed consents, external lab PDFs, or intake summaries to a patient record by passing an S3 URL through DocumentReference.
Native Task creation in the provider inbox
Fetch the firm's Task Name prefixes and create routed Tasks so alerts from your app land directly in the MA or clinician's ModMed workflow.
SuperAI
ModMed EMA AI agent tools
Comprehensive AI agent toolset with fine-grained control. Integrates with MCP clients like Cursor and Claude, or frameworks like LangChain.
create_a_mod_med_ema_access_token
Obtain OAuth2 Token (client_credentials). The client_credentials login (https://sso.ema.md, x-api-key header, the connection's client ID / secret); Truto runs it after connecting and every 10 minutes (tokens last 15 minutes) and keeps the token for the other calls.
list_all_mod_med_ema_accounts
Search for a patient’s account. Required: patient. Records at entry.*.resource (the FHIR searchset Bundle).
create_a_mod_med_ema_allergy_intolerance
Create AllergyIntolerance resource.
get_single_mod_med_ema_allergy_intolerance_by_id
Retrieve AllergyIntolerance details for an AllergyIntolerance ID. Required: id.
list_all_mod_med_ema_allergy_intolerances
Retrieve AllergyIntolerance resources by the specified search criteria. Records at entry.*.resource (the FHIR searchset Bundle).
update_a_mod_med_ema_allergy_intolerance_by_id
Update AllergyIntolerance resource. Required: id.
create_a_mod_med_ema_appointment
Create an Appointment.
get_single_mod_med_ema_appointment_by_id
Retrieve details for a specific Appointment by ID. Required: id.
list_all_mod_med_ema_appointments
Retrieve All Appointments for a Practice/Firm. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
update_a_mod_med_ema_appointment_by_id
Update an Appointment. Required: id.
list_all_mod_med_ema_capability_statement
server-capabilities: Fetch the server FHIR CapabilityStatement. The FHIR CapabilityStatement (metadata) of the API: one record.
create_a_mod_med_ema_charge_item
Create Charges Into ModMedPM. Submit charges from an external billing system into ModMed PM. Each ChargeItem represents one transaction and may contain multiple financialTransactionDetail lines — one per CPT/HCPCS code billed. Billing pattern — fee schedule vs explicit costs: Most integrations omit totalCost and unitCost.
get_single_mod_med_ema_charge_item_by_id
Get a specific ChargeItem. The id is the charge's (Truto sends ChargeItem/CHG|
list_all_mod_med_ema_charge_items
Get All ChargeItems for a Practice. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
create_a_mod_med_ema_composition
Create Composition.
create_a_mod_med_ema_condition
Create Condition resource.
get_single_mod_med_ema_condition_by_id
Retrieve Condition details for an ID. Required: id.
list_all_mod_med_ema_conditions
Retrieve Condition resources by the specified search criteria. Records at entry.*.resource (the FHIR searchset Bundle).
update_a_mod_med_ema_condition_by_id
Update Condition resource. Required: id.
create_a_mod_med_ema_coverage
Creates Coverage Resource.
get_single_mod_med_ema_coverage_by_id
Retrieve Coverage details for an ID (Note: this is the specific coverage ID, not the Patient ID) In order to get this ID, you’d want to do a Coverage . Required: id.
list_all_mod_med_ema_coverages
Retrieve Coverage resources meeting the specified search criteria. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
update_a_mod_med_ema_coverage_by_id
Updates Coverage Resource. Required: id.
get_single_mod_med_ema_diagnostic_report_by_id
Retrieve DiagnosticReport for an ID. Required: id.
list_all_mod_med_ema_diagnostic_reports
Search DiagnosticReport by certain parameters. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
create_a_mod_med_ema_document_reference
Upload document from S3 URL to EMA.
get_single_mod_med_ema_document_reference_by_id
Retrieve Document by ID. Required: id.
list_all_mod_med_ema_document_references
Retrieve Document resources meeting the specified search criteria. Required: patient. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
get_single_mod_med_ema_encounter_by_id
Get a specific Encounter. Required: id.
list_all_mod_med_ema_encounters
Get All Encounters for a Practice. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
get_single_mod_med_ema_family_member_history_by_id
Retrieve FamilyMemberHistory details for an ID. Required: id.
list_all_mod_med_ema_family_member_histories
Retrieve FamilyMemberHistory resources by the specified search criteria. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
get_single_mod_med_ema_inbound_charge_item_by_id
Get a specific inbound Charge for a Practice. The id is the inbound charge's (Truto sends ChargeItem/INBOUND|
list_all_mod_med_ema_inbound_charge_items
Get all Inbound Charges for a Practice. Records at entry.*.resource (the FHIR searchset Bundle).
get_single_mod_med_ema_insurance_plan_by_id
Retrieve InsurancePlan by ID. Required: id.
list_all_mod_med_ema_insurance_plans
Retrieve all InsurancePlan information for a Firm. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
get_single_mod_med_ema_location_by_id
Retrieve Location by ID. Required: id.
list_all_mod_med_ema_locations
Retrieve List of all locations for that firm. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
create_a_mod_med_ema_medication_statement
Create MedicationStatement resource.
get_single_mod_med_ema_medication_statement_by_id
Retrieve MedicationStatement details for a Medication Statement ID. Required: id.
list_all_mod_med_ema_medication_statements
Retrieve MedicationStatement resources by the specified search criteria. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
update_a_mod_med_ema_medication_statement_by_id
Update MedicationStatement resource. Required: id.
create_a_mod_med_ema_organization
Create Referring Institution.
get_single_mod_med_ema_organization_by_id
Retrieve information by ID. Required: id.
list_all_mod_med_ema_organizations
Search Organization by certain parameters. Required: type. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
create_a_mod_med_ema_password_token
Obtain OAuth2 Token (Legacy — password grant). The legacy password-grant login (being sunset by ModMed) on the firm's URL with the x-api-key header and the connection's username / password; Truto runs it after connecting and every 10 minutes for connections using that sign-in method.
create_a_mod_med_ema_patient
Creates Patient Resource.
get_single_mod_med_ema_patient_by_id
read-instance: Read Patient instance. Retrieve a single Patient resource by its MMI id. Required: id.
list_all_mod_med_ema_patients
search-type: Search for Patient instances. This is a search type. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
update_a_mod_med_ema_patient_by_id
Updates Patient Resource. Required: id.
create_a_mod_med_ema_practitioner
Create Referring Practitioner.
get_single_mod_med_ema_practitioner_by_id
Retrieve Provider by ID. Required: id.
list_all_mod_med_ema_practitioners
search-type: Search for Practitioner instances. This is a search type. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
create_a_mod_med_ema_procedure
Creates Procedure Resource. Creates a Past Surgical History or Ocular Surgical History clipboard entry.
get_single_mod_med_ema_procedure_by_id
Retrieve Procedure for an ID. The resource id is in the form PSX| or OSX| — a plain numeric id or the wrong prefix for that record returns an error. Procedure.identifier on the returned resource carries the same PSX/OSX value, with system pointing to the environment's ValueSet/clipboard. Required: id.
list_all_mod_med_ema_procedures
Search Procedures by certain parameters. Both patient and identifier are required on this search (unlike Condition, where both are optional). identifier must be in the form identifier=procedure-type|PSX or identifier=procedure-type|OSX — any other value is rejected. Required: patient, identifier. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
get_single_mod_med_ema_related_person_by_id
Retrieve RelatedPerson for an ID. Required: id.
get_single_mod_med_ema_service_request_by_id
Retrieve ServiceRequest for an ID. Required: id.
list_all_mod_med_ema_service_requests
Search ServiceRequests by certain parameters. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
list_all_mod_med_ema_slots
Search for a slot. Not paged (ModMed returns every matching slot). Required: appointment-type. Records at entry.*.resource (the FHIR searchset Bundle).
list_all_mod_med_ema_task_names
Retrieve valid Task Name prefixes for the authenticated firm. Returns the ValueSet of Task Name values configured for the authenticated firm. The code of each concept is the valid prefix to use before the colon in Task.description when creating or updating a Task (e.g. BASIC: Follow up with patient). Records at entry.*.resource (the FHIR searchset Bundle).
create_a_mod_med_ema_task
Creates Task Resource. Creates a new EMA Task (Task.code is always assigned as a general EMA task; PM Recalls cannot be created through this endpoint).
get_single_mod_med_ema_task_by_id
Retrieve Task for an ID. Task.code identifies the task as a general EMA task (TASK) vs. a PM Recall (PMRECALL); its coding system is an environment-relative ValueSet URL (.../fhir/v2/ValueSet/task-type), not a fixed literal across environments. Required: id.
list_all_mod_med_ema_tasks
Search Tasks by certain parameters. Truto pages with page (from 1) / _count (limit = page size; ModMed caps it per resource) along the Bundle's next link; records at entry.*.resource.
update_a_mod_med_ema_task_by_id
Updates Task Resource. Updates an existing EMA Task. Task.id must be a valid TASK| identifier for an existing task — PM Recall ids are rejected. At least one assignee in input is required, same as create (see the create operation for the assignee shape). Required: id.
Why Truto
Why use Truto’s MCP server for ModMed EMA
Other MCP servers give you a static tool list for one app. Truto gives you a managed, multi-tenant MCP infrastructure across 1150+ integrations.
Auto-generated, always up to date
Tools are dynamically generated from curated documentation — not hand-coded. As integrations evolve, tools stay current without manual maintenance.
Fine-grained access control
Scope each MCP server to read-only, write-only, specific methods, or tagged tool groups. Expose only what your AI agent needs — nothing more.
Multi-tenant by design
Each MCP server is scoped to a single connected account with its own credentials. The URL itself is the auth token — no shared secrets, no credential leaking across tenants.
Works with every MCP client
Standard JSON-RPC 2.0 protocol. Paste the URL into Claude, ChatGPT, Cursor, or any MCP-compatible agent framework — tools are discovered automatically.
Built-in auth, rate limits, and error handling
Tool calls execute through Truto’s proxy layer with automatic OAuth refresh, rate-limit handling, and normalized error responses. No raw API plumbing in your agent.
Expiring and auditable servers
Create time-limited MCP servers for contractors or automated workflows. Optional dual-auth requires both the URL and a Truto API token for high-security environments.
How It Works
From zero to integrated
Start with ModMed EMA in a free sandbox, usually ready within one business day. No boilerplate, no maintenance burden.
Link your customer’s ModMed EMA account
Use Truto’s frontend SDK to connect your customer’s ModMed EMA account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.
We handle authentication
Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.
Call our API, we call ModMed EMA
Truto’s Proxy API is a 1-to-1 mapping of the ModMed EMA API. You call us, we call ModMed EMA, and pass the response back in the same cycle.
Unified response format
Every response follows a single format across all integrations. We translate ModMed EMA’s pagination into unified cursor-based pagination. Data is always in the result attribute.
FAQs
Common questions about ModMed EMA on Truto
Authentication, rate limits, data freshness, and everything else you need to know before you integrate.
How does authentication to ModMed EMA work through Truto?
ModMed EMA uses OAuth2 access tokens with a 15-minute lifespan. Truto handles token generation and refresh automatically, so you don't have to manage polling, expiry, or the legacy password grant transition in your own code.
Is the ModMed EMA API based on FHIR?
Yes. ModMed EMA exposes FHIR-style resources such as Patient, Appointment, Encounter, Condition, AllergyIntolerance, MedicationStatement, Procedure, DocumentReference, ChargeItem, and Task. Truto surfaces these resources through consistent endpoints with standard list, get, create, and update operations where ModMed supports them.
Can I create Procedures for past surgical history?
Yes, but ModMed requires specific identifier prefixes to map Procedures to the correct clipboard. Use the PSX| prefix for Past Surgical History and OSX| for Ocular Surgical History when creating Procedure records, otherwise the data won't attach to the right section of the chart.
How do I create Tasks that route to the right staff?
First call the task names endpoint to retrieve the authenticated firm's specific Task Name prefixes (for example, "BASIC: Follow up"), then pass one of those exact values when creating a Task. Note that PM Recalls are handled through a separate mechanism and cannot be created via the standard Task endpoint.
Do I need to send unit or total costs when creating ChargeItems?
Typically no. Most integrators omit unitCost and totalCost on ChargeItem creation and let ModMed PM apply the practice's internal fee schedules to calculate pricing. You can still send CPT/HCPCS detail lines per charge.
Can I query real-time appointment availability?
Yes. Use the Slots list endpoint and filter by appointment-type to retrieve open slots. You can then create an Appointment against a chosen slot, and create the Patient first if they don't already exist in ModMed.
What happens if a resource I need isn't in the current tool list?
Truto builds integrations on request. If your workflow requires a ModMed EMA resource or operation not currently exposed, we can extend the integration so you get a consistent interface without having to handle ModMed-specific quirks yourself.
ModMed EMA
Get ModMed EMA integrated into your app
Our team understands what it takes to make a ModMed EMA integration successful. A short, crisp 30 minute call with folks who understand the problem.