ICD10 to UMLS Code Mapping


This pretrained pipeline maps ICD10CM codes to UMLS codes without using any text data. You’ll just feed white space-delimited ICD10CM codes and it will return the corresponding UMLS codes as a list. If there is no mapping, the original code is returned with no mapping.


How to use

from sparknlp.pretrained import PretrainedPipeline 
pipeline = PretrainedPipeline( "icd10cm_umls_mapping","en","clinical/models")
pipeline.annotate("M89.50 R82.2 R09.01")
import com.johnsnowlabs.nlp.pretrained.PretrainedPipeline
val pipeline = new PretrainedPipeline("icd10cm_umls_mapping","en","clinical/models")
val result = pipeline.annotate("M89.50 R82.2 R09.01")


{'icd10cm': ['M89.50', 'R82.2', 'R09.01'],
 'umls': ['C4721411', 'C0159076', 'C0004044']}

Model Information

Model Name: icd10cm_umls_mapping
Type: pipeline
Compatibility: Spark NLP for Healthcare 3.0.2+
License: Licensed
Edition: Official
Language: en

Included Models

  • DocumentAssembler
  • TokenizerModel
  • LemmatizerModel
  • Finisher