FHIR Chat · tx.fhir.org failed validate icd-10 code · terminology

Stream: terminology

Topic: tx.fhir.org failed validate icd-10 code


view this post on Zulip Yunwei Wang (Jun 18 2020 at 20:43):

Here is the request: http://tx.fhir.org/r4/ValueSet/$validate-code?code=I63.9&system=http://hl7.org/fhir/sid/icd-10
Here is the response:

{
  "resourceType" : "Parameters",
  "parameter" : [
    {
      "name" : "result",
      "valueBoolean" : false
    },
    {
      "name" : "message",
      "valueString" : "Code \"I63.9\" not found; The code \"I63.9\" is not valid in the system http://hl7.org/fhir/sid/icd-10; The code provided (http://hl7.org/fhir/sid/icd-10#I63.9) is not  valid in the value set All codes known to the system"
    },
    {
      "name" : "cause",
      "valueString" : "invalid"
    }
  ]
}

view this post on Zulip Jim Steel (Jun 18 2020 at 20:52):

Nothing to do with the missing code, but it is interesting that in the absence of a url parameter, the server falls through to validating against the all codes ValueSet for the CodeSystem

view this post on Zulip Jim Steel (Jun 18 2020 at 20:52):

I kinda like that

view this post on Zulip Yunwei Wang (Jun 18 2020 at 20:59):

Ha. I haven't used direct url to validate value for sometime. Kindly forgot what parameters I need to use. Let me try again.

view this post on Zulip Jim Steel (Jun 18 2020 at 20:59):

Oh, I don't think its causing your problem

view this post on Zulip Jim Steel (Jun 18 2020 at 20:59):

I have the same response from CodeSystem/$validate-code

view this post on Zulip Jim Steel (Jun 18 2020 at 21:00):

Is the code specific to ICD-10-CM?

view this post on Zulip Jim Steel (Jun 18 2020 at 21:01):

Hmm, I do have it in ICD-10-GM

view this post on Zulip Grahame Grieve (Jun 18 2020 at 23:26):

I think this is part of the general problem with IDD-10 - @Rob Hausam ?

view this post on Zulip Peter Jordan (Jun 19 2020 at 05:49):

It validates fine as an ICD-10-AM Code on my Server...
https://terminz.azurewebsites.net/fhir/CodeSystem/$validate-code?url=http://health.govt.nz/icd-10-am-achi-acs&code=I63.9

view this post on Zulip Grahame Grieve (Jun 19 2020 at 06:19):

where did you get the ICD-10-AM source? I think we haven't tried to load ICD-10-AM on tx.fhir.org?

view this post on Zulip Peter Jordan (Jun 19 2020 at 07:38):

The NZ Ministry of Health. I had to sign a Confidentiality Undertaking with the Ministry under New Zealand's AR-DRG Classification System Licence Agreement. I was directed to them by IHPA. The Ministry then provided me with the current ICD-10-AM Edition used in New Zealand - ICD-10-AM Eleventh Edition, implemented 1 July 2019.

view this post on Zulip Grahame Grieve (Jun 19 2020 at 07:45):

so you can publish them

view this post on Zulip Peter Jordan (Jun 19 2020 at 08:07):

I'm allowed to put the codes up on my server for non-commercial purposes and...
"they are for New Zealand use only and the codes in their entirety cannot be downloaded by third parties."
"...must also ensure multiple copies of the codes are not created and/or stored on unsecured shared drives."
"...must not distribute this code table to a third party without first receiving consent from the Ministry of Health. "

view this post on Zulip Rob Hausam (Jun 19 2020 at 13:27):

Yes, this is part of the general problem with ICD-10 - I63.9 isn't presently in the list of supported codes. At the present time we've been adding codes by request as needed - and we can add this one, too, if that will be of help. If we can work out a solution similar to what Peter has with ICD-10-AM, we'll be much better off.

view this post on Zulip Yunwei Wang (Jun 19 2020 at 13:33):

What is IDD-10?

view this post on Zulip Rob Hausam (Jun 19 2020 at 16:28):

Sorry, Yunwei - just a typo - meant ICD-10.

view this post on Zulip Yunwei Wang (Jun 19 2020 at 16:57):

NP. What do you mean "I63.9 isn't presently in the list of supported codes". I can get the code on icd10data.com

view this post on Zulip Rob Hausam (Jun 19 2020 at 17:44):

I meant supported on tx.fhir.org.

view this post on Zulip Jean Duteau (Oct 14 2020 at 16:40):

@Rob Hausam Do you have a list of ICD-10 codes that are on tx.fhir.org? I just tried a search and I don't get any back. I just need some ICD-10 code to put in an example.

view this post on Zulip Rob Hausam (Oct 14 2020 at 16:49):

@Jean Duteau Yes, I do. This is what should be available now:

