I want to show all resources type list like condition, immunization, patient. How can I find those endpoints? I did not get any end point which gets a list of resource types.
API end point: https://r4.smarthealthit.org
Official documentation: https://www.hl7.org/fhir/http.html#search Thanks in advance
I want a list of all response type by using the above API.
There's no 'simple' way to do what you're asking. RESTful search returns resources, not data elements, so you're going to get back full-blown resources. You could define a custom operation, but it's unlikely you'd get any existing servers to support it. The simplest single-call mechanism to get the answer you want that will give you the lightest response is a 'batch' Bundle that contains a collection of searches - one per resource of potential interest, where the search specifies _summary=count. That will give you a bundle of search responses with the count of each type of resource.