Resolve a FHIR CodeableConcept
fhir_resolve_codeable_conceptResolves a FHIR CodeableConcept to an OMOP concept by selecting the best coding per OHDSI vocabulary preference, with semantic text fallback when no coding matches.
Instructions
Resolve a FHIR CodeableConcept with multiple codings. Picks the best match per OHDSI vocabulary preference (SNOMED > RxNorm > LOINC > CVX > ICD-10). Falls back to the text field via semantic search if no coding resolves.
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": {
"coding": "<coding>"
},
"name": "fhir_resolve_codeable_concept"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | CodeableConcept.text — semantic fallback if no coding resolves | |
| coding | Yes | Array of FHIR Coding entries from the CodeableConcept | |
| on_unmapped | No | Behavior when nothing resolves: 'error' (default, 404) or 'sentinel' (concept_id 0 record) | |
| resource_type | No | FHIR resource type | |
| include_quality | No | ||
| include_recommendations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| success | Yes |