Skip to content

Commit

Permalink
Update Orchestration to Account for Update to Save FHIR Endpoint (#2554)
Browse files Browse the repository at this point in the history
* Add metadata to save fhir data api

* More detailed error handling

* Add metadata saving to S3 saving

* Move metadata to new endpoint

* Revert changes to save fhir data route

* Update error messages to include Azure

* Remove S3, Azure saving for metadata.

* Add metadata endpoint  to the fhir data save endpoint

* Update a couple of tests

* Update status code in test

* Update save-fhir-data in Orchestration

* Add metadata to save fhir data api

* More detailed error handling

* Add metadata saving to S3 saving

* Move metadata to new endpoint

* Revert changes to save fhir data route

* Update error messages to include Azure

* Remove S3, Azure saving for metadata.

* Add metadata endpoint  to the fhir data save endpoint

* Update a couple of tests

* Update status code in test

* Update save-fhir-data in Orchestration

* Revert some changes from old branch

---------

Co-authored-by: Josh Nygaard <[email protected]>
  • Loading branch information
JNygaard-Skylight and joshnygaard authored Sep 17, 2024
1 parent e2b6520 commit 9163579
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ def build_save_fhir_data_body(
"workflow_params": workflow_params,
},
):
return {
request = {
"fhirBundle": input_msg,
"saveSource": workflow_params.get("saveSource"),
}

if workflow_params.get("metadata") is not None:
request["metadata"] = workflow_params.get("metadata")

return request

0 comments on commit 9163579

Please sign in to comment.