Adverse Drug Reaction Incidents (ADRI) are potentially very dangerous to patients and are top causes of morbidity and mortality. Many ADRIs are hard to discover as they happen to certain groups of people in certain conditions, and they may take a long time to expose. Healthcare providers conduct clinical trials to discover ADRI before selling the products but normally are limited in numbers. Thus, post-market drug safety monitoring is required to help discover ADRI after the drugs are sold on the market.
Less than 5% of ADRIs are reported via official channels and the vast majority is described in free-text channels: emails & phone calls to patient support centers, social media posts, sales conversations between clinicians and pharma sales reps, online patient forums, and so on. This requires pharmaceuticals and drug safety groups to monitor and analyze unstructured medical text from a variety of jargons, formats, channels, and languages – with needs for timeliness and scale that require automation.

In this project, we show how to use Spark NLP’s existing models to process conversational text and extract highly specialized ADRI and DRUG information, store the data in Lakehouse, and analyze the data for various downstream use cases, including
- Conversational Texts ADE Classification
- Detecting ADE and Drug Entities from Texts
- Analysis of Drug and ADE Entities
- Finding Drugs and ADEs Have Been Talked Most
- Detecting Most Common Drug-ADE Pairs
- Checking Assertion Status of ADEs
- Relations Between ADEs and Drugs
Key Take Aways: –
- Azure Data Lake Storage Gen2, Azure Data Factory, Azure Key Vault
- Azure Databricks +Machine Learning- Use the prebuilt NLP Model for ADE Detection.
- Medallion Architecture Implementation