Stream: implementers
Topic: URL for conditional create/delete?
Andy Schriever (Apr 25 2016 at 14:55):
The REST documentation (https://www.hl7.org/fhir/http.html) for conditional update/delete appears to specify a URL with a trailing slash:
Andy Schriever (Apr 25 2016 at 14:55):
PUT [base]/[type]/?[search parameters]
Andy Schriever (Apr 25 2016 at 14:55):
DELETE [base]/[type]/?[search parameters]
Andy Schriever (Apr 25 2016 at 14:56):
But the examples given don't match this format:
Andy Schriever (Apr 25 2016 at 14:56):
PUT /Observation?identifier=http://my-lab-system|123
Andy Schriever (Apr 25 2016 at 14:56):
DELETE /Observation?identifier=http://my-lab-system|123
Andy Schriever (Apr 25 2016 at 14:56):
Which is correct?
Igor Sirkovich (Apr 25 2016 at 19:00):
The examples are correct. This has been fixed in the new release: https://www.hl7.org/fhir/2016May/http.html
Andy Schriever (Apr 25 2016 at 20:11):
Got it -- thanks!
Last updated: Apr 12 2022 at 19:14 UTC