The spec and the C# reference library seem to different regarding the media types for fhir.
I would think that they should be:
- application/fhir+xml
- application/atom+xml
- application/fhir+json
What's the official answer?
The correct value has changed. The specification used to say "application/fhir+json" and "application/fhir+xml", but we changed it, after ballot, to "application/json+fhir" or "application/xml+fhir".
The reference implementations and servers still haven't caught up to this change. They will in the next few weeks.
The correct mime types are:
application/xml+fhir - xml resourceapplication/atom+xml - xml resource bundleapplication/json+fhir - json resource or resource bundle