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

[Bundle] Simplify profile refresh during bundle execution #4715

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

fhibf
Copy link
Contributor

@fhibf fhibf commented Nov 7, 2024

Description

Simplify profile refresh during bundle execution.
In case a bundle contains changes on ValueSet, StructureDefinition and/or CodeSystem, no profile refreshes are executed until the bundle is completed.

This strategy will improve the performance of bundle when handling changes on these resource types.

Bundles were previously delayed due the multiple refreshes and changes on the state of the service.

Related issues

AB#132200

Testing

Testing the improvement, it's noticeable the gain in performance.
With the issue, one of the tests took 160 seconds to execute, and with the fix it only took 2.4 seconds to process the entire bundle.

image

FHIR Team Checklist

Semver Change (docs)

Patch|Skip|Feature|Breaking (reason)

@fhibf fhibf requested a review from a team as a code owner November 7, 2024 22:00
@fhibf fhibf added this to the S153 milestone Nov 7, 2024
@fhibf fhibf added Bug-Performance Performance related bugs. Azure API for FHIR Label denotes that the issue or PR is relevant to the Azure API for FHIR Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs labels Nov 7, 2024
@fhibf fhibf changed the title [Bundle] [Performance] Simplify profile refresh during bundle execution [Bundle] Simplify profile refresh during bundle execution Nov 7, 2024
@fhibf fhibf merged commit 311dade into main Nov 8, 2024
50 of 54 checks passed
@fhibf fhibf deleted the user/fernfe/bundleHandlingProfileUpdates branch November 8, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure API for FHIR Label denotes that the issue or PR is relevant to the Azure API for FHIR Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs Bug-Performance Performance related bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants