FHIR Chat · Validation of correct ValueSet value fails · dotnet

Stream: dotnet

Topic: Validation of correct ValueSet value fails


view this post on Zulip Ashwani Mehlem (Mar 11 2021 at 14:14):

Hi,
I am using Hl7.Fhir.Specification.R4 version 3.0.0 to validate an object against the profile https://simplifier.net/packages/kbv.ita.for/1.0.3/files/319332. Everything works fine, except the validation of the type coding (Coverage.type.coding.code). It is bound to the value set https://simplifier.net/packages/kbv.ita.for/1.0.3/files/319342, which contains a value "GKV". However, when validating an object containing this code, I get the following error from the validator: [ERROR] (no details)(further diagnostics: Code 'GKV' from system 'https://fhir.kbv.de/ValueSet/KBV_VS_FOR_Payor_type' does not exist in valueset 'https://fhir.kbv.de/ValueSet/KBV_VS_FOR_Payor_type') (at Bundle.entry[4].resource[0].type[0])
I added all the required profiles to a folder and used a DirectorySource and a CachedResolver to resolve the profiles. I also included the value set in this folder. Do I need to do anything else for the value sets to be successfully validated?

Best regards,
Ashwani Mehlem

view this post on Zulip Ashwani Mehlem (Mar 15 2021 at 13:28):

I created a ticket for this issue on github containing reproducing code: https://github.com/FirelyTeam/firely-net-sdk/issues/1658


Last updated: Apr 12 2022 at 19:14 UTC