Literature DB >> 31762577

Medical Information Extraction Model for User-generated Content.

Fahad Kamal Alsheref1.   

Abstract

INTRODUCTION: The number of social network users is on the rise, and the size of the user-generated contents is increasing as well. Analyzing the generated contents can lead to the attainment of a vast amount of information, such as users' feelings on specific products or events, or personal information about life events. AIM: The aim of this paper is to describe an model for detecting medical information present in generated contents, such as posts or comments.
RESULTS: The proposed model is based on the Unified Medical Language System (UMLS) and is tested on a dataset collected from Twitter and Facebook. The extracted information can be used to aid in the early detection of diseases or to supply commercial benefits to medical companies. Experimental results demonstrate that the proposed model achieves 94.6% accuracy and 87% precision.
CONCLUSION: In this study, we attempted to extract clinical information present in UGC. Using the proposed model should involve a reliable dataset that contains most clinical expressions; the UMLS was a suitable dataset for our model.
© 2019 Fahad Kamal Alsheref.

Entities:  

Keywords:  Electronic health record; Facebook; Social network; Text similarity

Year:  2019        PMID: 31762577      PMCID: PMC6853723          DOI: 10.5455/aim.2019.27.192-198

Source DB:  PubMed          Journal:  Acta Inform Med        ISSN: 0353-8109


INTRODUCTION

Social network platforms have become a vital part of people’s lives; through them, people express their opinions and describe daily events. Web applications based on Web 2.0 technology encourage user participation through the contents generated by the users. For instance, individuals may create a post or comment about their life, events, stories, or medical conditions (1). Such content is called user-generated content (UGC), which gradually increases over time. The UGC contains valuable information that could be used in several applications such as question answering, blog or review mining, and information extraction about a specific domain. Social networks contain considerable amount of UGC, such as posts, reviews, and comments. UGC is a publicly available media content that are produced by end-users, which is made without standard content and format; moreover, validating the contents is not possible, which is an important topic in research for measuring the UGC credibility (1) UGC may be in a structured and unstructured format; structured format such as author and publication date is applied in a template, and unstructured format is a free text without any template or structure; most of UGCs are in unstructured format, in which detecting and identifying the information in difficult (2). Detecting and analyzing medical information in individuals’ posts can be used as a warning to physicians or an alarm regarding infections in the given regions. It can also be used to evaluate the effects of certain drugs (2). Several techniques used to detect the information in UGC are natural language processing (NLP) techniques, text mining, and data mining (3). The main principle of our study involves using existing techniques for detecting medical information from individual’s posts; this detection is based on the Unified Medical Language System (UMLS) repository, which is explained in the following sections.

AIM

The aim of this paper is to describe an model for detecting medical information present in generated contents, such as posts or comments.

METHODS

