Add support for applicability behavior in $apply#666
Merged
Conversation
|
Formatting check succeeded! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #666 +/- ##
============================================
+ Coverage 71.50% 71.52% +0.02%
Complexity 153 153
============================================
Files 475 475
Lines 22247 22270 +23
Branches 2862 2868 +6
============================================
+ Hits 15907 15928 +21
Misses 4922 4922
- Partials 1418 1420 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
brynrhodes
approved these changes
May 16, 2025
Member
brynrhodes
left a comment
There was a problem hiding this comment.
Looks good, and I'll note the trackers this is relevant to:
https://jira.hl7.org/browse/FHIR-50150
https://jira.hl7.org/browse/FHIR-50490
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Add support for
allandanyapplicability behavior when processing actions during the PlanDefinition/$apply operation.all- meaning the current behavior of evaluating the applicability of each child action independently.any- meaning that each child action will be evaluated in order, and the first action that returns an applicability of true will be performed, and processing of the parent action will stop.The behavior is indicated on the action by the extension "http://hl7.org/fhir/StructureDefinition/cqf-applicabilityBehavior" with a value type of
code.If not specified, the current default behavior of
allis used.