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 a singleCodeSystem resource by its FHIR id. OMOPHub recognizes two ID shapes:
- Per-vocabulary stub IDs - short lowercase slugs (
loinc,snomed,rxnorm,icd-10-cm, …) that map 1:1 to canonical FHIR system URIs. These returncontent: "not-present"stubs with metadata only. - Unified OMOP release IDs - the release-specific FHIR id (e.g.
omop-v20250827) for the omnibus OMOP CodeSystem that covers every supported vocabulary under one URL. These return the full CodeSystem resource with all OMOP property definitions.
Request
Per-vocabulary stub
Unified OMOP release
url=https://fhir-terminology.ohdsi.org to fetch the unified resource via the canonical URL.
Response (per-vocabulary stub)
Instance reads return a bare
CodeSystem resource, not a Bundle. Only search-type queries wrap results in a Bundle.Response (unified OMOP release)
Why two shapes?
OMOPHub serves all 130+ vocabularies from a single unified backend. The per-vocab stubs are thin FHIR-conformant views over that backend, added so clients like HAPI and EHRbase can discoverhttp://loinc.org as a first-class CodeSystem instead of having to know the OMOP omnibus URL. Both shapes resolve to the same concept data; pick whichever matches your client’s expectations.
| Use the stub when | Use the unified CodeSystem when |
|---|---|
| A FHIR client is probing support by canonical URI (HAPI, EHRbase) | You need release-specific metadata (version, release date, property definitions) |
| You want concise metadata for UI pickers | You’re building a client that walks OMOP properties directly |
Round-tripping url: http://loinc.org from a search result | Round-tripping url: https://fhir-terminology.ohdsi.org |
Errors
| HTTP | Issue Code | Cause |
|---|---|---|
| 401 | login | Missing or invalid API key |
| 404 | not-found | id does not match any known stub or released vocabulary version |
See Also
- CodeSystem search - discovery endpoint that returns these stubs in a Bundle
- $lookup - query concept details using the
urlfrom the resource - FHIR Terminology overview - full list of supported system URIs and stub IDs