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

Validation: conformsTo does not show the error when failing #197

Closed
oliveregger opened this issue Feb 21, 2024 · 1 comment
Closed

Validation: conformsTo does not show the error when failing #197

oliveregger opened this issue Feb 21, 2024 · 1 comment

Comments

@oliveregger
Copy link
Member

Background when validating with ch-elm, https://fhir.ch/ig/ch-elm/StructureDefinition-PublishDocumentReference.html:

If we test the ConceptMap CH ELM Expecting Specimen Specification To Results Completion Vs and intentionally send a specimen code that is not allowed per valueset ("geni_spec"), then the document is correctly rejected, but the error message is misleading ('Must have a resolvable URL conforming to the CH-ELM Bundle.') and says nothing about the actual problem why it is not conform.

@oliveregger
Copy link
Member Author

we will solve it with a more explicit slicing, increasing the error detail in the invariant is problematic, because we don't know exactly if the the conformsTo error would be the cause of failing the invariant

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

No branches or pull requests

1 participant