Details
-
Change Request
-
Resolution: Persuasive with Modification
-
Medium
-
FHIR Core (FHIR)
-
R4
-
FHIR Infrastructure
-
operations
-
-
Alexander Zautke / Gino Canessa: 10-0-0
-
Clarification
-
Compatible, substantive
-
R5
Description
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).
But we are using url params on the url while POSTing resources during an operation, e.g. $validate
http://hl7.org/fhir/resource-operation-validate.html#examples
I think the examples are correct, but the wording isn't and should be changed to sth. similar to:
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 the other parameters on the url).