Stream: implementers
Topic: Using _summary and _elements together
Michael Calderero (Apr 03 2020 at 12:39):
Hi All,
Can we use _summary
and _elements
together e.g. [baseurl]/Patient?_summary=true&_elements=identifier
?
I tried this with various public FHIR servers and got the following results:
- HAPI FHIR - complains that these can't be used together
- Vonk - works and shows only id, meta and identifier
- test.fhir.org - works and shows only id and identifier
- Aegis WildFHIR - doesn't give an error but seems to return everything about the resource
Is this supposed to work? If yes then which one is honored, _summary
or _elements
?
John Moehrke (Apr 03 2020 at 12:45):
_elements will override _summary -- thus you will only get the elements you ask for (Or that is what I think would happen)
Lloyd McKenzie (Apr 03 2020 at 16:51):
@John Moehrke 's explanation is what would be reasonable to happen, but I don't believe this is explicitly declared anywhere - so it's possible some servers may behave differently.
Michele Mottini (Apr 03 2020 at 17:48):
Our server returns an error
Last updated: Apr 12 2022 at 19:14 UTC