Plotting real-time long-term ECG Signals with Android App
Published: 2024-04-05 10:47:34

<!-- wp:list -->
<ul><li><strong>Electrocardiomatrix (ECM) is an intuitive way to review long-term ECG signals.</strong></li><li><strong>The project developed at </strong><a href="https://borjigin.lab.medicine.umich.edu/">BorjiginLab</a><strong>, at the University of Michigan aims to promote early and accurate Atrial Fibrillation Detection.</strong></li><li><strong>Android App was created to allow patients themselves identify atrial fibrillation and send the suspicious recordings to cardiologist.</strong></li></ul>
<!-- /wp:list -->

<!-- wp:heading -->
<h2 id="promoting-early-screening-of-cardiac-abnormalities-with-ecm-technology"><strong>Promoting early screening of Cardiac Abnormalities with ECM technology</strong></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>University of Michigan’s <a href="https://www.linkedin.com/in/jimo-borjigin-87a65a8/">Jimo Borjigin, Ph.D.</a> has developed a novel electrocardiomatrix (<a href="http://ecmatrix.med.umich.edu/">ECM</a>) technology to permit efficient, intuitive, and accurate detection of cardiac abnormalities from electrocardiography (ECG) signals.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>ECM is expected to promote early and accurate atrial fibrillation (AFIB) detection, permit stroke prevention, and reduce costs of diagnosis.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To promote early screening of AFIB in general population, our laboratory developed an Android App that communicates with a medical-grade wearable ECG device. The single-lead ECG signal is continuously streamed to the mobile phone or tablet and transformed into ECM instantaneously, which can be inspected visually in real-time.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":33103,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://www.scichart.com/wp-content/uploads/2022/05/ecm_post_image-1.jpg" alt="" class="wp-image-33103"/><figcaption>Normal sinus rhythm (left) and atrial fibrillation (right) on 5-minute long ECM</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>This method permits accurate detection of paroxysmal AFIB with or without symptoms. With one glance of visual inspection, one can easily identify cardiac abnormalities, including AFIB, from long ECG/ECM recordings, with minimum training.</p>
<!-- /wp:paragraph -->

<!-- wp:quote -->
<blockquote class="wp-block-quote"><p><em>Patients can monitor their cardiac health at home during casual activities and send the report to their doctors for diagnosis.</em></p></blockquote>
<!-- /wp:quote -->

<!-- wp:heading -->
<h2 id="data-visualization-challenge"><strong>Data Visualization Challenge</strong></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>For live streaming ECM on the mobile devices, the biggest challenge is charting performance for the large amount of data points from the heatmap that consists of thousands of heartbeats.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Paroxysmal atrial fibrillation may occur suddenly and stop on its own during daily routine, it can be hard to be captured in just a few minutes. ECM provides users an efficient way to review thousands of heartbeats at a time. <strong>For example, a 30min-long ECM contains 3,600,000 data points for the ECG at 200Hz.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Data visualization of large amounts of data in real-time on mobile devices becomes crucial for app development and user experience.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":33105,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://www.scichart.com/wp-content/uploads/2022/05/ecm_phone_portrait-1.jpg" alt="" class="wp-image-33105"/><figcaption>The app allows user to review all the saved recordings</figcaption></figure>
<!-- /wp:image -->

<!-- wp:heading -->
<h2 id="using-scichart-android-charting-library"><strong>Using SciChart Android Charting Library</strong></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>SciChart is a high-performance charting solution on the market that is easy to implement to the mobile platforms.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This application uses the following features:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>FiFo charts series are used to display the top chart and visualize the ECG information in real-time.</li><li>The heatmap chart type is to visualize the ECM data at the bottom of the application.</li><li>The zooming and panning features of the SciChart allow users to navigate the details of the ECM in different scales.</li><li>The annotation features presents healthcare providers a way to highlight a short ECG strip within a long-term ECM, and to annotate irregular heartbeats or cardiac rhythms with simple taps for further analysis.</li></ul>
<!-- /wp:list -->

<!-- wp:image {"id":33108,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://www.scichart.com/wp-content/uploads/2022/05/Navigate-ECG-strip-with-Pocket-ECM.gif" alt="" class="wp-image-33108"/><figcaption>Highlight short ECG strip within ECM</figcaption></figure>
<!-- /wp:image -->

<!-- wp:image {"id":33110,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://www.scichart.com/wp-content/uploads/2022/05/Annotate-with-Pocket-ECM.gif" alt="" class="wp-image-33110"/><figcaption>Annotation functionalities for healthcare professionals</figcaption></figure>
<!-- /wp:image -->

<!-- wp:heading -->
<h2 id="relevance"><strong>Relevance</strong></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>With the help of ECM, the cardiac rhythm changes and irregular heartbeats can be easily identified with visual inspection. The wearable hardware allows user monitoring continuous ECG for maximum 7 days with one coin battery.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Usually cardiologists review ECG signals in two ways. One is a few minutes of 12-lead ECG, which is ordered by the doctor when the patient feels something is wrong with their heart. However, some paroxysmal atrial fibrillation can be hard to be captured in a short period of time.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Another way is a Holter/event monitor, which records continuous long-term ECG for days. It is not possible for a cardiologist to check the raw ECG data beat by beat, which is time consuming and error-prune. Healthcare professionals only focus on the suspicious episodes that algorithm marked as arrhythmias, or the episodes with the marker when the patient pushed the button on the device. The false positives may overwhelm the cardiologists, while false negatives lead to misdiagnosis. That is where ECM comes in as it provides an affordable way that people can review long-term ECG with one glance. The accurate detection of atrial fibrillation outperformed the clinical team in our previous study (<a href="https://pubmed.ncbi.nlm.nih.gov/31177972/">https://pubmed.ncbi.nlm.nih.gov/31177972/</a>).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Patients with known or suspected heart conditions and health-conscious individuals are able to monitor their ECG 24/7 and interpret ECM with instructions. Patients can choose to share their recordings to the cardiologist or physician if they recognized cardiac abnormalities. The wearable device with chest belt or adhesive patch provides comfort and flexibility for daily routine.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The ECM definitely has other application scenarios like bedside ECG monitor, nursing station, ambulatory ECG monitoring, ECG monitoring during anesthesia, and more. Please visit <a href="http://ecmatrix.med.umich.edu">http://ecmatrix.med.umich.edu</a> for more information.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Further Reading</strong></p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>The whole article and research paper can be found here: <a href="https://www.sciencedirect.com/science/article/abs/pii/S0022073618303480">Electrocardiomatrix facilitates qualitative identification of diminished heart rate variability in critically ill patients shortly before cardiac arrest</a></li><li>SciChart Android Example: <a href="https://www.scichart.com/example/android-chart/android-vital-signs-ecg-medical-chart-example/">Vital Signs ECG Example</a></li><li>Other blog posts where SciChart for mobile is used in Digital Health domain: <a href="/data-visualization-for-the-epilepsy-research-kit-for-kids/">Data Visualization for the Epilepsy research Kit for Kids</a></li></ul>
<!-- /wp:list -->