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

FI-2348 Add guard for fixed values on slice discriminators #143

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

360dgries
Copy link
Contributor

Added a check in handle_fixed_values that prevents appending unnecessary information to slice subelement must supports.

No change in test output or rspec tests. Elements that are not related to slices that have fixed values are still handled with no changes (see Observation.code for observation_occupation/metadata.yml)

@360dgries
Copy link
Contributor Author

I'm not sure if this needs to be more specific -- like if there are cases where a sub element of a slice has a fixed value, but it is not used within the discriminator of the slice. I couldn't find a case in my inspection, but am definitely still learning the ins and outs of US Core structures.

@360dgries 360dgries merged commit 6a788b5 into main Dec 8, 2023
2 checks passed
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.

None yet

2 participants