FHIR Chat · url params on operations · conformance

Stream: conformance

Topic: url params on operations


view this post on Zulip Patrick Werner (Sep 03 2021 at 07:50):

Operations are allowed to include a resource param in the body (if no url params are used): http://hl7.org/fhir/operations.html#request

If, when invoking the operation, there is exactly one input parameter of type Resource (irrespective of whether other possible parameters are defined), that the operation can also be executed by a POST with that resource as the body of the request (and no parameters on the url).

view this post on Zulip Patrick Werner (Sep 03 2021 at 07:51):

But we are using url params on the url while POSTing resources during an operation, e.g. $validate

view this post on Zulip Patrick Werner (Sep 03 2021 at 07:51):

http://hl7.org/fhir/resource-operation-validate.html#examples

view this post on Zulip Patrick Werner (Sep 03 2021 at 07:52):

So the definition on the operations page is wrong?

view this post on Zulip Josh Mandel (Sep 03 2021 at 12:45):

Great point! I think the examples are right, and the spec text is wrong (or at least incomplete / extremely misleading -- it doesn't explicitly state that you can't execute an operation with a resource in and the body as well as query params)

view this post on Zulip Josh Mandel (Sep 03 2021 at 12:46):

Will you file a Jira issue for this @Patrick Werner ?

view this post on Zulip Patrick Werner (Sep 03 2021 at 13:49):

done: https://jira.hl7.org/browse/FHIR-33385


Last updated: Apr 12 2022 at 19:14 UTC