FHIR Chat · all-languages error when validating StructureDefinition · conformance

Stream: conformance

Topic: all-languages error when validating StructureDefinition


view this post on Zulip Morten Ernebjerg (Jan 14 2021 at 12:30):

I recently started see an error when validating StructureDefinitions with the JAR validators (using the lates: 5.2.13 Git# 5f67b5bad03d). I see this on profiles I did myself in Forge, but also on standard profiles - e.g. for the IPS patient profile. The errors is this (this is from the IPS Patient profile):

*FAILURE*: 1 errors, 2 warnings, 0 notes
  Error @ StructureDefinition.snapshot.element[4].binding.extension[0].value.ofType(canonical) (line 235, col14) : Canonical URL 'http://hl7.org/fhir/ValueSet/all-languages' refers to a resource that has the wrong type. Found ValueSet expecting one of []

In some cases, I see a similar errors for the canonical URL 'http://hl7.org/fhir/ValueSet/all-time-units'. I think these errors were not there before - did something change in the validator?

view this post on Zulip Grahame Grieve (Jan 14 2021 at 17:30):

it did, and I may have overlooked a corner case somewhere- how to reproduce this?

view this post on Zulip Morten Ernebjerg (Jan 15 2021 at 14:42):

This happens with the STU1 IPS Patient profile I linked in the question :point_up: (the StructureDefinition downloaded from the IG)

view this post on Zulip Grahame Grieve (Feb 05 2021 at 03:23):

fixed next release


Last updated: Apr 12 2022 at 19:14 UTC