{"action":"opened","issue":{"url":"https://api.github.com/repos/ewoutkramer/fhir-net-api/issues/60","labels_url":"https://api.github.com/repos/ewoutkramer/fhir-net-api/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/ewoutkramer/fhir-net-api/issues/60/comments","events_url":"https://api.github.com/repos/ewoutkramer/fhir-net-api/issues/60/events","html_url":"https://github.com/ewoutkramer/fhir-net-api/issues/60","id":60663230,"number":60,"title":"Serializing a bundle with summary=true results in empty bundle ","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},"labels":[{"url":"https://api.github.com/repos/ewoutkramer/fhir-net-api/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ewoutkramer/fhir-net-api/milestones/2","html_url":"https://github.com/ewoutkramer/fhir-net-api/milestones/DSTU2","labels_url":"https://api.github.com/repos/ewoutkramer/fhir-net-api/milestones/2/labels","id":982534,"number":2,"title":"DSTU2","description":"","creator":{"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},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-02-17T08:40:25Z","updated_at":"2015-03-11T14:06:43Z","due_on":"2015-05-07T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-03-11T14:06:43Z","updated_at":"2015-03-11T14:06:43Z","closed_at":null,"body":"There is a need to serialize a bundle that contains the summaries of the resources in the bundle. But serializing a bundle with summary=true results in an empty bundle (the bundle it self is summary'd).\r\n```csharp\r\nXmlWriter writer = new XmlTextWriter(writeStream, Encoding.UTF8);\r\nFhirSerializer.SerializeResource(bundle, writer, summary: true);\r\n```\r\n"}}