Skip to content

[Do not review] [Bundles] Refactoring + new tests - #5735

Open
Fernando Henrique Inocêncio Borba Ferreira (fhibf) wants to merge 5 commits into
mainfrom
user/fhibf/newBundleTests
Open

[Do not review] [Bundles] Refactoring + new tests#5735
Fernando Henrique Inocêncio Borba Ferreira (fhibf) wants to merge 5 commits into
mainfrom
user/fhibf/newBundleTests

Conversation

@fhibf

Copy link
Copy Markdown
Contributor

Refactoring + new tests.

Related issues

Addresses [issue #].

Testing

Describe how this change was tested.

FHIR Team Checklist

  • Update the title of the PR to be succinct and less than 65 characters
  • Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
  • Tag the PR with the type of update: Bug, Build, Dependencies, Enhancement, New-Feature or Documentation
  • Tag the PR with Open source, Azure API for FHIR (CosmosDB or common code) or Azure Healthcare APIs (SQL or common code) to specify where this change is intended to be released.
  • Tag the PR with Schema Version backward compatible or Schema Version backward incompatible or Schema Version unchanged if this adds or updates Sql script which is/is not backward compatible with the code.
  • When changing or adding behavior, if your code modifies the system design or changes design assumptions, please create and include an ADR.
  • CI is green before merge Build Status
  • Review squash-merge requirements

Semver Change (docs)

Patch|Skip|Feature|Breaking (reason)

@fhibf Fernando Henrique Inocêncio Borba Ferreira (fhibf) added Enhancement Enhancement on existing functionality. Enhancement-Test Enhancement on tests. No-Issue-Activity This issue is now considered stale and will be closed soon 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 No-PaaS-breaking-change No-ADR ADR not needed labels Aug 19, 2026
{
if (param.Code != null && param.Base != null)
{
var allResourceTypes = SearchParameterDefinitionManager.GetDerivedResourceTypes(modelInfoProvider, param.Base.Where(_ => _ != null).Select(_ => _.Value.ToString()).ToList());
_optimizedQuerySet = SetRequestContextWithOptimizedQuerying(_outerHttpContext, fhirRequestContextAccessor.RequestContext, _logger);

_isBundleProcessingLogicValid = _bundleOrchestrator.IsEnabled ? BundleHandlerRuntime.IsBundleProcessingLogicValid(_outerHttpContext) : true;
_isBundleProcessingLogicValid = _bundleOrchestrator.IsEnabled ? BundleHandlerOperations.IsBundleProcessingLogicValid(_outerHttpContext) : true;
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.19%. Comparing base (fd26b9b) to head (2a0f1eb).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5735      +/-   ##
==========================================
+ Coverage   77.15%   77.19%   +0.03%     
==========================================
  Files        1011     1012       +1     
  Lines       37278    37295      +17     
  Branches     5678     5681       +3     
==========================================
+ Hits        28762    28790      +28     
+ Misses       7137     7130       -7     
+ Partials     1379     1375       -4     

see 17 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fhibf Fernando Henrique Inocêncio Borba Ferreira (fhibf) changed the title [Bundles] Refactoring + new tests [Do not review] [Bundles] Refactoring + new tests Aug 19, 2026
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 Enhancement Enhancement on existing functionality. Enhancement-Test Enhancement on tests. No-ADR ADR not needed No-Issue-Activity This issue is now considered stale and will be closed soon No-PaaS-breaking-change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants