{"action":"opened","issue":{"url":"https://api.github.com/repos/fhirbase/fhirbase-plv8/issues/65","labels_url":"https://api.github.com/repos/fhirbase/fhirbase-plv8/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/fhirbase/fhirbase-plv8/issues/65/comments","events_url":"https://api.github.com/repos/fhirbase/fhirbase-plv8/issues/65/events","html_url":"https://github.com/fhirbase/fhirbase-plv8/issues/65","id":124211366,"number":65,"title":"Deleted version and Vread of deleted version","user":{"login":"Andrzej-Pietrzak","id":10884195,"avatar_url":"https://avatars.githubusercontent.com/u/10884195?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrzej-Pietrzak","html_url":"https://github.com/Andrzej-Pietrzak","followers_url":"https://api.github.com/users/Andrzej-Pietrzak/followers","following_url":"https://api.github.com/users/Andrzej-Pietrzak/following{/other_user}","gists_url":"https://api.github.com/users/Andrzej-Pietrzak/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrzej-Pietrzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrzej-Pietrzak/subscriptions","organizations_url":"https://api.github.com/users/Andrzej-Pietrzak/orgs","repos_url":"https://api.github.com/users/Andrzej-Pietrzak/repos","events_url":"https://api.github.com/users/Andrzej-Pietrzak/events{/privacy}","received_events_url":"https://api.github.com/users/Andrzej-Pietrzak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-29T13:31:07Z","updated_at":"2015-12-29T13:31:07Z","closed_at":null,"body":"On v0.0.1-beta.5\r\n\r\nAs this might seem obscure the fhir spec suggests that deletion creates an empty entry in the history, just a mark a deletion happened.\r\n\r\nFrom: http://www.hl7.org/implement/standards/fhir/http.html#delete\r\n\" For servers that maintain a version history, the delete interaction does not remove a resource's version history. From a version history respect, deleting a resource is the equivalent of creating a special kind of history entry that has no content and is marked as deleted. \"\r\n\r\nAlso: Vreading that particular version should return a message instead of the resource\r\n\r\nFrom: http://www.hl7.org/implement/standards/fhir/http.html#vread\r\n\" If the version referred to is actually one where the resource was deleted, the server should return a 410 status code. \"\r\n\r\nWhat do you think about adding a status code for that situation instead of a entity ?"}}