-
Type:
Change Request
-
Resolution: Persuasive with Modification
-
Priority:
Medium
-
FHIR Core (FHIR)
-
STU3
-
FHIR Infrastructure
-
STU
-
REST (http)
-
3.1.0.4.3
-
-
Rick Geimer/Christiaan Knaap: 20-0-1
-
Correction
-
Non-substantive
-
STU3
The current definition of conditional update states:
"No matches: The server treats the interaction as an Update as Create interaction (or rejects it, if it does not support Update as Create)"
But "Update as Create" is an optional part of the API ("Servers MAY choose ..."). It also talks about ids, which typically are not present here - The main use case of Conditional Update is not knowing the id, but other unique identifying data within a resource.
Following that wording, a Conditional Update on a server that does not support "Update as Create" will result in discarding the resource if it doesn't exist.
And even if the server supports "Update as Create", an id would have to be provided by the client, since that is what "Update as Create" talks about. That is not the typical use case, especially in the context of Conditional Update.
Proposal:
Change the "No matches" bullet of the Conditional Update section as follows:
No matches, no id provided: The server creates the resource.
No matches, id provided: The server treats the interaction as an Update as Create interaction (or rejects it, if it does not support Update as Create)"
See also the Zulip discussion:
- is voted on by
-
BALLOT-6422 Negative - Stefan Lang : 2018-Sep-FHIR R4
- Balloted