Stream: conformance
Topic: java validator bug Expected 0 but found 1 family elements
Patrick Werner (Oct 26 2020 at 13:33):
When using the java validator to validate a patient example against: https://simplifier.net/ditconnectathon/isikpatient i geht the following errors:
Error @ Patient.name[0] (line 37, col6) : Expected 0 but found 1 family elements
Error @ Patient.name[0] (line 37, col6) : Expected 0 but found 2 given elements
Error @ Patient.name[0] (line 37, col6) : Expected 0 but found 2 prefix elements
Error @ Patient.name[0] (line 37, col6) : Expected 0 but found 2 suffix elements
Error @ Patient.name[1] (line 52, col6) : Expected 0 but found 1 family elements
Error @ Patient.name[1] (line 52, col6) : Expected 0 but found 1 given elements
Error @ Patient.name[1] (line 52, col6) : Expected 0 but found 1 prefix elements
Error @ Patient.name[1] (line 52, col6) : Expected 0 but found 1 suffix elements
Error @ Patient.address[1] (line 92, col6) : Expected 0 but found 1 line elements
The example to test doesnt include any suffix or prefix elements.
To reproduce:
java -jar validator_cli.jar https://gist.githubusercontent.com/patrick-werner/78f6a13789844e042896d37ddbf09e16/raw/4d6f9927ee8a3b7d6e2021afc3c0dcb7a08bcd1b/patient-example.json -ig de.dit-connectathon.r4
Grahame Grieve (Oct 26 2020 at 23:44):
fixed next release
Patrick Werner (Oct 27 2020 at 07:25):
thanks grahame!
Last updated: Apr 12 2022 at 19:14 UTC