Stream: hapi
Topic: GraphQL reverse reference
Michael Albert (Jun 22 2021 at 10:44):
If I do a GraphQL query with a reverse reference like this POST http://hapi.fhir.org/baseR4/$graphql with GraphQL
{
Patient(id: 5){
id,
name { family },
ObservationList(_reference: subject) {
id, status
}
}
}
the ObservationList is empty even if a GET http://hapi.fhir.org/baseR4/Observation?subject=Patient/5 gives 15 results. Why is that?
Grahame Grieve (Jun 22 2021 at 10:58):
guess you'll have to debug, because it sure looks like it should work. Does it work on test.fhir.org?
Michael Albert (Jun 22 2021 at 11:26):
Have just confirmed that it works on http://test.fhir.org/r4/$graphql with Patient id 1
Michael Albert (Jun 22 2021 at 11:27):
Do you have some hints on where to start debugging?
Michael Albert (Jun 24 2021 at 09:10):
What is the difference between hapi.fhir.org and test.fhir.org?
Grahame Grieve (Jun 24 2021 at 09:27):
test.fhir.org is a different server
Michael Albert (Jun 24 2021 at 13:33):
Which software is running on test.fhir.org? I know where to look up the code for hapi but I'd like to compare it with the working version
Grahame Grieve (Jun 24 2021 at 13:39):
not sure how much that'll help, but http://github.com/GrahameGrieve/FhirServer
Chetan Jain (Jul 15 2021 at 08:25):
test.fhir.org/r4 is down and hapi.fhir.org is not returning result as expected for below request with reverse reference. @Grahame Grieve - could you help-
Morris Miltz (Jul 15 2021 at 09:15):
Server is Online, i tested it just a moment ago.
Your problem, sorry can't help, i'm a beginner ..
Chetan Jain (Jul 15 2021 at 10:13):
Strange, see the status on this page which is showing down for Graham's r4 server down -
https://stats.uptimerobot.com/9DArDu1Jo
image.png
Morris Miltz (Jul 15 2021 at 11:40):
Oh yeah sorry you're rigth, my bad..
Mark Iantorno (Jul 16 2021 at 12:53):
test.fhir.org is indeed down. I tried restarting it yesterday, but I cannot. I've reached out to Grahame to assist
Last updated: Apr 12 2022 at 19:14 UTC