You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a domain resource has text attribute with div and status (Narrative) is requested by a query with Accept: application/fhir+xml header, it gives error response as described below.
If it's a read request as get fhir/ResourceType/id, the response is:
<OperationOutcome xmlns="http://hl7.org/fhir">
<issue>
<severity value="error"/>
<code value="invalid"/>
<diagnostics value="Problem while converting JSON to XML:Content is not allowed in prolog."/>
</issue>
</OperationOutcome>
If it's a search requests (fhir/ResourceType?params) that results in a bundle containing that resource, the response is:
<OperationOutcome xmlns="http://hl7.org/fhir">
<issue>
<severity value="error"/>
<code value="invalid"/>
<diagnostics value="Problem while converting JSON to XML:null"/>
</issue>
</OperationOutcome>
The text was updated successfully, but these errors were encountered:
When a domain resource has
text
attribute withdiv
andstatus
(Narrative) is requested by a query withAccept: application/fhir+xml
header, it gives error response as described below.If it's a read request as get fhir/ResourceType/id, the response is:
If it's a search requests (fhir/ResourceType?params) that results in a bundle containing that resource, the response is:
The text was updated successfully, but these errors were encountered: