FHIR Chat · Confusing validation messages by the FHIR Validator · tooling

Stream: tooling

Topic: Confusing validation messages by the FHIR Validator


view this post on Zulip Pieter Edelman (Apr 07 2021 at 11:59):

I'm using the HL7 FHIR validator in conjunction with a ValueSet that uses a CodeSystem unknown to the terminology server. The CodeSystem is included in the ig, but it is marked as empty with status=unknown and content=not-present as we don't have the content (we still include it to provide background information to implementers). The ValueSet is included in the ig as well, also without explicit concepts (it simply includes said CodeSystem).

When I run the validator on my instance, I get the following two messages.

  Information @ Flag.code.coding[0] (line 21, col17) : Code System URI 'urn:oid:2.16.840.1.113883.2.4.4.1.902.40' is unknown so the code cannot be validated
  Warning @ Flag.code (line 20, col11) : [Unable to determine whether the provided codes are in the value set http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.14.1--20200901000000 because the value set or code system is not known to the validator]

These messages seem to be a bit misleading. The first message suggests that the code system is not known altogether, but I would expect it to say that there is insufficient information to validate the code in the CodeSystem. The second message is an extension of this; both the CodeSystem and the ValueSet are in fact known, they just don't contain the information needed for proper validation.

Could these messages be changed?

view this post on Zulip Lloyd McKenzie (Apr 07 2021 at 15:26):

You could submit an issue against the validator Github to have the wording improved.

view this post on Zulip Grahame Grieve (Apr 20 2021 at 04:43):

i's going to be hard - the decision to ignore the stub that contains 'not-present' is not close to the choice of the message


Last updated: Apr 12 2022 at 19:14 UTC