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