FHIR Chat · Operations with no 'out' parameters · implementers

Stream: implementers

Topic: Operations with no 'out' parameters


view this post on Zulip Michele Mottini (Sep 26 2019 at 13:19):

eg not returning anything - what's the correct behavior on success? return nothing with a 204 (no content) status code? (http://hl7.org/fhir/operations.html#response does not say)

view this post on Zulip Michele Mottini (Sep 26 2019 at 13:55):

(FHIR .NET library accepts only 200 OK: https://github.com/FirelyTeam/fhir-net-api/blob/develop-stu3/src/Hl7.Fhir.Core/Rest/FhirClient.cs#L869)

view this post on Zulip Yunwei Wang (Sep 26 2019 at 14:12):

$export return 202 if success.

view this post on Zulip Michele Mottini (Sep 26 2019 at 14:13):

Yes, but that's for async - I am talking about normal sync execution

view this post on Zulip Brian Postlethwaite (Sep 27 2019 at 07:09):

Can you log that as an issue with the fhir client. Can't believe I have come across that one yet.

view this post on Zulip Brian Postlethwaite (Sep 27 2019 at 07:12):

There are many results that could be appropriate depending on the operation.
For the patient merge there are a handful of values that could come back.
We're trying to document all of them, and the return results.

view this post on Zulip Brian Postlethwaite (Sep 27 2019 at 07:18):

I would expect that could have:
201 Accepted
200 Ok
204 No content
And probably others.
Maybe we should list on the operations page in the core spec and the http summary table the complete set, which is only saying 200.

view this post on Zulip Michele Mottini (Sep 27 2019 at 13:11):

Done: https://github.com/FirelyTeam/fhir-net-api/issues/1129

view this post on Zulip Michele Mottini (Sep 27 2019 at 13:15):

I also created GF#24869

view this post on Zulip Brian Postlethwaite (Sep 27 2019 at 21:59):

Thanks.


Last updated: Apr 12 2022 at 19:14 UTC