concat(substring(@value,1,4),'-',substring(@value,5,2),'-',substring(@value,7,2)) castable as xs:date
Message
Pierwsze 8 cyfr daty powinno być w formacie YYYYMMDD.
Schematron report
role
error
test
not(@nullFlavor) and not(hl7:low) and not(hl7:high) and not(concat(substring(@value,1,4),'-',substring(@value,5,2),'-',substring(@value,7,2)) castable as xs:date)
Message
Pierwsze 8 cyfr daty powinno być w formacie YYYYMMDD.