hapifhir / org.hl7.fhir.core

Apache License 2.0
156 stars 161 forks source link

Validation error but only in Java-based validator #816

Closed camelx closed 2 years ago

camelx commented 2 years ago

Hi!

I have a profile of QuestionnaireResponse resource. I'm validating a Structure Definition of that profile and I'm getting an error like this: Error generating Snapshot: QuestionnaireResponse.item.item.item has no children (QuestionnaireResponse.item.item.item) and no types in profile Kwestionariusz bilansowy.item.item (this usually arises from a problem in the differential)

I have no idea what causes the problem. I've uploaded the profile to Simplifier (https://simplifier.net/nfz-test/plnfzcchealthbalancequestionnaireresponse-duplicate-2) and to me it looks fine. What is important, it validates positive (with Simplifier validator).

I need to use IG publisher but the publishing process stops at that error.

Could you please help me with this issue? Is it really problem with the profile or maybe I've found a bug in the validator? ;)

I could provide any additional information, if needed..

Regards, Marcin

grahamegrieve commented 2 years ago

so you are validating a questionnaire response against this profile when you get the error?

dotasek commented 2 years ago

Closed due to inactivity.