---
title: ModMed Certified FHIR API Integration on Truto
slug: modmedcertifiedfhir
category: Healthcare
canonical: "https://truto.one/integrations/detail/modmedcertifiedfhir/"
---

# ModMed Certified FHIR API Integration on Truto



**Category:** Healthcare  
**Status:** Beta

## MCP-ready AI tools

Truto exposes 63 tools for ModMed Certified FHIR that AI agents can call directly.

- **get_single_mod_med_certified_fhir_allergy_intolerance_by_id** — Read AllergyIntolerance instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_allergy_intolerances** — Search for AllergyIntolerance instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **create_a_mod_med_certified_fhir_bulk_export** — POST: /$export. Bulk FHIR system-level export (Bulk FHIR connection). ModMed answers 202 with no body; the Content-Location response header (passed back by Truto's REST proxy) is the status URL: pass it, or its last segment (the job id), to bulk_exports.get.
- **delete_a_mod_med_certified_fhir_bulk_export_by_id** — Cancel a bulk export job. Cancels a running export and deletes its output. The id is the job id, or the whole Content-Location URL. Required: id.
- **get_single_mod_med_certified_fhir_bulk_export_by_id** — Check bulk export status. The id is the job id or the whole Content-Location URL. While the job runs ModMed answers 202 with no body (Status: In Progress, Retry-After: 120), so Truto returns an empty result; when done, the manifest with the output file URLs. 404: unknown or cancelled job; 500: the export failed. Required: id.
- **list_all_mod_med_certified_fhir_capability_statement** — Fetch the server FHIR CapabilityStatement. The FHIR CapabilityStatement (metadata) of the practice's server: one record. Public: no token needed.
- **get_single_mod_med_certified_fhir_care_plan_by_id** — Read CarePlan instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_care_plans** — Search for CarePlan instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_care_team_by_id** — Read CareTeam instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_care_teams** — Search for CareTeam instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_condition_by_id** — Read Condition instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_conditions** — Search for Condition instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_coverage_by_id** — Read Coverage instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_coverages** — Search for Coverage instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_device_by_id** — Read Device instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_devices** — Search for Device instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_diagnostic_report_by_id** — Read DiagnosticReport instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_diagnostic_reports** — Search for DiagnosticReport instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_document_reference_by_id** — Read DocumentReference instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_document_references** — Search for DocumentReference instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_encounter_by_id** — Read Encounter instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_encounters** — Search for Encounter instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_endpoint_by_id** — Read Endpoint instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_endpoints** — Search for Endpoint instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_goal_by_id** — Read Goal instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_goals** — Search for Goal instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_immunization_by_id** — Read Immunization instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_immunizations** — Search for Immunization instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_location_by_id** — Read Location instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_locations** — Search for Location instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_medication_dispense_by_id** — Read MedicationDispense instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_medication_dispenses** — Search for MedicationDispense instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_medication_request_by_id** — Read MedicationRequest instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_medication_requests** — Search for MedicationRequest instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_medication_by_id** — Read Medication instance. The id is the FHIR resource id. Required: id.
- **get_single_mod_med_certified_fhir_observation_by_id** — Read Observation instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_observations** — Search for Observation instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_operation_definition_by_id** — Read OperationDefinition instance. The id is the FHIR resource id. Required: id.
- **get_single_mod_med_certified_fhir_organization_by_id** — Read Organization instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_organizations** — Search for Organization instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **create_a_mod_med_certified_fhir_patient_bulk_export** — POST: /Patient/$export. Bulk FHIR patient-level export (all patients; needs the Bulk FHIR connection's system scopes). ModMed answers 202 with no body; the Content-Location response header (passed back by Truto's REST proxy) is the status URL: pass it, or its job id, to bulk_exports.get.
- **get_single_mod_med_certified_fhir_patient_by_id** — Read Patient instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_patients** — Search for Patient instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_practitioner_role_by_id** — Read PractitionerRole instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_practitioner_roles** — Search for PractitionerRole instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_practitioner_by_id** — Read Practitioner instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_practitioners** — Search for Practitioner instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_procedure_by_id** — Read Procedure instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_procedures** — Search for Procedure instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_provenance_by_id** — Read Provenance instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_provenances** — Search for Provenance instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_questionnaire_response_by_id** — Read QuestionnaireResponse instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_questionnaire_responses** — Search for QuestionnaireResponse instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_questionnaire_by_id** — Read Questionnaire instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_questionnaires** — Search for Questionnaire instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_related_person_by_id** — Read RelatedPerson instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_related_persons** — Search for RelatedPerson instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_service_request_by_id** — Read ServiceRequest instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_service_requests** — Search for ServiceRequest instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_specimen_by_id** — Read Specimen instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_specimens** — Search for Specimen instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).
- **get_single_mod_med_certified_fhir_value_set_by_id** — Read ValueSet instance. The id is the FHIR resource id. Required: id.
- **list_all_mod_med_certified_fhir_value_sets** — Search for ValueSet instances. Truto pages along the Bundle's next link (limit = _count, the page size); records at entry.*.resource. Search parameters are ANDed; repeat a key for a range (date=ge...&date=le...).

