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

Add forward-compatible flag to validator #517

Open
lmckenzi opened this issue May 26, 2021 · 8 comments
Open

Add forward-compatible flag to validator #517

lmckenzi opened this issue May 26, 2021 · 8 comments
Labels
enhancement New feature or request validation-core

Comments

@lmckenzi
Copy link
Collaborator

(from https://jira.hl7.org/browse/FHIR-13414)

The commitment of "normative" in common use is "no breaking changes". Acknowledging that the precise definition is TBD, one aspect I've heard frequently is the ability to add optional, non-modifier elements to existing resources. The intention as I understand it is for systems with normative definitions to ignore these new elements.

In practice today however, all validators reject resources with elements not included in the release of FHIR validated against. This means that a post-normative addition would be rejected by a validator using an earlier normative release.

Make the change and also provide documentation for other validators to follow (and/or test cases)

@grahamegrieve grahamegrieve added enhancement New feature or request validation-core labels Jun 1, 2021
@grahamegrieve
Copy link
Collaborator

this seems like a very unlikely change to make for the validator. There'd really be no way to decide if the content was valid or not

@lmckenzi
Copy link
Collaborator Author

lmckenzi commented Jun 1, 2021

If a validator is being used in a production system, and the production system wants to be 'forward compatible', this is needed. It's fine to spit out warnings saying "hey, this thing isn't valid in the version of FHIR you're using, but might be in a future one". But they wouldn't want it to raise an error. That's definitely a validation thing.

@stale
Copy link

stale bot commented Nov 23, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 23, 2021
@lmckenzi lmckenzi removed the wontfix This will not be worked on label Nov 23, 2021
@stale
Copy link

stale bot commented May 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label May 17, 2022
@stale stale bot closed this as completed May 23, 2022
@lmckenzi lmckenzi reopened this May 23, 2022
@stale stale bot removed the wontfix This will not be worked on label May 23, 2022
@stale
Copy link

stale bot commented Nov 14, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 14, 2022
@lmckenzi lmckenzi removed the wontfix This will not be worked on label Nov 14, 2022
@stale
Copy link

stale bot commented May 8, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label May 8, 2023
@lmckenzi lmckenzi removed the wontfix This will not be worked on label May 9, 2023
Copy link

stale bot commented Nov 2, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 2, 2023
@lmckenzi lmckenzi removed the wontfix This will not be worked on label Nov 3, 2023
Copy link

stale bot commented May 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label May 3, 2024
@lmckenzi lmckenzi removed the wontfix This will not be worked on label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request validation-core
Projects
None yet
Development

No branches or pull requests

2 participants