Description
This pretrained pipeline maps entities (Clinical Findings) with their corresponding UMLS CUI codes. You’ll just feed your text and it will return the corresponding UMLS codes.
Available as Private API Endpoint
How to use
from sparknlp.pretrained import PretrainedPipeline
pipeline = PretrainedPipeline("umls_clinical_findings_resolver_pipeline", "en", "clinical/models")
result = pipeline.fullAnnotate("HTG-induced pancreatitis associated with an acute hepatitis, and obesity.")
import com.johnsnowlabs.nlp.pretrained.PretrainedPipeline
val pipeline = PretrainedPipeline("umls_clinical_findings_resolver_pipeline", "en", "clinical/models")
val result = pipeline.annotate("HTG-induced pancreatitis associated with an acute hepatitis, and obesity")
import nlu
nlu.load("en.map_entity.umls_clinical_findings_resolver").predict("""HTG-induced pancreatitis associated with an acute hepatitis, and obesity""")
Results
+------------------------+---------+---------+
|chunk |ner_label|umls_code|
+------------------------+---------+---------+
|HTG-induced pancreatitis|PROBLEM |C1963198 |
|an acute hepatitis |PROBLEM |C4750596 |
|obesity |PROBLEM |C1963185 |
+------------------------+---------+---------+
Model Information
Model Name: | umls_clinical_findings_resolver_pipeline |
Type: | pipeline |
Compatibility: | Healthcare NLP 4.0.0+ |
License: | Licensed |
Edition: | Official |
Language: | en |
Size: | 4.3 GB |
Included Models
- DocumentAssembler
- SentenceDetector
- TokenizerModel
- WordEmbeddingsModel
- MedicalNerModel
- NerConverter
- ChunkMapperModel
- ChunkMapperModel
- ChunkMapperFilterer
- Chunk2Doc
- BertSentenceEmbeddings
- SentenceEntityResolverModel
- ResolverMerger