Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plain/text responses are not support for OperationAsync #2924

Open
fonzmeister opened this issue Oct 17, 2024 · 0 comments
Open

plain/text responses are not support for OperationAsync #2924

fonzmeister opened this issue Oct 17, 2024 · 0 comments

Comments

@fonzmeister
Copy link

ℹ️ Do you want to ask something or start a discussion, then go here

ℹ️ Is your bug report about Firely Server Facade, please send an email to server@fire.ly or submit a bug report to Jira if you are a paying customer.

Describe the bug
The function ReadResourceFromMessage throws an exception whenever the response type is not a json/xml. However, for the $convert-data endpoint supported by fhir an plain/text is returned. Please refer to https://github.com/microsoft/fhir-server/blob/main/docs/ConvertDataOperation.md

Note the Content-Type is the response header is set to text/plain because the output format is determined by the mapping definition from your templates.

To Reproduce
Steps to reproduce the behavior:

  1. send a $convert-data request using FhirClient.OperationAsync
  2. See error: Image

Expected behavior
I would expect these return types to be supported since it is part of the fhir standard

Screenshots
If applicable, add screenshots to help explain your problem.

Version used:

  • FHIR Version: r4
  • Version: 5.9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant