Describe the bug
Transactions and batches which contain search entries specifying HTTP POST (i.e., FhirClient's .SearchUsingPost() method) return Parameters objects in the resulting Bundle rather than the results of the search.
If the transaction includes search via HTTP GET, its results will be returned as expected. (I.e., only HTTP POST is affected)
To Reproduce
Steps to reproduce the behavior:
- Seed a FHIR resource.
- Create a
TransactionBuilder from your FHIR Client and use its .SearchUsingPost() method to add a FHIR search for the resource just created.
- Convert the
TransactionBuilder to a Bundle and send it via a FhirClient.
- Observe the response
Bundle entries. You won't find the resource you were searching for.
Expected behavior
Returned Bundle is expected to contain the search results, rather than a saved Parameters resource.
Spark version
Operating system + Database
- OS: Linux
- Database: AWS DocumentDB
Container service / Cloud infrastructure:
- Container service: AWS ECS
- Cloud provider: AWS
- Cloud infrastructure: Docker container
- Database as a service: AWS DocumentDB w/MongoDB compatibility
Describe the bug
Transactions and batches which contain search entries specifying
HTTP POST(i.e.,FhirClient's.SearchUsingPost()method) returnParametersobjects in the resultingBundlerather than the results of the search.If the transaction includes search via
HTTP GET, its results will be returned as expected. (I.e., onlyHTTP POSTis affected)To Reproduce
Steps to reproduce the behavior:
TransactionBuilderfrom your FHIR Client and use its.SearchUsingPost()method to add a FHIR search for the resource just created.TransactionBuilderto aBundleand send it via aFhirClient.Bundleentries. You won't find the resource you were searching for.Expected behavior
Returned
Bundleis expected to contain the search results, rather than a savedParametersresource.Spark version
2.3.4Operating system + Database
Container service / Cloud infrastructure: