Stream: trifolia-on-fhir
Topic: Validation Errors
Igor Sirkovich (Dec 17 2019 at 18:51):
@Sean McIlvenna Example resources generate lots of validation errors on lantana_prod_hapi_r4 even though the same resources pass validation on hapi.fhir.org. In the qa.html file, I see that for many errors, there is a reference to org.hl7.fhir.r5.model. I'm wondering if the validator is using R5 rather than R4 models, which might be the reason for many errors. Maybe the new version of the validator runs R5 by default and there is a need to supply a parameter to use R4?
Sean McIlvenna (Dec 17 2019 at 18:52):
can you give me a specific example? what IG? what example resource? What are the errors you are seeing on hapi.fhir.org?
Igor Sirkovich (Dec 17 2019 at 19:04):
I'm looking at CARIN BB QA file - for example, there are lots of errors of a type "Unsupported fixed value type for discriminator(category) for slice ExplanationOfBenefit..: org.hl7.fhir.r5.model.Coding". There are also some "Missing element 'code'" errors related to identifier.type.code of several resources. In fact, these are in place, but are under identifier.type.coding.code. The only errors I get on hapi.fhir.org are related to "unknown" profiles and code systems that are not on hl7.org yet.
Rick Geimer (Dec 17 2019 at 19:29):
The stuff in the QA file comes from the FHIR IG Publisher, which Trifolia uses but it is not Lantana maintained code. I would suggest posting questions about the QA file to the IG Creation thread:
https://chat.fhir.org/#narrow/stream/179252-IG-creation
Igor Sirkovich (Dec 17 2019 at 19:45):
Thank you @Rick Geimer. Before I ask at the IG Creation stream, I just wanted to confirm if Tirfolia uses IG Publisher with the correct FHIR version (R4 in this case). Because of the "org.hl7.fhir.r5.model.Coding" errors, I suspect that a version parameter might be missing. For example, if in the past, R4 used to be IG Publisher's default, but in the recent version the default has changed to R5, Trifolia might need to supply R4 as a version parameter when running IG Publisher. Again, this is just my speculation, but I thought it would be worthwhile to check with you before raising my questions on another stream.
Sean McIlvenna (Dec 17 2019 at 20:56):
yes
Sean McIlvenna (Dec 17 2019 at 20:56):
right now, ToF uses the old template, which requires an ig.json file
Sean McIlvenna (Dec 17 2019 at 20:57):
the ig.json file has a version indicated in it that is associated with the version of the FHIR server
Sean McIlvenna (Dec 17 2019 at 20:57):
for STU3, it uses 3.0.2, for R4 it uses 4.0.1
Sean McIlvenna (Dec 17 2019 at 20:57):
this is pre-defined/static for all IGs published using ToF
Sean McIlvenna (Dec 17 2019 at 20:58):
point being... your suggestion of Trifolia might need to supply R4 as a version parameter when running IG Publisher
is already being done, to my knowledge
Igor Sirkovich (Dec 17 2019 at 21:16):
Thank you for confirming Sean!
Last updated: Apr 12 2022 at 19:14 UTC