Open AMehlem opened 1 year ago
Thanks @AMehlem for your issue. Also I am very happy with the unit test in your repo. That saves us a lot of work.
On first sight I see that the valueset https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_DIAGNOSESICHERHEIT
cannot be resolved in your unit test. I will investigate a bit more and come back to you.
Thanks for the nice project and for looking into the issue so quickly. The mentioned valueset can be resolved on my machine, I will check if something was not comitted to the git repo. But this should not interfere with the other issue, or does it?
Sorry, my mistake. I see the warning about the valueset too, I just ignored it because it is an unrelated warning. There are 15 issues visible on my machine. Two of them are warnings with Code NotSupported. The third one is the relevant one with the failed constraint. The others are only informational and state that a failure happened before.
Describe the bug When validating a bundle that conforms to profile https://simplifier.net/packages/de.gevko.evo.hlm/1.2.0/files/670037 the validation of the constraint
fails for a correct bundle that contains three extensions with url 'leitsymptomatik' with values "a", "b" and "c". This should be valid in my opinion.
To Reproduce To reproduce the issue, the code on https://github.com/AMehlem/fhir-r4-constraint-test can be cloned. When running the contained test using Visual Studio 2022, the test fails.
Expected behavior The constraint should be valid for the given testdata and the validation should not return an issue for this. The test should succeed.
Version used:
If it is helpful, I could try to add another minimal test for this to the firely-net-sdk-repository. But I would need to know what directories to add the new structuredefinitions, examples and test-code to.
Kind regards, Ashwani Mehlem