HL7 / fhircast-docs

FHIRcast documentation
Other
23 stars 21 forks source link

permit POST method in bundle #532

Closed isaacvetter closed 9 months ago

isaacvetter commented 9 months ago

Probably mistakenly removed in this commit: https://github.com/HL7/fhircast-docs/commit/9dadb18f72e75b2e4940cf0ca61ac715b26c3bd6 as part of this PR: https://github.com/HL7/fhircast-docs/pull/480

Related to: https://jira.hl7.org/browse/FHIR-36977

EricOnFHIR commented 9 months ago

Bas recommended that remove POST since the Subscriber first providing the resource is required to provide the resource.id; while it is permitted in the FHIR specification to provide a resource.id in a POST, the more common approach is that a POST does not provide a resource.id and rather the FHIR server generates the resource.id.

It was discussed if the generation of a resource.id should become the responsibility of the Hub; however, it was decided not to take this approach. Rather it was decided to only use a PUT and prohibit a POST. A PUT to create a resource is permitted in FHIR and is also a commonly accepted practice in RESTful services in general.

Hence, the removal of POST was intentional.

isaacvetter commented 9 months ago

Discussion here: https://confluence.hl7.org/pages/viewpage.action?pageId=220702387

Removal of POST was itnentional. Will add request for implementer feedback instead of re-adding POST.