FHIR Chat · Validator bug? · conformance

Stream: conformance

Topic: Validator bug?


view this post on Zulip Thomas Tveit Rosenlund (Jan 22 2020 at 08:39):

I get this error With the standalone validator trying to validate official Extensions from hl7.org (patient-nationality for example). Is this a validator bug or somthing else. Just updated to the latest validator and refreshed the 4.0.1 package.

FHIR Validation tool Version 4.1.52-SNAPSHOT (Git# 2b1021adbdb1). Built 2020-01-22T10:56:35.258+11:00 (8 hours old)
Detected Java version: 1.8.0_221 from C:\Program Files\Java\jre1.8.0_221 on amd64 (64bit). 3598MB available
Arguments: c:\GitRepo\Grunndata-R4\for-validation-gd-r4\extension-patient-nationality-401.xml -version 4.0.1
Directories: Current = C:\GitRepo\Grunndata-R4, Package Cache = C:\Users\thotr\.fhir\packages
  .. FHIR Version 4.0, definitions from hl7.fhir.r4.core#4.0.1
  .. connect to tx server @ http://tx.fhir.org
    (v4.0.1)
  .. validate [c:\GitRepo\Grunndata-R4\for-validation-gd-r4\extension-patient-nationality-401.xml]
*FAILURE* validating c:\GitRepo\Grunndata-R4\for-validation-gd-r4\extension-patient-nationality-401.xml:  error:4 warn:5 info:0
  Error @ StructureDefinition.snapshot.element[1].type[0].code (line 81, col62) : URL value 'http://hl7.org/fhirpath/System.String' does not resolve
  Error @ StructureDefinition.snapshot.element[4].type[0].code (line 188, col62) : URL value 'http://hl7.org/fhirpath/System.String' does not resolve
  Error @ StructureDefinition.snapshot.element[9].type[0].code (line 341, col62) : URL value 'http://hl7.org/fhirpath/System.String' does not resolve
  Error @ StructureDefinition.snapshot.element[13].type[0].code (line 461, col62) : URL value 'http://hl7.org/fhirpath/System.String' does not resolve
  Warning @ StructureDefinition.snapshot.element[1].type[0].code (line 81, col62) : The value provided ('http://hl7.org/fhirpath/System.String') is not in the value set http://hl7.org/fhir/ValueSet/defined-types (http://hl7.org/fhir/ValueSet/defined-types, and a code should come from this value set unless it has no suitable code) (error message = The code system "" is not known (encountered paired with code = "http://hl7.org/fhirpath/System.String"); The code provided (#http://hl7.org/fhirpath/System.String) is not  valid in the value set FHIRDefinedType)
  Warning @ StructureDefinition.snapshot.element[4].type[0].code (line 188, col62) : The value provided ('http://hl7.org/fhirpath/System.String') is not in the value set http://hl7.org/fhir/ValueSet/defined-types (http://hl7.org/fhir/ValueSet/defined-types, and a code should come from this value set unless it has no suitable code) (error message = The code system "" is not known (encountered paired with code = "http://hl7.org/fhirpath/System.String"); The code provided (#http://hl7.org/fhirpath/System.String) is not  valid in the value set FHIRDefinedType)
  Warning @ StructureDefinition.snapshot.element[9].type[0].code (line 341, col62) : The value provided ('http://hl7.org/fhirpath/System.String') is not in the value set http://hl7.org/fhir/ValueSet/defined-types (http://hl7.org/fhir/ValueSet/defined-types, and a code should come from this value set unless it has no suitable code) (error message = The code system "" is not known (encountered paired with code = "http://hl7.org/fhirpath/System.String"); The code provided (#http://hl7.org/fhirpath/System.String) is not  valid in the value set FHIRDefinedType)

view this post on Zulip Grahame Grieve (Jan 22 2020 at 10:49):

Sigh. That’s a bug in the validator. Things like this keep cropping up as I fix other issues making the checking better... I’ll fix it next release


Last updated: Apr 12 2022 at 19:14 UTC