There are several techniques used in our proposed model, including text mining, the vector space model, and UMLS. These are discussed below. Text mining Text mining is a branch of data mining that involves searching for hidden information in a text corpus; in other words, it is the process of extracting valuable information from text (4). This information is typically derived through several steps as follows (5): Text preprocessing; Part-of-speech tagging; Statement segmentation; Noun phrase extraction. Test preprocessing is referred to as tokenization and consists of the following steps (6): Discarding unwanted elements, such as brackets and tags. Processing word boundaries (whitespace and punctuation). Stemming, or extracting words’ original forms. For example, the English word look can be inflected with morphological suffixes to produce looks, looking, and looked. These words share the same stem: look. Stemming is a complex process, as there can be many exceptions (e.g., department vs. depart, be vs. were). The most commonly used stemmer is the Porter stemmer (7). Removing stop words: the most frequently used words often carry little meaning. Capitalizing and case folding. It is often convenient to convert all characters to lowercase. Part-of-speech tagging involves software that reads a text in a given language and assigns parts of speech to each word, such as nouns, verbs, and adjectives (8). Statement segmentation serves to divide the text into several statements (9). Noun phrase extraction is responsible for extracting noun phrases; complex noun phrases are then decomposed into simpler noun phrases (9). Vector space model A vector space model is an algebraic model for representing text documents as vectors of identifiers, such as index terms. It is used in information filtering, information retrieval, indexing, and relevance ranking (10). A common use of this algorithm is classification, which is achieved by measuring the similarity between two texts or documents. Each document is represented as a vector, and the cosine of the angle between them is calculated. The closer the value is to 1, the higher the similarity between the documents (11). Clinical data is classified into several classes, including etiology, complaints, procedures, diagnosis, prognosis, treatment, and prevention. Each class is defined by important keywords, and the similarity between a user’s text and the clinical class is measured through shared keywords (12). A clinical phrase is correlated to each class by the following equation: where W(j) is the weight of the word phrase in the defined class. where wpi is the weight of a word phrase for class i. The cosine similarity between the phrase and class ranges from 0 to 1, and the angle between two-term frequency vectors cannot be greater than 90°. Thus, the closer the cosine value is to 1, the more similar the clinical phrase is to the class (13). UMLS The UMLS is a collection of files and software that consists of nearly all health and biomedical vocabularies and standards (14). Thus, it is an extensive collection of many controlled vocabularies in the biomedical sciences and provides a mapping structure for these vocabularies, thereby enabling translation across various terminology systems (15). The UMLS consists of the following components (16): Metathesaurus: the primary database of the UMLS that includes a collection of concepts and terms from various controlled vocabularies, and their relationships. Semantic Network: a set of categories and relationships that are used to classify and relate entries in the Metathesaurus. SPECIALIST Lexicon: a database of lexicographic information to be used in NLP. Each medical phrase is registered in the UMLS repository with a description and relation to other phrases. Extracted phrases from UGCs are examined in the UMLS to determine their meanings and relations to other phrases to extract users’ medical information (17). Classification of medical information In the UMLS, medical expressions are classified into three main areas: Examination: the process of investigating the body of a patient for signs of disease by medical professionals (18). Diagnosis: the process of determining the disease or condition that can explain a person’s symptoms and signs (19). Procedure: a collection of actions intended to achieve a result in the delivery of healthcare (20). Each area is treated as a class and has its primary expressions. The first step in the classification process is to build a collective set of features, typically called a dictionary. The dictionary of words covers the majority of possible medical expressions and their suggested classes. Table 1 illustrates an example of the classification dictionary.
Table 1.

UMLS codes and its medical classes

No UMLS Code Examination Diagnosis Procedure
1 Clinical Drug 0 0 1
2 Finding 1 0 0
3 Laboratory 0 0 1
4 Test Result 0 0 1
5 Sign or Symptom 1 0 0
6 Virus 0 1 0
7 Disease 0 1 0
8 Syndrome 0 1 0
9 Vitamin 0 0 1
10 Organism Function 1 1 0
11 Neoplastic 0 0 1
12 Process 0 0 1
13 Mental Dysfunction 0 1 0
14 Behavioral Dysfunction 0 1 0
15 Mental Process 0 0 1
16 Hormone 0 0 1
We implemented the text preprocessing and classification process, which was presented in (21). The second step is to measure the similarity between the extracted expressions and the predefined classes and to classify each expression into the most appropriate class. Cosine similarity is the algorithm used in this study to calculate similarity.

RESULTS

