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.
Predicted Entities
PROBLEM
How to use
from sparknlp.pretrained import PretrainedPipeline
resolver_pipeline = PretrainedPipeline("umls_clinical_findings_resolver_pipeline", "en", "clinical/models")
result = resolver_pipeline.annotate("""HTG-induced pancreatitis associated with an acute hepatitis, and obesity""")
resolver_pipeline = nlp.PretrainedPipeline("umls_clinical_findings_resolver_pipeline", "en", "clinical/models")
result = resolver_pipeline.annotate("""HTG-induced pancreatitis associated with an acute hepatitis, and obesity""")
import com.johnsnowlabs.nlp.pretrained.PretrainedPipeline
val resolver_pipeline = PretrainedPipeline("umls_clinical_findings_resolver_pipeline", "en", "clinical/models")
val result = resolver_pipeline.annotate("""HTG-induced pancreatitis associated with an acute hepatitis, and obesity""")
Results
+------------------------+---------+---------+
|chunk |ner_label|umls_code|
+------------------------+---------+---------+
|HTG-induced pancreatitis|PROBLEM |C3808945 |
|an acute hepatitis |PROBLEM |C4750596 |
|obesity |PROBLEM |C4759928 |
+------------------------+---------+---------+
Model Information
Model Name: | umls_clinical_findings_resolver_pipeline |
Type: | pipeline |
Compatibility: | Healthcare NLP 5.5.1+ |
License: | Licensed |
Edition: | Official |
Language: | en |
Size: | 4.4 GB |
Included Models
- DocumentAssembler
- SentenceDetector
- TokenizerModel
- WordEmbeddingsModel
- MedicalNerModel
- NerConverter
- ChunkMapperModel
- ChunkMapperFilterer
- Chunk2Doc
- BertSentenceEmbeddings
- SentenceEntityResolverModel
- ResolverMerger