There is an error in the schematron validation logic in relation to /:ClinicalDocument/:relatedDocument/:parentDocument/:setId for DKRelatedDocument.
The error message states that The value of @root must be the same as /setId/@root but still fails if the rule is followed.
The test states that: @root != /setId/@root which is in direct contrast with the error message
The error appears both if the values are equal and when they are different
Text: (DKRelatedDocument): The value of @root must be the same as /setId/@root
Test: @root != /setId/@root
See:
Location: /*:ClinicalDocument/*:relatedDocument/*:parentDocument/*:setId
There is an error in the schematron validation logic in relation to /:ClinicalDocument/:relatedDocument/:parentDocument/:setId for DKRelatedDocument.
The error message states that The value of @root must be the same as /setId/@root but still fails if the rule is followed. The test states that: @root != /setId/@root which is in direct contrast with the error message
The error appears both if the values are equal and when they are different
Art-decor: DK RelatedDocument Test output
Example: