-
Notifications
You must be signed in to change notification settings - Fork 365
Remove all non-inheritable extensions from the base profile before snapshotting #2886
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
Merged
mmsmits
merged 14 commits into
develop
from
feature/1814-remove-all-non-inheritable-extensions-from-base
Oct 23, 2024
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6d5ad14
Remove all non-inheritable extensions from the base profile before sn…
mmsmits f22faf9
Merge branch 'develop' into bugfix/2799-test-for-ultra-nested-extensions
mmsmits 6da124f
Merge branch 'develop' into feature/1814-remove-all-non-inheritable-e…
mmsmits 71bfd26
moved SnapshotGeneration extensions to Base
mmsmits 33f2e70
Merge branch 'develop' into feature/1814-remove-all-non-inheritable-e…
mmsmits 7244bd9
removed cref
mmsmits 604abd7
Merge remote-tracking branch 'origin/feature/1814-remove-all-non-inhe…
mmsmits 3eee269
added new suppression files
mmsmits 806545e
Also for Conformance
mmsmits cbcd50e
marked `RemoveAllConstrainedByDiffExtensions` as obsolete
mmsmits 016e7b0
Update src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExte…
mmsmits 40f323b
Update src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExte…
mmsmits 3d2a6ed
Merge branch 'develop' into feature/1814-remove-all-non-inheritable-e…
mmsmits 16c9577
Merge branch 'develop' into feature/1814-remove-all-non-inheritable-e…
ewoutkramer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids --> | ||
| <Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
| <Suppression> | ||
| <DiagnosticId>CP0001</DiagnosticId> | ||
| <Target>T:Hl7.Fhir.Specification.Snapshot.SnapshotGeneratorExtensions</Target> | ||
| <Left>lib/net8.0/Hl7.Fhir.Conformance.dll</Left> | ||
| <Right>lib/net8.0/Hl7.Fhir.Conformance.dll</Right> | ||
| <IsBaselineSuppression>true</IsBaselineSuppression> | ||
| </Suppression> | ||
| <Suppression> | ||
| <DiagnosticId>CP0001</DiagnosticId> | ||
| <Target>T:Hl7.Fhir.Specification.Snapshot.SnapshotGeneratorExtensions</Target> | ||
| <Left>lib/netstandard2.0/Hl7.Fhir.Conformance.dll</Left> | ||
| <Right>lib/netstandard2.0/Hl7.Fhir.Conformance.dll</Right> | ||
| <IsBaselineSuppression>true</IsBaselineSuppression> | ||
| </Suppression> | ||
| </Suppressions> |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids --> | ||
| <Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
| <Suppression> | ||
| <DiagnosticId>CP0001</DiagnosticId> | ||
| <Target>T:Hl7.Fhir.Specification.Snapshot.SnapshotGeneratorExtensions</Target> | ||
| <Left>lib/net8.0/Hl7.Fhir.STU3.dll</Left> | ||
| <Right>lib/net8.0/Hl7.Fhir.STU3.dll</Right> | ||
| <IsBaselineSuppression>true</IsBaselineSuppression> | ||
| </Suppression> | ||
| <Suppression> | ||
| <DiagnosticId>CP0001</DiagnosticId> | ||
| <Target>T:Hl7.Fhir.Specification.Snapshot.SnapshotGeneratorExtensions</Target> | ||
| <Left>lib/netstandard2.0/Hl7.Fhir.STU3.dll</Left> | ||
| <Right>lib/netstandard2.0/Hl7.Fhir.STU3.dll</Right> | ||
| <IsBaselineSuppression>true</IsBaselineSuppression> | ||
| </Suppression> | ||
| </Suppressions> |
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
118 changes: 0 additions & 118 deletions
118
src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorExtensions.cs
This file was deleted.
Oops, something went wrong.
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this method replace the original ones? So RemoveallNonInheritableExtension replaces RemoveAllConstrainedByDiffExtensions? If so, should we not remove/obsolete the original method?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I thought about that, but didn't dare to since Forge might be using the ConstraintByDiff extension one maybe?
And that is a bit faster (I don't know if it might be noticeable in a UI).
@Rob5045 any feedback here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forge does not use the RemoveAllConstrainedByDiffExtensions extension.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I'll Obsolete is then
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm working on supporting extensions on element definition properties in Forge. That would mean that the UI won't be cluttered with these I guess? That would be nice.

Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName? I see that one all the time as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not on the list:
We only made this fix for category 5 of this list:
https://jira.hl7.org/browse/FHIR-28441?focusedCommentId=177188&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-177188