Stream: implementers
Topic: Operation outcome on successful create
Elliot Silver (Jun 06 2017 at 17:28):
Is it possible for a server to return an OpertionOutcome on a successful create? I can't find the text that permits this.
Christopher Schuler (Jun 06 2017 at 17:35):
You can return a MethodOutcome with an attached OperationOutcome:
http://hapifhir.io/apidocs/ca/uhn/fhir/rest/api/MethodOutcome.html#setOperationOutcome-org.hl7.fhir.instance.model.api.IBaseOperationOutcome-
Igor Sirkovich (Jun 06 2017 at 17:53):
@Elliot Silver , I believe it's permitted if the client explicitly requests this: http://www.hl7.org/fhir/STU3/http.html#2.21.0.5.2
Elliot Silver (Jun 06 2017 at 18:38):
@Igor Sirkovich Interesting, that isn't even hinted at as a possiblity in http://www.hl7.org/fhir/STU3/http.html#create.
Igor Sirkovich (Jun 06 2017 at 18:52):
Maybe because 2.21.0.14 (create) comes after 2.21.0.5?
Elliot Silver (Jun 06 2017 at 19:27):
Page order isn't all that helpful when following links or searching.
Igor Sirkovich (Jun 06 2017 at 20:32):
I agree. It's just my guess.
Grahame Grieve (Jun 08 2017 at 20:54):
@Elliot Silver, you could create a task to ask us to hint at that on the Create operation
Elliot Silver (Jun 09 2017 at 17:25):
GF#13505 created.
Last updated: Apr 12 2022 at 19:14 UTC