## How it works

1. **Link your customer's ModMed Certified FHIR account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach ModMed Certified FHIR.** The Proxy API is a 1-to-1 mapping of the ModMed Certified FHIR API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Embed ModMed access for specialty clinic customers** — Offer a native ModMed Certified FHIR integration so your SaaS can land dermatology, ophthalmology, orthopedic, and GI practices without building a custom EHR connector. Truto handles OAuth, token refresh, and FHIR-specific quirks so you can focus on your product.
- **Power AI medical coding and RCM workflows** — Pull Encounters, Conditions, Procedures, and DocumentReferences nightly via bulk export to validate that clinical documentation supports billed codes. Truto manages the async export polling and NDJSON ingestion loop for every connected practice.
- **Pre-populate patient intake and telehealth summaries** — Fetch Patient demographics, Coverage, MedicationRequests, AllergyIntolerances, and Conditions in real time so your intake or telehealth product shows up with context already loaded. This eliminates clipboard workflows for ModMed-using specialty clinics.
- **Cohort-build for clinical trial matching and research** — Use Patient-level bulk export to filter across Conditions, Observations, and AllergyIntolerances for trial eligibility in specialty populations. Truto normalizes the export lifecycle so your research platform scales across ModMed sites.
- **Sync provider rosters and locations for care coordination** — Keep Practitioner, PractitionerRole, Location, and Organization data in sync with your referral, scheduling, or network-management product. Ideal for care navigation and external booking SaaS serving ModMed networks.

## What you can build

- **Nightly bulk clinical data ingestion** — Kick off system or patient-level $export jobs, poll until completion, and ingest NDJSON files of Patients, Conditions, Observations, and Encounters into your warehouse.
- **Pre-visit clinical context panel** — Show providers a one-glance summary of a patient's active MedicationRequests, AllergyIntolerances, Conditions, and recent Encounters pulled live from ModMed.
- **Smart intake confirmation flows** — Prefill intake forms by reading Patient, Coverage, and MedicationRequest resources, then ask patients to confirm or correct rather than re-enter.
- **Documentation-to-code verification engine** — Join DocumentReference content with Conditions, Procedures, and Encounters to flag coding discrepancies for billers before claims submission.
- **Trial and cohort eligibility explorer** — Query Conditions, Observations, Procedures, and AllergyIntolerances across exported FHIR bundles to surface patients matching specific inclusion and exclusion criteria.
- **Pre-op readiness tracker** — Monitor CarePlan, ServiceRequest, and QuestionnaireResponse resources to confirm patients have completed pre-surgical assessments and notify clinics of gaps.
- **Provider directory and location sync** — Continuously reconcile Practitioner, PractitionerRole, Location, and Organization resources into your internal provider graph for referrals and scheduling.

## FAQs

### What authentication does ModMed Certified FHIR use?

ModMed's Certified FHIR API uses SMART on FHIR / OAuth 2.0 with practice-specific endpoints. Truto handles the OAuth handshake, token storage, and refresh for each of your end users' ModMed instances so you never touch credentials directly.

### Which FHIR version and resources are supported?

The integration targets HL7 FHIR R4 as required by the 21st Century Cures Act and USCDI. Through Truto you can access resources including Patient, Encounter, Condition, AllergyIntolerance, MedicationRequest, MedicationDispense, Medication, Observation, Procedure, DiagnosticReport, DocumentReference, Immunization, CarePlan, CareTeam, Goal, Coverage, Device, Specimen, ServiceRequest, Questionnaire, QuestionnaireResponse, Practitioner, PractitionerRole, Organization, Location, RelatedPerson, and Provenance.

### Can we write data back into ModMed through this integration?

The ModMed Certified FHIR API is primarily a read and search interface aligned with USCDI, and that's what the Truto tools expose. Write-back and scheduling workflows are handled through ModMed's proprietary APIs, which are out of scope for the certified FHIR surface.

### How do bulk exports work?

Truto exposes tools to create a system-level or Patient-level bulk export, poll an export job by ID, and delete an export job when you're done. The job returns NDJSON files per resource type, which is the recommended pattern for nightly analytics, AI, and cohort-building ingestion.

### How fresh is the data returned by the API?

Resource reads and searches return current data directly from the practice's ModMed instance at request time, so just-in-time patterns like pre-visit summaries reflect the live record. Bulk exports reflect the state at the moment the export job runs, making them well-suited for daily batch ingestion.

### How does Truto handle differences between ModMed tenants?

Each clinic connects their own ModMed FHIR endpoint and authorizes access through Truto's hosted connection flow. Truto manages per-tenant base URLs, tokens, pagination, and FHIR Bundle traversal so your code calls a consistent interface regardless of which practice is connected.

### Are there rate limits we need to worry about?

ModMed enforces per-tenant rate limits on synchronous FHIR calls, which is why bulk export is the recommended pattern for large retrospective pulls. Truto's client handles pagination and retries so you can stay within limits without writing custom backoff logic.