There are several studies in the field of medical information extraction, and they use a variety of natural languages. Chen et al.(22) proposed a model to extract clinically useful information from Chinese electronic medical records. In particular, they developed an NLP-based algorithm for extracting clinical information regarding patients with hepatocellular carcinoma (HCC) from these records. Their model focused on clinical information present in operation notes as well as radiology and pathology reports. Collected from 92 HCC patients, this dataset was divided into a training set of 60 patients and a test set of 32 patients to evaluate the model. Rule-based and hybrid methods were used for extracting information, and the dataset set was manually annotated to measure the performance of the model. The performance was measured by calculating the precision, recall, and F-score, all of which had a score of ≥ 80% (22). Thus, the model proved to be successful, but with limitations: only specific types of documents relating to specific diseases were used, and this model focuses only on the Chinese language. It would be helpful to generalize this model to apply to a broader range of clinical documents and other natural languages. Bushinak et al.(21) presented a model for extracting medical information from free text. The free text may be a patient’s report or a prescription. They tried to convert the unstructured medical information to a structured format by identifying conditions such as disease symptoms. They used Text mining and NLP techniques for identifying medical information (21). Tang et al.(23) tried to identify and track topics discussed on a cancer institution‘s Facebook page and extract useful information about emotional support to patients and family members in the free text UGC. They classified the extracted information into greetings and comments about the cancer institution, blessings, time, treatment, expressions of optimism, tumor, father figure, and other family members and friends, and the other comments were unclassified. This research confirms the importance of the UGC, and it is used as a source of structured information after applying information extraction process (23). Xinying Song et al. (24) proposed an enhanced model of mining data records (MDR) in Web pages, the original MDR is based on two key observations about the layout of data records in Web pages and uses a string-matching algorithm (24). He adopted the domain constraints to enhance the string similarity, but their work focused on the web pages in general. Working on social networks UGC is different because in social media such as Facebook, people express their opinions and feelings that are related to their life. Conversely, MDR focuses on extracting information from the web pages to put a similar text together in structured or semi-structured formats (24). Sean D. Young et al. used social media as an early indicator of syphilis (25). They utilized the increasing number of social media users and the inexpensiveness of collecting data from social media. The goal of their proposed model was to work as a cost-effective surveillance strategy of syphilis disease. The data were collected from Twitter, and they were filtered to include only sex-related tweets from the United States; words that contain sexual meaning such as “sex” and “fuck” were selected to be associated with sexual risk-related attitudes and behaviors. However, their list of words is limited and does not guarantee the existence of syphilis as they do not include other medical expressions that could be a good predictor of this disease; thus, applying our method may enhance their proposed algorithm (25). Viani et al. (26) attempted to extract information from Italian medical reports using an ontology-driven approach; their goal was to identify events and their attributes from medical reports written in Italian. They built a corpus that included 5,432 non-annotated medical reports about patients with rare arrhythmias. For extracting clinical information, they built a domain-specific ontology that included events and attributes to be extracted with predefined regular expressions. The proposed model performance was evaluated on an independent test set and achieved an accuracy of 90% for most clinical cases. This model succeeded in extracting clinical information from Italian records; however, it was limited to a specific domain and language (26). Chiaramello et al.(27) studied information extraction from Italian medical documents using „off-the-shelf“ information extraction algorithms. They conducted three experiments that demonstrated that the Italian UMLS Metathesaurus sources covered 91% of medical expressions in the Italian clinical notes. These results reinforce the importance of the UMLS as a verified source of clinical expressions (27). In our study, we focused on UGCs, especially content obtained from social media platforms, such as Facebook and Twitter. The UGC can be used as an early alarm for infections in a specific region, or as a marketing tool for doctors and pharmaceutical companies (27). 4.1. Proposed model The proposed model consists of multiple steps, as illustrated in Figure 2 and described below:
Figure 2.

Proposed model with its steps

The user creates UGC, which can be a post or a tweet. The UGC is input to a text mining process that is responsible for extracting noun phrases after applying text preprocessing, part-of-speech tagging, and statement segmentation. The extracted phrases are inputted to a process for searching the UMLS repository. The presence of medical information in the posts is determined, and the posts are classified into one of the classes mentioned in Section 2.4. 4.2. Evaluation The dataset was built by selecting a list of UGC Facebook posts and Twitter tweets; it contained 500 UGCs collected from 500 users (250 Facebook users and 250 twitter users). We used a version of the Twitter API based on python and c#. which pulled queries from Twitter’s public timeline, but for Facebook, the posts collected manually because of Facebook policy that prevents the API usage. Table 2 presents a snapshot of the collected dataset.
Table 2.

Dataset snapshot

UGC IDUGCSourceUser ID
1My muscles are sore.Facebook1
2My nose is stuffy.Facebook2
3My silence/smile is just another word for my pain.Twitter3
4My stomach hurts.Facebook4
5Never underestimate the power of denial, the heights of assumption or the depths of pain.Twitter5
6Diabetes is a part of my life, but that does not mean I have to love itFacebook6
7Our health always seems much more valuable after we lose it.Facebook7
8Pain is the only thing that’s telling me I am still alive.Twitter8
9People cry, not because they are weak. It is because they have been strong for too long.Facebook9
10Yes, in my diabetes lifetime, I have stuck a needle in my fingertipsTwitter10
There are eight volunteer physicians in different clinical specializations that participated in the research, they are listed in Table 3. Each UGC was manually annotated and classified by the participated physicians. Each class was defined through a vector of expressions, as demonstrated in Table 1. The UGC was entered into the proposed model, as illustrated in Figure 2, and the extracted medical expressions were classified into predefined classes.
Table 3.

