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

$import operation response #23

Open
cooperthompson opened this issue Apr 9, 2024 · 2 comments
Open

$import operation response #23

cooperthompson opened this issue Apr 9, 2024 · 2 comments

Comments

@cooperthompson
Copy link

Currently, the Inferno test kit will return an HTML page in response to the $import operation. It still isn't super clear to me that this is not valid, since the $import operation doesn't define any outputs. And the FHIR core spec doesn't really have any clear language on what the response should be in those cases.

But there is at least some folks that think it isn't expected:
https://chat.fhir.org/#narrow/stream/179166-implementers/topic/Allowed.20responses.20for.20FHIR.20Operations

My suggestion is that Inferno just return a raw HTTP status code without any content, instead of returning an HTML page.

@cooperthompson
Copy link
Author

Also, the UDS spec says the response to the $import operation should include a Content-Location header for the endpoint the submitter should use to poll for the import job status.

@ljtucker
Copy link
Contributor

ljtucker commented May 6, 2024

The POST tests in the UDS+ Inferno Test Kit (e.g., Receive UDS+ Import Manifest via POST request, which is one of our first requests when a UDS+ Volunteer Tester is practicing connectivity) are only acting as a rudimentary data receiver compared to the UDS+ Sandbox (which actually tests against an endpoint (valid conformant server/s). These tests are not a valid test of the FHIR submission process, but an initial practice run to see if your synthetic test data is healthy and likely ready for submitting to the UDS+ sandbox. If you are looking for a JSON response instead of HTML, then we advise obtaining access to the UDS+ sandbox.

FYI @arscan

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

2 participants