Stream: implementers
Topic: Search with no fixed type of resource
Alessio Graziani (Apr 09 2019 at 09:32):
Hi all, I'd like to know if in HAPIFHIR (the current STU3 Test Server) the "_type" parameter has been implemented. I'm investigating the possibility to perform query over more than on Resource and submitting this query "http://hapi.fhir.org/baseDstu3/?_type=Observation&subject=Patient/647045", to the Test Server, I get back this error during processing: "This is the base URL of FHIR server. Unable to handle this request, as it does not contain a resource type or operation name."
On the other hand, this query "http://hapi.fhir.org/baseDstu3/Observation?subject=Patient/647045&" returns 22 Observations.
Thanks
Alessio
Grahame Grieve (Apr 09 2019 at 11:39):
@James Agnew
Alessio Graziani (Apr 10 2019 at 09:05):
No news? I'm not interested in the error raised, but I'd like to know if FHIR search syntax allows to perform a sort of SQL UNION . Reading at the documentation the most similar feature I've found is the "_type" parameter? Is there another way?
Thanks a lot
Alessio
Michele Mottini (Apr 10 2019 at 10:08):
The specification allow it, if it is actually implemented by the servers is another matter - from the error message it seems that it is _not_ implemented by the HAPI server (but that's more a question for the HAPI stream). Most servers do not implement it, so I would not count on it
Alessio Graziani (Apr 10 2019 at 10:14):
Thanks a lot Michele :+1:
Chris Grenz (Apr 10 2019 at 13:22):
See GF#20640
Alessio Graziani (Apr 11 2019 at 10:04):
Thanks a lot @Chris Grenz
Last updated: Apr 12 2022 at 19:14 UTC