Get Conditions
get_conditionsRetrieves FHIR R4 Condition resources for one patient, including active and resolved problems and diagnoses, to review treatment history and check clinicalStatus for active conditions.
Instructions
List FHIR R4 Condition resources (problems and diagnoses) for one patient, active and resolved. Use it to see what the patient is or was treated for; check clinicalStatus for active. Returns a JSON array with clinical and verification status, code (system and code only; display and free text are dropped), onset, abatement and recorded dates. 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_conditions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |