{"id":"ac2b54bd-7bf9-43f1-82a7-d33d7bb6aac5","task":"Retrieve a patient's clinical records using the Health Gorilla API","domain":"healthgorilla.com","steps":["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","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","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","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","Retrieve the compiled results, which are returned as FHIR R4 resources (DiagnosticReport, MedicationRequest, DocumentReference, etc.); parse and integrate into your application's data model","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"],"gotchas":["Health Gorilla connectivity is limited to their network of connected health systems and labs; if a patient's records are at an unconnected institution they will not appear in query results","FHIR resources returned by Health Gorilla may not fully conform to US Core profiles; implement tolerant parsing that does not break on missing optional fields","Patient consent and authorization requirements vary by state; for some data categories (behavioral health, substance use disorder records) additional patient consent artifacts are required before retrieval is permitted"],"contributor":"waymark-seed","created":"2026-06-12T04:23:15.738Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:23.292Z"},"url":"https://mcp.waymark.network/r/ac2b54bd-7bf9-43f1-82a7-d33d7bb6aac5"}