---
title: AdvancedMD API Integration on Truto
slug: advancedmd
category: Healthcare
canonical: "https://truto.one/integrations/detail/advancedmd/"
---

# AdvancedMD API Integration on Truto



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

## MCP-ready AI tools

Truto exposes 62 tools for AdvancedMD that AI agents can call directly.

- **list_all_advanced_md_allergy_intolerance_search_results** — Search AllergyIntolerance (POST, form body). Searches a set of AllergyIntolerances based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/AllergyIntolerance/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_allergy_intolerance_by_id** — Read AllergyIntolerance. Searches AllergyIntolerance based on allergy intolerance id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/AllergyIntolerance/{id}. Required: id.
- **list_all_advanced_md_allergy_intolerances** — Search AllergyIntolerance. Searches a set of AllergyIntolerances based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/AllergyIntolerance. Pages along the Bundle's next link; records at entry.*.resource.
- **advanced_md_bulk_export_files_lookup** — Get Single FHIR Entity data. Bulk FHIR connection. One output file of a finished export: batch_id and fhir_entity from the manifest's output URL (.../fhir-resource/<batchId>/<fhirEntity>). AdvancedMD answers FHIR NDJSON (application/fhir+ndjson), one resource per line. GET /v1/fhir-bulk/fhir-resource/{batchId}/{fhirEntity}. Required: batch_id, fhir_entity.
- **advanced_md_bulk_export_jobs_cancel** —  Bulk FHIR connection. Cancels a running export (HTTP DELETE); AdvancedMD answers 202 {status, groupId, jobId}. DELETE /v1/fhir-bulk/status. Required: groupId, jobId.
- **advanced_md_bulk_export_jobs_lookup** — Check "In progress", "Done" and "Cancel" statuses. Bulk FHIR connection. The export's status: 202 {status} while running ("In progress"), then 200 with the manifest (transactionTime, request, requiresAccessToken, output / error file URLs per type). GET /v1/fhir-bulk/status. Required: groupId, jobId.
- **create_a_advanced_md_bulk_export** — Start Bulk Data Export Job. Bulk FHIR connection. Starts an export of a patient Group's data (GET with Prefer: respond-async and the OfficeKey header). AdvancedMD answers 202 with {status, groupId, jobId}: pass groupId and jobId to bulk_export_jobs.lookup. GET /v1/r4/Group/{groupId}/$export. Required: group_id.
- **list_all_advanced_md_care_plan_search_results** — Search CarePlan (POST, form body). Searches a set of CarePlans based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/CarePlan/_search. Required: patient, category. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_care_plan_by_id** — Read CarePlan. Searches Careplan based on care plan id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/CarePlan/{id}. Required: id.
- **list_all_advanced_md_care_plans** — Search CarePlan. Searches a set of CarePlans based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/CarePlan. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_care_team_search_results** — Search CareTeam (POST, form body). Searches a set of CareTeam based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/CareTeam/_search. Required: patient, status. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_care_team_by_id** — Read CareTeam. Searches CareTeam based on careteam id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/CareTeam/{id}. Required: id.
- **list_all_advanced_md_care_teams** — Search CareTeam. Searches a set of CareTeams based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/CareTeam. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_condition_search_results** — Search Condition (POST, form body). Searches a set of Conditions based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/Condition/_search. Required: patient, category. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_condition_by_id** — Read Condition. This interaction searche Condition based on condition id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Condition/{id}. Required: id.
- **list_all_advanced_md_conditions** — Search Condition. Searches a set of Conditions based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Condition. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_coverage_search_results** — Search Coverage (POST, form body). Searches a set of Coverage resources based on some filter criteria encoded as an application/x-www-form-urlencoded submission for a POST. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/Coverage/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_coverage_by_id** — Read Coverage. Retrieves a Coverage resource by id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Coverage/{id}. Required: id.
- **list_all_advanced_md_coverages** — Search Coverage. Searches a set of Coverage resources based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Coverage. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_device_search_results** — Search Device (POST, form body). Searches a set of Device based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/Device/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_device_by_id** — Read Device. Searches Device based on device id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Device/{id}. Required: id.
- **list_all_advanced_md_devices** — Search Device. Searches a set of Devices based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Device. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_diagnostic_report_search_results** — Search DiagnosticReport (POST, form body). Searches a set of DiagnosticReports based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/DiagnosticReport/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_diagnostic_report_by_id** — Read DiagnosticReport. Searches DiagnosticReport based on diagnostic report id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/DiagnosticReport/{id}. Required: id.
- **list_all_advanced_md_diagnostic_reports** — Search DiagnosticReport. Searches a set of DiagnosticReports based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/DiagnosticReport. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_document_reference_search_results** — Search DocumentReference (POST, form body). Searches a set of DocumentReferences based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/DocumentReference/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_document_reference_by_id** — Read DocumentReference. Searches DocumentReference based on document reference id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/DocumentReference/{id}. Required: id.
- **list_all_advanced_md_document_references** — Search DocumentReference. Searches a set of DocumentReferences based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/DocumentReference. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_encounter_by_id** — Read Encounter. Searches Encounter based on encounter id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Encounter/{id}. Required: id.
- **list_all_advanced_md_encounters** — Search Encounter. Searches a set of Encounters based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Encounter. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_fetched_document_references** — Search DocumentReference. The US Core $docref operation: the patient's documents (e.g. C-CDA) as DocumentReferences, optionally within start / end. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/DocumentReference/$docref. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_goal_search_results** — Search Goal (POST, form body). Searches a set of Goal based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/Goal/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_goal_by_id** — Read Goal. Searches Goal based on goal id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Goal/{id}. Required: id.
- **list_all_advanced_md_goals** — Search Goal. Searches a set of Goals based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Goal. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_immunization_search_results** — Search Immunization (POST, form body). Searches a set of Immunizations based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/Immunization/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_immunization_by_id** — Read Immunization. Searches Immunization based on immunization id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Immunization/{id}. Required: id.
- **list_all_advanced_md_immunizations** — Search Immunization. Searches a set of Immunizations based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Immunization. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_location_by_id** — Read Location. Searches Location based on location id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Location/{id}. Required: id.
- **list_all_advanced_md_locations** — Search Location. Searches a set of Locations based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Location. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_medication_dispense_search_results** — Search MedicationDispense (POST, form body). Searches a set of MedicationDispenses based on some filter criteria encoded as an application/x-www-form-urlencoded submission for a POST. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/MedicationDispense/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_medication_dispense_by_id** — Read MedicationDispense. Retrieves a MedicationDispense resource by id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/MedicationDispense/{id}. Required: id.
- **list_all_advanced_md_medication_dispenses** — Search MedicationDispense. Searches a set of MedicationDispenses based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/MedicationDispense. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_medication_request_search_results** — Search MedicationRequest (POST, form body). Searches a set of MedicationRequest based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/MedicationRequest/_search. Required: patient, intent. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_medication_request_by_id** — Read MedicationRequest. Searches MedicationRequest based on medication request id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/MedicationRequest/{id}. Required: id.
- **list_all_advanced_md_medication_requests** — Search MedicationRequest. Searches a set of MedicationRequests based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/MedicationRequest. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_observation_search_results** — Search Observation (POST, form body). Searches a set of Observations based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/Observation/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_observation_by_id** — Read Observation. Searches Observation based on observation id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Observation/{id}. Required: id.
- **list_all_advanced_md_observations** — Search Observation. Searches a set of Observations based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Observation. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_organization_by_id** — Read Organization. Searches Organization based on organization id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Organization/{id}. Required: id.
- **list_all_advanced_md_organizations** — Search Organization. Searches a set of Organizations based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Organization. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_patient_search_results** — Search Patient (POST, form body). Searches a set of Patients based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/Patient/_search. Required: _id. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_patient_by_id** — Read Patient. Searches Patient based on patient id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Patient/{id}. Required: id.
- **list_all_advanced_md_patients** — Search Patient. Searches a set of Patients based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_practitioner_by_id** — Read Practitioner. Searches Practitioner based on practitioner id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Practitioner/{id}. Required: id.
- **list_all_advanced_md_practitioners** — Search Practitioner. Searches a set of Practitioners based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Practitioner. Pages along the Bundle's next link; records at entry.*.resource.
- **list_all_advanced_md_procedure_search_results** — Search Procedure (POST, form body). Searches a set of Procedures based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/Procedure/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_procedure_by_id** — Read Procedure. Searches Procedure based on procedure id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Procedure/{id}. Required: id.
- **list_all_advanced_md_procedures** — Search Procedure. Searches a set of Procedures based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/Procedure. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_provenance_by_id** — Read Provenance. Searches Provenance based on provenance id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/Provenance/{id}. Required: id.
- **list_all_advanced_md_related_person_search_results** — Search RelatedPerson (POST, form body). Searches a set of RelatedPersons based on some filter criteria encoded as an application/x-www-form-urlencoded submission for a POST. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. POST /v1/r4/<Organization ID>/RelatedPerson/_search. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **get_single_advanced_md_related_person_by_id** — Read RelatedPerson. Retrieves a RelatedPerson resource by id. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. The id is the FHIR resource id. GET /v1/r4/<Organization ID>/RelatedPerson/{id}. Required: id.
- **list_all_advanced_md_related_persons** — Search RelatedPerson. Searches a set of RelatedPersons based on some filter criteria. A patient token reads its own patient's data; a provider's token the one patient picked at sign-in. GET /v1/r4/<Organization ID>/RelatedPerson. Pages along the Bundle's next link; records at entry.*.resource.

