There is an error in the schematron validation logic in relation to /:ClinicalDocument/:relatedDocument/:parentDocument/:id 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
There is an error in the schematron validation logic in relation to /:ClinicalDocument/:relatedDocument/:parentDocument/:id 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: