Stream: conformance
Topic: Validator: Unsupported fixed pattern type for discrimin
Patrick Werner (Sep 10 2020 at 09:21):
When validating against this profile: https://simplifier.net/medizininformatikinitiative-modulperson/patientin the Validator throws multiple internal errors: Internal error: Unsupported fixed pattern type for discriminator($this)
Patrick Werner (Sep 10 2020 at 09:22):
This is sliced by pattern on $this (on Adress and on Name)
Patrick Werner (Sep 10 2020 at 09:23):
To reproduce: java -jar validator_cli.jar Patient-exampl.json -ig de.medizininformatikinitiative.kerndatensatz.person
Patrick Werner (Sep 10 2020 at 09:24):
Patient example d/l: https://simplifier.net/medizininformatikinitiative-modulperson/patient-example-2/$download?format=json
Patrick Werner (Sep 10 2020 at 09:24):
*FAILURE*: 5 errors, 1 warnings, 1 notes
Error @ Patient.name[0].family (line 53, col18) : This property must be an simple value, not an array
Error @ Patient.name[0] (line 51, col6) : Internal error: Unsupported fixed pattern type for discriminator($this) for slice Patient.name:geburtsname: org.hl7.fhir.r5.model.HumanName
Error @ Patient.name[0] (line 51, col6) : Internal error: Unsupported fixed pattern type for discriminator($this) for slice Patient.name:name: org.hl7.fhir.r5.model.HumanName
Error @ Patient.address[0] (line 63, col6) : Internal error: Unsupported fixed pattern type for discriminator($this) for slice Patient.address:Postfach: org.hl7.fhir.r5.model.Address
Error @ Patient.address[0] (line 63, col6) : Internal error: Unsupported fixed pattern type for discriminator($this) for slice Patient.address:Strassenanschrift: org.hl7.fhir.r5.model.Address
Grahame Grieve (Sep 10 2020 at 11:17):
which validator?
Patrick Werner (Sep 10 2020 at 14:06):
plain java validator, current version (5.1.9 (Git# 924a01fe7dc4))
Patrick Werner (Sep 10 2020 at 14:07):
java -jar validator_cli.jar Patient-example.json -ig de.medizininformatikinitiative.kerndatensatz.person
Grahame Grieve (Sep 14 2020 at 03:48):
fixed next release
Patrick Werner (Sep 14 2020 at 08:07):
thanks
Last updated: Apr 12 2022 at 19:14 UTC