-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snapshot generator does not expand complex extensions defined in a an extension. #2799
Comments
Don't spend more than 2 days researching what's going on here |
@MatthijsvdWielen You've had a call about this with @alexzautke , what was the conclusion ? |
@mmsmits that call did not solve the issue unfortunately. The customer provided some additional information. In version 23 everything was still working and from version 24 the issue started. https://simplifier.net/SwedishNationalMedicationList/NLLMedication/~history |
I found out the problem. It's not the snapshot generator. But the order of the ElementDefinitions in the differential. I attached the correct file here: Please note that the order of the elements in a Differential matter a lot. I don't if Forge created this (I think not), but the user should be informed. |
See unit test for this here as well: |
The bug was originally submitted to Forge:
https://firely.atlassian.net/browse/FOR-872
The project to reproduce the issue is attached.
The issue is for file: NLLArticleInfoCorrect.xml.
The snapshot generator method Generate returns 2 of the same errors:
https://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo2 (Element Extension.extension.extension has neither a type nor a nameReference.)
They correspond to the extension element definitions for currentProductName and history.
These two element definitions are not expanded.
swedishnationalmedicationlist(5).zip
The text was updated successfully, but these errors were encountered: