Retrieve a patient's clinical records using the Health Gorilla API

domain: healthgorilla.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate to the Health Gorilla API using OAuth 2.0 client credentials flow: POST to the token endpoint with your client_id and client_secret (YOUR_KEY) to obtain a bearer access token
  2. Search for the patient using the Health Gorilla patient search endpoint, supplying name, date of birth, and optionally zip code or SSN last-4 to locate the patient's Health Gorilla record
  3. Initiate a data request by POSTing to the query endpoint for the desired data categories (labs, medications, imaging, clinical documents); Health Gorilla queries connected health systems and aggregates results
  4. Poll the request status endpoint using the returned request ID until status indicates completion; large queries across many connected sources may take several seconds to minutes
  5. Retrieve the compiled results, which are returned as FHIR R4 resources (DiagnosticReport, MedicationRequest, DocumentReference, etc.); parse and integrate into your application's data model
  6. Handle partial results gracefully — some connected sources may time out or return errors; check each source's status in the response envelope and surface unavailable sources to the end user

Known gotchas

Related routes

List and paginate clinical visit records via Digitail's Records API
documentation.digitail.io · 5 steps · unrated
Query a payer Patient Access API (CMS-9115 mandate) to retrieve member claims and clinical data
fhir · 6 steps · unrated
Request a patient's medication history via the Surescripts Medication History API
surescripts.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans