You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi :)
I've been trying to have the server give me the total number of results for a given search. I noticed that the Bundle I get as a response does not include the type key which is required based on the FHIR standard: https://www.hl7.org/fhir/bundle-definitions.html#Bundle.type
Describe the bug
Sending a request with _summary=count returns a Bundle without a type key.
The most appropriate type appears to be "searchset". When I use _summary with all the other valid options, that's the type I get in the response.
To Reproduce
Send a request with any resource type (Observation, Media ...) using _summary=count.
For example: http://hapi.fhir.org/baseR4/Media?_summary=count
Expected behavior
I expect to get a Bundle including the type key with the value "searchset".
Environment (please complete the following information):
Hi :)
I've been trying to have the server give me the total number of results for a given search. I noticed that the Bundle I get as a response does not include the
type
key which is required based on the FHIR standard:https://www.hl7.org/fhir/bundle-definitions.html#Bundle.type
Describe the bug
Sending a request with _summary=count returns a Bundle without a type key.
The most appropriate type appears to be "searchset". When I use _summary with all the other valid options, that's the type I get in the response.
To Reproduce
Send a request with any resource type (Observation, Media ...) using _summary=count.
For example:
http://hapi.fhir.org/baseR4/Media?_summary=count
Expected behavior
I expect to get a Bundle including the type key with the value "searchset".
Environment (please complete the following information):
Additional context
As an example of a response I get without the type key:
http://hapi.fhir.org/baseR4/Media?_summary=count
gives me:I have opened another issue here (wasn't sure where it applied): hapifhir/hapi-fhir-jpaserver-starter#88
The text was updated successfully, but these errors were encountered: