{"action":"reopened","issue":{"url":"https://api.github.com/repos/openEHR/specifications-ITS/issues/35","repository_url":"https://api.github.com/repos/openEHR/specifications-ITS","labels_url":"https://api.github.com/repos/openEHR/specifications-ITS/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/openEHR/specifications-ITS/issues/35/comments","events_url":"https://api.github.com/repos/openEHR/specifications-ITS/issues/35/events","html_url":"https://github.com/openEHR/specifications-ITS/issues/35","id":251469360,"number":35,"title":"PUT /ehr/{ehrId}/ehr_status status 412 implications / questions","user":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars2.githubusercontent.com/u/1278556?v=4","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"labels":[{"id":247211776,"url":"https://api.github.com/repos/openEHR/specifications-ITS/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-20T06:10:24Z","updated_at":"2017-08-22T08:45:28Z","closed_at":null,"body":"Current:\r\n\r\n1.\r\n`The existing `versionUid` of `EHR_STATUS` resource must be specified in the `Match-If` header.`\r\nRef https://github.com/openEHR/specifications-ITS/blob/master/apiary.apib#L436\r\n\r\n2.\r\n```\r\n+ Response 412\r\n    `412 Conflict` is return when `Match-If` header doesn't match the latest trunk version. \r\n    Returns latest trunk version in the `Content-Location` and `ETag` headers.\r\n```\r\nhttps://github.com/openEHR/specifications-ITS/blob/master/apiary.apib#L548-L551\r\n\r\nDoes 2. implies that versionUid described in 1. should be the current trunk version? Or can versionUid be the UID of any version of the EHR_STATUS?\r\n\r\nIf it can be only the trunk version, is the versionUid needed? I think knowing the ehrUid and that the status is the trunk, that identifies just one version of the status."}}
{"actor":{"display_login":"bostjanl"}}