Documentation Index
Fetch the complete documentation index at: https://docs.omophub.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Returns detailed information about a concept from a code system. This is the most commonly used FHIR terminology operation. Supports both GET (query parameters) and POST (FHIR Parameters body), and both type-level (by system URI) and instance-level (by CodeSystem resource ID).Request
Type-level (by system URI)
Instance-level (by CodeSystem ID)
POST with FHIR Parameters body
With property filter
Request only specific properties to reduce response size:Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
system | uri | Yes (type-level) | FHIR code system URI |
code | code | Yes | The code to look up |
version | string | No | Vocabulary version |
property | code | No (repeatable) | Which properties to return (default: all) |
Response
The response echoes the requestedsystem and code, includes display and
any known designation entries (synonyms), then lists the OMOP properties.
Response fields
| Field | Description |
|---|---|
system | Echoes the requested code system URI |
name | CodeSystem name (OMOP Concepts) |
version | Vocabulary version used |
code | The looked-up code |
display | Primary concept name |
designation | Synonyms and alternate names (one entry per synonym) |
property | OMOP properties (see overview for the full list) |
Phoebe Concept Recommendations (OMOPHub-Exclusive)
Requestproperty=recommended to include Phoebe-recommended related concepts. These are clinically relevant concepts associated with the looked-up code - a feature unique to OMOPHub.
property entry with a valueCoding and a subproperty describing the relationship:
Recommendations are only returned when explicitly requested via
property=recommended. Standard lookups without this property have no performance impact.Errors
| HTTP | Issue Code | Cause |
|---|---|---|
| 400 | invalid | Missing code parameter, or missing system for type-level $lookup |
| 404 | not-found | Code not found in the specified code system |