Skip to content

Refactored FhirPath engine to work against IScopedNode - #2964

Merged
Kasdejong merged 10 commits into
develop-6.0from
spike/refactor-fp-engine-iscopednode
Nov 20, 2024
Merged

Refactored FhirPath engine to work against IScopedNode#2964
Kasdejong merged 10 commits into
develop-6.0from
spike/refactor-fp-engine-iscopednode

Conversation

@Kasdejong

@Kasdejong Kasdejong commented Nov 13, 2024

Copy link
Copy Markdown
Member

Description

The FhirPath engine now works against IScopedNode

Related issues

#2915

Testing

All existing FP tests are running except for a few cases of polymorphism. These are ignored for now in wait of refactoring against Base.

Breaking changes

Refactored most signatures in the internals of the FP engine to use IScopedNode instead of ITypedElement. Surface API remains unchanged (through extension methods on ITE and Base), apart from changes to the FhirEvaluationContext fields.

@Kasdejong
Kasdejong changed the base branch from develop to spike/define-Iscopednode November 13, 2024 11:17
Base automatically changed from spike/define-Iscopednode to develop-6.0 November 13, 2024 13:59
Comment thread src/Hl7.Fhir.Base/FhirPath/Expressions/Invokee.cs Outdated
Comment thread src/Hl7.Fhir.Base/FhirPath/Expressions/SymbolTableInit.cs Outdated
Comment thread src/Hl7.Fhir.Base/FhirPath/Expressions/Typecasts.cs Outdated
Comment thread src/Hl7.Fhir.Base/FhirPath/Functions/CollectionOperators.cs Outdated
Comment thread src/Hl7.Fhir.Base/FhirPath/Functions/CollectionOperators.cs Outdated
Comment thread src/Hl7.FhirPath.R4.Tests/PocoTests/FhirPathParallelTest.cs Outdated
Comment thread src/Hl7.FhirPath.R4.Tests/PocoTests/FhirPathTest.cs Outdated
Comment thread src/Hl7.FhirPath.R4.Tests/PocoTests/FhirPathTest.cs Outdated
Comment thread src/Hl7.FhirPath.Tests/Functions/FunctionsTests.cs Outdated
Comment thread src/Hl7.FhirPath.Tests/Tests/CastTests.cs Outdated
@Kasdejong
Kasdejong marked this pull request as ready for review November 13, 2024 18:15
@Kasdejong

Copy link
Copy Markdown
Member Author

I'm assuming I can mark the conversations as resolved since you approved the PR @ewoutkramer?

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.

2 participants