Description
This pretrained pipeline is built on the top of ner_clinical_biobert model.
Predicted Entities
TREATMENT
, PROBLEM
, TEST
How to use
pipeline = PretrainedPipeline("ner_clinical_biobert_pipeline", "en", "clinical/models")
pipeline.annotate("The patient is a 21-day-old Caucasian male here for 2 days of congestion - mom has been suctioning yellow discharge from the patient's nares, plus she has noticed some mild problems with his breathing while feeding (but negative for any perioral cyanosis or retractions). One day ago, mom also noticed a tactile temperature and gave the patient Tylenol. Baby also has had some decreased p.o. intake. His normal breast-feeding is down from 20 minutes q.2h. to 5 to 10 minutes secondary to his respiratory congestion. He sleeps well, but has been more tired and has been fussy over the past 2 days. The parents noticed no improvement with albuterol treatments given in the ER. His urine output has also decreased; normally he has 8 to 10 wet and 5 dirty diapers per 24 hours, now he has down to 4 wet diapers per 24 hours. Mom denies any diarrhea. His bowel movements are yellow colored and soft in nature.")
val pipeline = new PretrainedPipeline("ner_clinical_biobert_pipeline", "en", "clinical/models")
pipeline.annotate("The patient is a 21-day-old Caucasian male here for 2 days of congestion - mom has been suctioning yellow discharge from the patient's nares, plus she has noticed some mild problems with his breathing while feeding (but negative for any perioral cyanosis or retractions). One day ago, mom also noticed a tactile temperature and gave the patient Tylenol. Baby also has had some decreased p.o. intake. His normal breast-feeding is down from 20 minutes q.2h. to 5 to 10 minutes secondary to his respiratory congestion. He sleeps well, but has been more tired and has been fussy over the past 2 days. The parents noticed no improvement with albuterol treatments given in the ER. His urine output has also decreased; normally he has 8 to 10 wet and 5 dirty diapers per 24 hours, now he has down to 4 wet diapers per 24 hours. Mom denies any diarrhea. His bowel movements are yellow colored and soft in nature.")
import nlu
nlu.load("en.med_ner.clinical_biobert.pipeline").predict("""The patient is a 21-day-old Caucasian male here for 2 days of congestion - mom has been suctioning yellow discharge from the patient's nares, plus she has noticed some mild problems with his breathing while feeding (but negative for any perioral cyanosis or retractions). One day ago, mom also noticed a tactile temperature and gave the patient Tylenol. Baby also has had some decreased p.o. intake. His normal breast-feeding is down from 20 minutes q.2h. to 5 to 10 minutes secondary to his respiratory congestion. He sleeps well, but has been more tired and has been fussy over the past 2 days. The parents noticed no improvement with albuterol treatments given in the ER. His urine output has also decreased; normally he has 8 to 10 wet and 5 dirty diapers per 24 hours, now he has down to 4 wet diapers per 24 hours. Mom denies any diarrhea. His bowel movements are yellow colored and soft in nature.""")
Results
+---------------------------------------------------+---------+
|chunks |entities |
+---------------------------------------------------+---------+
|congestion |PROBLEM |
|some mild problems with his breathing while feeding|PROBLEM |
|any perioral cyanosis |PROBLEM |
|retractions |PROBLEM |
|a tactile temperature |PROBLEM |
|Tylenol |TREATMENT|
|some decreased p.o |PROBLEM |
|His normal breast-feeding |TEST |
|his respiratory congestion |PROBLEM |
|more tired |PROBLEM |
|fussy |PROBLEM |
|albuterol treatments |TREATMENT|
|His urine output |TEST |
|any diarrhea |PROBLEM |
|yellow colored |PROBLEM |
+---------------------------------------------------+---------+
Model Information
Model Name: | ner_clinical_biobert_pipeline |
Type: | pipeline |
Compatibility: | Healthcare NLP 3.4.1+ |
License: | Licensed |
Edition: | Official |
Language: | en |
Size: | 422.0 MB |
Included Models
- DocumentAssembler
- SentenceDetectorDLModel
- TokenizerModel
- BertEmbeddings
- MedicalNerModel
- NerConverter