Group 4
INFO-B 512 Scientific and Clinical Data Management
MS Health Informatics Program
Indiana University, Indianapolis
This project analyzes geographic variations in healthcare delivery using OpenEMR clinical data. A normalized relational database schema with ER diagrams was designed and implemented in MySQL using phpMyAdmin. Clinical data was extracted using SQL queries executed through Python, and analyzed to identify patterns in immunization rates, encounter frequency, and prescription trends across geographic regions using Pandas and Matplotlib.
- Design and implement normalized relational database schema with ER diagrams.
- Extract and analyze OpenEMR clinical data using SQL and Python.
- Identify geographic variations in immunization rates and encounter frequency.
- Analyze prescription patterns across different regions.
- Visualize healthcare delivery trends by location.
- Database: MySQL, phpMyAdmin
- Programming: Python 3.12
- Libraries:
mysql-connector-python,pandas,matplotlib,seaborn,numpy - Environment: Jupyter Notebook
- Primary Key:
pid(BIGINT) - Attributes:
DOB(DATE)sex(VARCHAR)city(VARCHAR)state(VARCHAR)
- Primary Key:
id(INT) - Attributes:
name(VARCHAR)city(VARCHAR)state(VARCHAR)
- Primary Key:
id(BIGINT) - Foreign Keys:
pid(BIGINT) referencespatient_data(pid)facility_id(INT) referencesfacility(id)
- Attributes:
date(DATE)reason_for_visit(VARCHAR)
- Primary Key:
id(BIGINT) - Foreign Key:
pid(BIGINT) referencespatient_data(pid) - Attributes:
administered_date(DATE)cdc_vaccine_code(VARCHAR)
- Primary Key:
id(BIGINT) - Foreign Key:
encounter_id(BIGINT) referencesform_encounter(id) - Attributes:
drug_name(VARCHAR)
- Primary Key:
id(BIGINT) - Foreign Key:
form_encounter_id(BIGINT) referencesform_encounter(id) - Attributes:
cpt_code(VARCHAR)
- Boston: 84 immunizations (highest)
- Haverhill: 82 immunizations
- Analysis covers 20 cities across Massachusetts
- Average encounters per patient: 43.23
- 30-day follow-up rate: 30.97%
- Average time to follow-up: 15.5 days
- General examination: Most frequent
- Encounter for problem (procedure): Second most common
- Follow-up encounter: Third most common
- Acetaminophen 325 MG (38 prescriptions)
- Amoxicillin/Clavulanate (21 prescriptions)
- Lisinopril 10 MG (21 prescriptions)
- Obstetrics and Gynecology Unit: 4,323 encounters
- Geographic concentration with Boston leading in immunizations and overall healthcare utilization.
- High patient engagement (43.23 encounters) but 30.97% follow-up rate needs improvement.
- General examinations dominates encounter reasons across regions.
- Acetaminophen leads overall prescriptions, followed by Amoxicillin/Clavulanate and Lisinopril.
