FHIR Chat · sdf-19 error · implementers

Stream: implementers

Topic: sdf-19 error


view this post on Zulip Marc de Graauw (Dec 21 2016 at 13:01):

Schematron test for sdf-19 is:
(f:kind/@value = 'logical') or (true)
should be:
(f:kind/@value = 'logical') or (true())
Probably an error in a catchall fhirpath to xpath conversion, since the constraint is more complex than this.

view this post on Zulip Grahame Grieve (Dec 21 2016 at 20:01):

@Lloyd McKenzie - can you work out the correct xpath for that?

view this post on Zulip Lloyd McKenzie (Dec 21 2016 at 20:43):

f:kind/@value = 'logical' or count(f:differential/f:element/f:type/f:code[@value and not(matches(@value, '^[a-zA-Z0-9]+$'))]|f:snapshot/f:element/f:type/f:code[@value and not(matches(@value, '^[a-zA-Z0-9]+$'))]) =0

view this post on Zulip Grahame Grieve (Dec 21 2016 at 20:45):

thx


Last updated: Apr 12 2022 at 19:14 UTC