Overview
Expands an implicit ValueSet to return a paginated list of matching codes. This powers dropdown menus, autocomplete, and template validation in EHRbase, HAPI FHIR, and other FHIR clients. OMOPHub supports implicit ValueSets defined by code system URIs — no stored ValueSet definitions required.Supported Patterns
All codes from a code system
Descendants of a concept (is-a filter)
referenceSetUri:
With text filter (typeahead/autocomplete)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | uri | Yes | Implicit ValueSet URL (e.g., http://snomed.info/sct?fhir_vs or http://snomed.info/sct?fhir_vs=isa/73211009) |
filter | string | No | Text filter to match against concept display names |
offset | integer | No | Paging start position (default: 0) |
count | integer | No | Page size (default: 100, max: 1000) |
Response
Pagination
Useoffset and count to page through large expansions. The response includes total for the total number of matching concepts.
Errors
| HTTP | Issue Code | Cause |
|---|---|---|
| 400 | invalid | Missing url parameter, invalid ValueSet URL format, or unknown code system URI |
| 403 | forbidden | Restricted vocabulary (CPT4) |