Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Saving StructureDefinitions with snapshots fails to external references with quantity-comparator valueset #534
I tested this with the 2.2 Hapi JPA-server example project clean build (without any configurations or anything, empty derby database) by trying to upload the attached profile with the hapi tester ui. Attached is a sample profile this can be reproduced with, also normal profiles that have snapshots with them cause this problem.
The operation outcome is:
If we remove the checkboxes "Resource reference" in Forge from Reference range Forge includes the value set inline and the profile is accepted. But I believe the quantity-comparator is a core value set and?
Uploading the value set to server doesn't seem to help either, I added the valueset from hl7.org to the server and tried to upload the profile again with the same results.
The quantity comparator seems to be required value set in the standard:
Another similar problem with valuesets occur when trying to load a profile with full snapshot (without the quantities) (profile also attached):
Should we set some configuration option to allow these value sets? Allowing all external references isn't really an option.