Skip to content

Conversation

@peterdanielssonservicewell

This PR enhances the Filter GetProperty method across all processors to ensure that both code mappings CodeSystem/CodeSystem and ValueSet/ValueSet are read by default.

Resolves #468

Changes

  • Context Initialization
    Adjusted context setup so that both default mappings are automatically loaded into the environment, ensuring they are available during property access.
  • Adds support for combining multiple CodeMapping instances by introducing the CodeMapping.Append() method.
  • Splits CreateContext(...) into CreateBaseContext(...) and CreateContext(...) for improved separation of context initialization logic.

Impact

This change improves consistency and reliability when processing filters across different processors by guaranteeing that both default mappings are always considered. There are no breaking changes expected for consumers relying on the current behavior, as the default mappings remain unchanged.

Filter.GetProperty method is made available across all processors. Code mappings CodeSystem/CodeSystem and ValueSet/ValueSet are read by default
@peterdanielssonservicewell
Copy link
Author

@microsoft-github-policy-service agree company="Service Well"

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.

CodeMapping Context should be added on the Json processor.

1 participant