icd-10  http://hl7.org/fhir/sid/icd-10-cm   cm  Clinical Modification (US)
E00-E89 Endocrine, nutritional and metabolic diseases   Endocrine, nutritional and metabolic diseases
 E70-E88    Metabolic disorders Metabolic disorders
  E84   Cystic fibrosis Cystic fibrosis
   E84.0    Cystic fibrosis with pulmonary manifestations   Cystic fibrosis with pulmonary manifestations
M00-M99 Diseases of the musculoskeletal system and connective tissue    Diseases of the musculoskeletal system and connective tissue
 M40-M54    Dorsopathies    Dorsopathies
 M45-M49    Spondylopathies Spondylopathies
  M47   Spondylosis Spondylosis
   M47.0†   Anterior spinal and vertebral artery compression syndromes  Anterior spinal and vertebral artery compression syndromes
   M47.1    Other spondylosis with myelopathy   Other spondylosis with myelopathy
   M47.2    Other spondylosis with radiculopathy    Other spondylosis with radiculopathy
   M47.8    Other spondylosis   Other spondylosis
   M47.81   Spondylosis without myelopathy or radiculopathy Spondylosis without myelopathy or radiculopathy
   M47.816  Spondylosis without myelopathy or radiculopathy, lumbar region  Spondylosis without myelopathy or radiculopathy, lumbar region
   M47.9    Spondylosis, unspecified    Spondylosis, unspecified
 M50-54 Other dorsopathies  Other dorsopathies
  M53   Other dorsopathies, not elsewhere classified    Other dorsopathies, not elsewhere classified
   M53.0    Cervicocranial syndrome Cervicocranial syndrome
   M53.1    Cervicobrachial syndrome    Cervicobrachial syndrome
   M53.2    Spinal instabilities    Spinal instabilities
   M53.3    Sacrococcygeal disorders, not elsewhere classified  Sacrococcygeal disorders, not elsewhere classified
   M53.8    Other specified dorsopathies    Other specified dorsopathies
   M53.88   Other specified dorsopathies, sacral and sacrococcygeal region  Other specified dorsopathies, sacral and sacrococcygeal region
   M53.9    Dorsopathy, unspecified Dorsopathy, unspecified
 M95-M99    Other disorders of the musculoskeletal system and connective tissue Other disorders of the musculoskeletal system and connective tissue
  M96   Postprocedural musculoskeletal disorders, not elsewhere classified  Postprocedural musculoskeletal disorders, not elsewhere classified
   M96.0    Pseudarthrosis after fusion or arthrodesis  Pseudarthrosis after fusion or arthrodesis
   M96.1    Postlaminectomy syndrome, not elsewhere classified  Postlaminectomy syndrome, not elsewhere classified
   M96.2    Postradiation kyphosis  Postradiation kyphosis
   M96.3    Postlaminectomy kyphosis    Postlaminectomy kyphosis
   M96.4    Postsurgical lordosis   Postsurgical lordosis
   M96.5    Postradiation scoliosis Postradiation scoliosis
   M96.6    Fracture of bone following insertion of orthopaedic implant, joint prosthesis, or bone plate    Fracture of bone following insertion of orthopaedic implant, joint prosthesis, or bone plate
   M96.8    Other postprocedural musculoskeletal disorders  Other postprocedural musculoskeletal disorders
   M96.9    Postprocedural musculoskeletal disorder, unspecified    Postprocedural musculoskeletal disorder, unspecified
G00-99  Diseases of the nervous system  Diseases of the nervous system
 G89-99 Other disorders of the nervous system   Other disorders of the nervous system
  G89   Pain, not elsewhere classified  Pain, not elsewhere classified
   G89.4    Chronic pain syndrome   Chronic pain syndrome
R00-R99 Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified
 R50-R69    General symptoms and signs  General symptoms and signs
  R52   Pain, unspecified   Pain, unspecified

I know I keep saying it and it has kept getting delayed, but hopefully within the next couple of days we will actually have the full list of codes available.

view this post on Zulip Rob Hausam (Oct 14 2020 at 16:52):

I think that the "grouping header" codes (e.g. 'E00-E89') will probably go away in the full representation, as they are conveniences for navigation and aren't actually "real" codes.

view this post on Zulip Jean Duteau (Oct 14 2020 at 17:00):

do you know how I can search for those on the server? Everything I try to search for systems returns 0 results.

view this post on Zulip Rob Hausam (Oct 14 2020 at 17:04):

You might try creating a ValueSet defined as "all codes" in ICD-10-CM (by specifying only compose.include.system) and posting and expanding that on tx.fhir.org. It's a little cumbersome, but I think that should work.

view this post on Zulip Lin Zhang (Oct 15 2020 at 00:01):

Indeed, they are not proper ICD-10 codes, but it would be better to keep those block codes ("E00-E89") if possible to meet navigation/grouping requirements.

view this post on Zulip Robert McClure (Oct 15 2020 at 14:24):

In my my experience a range of codes like E00-E89 is treated as an ICD code that is abstract in most terminology servers. So I'd agree with "not proper" if that is interpreted as =abstract.

view this post on Zulip Grahame Grieve (Dec 03 2020 at 00:10):

@Michael Lawley tx.fhir.org works on SSL now

view this post on Zulip Rob Hausam (Dec 03 2020 at 00:25):

I'll check the ICD-10-CM codes tonight - they should be there now. Hopefully will have ICD-10 (WHO) soon.

view this post on Zulip Rob Hausam (Dec 04 2020 at 16:48):

The current (2021) complete set of ICD-10-CM codes should be available on tx.fhir.org now. Apologies to everyone that this took so long, but Grahame had server updates to work through and there were a lot of steps that had to happen. Please verify that the codes that you need are there (they should be). The hierarchical (nesting) relationships are there and should work, too (I haven't tested that yet).

view this post on Zulip Rob Hausam (Dec 04 2020 at 16:49):

The ICD-10 (WHO) codes hopefully won't be far behind.

view this post on Zulip Sarah Gaunt (May 06 2021 at 00:59):

Are the ICD-10 (WHO) codes available? I'm still getting errors like "Code "P02.1" not found; The code "P02.1" is not valid in the system http://hl7.org/fhir/sid/icd-10; The code provided (http://hl7.org/fhir/sid/icd-10#P02.1) is not valid in the value set 'PHVS_CauseOfFetalDeath_ICD-10_CDC' (from http://tx.fhir.org/r4)"

That code is definitely in the value set (https://phinvads.cdc.gov/vads/ViewValueSet.action?id=87B8CF66-0F85-4CC7-BBE7-D6FBD32FD181) and I checked the PhinVads package and it's in that downloaded package.

view this post on Zulip Rob Hausam (May 06 2021 at 01:57):

@Sarah Gaunt The US standard for ICD-10 for billing and reimbursement and other areas, of course, is ICD-10-CM. This Cause of Fetal Death reporting is the only case in the US that I'm aware of which does use the "base" WHO ICD-10 code system. Right now, as noted ealier in the thread, tx.fhir.org does now have support for the full 1CD-10-CM code system. But it has only quite limited support for the WHO ICD-10 content, and there hasn't been a clear need and priority noted for adding that previously. I understand that there is a convertor tool available which reads the available ClaML distribution file that we should be able to use to make this available. Right now it is possible to validate the P02.1 code with ICD-10-CM on tx.fhir.org: http://tx.fhir.org/r4/CodeSystem/$lookup?system=http://hl7.org/fhir/sid/icd-10-cm&code=P02.1. If you are able to make use of that, it could provide an immediate (even if possibly temporary) solution. I will also further investigate when we can provide WHO ICD-10 support on tx.fhir.org.

view this post on Zulip Sarah Gaunt (May 06 2021 at 02:17):

(deleted)

view this post on Zulip Sarah Gaunt (May 06 2021 at 02:18):

@Rob Hausam Both Death and Fetal Death reporting in the US use the ICD-10 WHO code system.

view this post on Zulip Rob Hausam (May 06 2021 at 02:21):

Sure. That makes sense.

view this post on Zulip Sarah Gaunt (May 06 2021 at 02:21):

I don't think that work around will work for the IGs. The problem is the package that is downloaded from PhinVads specifies icd-10 (not icd-10-cm).
It makes my Condition example error, which in turn makes my Composition error, which in turn makes my Bundle error.

It has to match here:
image.png

view this post on Zulip Sarah Gaunt (May 06 2021 at 02:22):

It's not like it's a small use case! :joy:

view this post on Zulip Rob Hausam (May 06 2021 at 02:29):

No, it isn't. But it actually wasn't that clear that it was needed until now. But looking at the reference to "ICD-10-Mortality Fetal Manual (2016)" is what makes it clear (at least to me) that the "base" WHO ICD-10 is what is used for this.

view this post on Zulip Sarah Gaunt (May 06 2021 at 02:39):

Sorry @Rob Hausam! I thought we had chatted about it sometime last year but maybe I'm mis-remembering!

view this post on Zulip Rob Hausam (May 06 2021 at 02:49):

@Sarah Gaunt No, your recollection is spot on. We discussed it back in October and November here. But that thread does leave it somewhat hanging at the end, I think, and the ball was dropped by me for doing any more with it at that time.

view this post on Zulip Rob Hausam (May 06 2021 at 02:51):

So I'll get this back on the to do list.

view this post on Zulip Sarah Gaunt (May 06 2021 at 02:53):

Thanks! I should have checked in on it too - I totally forgot about it also... :-)


Last updated: Apr 12 2022 at 19:14 UTC