Perform a ValueSet expansion
Overview
To retrieve a subset of records from an individual CodeSystem, you will need to perform a 'POST' operation, in which you will provide the details of the CodeSystem you are searching, along with any filters to be applied and properties you wish to include in the results.
When you make a 'POST' operation, you perform an expansion on a ValueSet and provide a requestBody. The endpoint will return a successful (200) response code along with the search results, which may be an empty array if no records match your criteria. or an unsuccesful (4xx/5xx) response.
For example:
/ValueSet/$expand
in the example request body below we filter on lastChangeDate and limit the response to 2 records with count. searches which generate more than 50,000 results will generate an error, so we recommend that you use count and offset together to ensure you have collected all the required results.
Response
a valid