Stream: social
Topic: POST request
Philipp Daumke (Nov 08 2018 at 23:20):
Hi all,
may I ask a newbie question? How can I use the validate funcionality on the http://test.fhir.org/r3 server programmatically? In the HAPI Server I can do something like this: http://hapi.fhir.org/baseDstu3/Bundle/$validate, but for the r3 server I don't know the base url. Could somebody help me out?
Grahame Grieve (Nov 08 2018 at 23:20):
http://test.fhir.org/r3 is the base URL
Philipp Daumke (Nov 08 2018 at 23:21):
So why does http://test.fhir.org/r3/Bundle/$validate give me the answer "Unknown message Unknown resource Bundle/"?
Philipp Daumke (Nov 08 2018 at 23:23):
while the hapi server says "No resource supplied for $validate operation" which I thought makes more sense?
Grahame Grieve (Nov 08 2018 at 23:24):
I dont' know. shouldn't
Lloyd McKenzie (Nov 09 2018 at 01:11):
@Philipp Daumke - can you submit a change request so we can track (and fix) the issue?
Grahame Grieve (Nov 09 2018 at 01:19):
what issue? I'm not sure that there is one yet - I can't reproduce
Philipp Daumke (Nov 09 2018 at 07:22):
I don't think it's an issue either. When I add a Bundle in a body, I now get a validation as expected. I just misinterpreted the error message when I send a validation without a Bundle in the body. Sorry for that.
Eric Haas (Nov 10 2018 at 05:57):
This thread should be moved to implementers
Last updated: Apr 12 2022 at 19:14 UTC