## How it works

1. **Link your customer's AdvancedMD 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 AdvancedMD.** The Proxy API is a 1-to-1 mapping of the AdvancedMD 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 AdvancedMD into your ambient AI scribe** — Let clinical AI products read tomorrow's encounter schedule, pull patient history (conditions, medications, allergies, observations), and write structured notes back into the chart — without your team reverse-engineering FHIR R4 auth and pagination for every customer.
- **Power behavioral health screening workflows** — Patient engagement platforms can monitor upcoming encounters, trigger SMS-based assessments like PHQ-9, and push the discrete scores and PDF results back as Observations and DocumentReferences before the provider opens the chart.
- **Automate referral and fax intake for specialty clinics** — Intelligent document processing SaaS can parse inbound referrals, create Patient and Coverage records in AdvancedMD, and attach the original referral document — eliminating manual re-entry for front desk staff at gastroenterology, dermatology, and PT practices.
- **Ship RCM analytics for medical billing partners** — Financial analytics tools serving AdvancedMD's 850+ billing partners can run nightly bulk FHIR exports to pull Encounter, Procedure, and Coverage data at scale, surfacing dropped charges and denial trends without hitting per-resource rate limits.
- **Build a longitudinal patient data layer for care coordination** — Care management platforms can aggregate CarePlan, CareTeam, Condition, Immunization, and DiagnosticReport data across patients to drive outreach, gap-in-care alerts, and population health dashboards from a single normalized source.

