FHIR Chat · validation errors with some icd-10 codes in Condition code · implementers

Stream: implementers

Topic: validation errors with some icd-10 codes in Condition code


view this post on Zulip Florian Eska (Apr 08 2022 at 06:55):

We using the FHIR validator https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator for vlidation of our resources.
We validate against R4 (4.0.1)

In getting validation errors of icd-10 codes in our Conditions code and the reason we do not understand.
Here are example of one of the errors

  Error @ Bundle.entry[3].resource.ofType(Condition).code.coding[0] (line 294, col23): The code "A02.22" is not valid in the system http://hl7.org/fhir/sid/icd-10; The code provided (http://hl7.org/fhir/sid/icd-10#A02.22) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4) for 'http://hl7.org/fhir/sid/icd-10#A02.22'

Why some of our used icd-10 produce an error and other works without any error?

Following reason we thought about:

  • are some of the used icd-10 code to new so it is not part of the list
  • have the validator problem
  • is this icd-10 code in a condition not allowed

Here a short list of icd-10 codes we currently getting validation errors

  • A02.22
  • G95.20
  • ...

Here a snippet of a Condition

    fullUrl" : "urn:uuid:6bf29d94-cd4d-4dca-90e8-a3936a0c18d3",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "6bf29d94-cd4d-4dca-90e8-a3936a0c18d3",
      ...
      "code" : {
        "coding" : [ {
          "system" : "http://hl7.org/fhir/sid/icd-10",
          "code" : "A02.22"
        } ],
        "text" : "pneumonia"
      },
    ...

Any suggestion will be welcome.

view this post on Zulip Richard Townley-O'Neill (Apr 08 2022 at 07:09):

Are you using a national variant that tx.fhir.org does not know of? See http://hl7.org/fhir/R4/icd.html#variants

view this post on Zulip Sai Sindhu Yarlagadda (Apr 08 2022 at 10:57):

Hi every one! We are trying to build a health care app and we need to build a data model based on hl7 could anyone of you kindly guide us how to do it. I am new to the tech space


Last updated: Apr 12 2022 at 19:14 UTC