Resolve a FHIR coding
fhir_resolveResolve FHIR system/code pairs or display text via semantic fallback to OMOP standard concepts and CDM target tables for clinical data mapping.
Instructions
Resolve one FHIR Coding with separate system and code fields to its OMOP standard concept and CDM target table. Supports text-only input via semantic search fallback and optional Phoebe recommendations. Examples: system='http://snomed.info/sct' code='44054006' for Type 2 diabetes, or display='heart attack' for text-only resolution.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fhir_resolve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Literal Coding.code string, preserving leading zeros and punctuation. Put the system URI in the separate system field. | |
| system | No | FHIR code system URI (e.g. http://snomed.info/sct, http://loinc.org) | |
| display | No | Display text for semantic search fallback when code is unavailable | |
| on_unmapped | No | Behavior when nothing resolves: 'error' (default, 404) or 'sentinel' (return a concept_id 0 record) | |
| resource_type | No | FHIR resource type (Condition, Observation, MedicationRequest, Procedure, etc.) | |
| vocabulary_id | No | Direct OMOP vocabulary_id (e.g. SNOMED, ICD10CM), bypasses URI resolution | |
| include_quality | No | Include mapping quality signal (high/medium/low/manual_review) | |
| include_recommendations | No | Include Phoebe-recommended related concepts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| success | Yes |