{"action":"created","issue":{"url":"https://api.github.com/repos/furore-fhir/spark/issues/98","repository_url":"https://api.github.com/repos/furore-fhir/spark","labels_url":"https://api.github.com/repos/furore-fhir/spark/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/furore-fhir/spark/issues/98/comments","events_url":"https://api.github.com/repos/furore-fhir/spark/issues/98/events","html_url":"https://github.com/furore-fhir/spark/issues/98","id":172891245,"number":98,"title":"Conditional Create not working","user":{"login":"Crudelus","id":4181010,"avatar_url":"https://avatars.githubusercontent.com/u/4181010?v=3","gravatar_id":"","url":"https://api.github.com/users/Crudelus","html_url":"https://github.com/Crudelus","followers_url":"https://api.github.com/users/Crudelus/followers","following_url":"https://api.github.com/users/Crudelus/following{/other_user}","gists_url":"https://api.github.com/users/Crudelus/gists{/gist_id}","starred_url":"https://api.github.com/users/Crudelus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crudelus/subscriptions","organizations_url":"https://api.github.com/users/Crudelus/orgs","repos_url":"https://api.github.com/users/Crudelus/repos","events_url":"https://api.github.com/users/Crudelus/events{/privacy}","received_events_url":"https://api.github.com/users/Crudelus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/furore-fhir/spark/milestones/9","html_url":"https://github.com/furore-fhir/spark/milestones/Spark%2013%20-%20Baltimore","labels_url":"https://api.github.com/repos/furore-fhir/spark/milestones/9/labels","id":1596533,"number":9,"title":"Spark 13 - Baltimore","description":"","creator":{"login":"mbaltus","id":7910878,"avatar_url":"https://avatars.githubusercontent.com/u/7910878?v=3","gravatar_id":"","url":"https://api.github.com/users/mbaltus","html_url":"https://github.com/mbaltus","followers_url":"https://api.github.com/users/mbaltus/followers","following_url":"https://api.github.com/users/mbaltus/following{/other_user}","gists_url":"https://api.github.com/users/mbaltus/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaltus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaltus/subscriptions","organizations_url":"https://api.github.com/users/mbaltus/orgs","repos_url":"https://api.github.com/users/mbaltus/repos","events_url":"https://api.github.com/users/mbaltus/events{/privacy}","received_events_url":"https://api.github.com/users/mbaltus/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2016-02-22T09:14:22Z","updated_at":"2016-08-30T07:42:05Z","due_on":"2016-09-15T22:00:00Z","closed_at":null},"comments":3,"created_at":"2016-08-24T08:14:45Z","updated_at":"2016-08-30T07:47:00Z","closed_at":null,"body":"Currently the Conditional Create seems to not work properly. I Create the Example Substance with a POST:\r\n\r\n`<Substance xmlns=\"http://hl7.org/fhir\">\r\n <!--   \r\n  <text>\r\n    <status value=\"generated\"/>\r\n    <div xmlns=\"http://www.w3.org/1999/xhtml\">Apitoxin (known as Honey Bee Venom)</div>\r\n  </text>\r\n   -->\r\n  <text><status value=\"generated\"/><div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>identifier</b>: 1463</p><p><b>category</b>: Allergen <span>(Details : {http://hl7.org.fhir/substance-category code 'allergen' = '??', given as 'Allergen'})</span></p><p><b>code</b>: apitoxin (Honey Bee Venom) <span>(Details )</span></p></div></text><identifier>\r\n    <system value=\"http://acme.org/indentifiers/substances\"/>\r\n    <value value=\"1463\"/>\r\n  </identifier>\r\n  <category>\r\n    <coding>\r\n      <system value=\"http://hl7.org.fhir/substance-category\"/>\r\n      <code value=\"allergen\"/>\r\n      <display value=\"Allergen\"/>\r\n    </coding>\r\n  </category>\r\n  <code>\r\n    <text value=\"apitoxin (Honey Bee Venom)\"/>\r\n  </code>\r\n</Substance>`\r\n\r\nand the additional Header:  If-None-Exist: Substance?identifier=http://acme.org/indentifiers/substances|1463\r\nmultiple times, but always got the 201 Created header instead a 200 OK with a content location according to the prior created resource. \r\n\r\nAccording to FHIR Rest API: [Link](https://www.hl7.org/fhir/http.html#ccreate)\r\n\r\nThank you for your splendid work,\r\nDaniel"},"comment":{"url":"https://api.github.com/repos/furore-fhir/spark/issues/comments/243359792","html_url":"https://github.com/furore-fhir/spark/issues/98#issuecomment-243359792","issue_url":"https://api.github.com/repos/furore-fhir/spark/issues/98","id":243359792,"user":{"login":"mharthoorn","id":5794473,"avatar_url":"https://avatars.githubusercontent.com/u/5794473?v=3","gravatar_id":"","url":"https://api.github.com/users/mharthoorn","html_url":"https://github.com/mharthoorn","followers_url":"https://api.github.com/users/mharthoorn/followers","following_url":"https://api.github.com/users/mharthoorn/following{/other_user}","gists_url":"https://api.github.com/users/mharthoorn/gists{/gist_id}","starred_url":"https://api.github.com/users/mharthoorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mharthoorn/subscriptions","organizations_url":"https://api.github.com/users/mharthoorn/orgs","repos_url":"https://api.github.com/users/mharthoorn/repos","events_url":"https://api.github.com/users/mharthoorn/events{/privacy}","received_events_url":"https://api.github.com/users/mharthoorn/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T07:47:00Z","updated_at":"2016-08-30T07:47:00Z","body":"This is not yet updated in the Spark server (spark.furore.com). We will update it soon."}}
{"actor":{"display_login":"mharthoorn"}}