FHIR Chat · error on: http://hl7.org/fhirpath/System.String · conformance

Stream: conformance

Topic: error on: http://hl7.org/fhirpath/System.String


view this post on Zulip Patrick Werner (Apr 16 2020 at 12:16):

When validating our profiles we are getting these warnings:

 Warning @ StructureDefinition.snapshot.element[76].type[0].code (line 4062, col22) : 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)
  • this warning shouldn't be there. I assume this is a IG creation issue?
  • The validator knows that the code has to come from http://hl7.org/fhir/ValueSet/defined-typesbut in the error message tx returns: The code system "" is not known

java -jar org.hl7.fhir.validator.jar https://gist.github.com/patrick-werner/4bbfcf69959480eefaaed7737e8a7daa/raw/c26a67bda9dd1b25e51ad8827f4cfa7aa6da7871/haplotype.json -version 4.0

view this post on Zulip Grahame Grieve (Apr 21 2020 at 23:42):

well, I fixed the system is not know bit. The fact that you get the message at all is related to the binding in R4. But I did define a new flag to the validator:

-no-extensible-binding-warnings

view this post on Zulip Grahame Grieve (Apr 21 2020 at 23:42):

next release

view this post on Zulip Patrick Werner (Apr 22 2020 at 11:39):

thanks! Just to completely understand the issue: "http://hl7.org/fhirpath/System.String" is created in the IG creator process. But shouldn't the code be 'string' instead of 'http://hl7.org/fhirpath/System.String' ?
Is this also an IG issue?

view this post on Zulip Grahame Grieve (Apr 22 2020 at 12:19):

no. the fhirpath System.String is correct. It's the binding on the element that isn't as good as could be


Last updated: Apr 12 2022 at 19:14 UTC