Skip to content

Validation tool gives non-descriptive error message for errors in a slice #745

Closed

Description

The attached example has a fixed code value in the fragment below which does not correspond with the one in ITK-EDIS-Composition-1.mxl in the profiles/constraints folder. Rather than outputting a message stating that the code value does not correspond to the fixed code (which I have seen occurring for a non-sliced element in such a scenario), the validator outputs

[ERROR] Element does not match any slice, but the group at 'Composition.section' is closed. (at Bundle.entry[0].resource[0].section[0]).

Although this does direct the user to the correct section, it does not give as descriptive an error as it would when such an error appears outside a slice. If a section has many elements in an example, the general nature of this error could mean the user finds it difficult to locate the problem. Could a more descriptive error message be put in place for this erro?
profiles.zip
ITK-EDIS-Example-1-Test.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions