FHIR Chat · rng-2 error · dotnet

Stream: dotnet

Topic: rng-2 error


view this post on Zulip Jefferson (Jun 05 2019 at 14:09):

Was this error fixed? [ERROR] Instance failed constraint rng-2 \"If present, low SHALL have a lower value than high\"

view this post on Zulip Ewout Kramer (Jun 05 2019 at 16:04):

No. See https://github.com/FirelyTeam/fhir-net-api/issues/791 and https://github.com/FirelyTeam/fhir-net-api/issues/447. Since there's no new version of FhirPath and the .NET FhirPath engine yet, I might have to do a quick fix and remove that rng-2 invariant from the specification.zip that you get with the nuget. That would be a quick fix.

view this post on Zulip Jefferson (Jun 05 2019 at 16:09):

Ok Thanks can you let me know if you do the quick fix?

view this post on Zulip Jefferson (Jun 05 2019 at 16:37):

@Ewout Kramer would that also fix this [ERROR] Instance failed constraint tim-8 \"If there's a countMax, there must be a count\"?

view this post on Zulip Ewout Kramer (Jun 19 2019 at 11:05):

The quick fix will be done in the 1.3 timeframe, which we'll try to finish this month.

view this post on Zulip Ewout Kramer (Jun 19 2019 at 11:08):

Ewout Kramer would that also fix this [ERROR] Instance failed constraint tim-8 \"If there's a countMax, there must be a count\"?

That's new to me - it's a totally different issue - you have some more background? I.e. you have an instance where there's both a countMax AND a count, yet you are getting this error?


Last updated: Apr 12 2022 at 19:14 UTC