get_coded_entries
Get flat coded records for any FHIR resource type from a patient bundle, resolving medication references. Optionally filter by status; use first for conditions, medications, allergies, or observations.
Instructions
Read the coded identity of every resource of a type in the loaded bundle as flat records (code/display/system/status/authored_on/value/unit). Call this first for questions about conditions, medications, allergies, or observations — it resolves medicationReference to the actual Medication for you. Optionally filter by status (e.g. 'active').
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": {
"resource_type": "<resource_type>"
},
"name": "get_coded_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| resource_type | Yes |