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

Fix fhirpath expression evaluation with _fhirpath parameter when resolve() references resources within a Bundle #5565

Conversation

codeforgreen
Copy link
Collaborator

@codeforgreen codeforgreen commented Dec 21, 2023

#5564

General idea with the fix.

I reused some logic that was previously in method resolveResourceInBundleWithPlaceholderId which resolved references for SearchParameter evaluation and moved it to the BundleUtil class. I then reused in the the interceptor for _fhirpath search parameter.

…lve() references resources within a Bundle
Copy link

github-actions bot commented Dec 21, 2023

Formatting check succeeded!

Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2f5ffe7) 81.32% compared to head (c17ad1b) 83.32%.
Report is 415 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5565      +/-   ##
============================================
+ Coverage     81.32%   83.32%   +1.99%     
- Complexity    23650    26661    +3011     
============================================
  Files          1425     1646     +221     
  Lines         86399   103136   +16737     
  Branches      11677    13119    +1442     
============================================
+ Hits          70265    85937   +15672     
- Misses        10947    11560     +613     
- Partials       5187     5639     +452     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@jmarchionatto jmarchionatto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Approved with a few suggestions

@jmarchionatto jmarchionatto merged commit effbc98 into master Jan 9, 2024
66 checks passed
@jmarchionatto jmarchionatto deleted the mm-20231220-fhirpath-expressions-with-resolve-does-not-work-within-bundle branch January 9, 2024 18:15
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

Successfully merging this pull request may close these issues.

None yet

2 participants