Physicians who participate in manual annotations

NoSpecializationDegree
1Specialty OphthalmologyPh.D.
2General SurgeryPh.D.
3Specialty Oncology SurgeryPh.D.
4Audiology specializationM.Sc.
5Cardiology specializationM.Sc.
6Specialty PediatricsM.Sc.
7Specialty Orthopedic SurgeryM.Sc.
8Dermatology and GeneticsM.Sc.

DISCUSSION

The following example demonstrates the complete journey of a created post through the proposed model up to the completion of the classification process, according to the cosine similarity and vector space model. The following post is considered: Diabetes is a part of my life, but that does not mean I have to love it The text mining package that used in our proposed model is Natural Language Toolkit (28), it is a leading platform for building Python programs to work with human language data and could be integrated with Microsoft platforms. This post enters the text mining process, upon which the following subprocesses are applied: Text preprocessing: all brackets, unwanted features, and word boundaries are removed. Part-of-speech tagging: parts of speech are assigned to each word. Statement segmentation: examination text is split into multiple statements. The output of the process is provided in Table 4.
Table 4.

Extracted noun phrases

Word Lemma Tag
diabetes diabetes Noun, singular or mass
part part Noun, singular or mass
life life Noun, singular or mass
Extracted noun phrases continue to the following step and are converted to UMLS codes. The UMLS API is responsible for determining the associated class for each noun phrase; the output of this process is presented in Table 5.
Table 5.

Example of Noun phrases and their UMLS code

Noun Phrase UMLS code
diabetes Disease
part Noun, singular or mass
life Noun, singular or mass
The vector space model is then used to measure similarity to determine the most appropriate class corresponding to the extracted clinical information. The cosine values for the three classes are as follows: Cos (Examination) = 0 Cos (Diagnose) = 0.408 Cos (Procedure) = 0 The Diagnose class has the most significant value; it is thus the winning class. Table 6 presents sample terms that are manually and automatically annotated.
Table 6.

UGC Manual annotation and model annotation

ID UGC Extracted terms with manual annotations Extracted terms with proposed model annotations
1 My muscles are sore. muscle (human part)Sore (Finding) muscle (human part)Sore (Finding)
2 My nose is stuffy. nose (human part)stuffy (Finding) nose (human part)stuffy (Finding)
3 My silence/smile is just another word for my pain. None Pain (Finding)
4 My stomach hurts. stomach (human part)hurt (Finding) stomach (human part)hurt (Finding)
5 Never underestimate the power of denial, the heights of assumption or the depths of pain. None Pain (Finding)
6 Diabetes is a part of my life, but that does not mean I have to love it. diabetes (disease) diabetes (disease)
7 Our health always seems much more valuable after we lose it. None None
8 Pain is the only thing that’s telling me I’m still alive. None Pain (Finding)
9 People cry, not because they’re weak. It’s because they’ve been strong for too long. None None
10 Yes, in my diabetes lifetime, I have stuck a needle in my fingertips. diabetes (disease) diabetes (disease)
After extracting clinical information from the UGC, it is classified into predefined classes, which are defined manually and by the proposed model. Table 6 presents a subset of model classifications and manual classifications. To measure the performance of the proposed model, we calculated the precision, recall, and F-score with the following equations (29): Precision: (P) = TP/(TP + FP) Recall: (R) = TP/(TP + FN) F-score = 2PR/(P + R) Here, TP denotes true positive, FP denotes false positive, and FN denotes false negative. For each UGC entry, we identified the TP, FP, and FN to calculate the precision, recall, and F-score. Tables 8 and 9 summarize the results of applying the model to 500 UGCs and presents the values that measure model performance.
Table 8.

Performance measure values

UGC ID TP FP FN Precision Recall F-score
1 1 0 0 100.00 100.00 100.00
2 1 0 0 100.00 100.00 100.00
3 1 0 0 100.00 100.00 100.00
4 1 0 0 100.00 100.00 100.00
5 3 0 0 100.00 100.00 100.00
6 1 0 0 100.00 100.00 100.00
7 2 1 1 66.67 66.67 66.67
8 1 1 0 50.00 100.00 66.67
9 1 1 0 50.00 100.00 66.67
10 1 0 0 100.00 100.00 100.00
Table 9.

Average precision, recall, and F-score

