Stream: implementers
Topic: history bundle versioned request.url
Maximilian Reith (Nov 30 2020 at 07:43):
Hey,
all of my resources in this history bundle are versioned e.g. PractitionerRole/1010BehFft/_history/1.
I would like to know if i have to reference in a versioned way in bundle.request.url, too?
<request>
<method value="PUT"/>
<url value="PractitionerRole/1010BehFft/_history/1"/>
</request>
or
<request>
<method value="PUT"/>
<url value="PractitionerRole/1010BehFft"/>
</request>
since https://www.hl7.org/fhir/bundle-definitions.html#Bundle.entry.request.url does not assume that. And the version could be identified by the transmitted resource .
Maximilian Reith (Dec 01 2020 at 08:44):
BUMP
Michele Mottini (Dec 01 2020 at 14:28):
Not for a PUT - you do not PUT to a version, you PUT to the main resource (and that creates a new version if something gets changed)
Michele Mottini (Dec 01 2020 at 14:28):
For a GET yes, you can use the versioned URL
Maximilian Reith (Dec 02 2020 at 06:43):
Thanks
Last updated: Apr 12 2022 at 19:14 UTC