Stream: implementers
Topic: java - hapi fhir server GraphQLProvider
Branko Mlikota (Mar 05 2021 at 11:01):
Please help,
does anybody know how to use ca.uhn.fhir.jpa.provider.GraphQLProvider?
I would like to execute something like
http://localhost:8091/fhir/CodeSystem/7/$graphql?query={name,status,concept(_count:2,_offset:3){code,definition}}
through hapi fhir client
https://hapifhir.io/hapi-fhir/docs/client/introduction.html
Lloyd McKenzie (Mar 05 2021 at 14:38):
You might ask on the #hapi stream
James Agnew (Mar 05 2021 at 15:46):
The HAPI FHIR client doesn't provide any GraphQL support, because the responses you get back from the server are completely arbitrary (from HAPI's POV) as opposed to looking like FHIR resources. If your server is using GraphQL you probably just want to use a standard Java HTTP client like OkHttp.
Last updated: Apr 12 2022 at 19:14 UTC