Precision Recall F-score
87.00 89.08 85.32
The accuracy of classification = (No. of true classifications / total number of UGCs) = (472/500) * 100 = 94.6%.

CONCLUSION

Social media generates billions of data points that can be used as a vital source of information. In this study, we attempted to extract clinical information present in UGC. Using the proposed model should involve a reliable dataset that contains most clinical expressions; the UMLS was a suitable dataset for our model. After applying the proposed model, we measured its performance and observed 94.2% accuracy, 87% precision, 89% recall, and an 85.32% F-score. These results demonstrate the success of our proposed model in extracting and classifying the medical information.
Table 7.

Post manual classification and model classification

ID Post Manual Classification Model Classification Result
1 My muscles are sore. Examination Examination True
2 My nose is stuffy. Examination Examination True
3 My silence/smile is just another word for my pain. Examination Examination True
4 My stomach hurts. Examination Examination True
5 Never underestimate the power of denial, the heights of assumption or the depths of pain. No Class Examination False
6 Diabetes is a part of my life, but that does not mean I have to love it. Diagnose Diagnose True
7 Our health always seems much more valuable after we lose it. None None False
8 Pain is the only thing that’s telling me I’m still alive. None Examination False
9 People cry, not because they’re weak. It’s because they’ve been strong for too long. None None False
10 Yes, in my diabetes lifetime, I have stuck a needle in my fingertips. Diagnose Diagnose True
  12 in total

1.  Safety culture assessment: a tool for improving patient safety in healthcare organizations.

Authors:  V F Nieva; J Sorra
Journal:  Qual Saf Health Care       Date:  2003-12

2.  Reasoning with Vectors: A Continuous Model for Fast Robust Inference.

Authors:  Dominic Widdows; Trevor Cohen
Journal:  Log J IGPL       Date:  2014-11-19       Impact factor: 0.861

3.  Using natural language processing to extract clinically useful information from Chinese electronic medical records.

Authors:  Liang Chen; Liting Song; Yue Shao; Dewei Li; Keyue Ding
Journal:  Int J Med Inform       Date:  2019-01-07       Impact factor: 4.046

4.  Using social media as a tool to predict syphilis.

Authors:  Sean D Young; Neil Mercer; Robert E Weiss; Elizabeth A Torrone; Sevgi O Aral
Journal:  Prev Med       Date:  2017-12-24       Impact factor: 4.018

5.  Use of "off-the-shelf" information extraction algorithms in clinical informatics: A feasibility study of MetaMap annotation of Italian medical notes.

Authors:  Emma Chiaramello; Francesco Pinciroli; Alberico Bonalumi; Angelo Caroli; Gabriella Tognola
Journal:  J Biomed Inform       Date:  2016-07-18       Impact factor: 6.317

6.  Information extraction from Italian medical reports: An ontology-driven approach.

Authors:  Natalia Viani; Cristiana Larizza; Valentina Tibollo; Carlo Napolitano; Silvia G Priori; Riccardo Bellazzi; Lucia Sacchi
Journal:  Int J Med Inform       Date:  2017-12-23       Impact factor: 4.046

7.  Measuring diagnoses: ICD code accuracy.

Authors:  Kimberly J O'Malley; Karon F Cook; Matt D Price; Kimberly Raiford Wildes; John F Hurdle; Carol M Ashton
Journal:  Health Serv Res       Date:  2005-10       Impact factor: 3.402

8.  The UMLS Metathesaurus: representing different views of biomedical concepts.

Authors:  P L Schuyler; W T Hole; M S Tuttle; D D Sherertz
Journal:  Bull Med Libr Assoc       Date:  1993-04

9.  Comment Topic Evolution on a Cancer Institution's Facebook Page.

Authors:  Chunlei Tang; Li Zhou; Joseph Plasek; Ronen Rozenblum; David Bates
Journal:  Appl Clin Inform       Date:  2017-08-23       Impact factor: 2.342

10.  Seventh report of the Joint National Committee on Prevention, Detection, Evaluation, and Treatment of High Blood Pressure.

Authors:  Aram V Chobanian; George L Bakris; Henry R Black; William C Cushman; Lee A Green; Joseph L Izzo; Daniel W Jones; Barry J Materson; Suzanne Oparil; Jackson T Wright; Edward J Roccella
Journal:  Hypertension       Date:  2003-12-01       Impact factor: 10.190

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.