get_patient_allergies
Retrieve a patient's allergies by their FHIR ID, with optional filtering by clinical status such as active or resolved.
Instructions
Retrieve allergies for a specific patient.
Args: patient_id: The FHIR patient ID clinical_status: Optional filter by clinical status (active, inactive, resolved)
Returns: Dictionary containing the patient's allergies
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_allergies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patient_id | Yes | ||
| clinical_status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||