get_patient_encounters
Retrieve encounters for a specific patient, filtered by date, status, or class. Access visit history from FHIR healthcare data.
Instructions
Retrieve encounters for a specific patient.
Args: patient_id: The FHIR patient ID date: Optional filter by date (YYYY-MM-DD format or date range) status: Optional filter by status (planned, arrived, in-progress, finished) encounter_class: Optional filter by class (ambulatory, emergency, inpatient)
Returns: Dictionary containing the patient's encounters
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_patient_encounters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patient_id | Yes | ||
| date | No | ||
| status | No | ||
| encounter_class | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||