ECG Report Generator Portable
ECG Report Generator Portable
ECG Report Generator Portable
OSEI KUFFUOR
MS Thesis Defense
Advisor: Dr Patrick O Bobbie
In this Issue:
Fundamental Concept of ECG
ECG Theory
The Heart
Overview of ECG Report Generator
Design and Implementation
ECG Database
The Application
ECG Report Analyzer
Generate FinalReport
Automatic Email Sender
Conclusion
References
Introduction
Cardiovascular disease (CVD),
principally heart disease and stroke.
Nation’s leading killer for both men
and women
This disease kills all racial and ethnic
groups
About 1 million American die of CVD
each year
Introduction cont’
According to American Heart
Association, one person dies every
30 seconds which is over 2,600
deaths in every single day.
Victims between 35-64 years of age
About 62 million Americans have
some form of cardiovascular
disease
ECG Measurement
Signals from two leads are
connected between two point of the
body
Electrical voltage observed between
the electrodes is given by the dot
product of the two vectors
Modern standard ECG – uses more
electrode connection points
Heart Rate
CreateDatabase()
Create Table()
CreateProcedure()
CreateView()
PopulateTable()
DisplayData()
CreateDatabase()
Using SQL statements you can create database objects programmatically
Private Sub bntCreateDatabase_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
bntCreateDatabase.Click
If bntCreateTable.Enabled Then
Dim dr As DialogResult = MessageBox.Show
If dr = DialogResult.Yes Then
ResetUI()
CreateTable()
End If
Else
CreateTable()
End If
End Sub
This function creates a database in the form of a table.
Function CreateTable ( )
ECG
wave rate No diastoli
form >130? o o Sinus
>100 c >80?
y
e
s
Report
Y
e
s
.High blood Pressure
Y
e
s
.Valvular heart disease
Cardiovascular
.rheumatic fever Coronary
disease
Analyzer
.rheumatic heart disease artery
.Coronary artery disease disease
.
Y
e
s
Discomfort in
the back,neck
RISK FACTORS jaw or
y
e
s
Sex hormones stomach
Birth Control pill candidate
Cardiovas Heavy Alcoholic
cular
Y
e
s
disease
Y .Heart
Is age >65? e blood
s Pressure
Is chest discomfort .Coronary
N
or disease
o
High Blood Difficult breathing?
Pressure
Vavular heart
disease
Rheumatic fever
Reheumatic heart
disease N N
o END o
ECG Diagnostic Analyzer
Diagnostic Analyzer uses algorithm to diagnose the patient’s condition. For example:
SELECT Diagnosis.Name
FROM Diagnosis
WHERE Diagnosis.DiagnosisID IN
(SELECT History.Heredity
FROM History.Medication IN
(SELECT * FROM DiseaseOne));
Function EmailSender()
According to definition by [2], SMTP
(Simple Mail Transfer Protocol): The
standard e-mail protocol on the Internet
and part of the TCP/IP protocol suite
SMTP defines the message format and the
message transfer agent (MTA), which
stores and forward the mail
SMTP was originally designed for only
plain text (ASCII text), but MIME and other
encoding methods enable executable
programs and multimedia files to be
attached to and transported with the email
message.
SendEmail() -Format
Date: 9 Aug 2006 04:10:34
From: spsu@spsu.edu
To: doctor@ga.org
Subject: James Doe Heart-Diagnostic Report
Message: Name- James Doe
Date of Birth: 10/10/2000
SSN: xxx-xxx-2437 (format for security purpose)
Heart Rate > 100
Systolic > 130
Gender: Female and smokes
Medication: Ampicillian 500mg
Possible Diagnosis Results: Cardiovascular heart disease
Medication Center: 1234 Great Street, Marietta GA, 30060(phone) 770-456-1234
Heredity:
Father was a cardiovascular candidate
Mother never had any kind of heart disease
End of message
Conclusion and Future Considerations
I have learnt a lot from this project and this will help
me to go deep into database programming. After
finishing this project, I highly recommend that the
code for streaming signal voltage from the ECG to
the database should have the same platform as the
ECG Database and Report Generator. This will help
to automate the streaming of data with alongside
with the Database Report Generator.
The future continuation development of this project
should include internet base programming and a
function that can be connected to a phone device in
other to send phone message to the doctor.
References
[1] Craig S. Mullins, “Database Administration”; The Complete Guide to
Practice and procedures, 2002
[2] David Gefen & Chitibabu Govindarajulu, “Advanced Visual Basic.Net”,
2004
[3] Gary J. Bronson & David Rosenthal, “Introduction to Programming
with Visual Basic.Net”, 2005
[4] Keith Franklin, “VB.Net Developers”, 2002
[8] http://www.healingwithnutrition.com/cdisease/cardiovascular/cardiovascular.html
THE
END
Questions?