A ValueSet selects a set of codes from those defined by one or more code systems.

0. References

1. Read

Returns a single ValueSet for the specified id.

By default the response will be returned in XML, however JSON is also supported.

1.1. Response

A full set of response codes can be found here API Response Codes. FHIR Servers SHALL support the following response codes:

200 OK
404 Not Found
500 Internal Server Error

2. Example

2.1 Request Query

Return the ValueSet ODS lookup API ‘ODS API Organization Role’. Replace ‘baseUrl’ with the actual base Url of the FHIR Server.

2.1.1. cURL

curl -H 'Accept: application/fhir+xml' -X GET  'https://fhir.nhs.uk/STU3/ValueSet/ODSAPI-OrganizationRole-1'

2.2 Query Response

2.2.1 Http Headers

2.3 Response Body