Get Diagnostic Reports
get_diagnostic_reportsList a patient's FHIR R4 diagnostic reports—lab panels, imaging, and pathology—with an optional since date to narrow long histories.
Instructions
List FHIR R4 DiagnosticReport resources (lab panels, imaging and pathology reports) for one patient. Pass since (YYYY-MM-DD) for patients with a long history. Returns a JSON array with status, category, report code, effective and issued times, coded conclusions and references to the result Observations. The narrative conclusion and attached documents are never returned; use get_lab_results for the values. Read only. Every call writes one audit record in which the patient id is HMAC-hashed; no PHI is logged. Access is checked first against the server patient policy: a patient outside the caller grant returns "Patient access not authorized" before any FHIR request. More than 200 results returns "Too many results (more than 200); narrow the request". Other failures return "FHIR request failed" with no server detail.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"patient_id": "<patient_id>"
},
"name": "get_diagnostic_reports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Optional start date, YYYY-MM-DD. Only records dated on or after this date are returned; use it when a patient has a long history. | |
| patient_id | Yes | FHIR logical id of the Patient, 1 to 64 letters, digits, dots or hyphens, for example a sandbox id returned by the FHIR server. Not a name, MRN or other identifier. |