## What you can build

- **Pre-visit chart summarization** — Pull Patient, Condition, AllergyIntolerance, MedicationRequest, and recent Observations for each scheduled Encounter to generate an AI-written clinical summary before the appointment.
- **Structured screener write-back** — Post Observation resources for PHQ-9, GAD-7, or custom assessment scores and attach the full response PDF via DocumentReference, directly tied to the patient chart.
- **Automated patient and coverage creation** — Create new Patient records with attached Coverage and RelatedPerson (guarantor) data from parsed referrals, intake forms, or external scheduling flows.
- **Nightly bulk FHIR export pipeline** — Trigger $export jobs against Patient Groups, poll job status, and download NDJSON manifests of Encounters, Procedures, Conditions, and Coverages into your data warehouse.
- **Medication and diagnosis reconciliation** — Sync MedicationRequest, MedicationDispense, and Condition resources to reconcile active prescriptions and diagnoses against external pharmacy or specialist data.
- **Document injection for consent and C-CDA** — Push signed consent forms, lab PDFs, or C-CDA continuity-of-care documents into the patient chart using the DocumentReference endpoint.

## FAQs

### Which AdvancedMD API does Truto integrate with?

Truto integrates with AdvancedMD's FHIR R4 API, covering clinical resources (Condition, Observation, AllergyIntolerance, MedicationRequest, Procedure, Immunization, DiagnosticReport), administrative resources (Patient, Coverage, RelatedPerson, Practitioner, Organization, Location, Encounter), and the Bulk Data $export workflow.

### How is authentication handled for end users?

Truto manages the token-scoped OAuth flow required by AdvancedMD's FHIR API so your end users connect their AdvancedMD account once through a Truto-hosted link, and Truto handles token refresh and secure credential storage on your behalf.

### Can we write data back into AdvancedMD, or is it read-only?

The integration supports both read and write patterns exposed by AdvancedMD's FHIR R4 API — including creating Patients, posting Observations, and injecting DocumentReferences — in addition to standard list, search, and get-by-id reads across clinical resources.

### How do we handle large data volumes without hitting rate limits?

Truto exposes AdvancedMD's asynchronous Bulk FHIR export workflow: you can create an export job, look up job status, cancel in-flight jobs, and fetch the resulting NDJSON files — ideal for analytics and RCM use cases that need full historical snapshots instead of paginated reads.

### Does Truto normalize AdvancedMD data across other EHRs?

Today the AdvancedMD integration is exposed as a direct, FHIR R4-aligned connector. A unified Healthcare API spanning multiple EHRs is on the roadmap — reach out if you need a normalized schema across AdvancedMD and other systems and we can prioritize it.

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

Standard FHIR read and search endpoints return data in real time from AdvancedMD, while Bulk $export jobs reflect the state of the data at the time the export job completes — suitable for nightly pipelines or scheduled analytics refreshes.

### Can we test the integration before going live with customers?

Yes — Truto supports sandbox-style connected accounts so you can build and validate flows against AdvancedMD's FHIR endpoints before inviting production customers to connect.
