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

Track code caret rules when simplifying array indexing #247

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

mint-thompson
Copy link
Collaborator

Fixes #245 and completes task CIMPL-1190.

A code caret rule will have an empty path and a non-empty path array. Track them using the path array so that caret paths receive the correct soft indices.

Additionally, update the optimizer to use the now-correct SUSHI functions for path operations.

A code caret rule will have an empty path and a non-empty path array.
Track them using the path array so that caret paths receive the correct
soft indices.
Copy link
Member

@cmoesel cmoesel left a comment

Choose a reason for hiding this comment

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

Good find! And thanks for deleting all that code we don't need anymore!

Copy link
Collaborator

@jafeltra jafeltra left a comment

Choose a reason for hiding this comment

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

This makes sense to me! Good call on deleting those old functions. I tested the round trip and SUSHI is much happier now.

@mint-thompson mint-thompson merged commit 8668264 into master Oct 23, 2023
14 checks passed
@mint-thompson mint-thompson deleted the cimpl-1190-code-system-caret-paths branch October 23, 2023 17:46
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.

French ICD-10 CodeSystem not usable with Sushi after goFSH
3 participants