Visualization of arrhythmia detection using machine learning
The medical device system simplifies cardiac arrhythmia detection by using machine learning to provide clear visualizations for users of varying expertise, enhancing diagnostic accuracy and reducing the need for specialized knowledge.
Patent Information
- Application Number
- JP2021564706
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-04-16
- Filing Date
- 2020-04-17
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-04-17
AI Technical Summary
Existing machine learning systems for cardiac arrhythmia detection provide complex conclusions that are difficult for non-experts to understand, necessitating specialized knowledge for effective interpretation and diagnosis.
A medical device system that applies a machine learning model to electrocardiogram data to detect arrhythmias, providing clear and simplified visualizations tailored for users of varying expertise levels, including detailed and less detailed information based on user skill.
Enables accurate and rapid diagnosis of cardiac arrhythmias by reducing the need for specialized knowledge, allowing users to interpret machine learning outputs effectively.
Smart Images

Figure 0007539412000014 
Figure 0007539412000001 
Figure 0007539412000003
Abstract
Description
[Technical field]
[0001] TECHNICAL FIELD This disclosure relates generally to medical devices. [Background technology]
[0002] Malignant tachyarrhythmias, such as ventricular fibrillation, are uncoordinated contractions of the myocardium of the heart's ventricles and are the arrhythmia most commonly identified in patients with cardiac arrest. If these arrhythmias persist for more than a few seconds, they can lead to cardiogenic shock and cessation of effective blood circulation, which can result in sudden cardiac death (SCD) in a matter of minutes.
[0003] In patients at high risk for ventricular fibrillation, the use of implantable medical devices (IMDs), such as implantable cardioverter defibrillators (ICDs), has been found to be beneficial in preventing SCD. ICDs are battery-powered electrical shock devices that may include an electrical housing electrode (sometimes referred to as a can electrode) and are typically coupled to one or more electrical leads placed within the heart. For example, if an arrhythmia is detected, the ICD can transmit a pulse via the electrical leads to shock the heart and restore normal rhythm. Some ICDs are configured to terminate the detected tachyarrhythmia by delivery of anti-tachycardia pacing (ATP) prior to delivery of the shock. Additionally, ICDs are configured to deliver relatively high amplitude post-shock pacing after successful termination of the shockable tachyarrhythmia to support the heart as it recovers from the shock. Some ICDs also deliver bradycardia pacing, cardiac resynchronization therapy (CRT), or other forms of pacing.
[0004] Other types of medical devices may be used for diagnostic purposes. For example, an implantable or non-implantable medical device may monitor a patient's heart. A user, such as a physician, may review data generated by the medical device for occurrences of cardiac arrhythmias, such as atrial or ventricular tachyarrhythmia, or asystole. The user may diagnose a patient's medical condition based on the occurrence of identified cardiac arrhythmias. Summary of the Invention
[0005] In accordance with the techniques of the present disclosure, a medical device system is described herein that illustrates and visualizes the output of a machine learning system that detects cardiac arrhythmias in a patient. Machine learning systems can provide a powerful tool for detecting and classifying arrhythmia episodes in a patient. However, the basis for the conclusions drawn by such machine learning systems can be difficult to communicate to non-experts. Disclosed herein are techniques for simplifying the conclusions drawn by machine learning systems regarding the detection of cardiac arrhythmias in a patient and presenting such information in a manner that is understandable to users of different abilities, including experts and non-experts in the subject matter of the invention.
[0006] In one example, a computing device receives electrocardiogram data sensed by a medical device. The computing device applies a machine learning model trained using electrocardiogram data for a plurality of patients to the received electrocardiogram data and determines, based on the machine learning model, that an arrhythmia episode has occurred in the patient and a level of confidence in the determination that an arrhythmia episode has occurred in the patient. In response to determining that the level of confidence is greater than a predetermined threshold, the computing device displays to a user a portion of the electrocardiogram data, an indication that an arrhythmia episode has occurred, and an indication of the level of confidence that an arrhythmia episode has occurred. In some examples, the computing device provides more detailed information to advanced users and less detailed information to basic users.
[0007] In another example, a computing device receives electrocardiogram data sensed by a medical device and a selection of an arrhythmia type from a user. The computing device applies a machine learning model to the received electrocardiogram data to determine, based on the machine learning model, that an arrhythmia episode of the selected type has occurred in the patient and a level of confidence in the determination that an arrhythmia episode of the selected type has occurred. The computing device outputs for display at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode of the selected type has occurred in the patient, and a second indication of the level of confidence that an arrhythmia episode of the selected type has occurred in the patient.
[0008] The techniques disclosed herein may provide certain improvements in the field of machine learning systems that perform cardiac arrhythmia detection and classification. For example, the techniques disclosed herein may enable clearer explainability and visualization of the analysis performed by such machine learning systems. Furthermore, the techniques described herein may enable rapid and patient-specific interpretation of electrocardiogram data for use by users of many different skill levels. The techniques disclosed herein may reduce the amount of training required by users to utilize the conclusions provided by machine learning systems that perform cardiac arrhythmia detection and classification, as well as enable the use of such machine learning systems in more diverse systems. Thus, the techniques disclosed herein may enable more accurate and rapid diagnosis and classification of a patient's cardiac arrhythmia, while reducing the amount of expertise required by a clinician to provide diagnosis and treatment of such cardiac arrhythmia.
[0009] In one example, the disclosure describes a method including receiving, by a computing device including a processing circuit and a storage medium, electrocardiogram data sensed by a medical device; applying, by the computing device, a machine learning model trained using the electrocardiogram data for a plurality of patients to the received electrocardiogram data, determining, based on the machine learning model, that an arrhythmia episode has occurred in the patient and determining a level of confidence in the determination that an arrhythmia episode has occurred in the patient; determining that the level of confidence in the determination that an arrhythmia episode has occurred in the patient is greater than a predetermined threshold; and in response to determining that the level of confidence is greater than the predetermined threshold, output, by the computing device, for display to a user, at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode has occurred in the patient, and a second indication of the level of confidence that an arrhythmia episode has occurred in the patient.
[0010] In another example, the disclosure describes a method including: receiving, by a computing device including a processing circuit and a storage medium, electrocardiogram data sensed by a medical device; receiving a selection of an arrhythmia type from a user; applying, by the computing device, a machine learning model trained using the electrocardiogram data for a plurality of patients to the received electrocardiogram data, determining a level of confidence in a determination that an episode of the selected type of arrhythmia has occurred in the patient based on the machine learning model; and outputting, by the computing device, for display to a user, at least a portion of the electrocardiogram data, a first indication that the patient has experienced the selected arrhythmia episode, and a second indication of the level of confidence that the patient has experienced the selected arrhythmia episode.
[0011] In another example, the disclosure describes a computing device including a storage medium and a processing circuit operably coupled to the storage medium and configured to: receive electrocardiogram data sensed by a medical device; apply a machine learning model trained using the electrocardiogram data for a plurality of patients to the received electrocardiogram data to determine, based on the machine learning model, that an arrhythmia episode has occurred in the patient and determine a level of confidence in the determination that an arrhythmia episode has occurred in the patient; determine that the level of confidence in the determination that an arrhythmia episode has occurred in the patient is greater than a predetermined threshold; and in response to determining that the level of confidence is greater than the predetermined threshold, output for display to a user at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode has occurred in the patient, and a second indication of the level of confidence that an arrhythmia episode has occurred in the patient.
[0012] In another example, the present disclosure describes a computing device including a storage medium and a processing circuit operably coupled to the storage medium and configured to: receive electrocardiogram data sensed by a medical device; receive a selection of an arrhythmia type from a user; apply a machine learning model trained using electrocardiogram data for a plurality of patients to the received electrocardiogram data to determine, based on the machine learning model, that an arrhythmia episode of the selected type has occurred in the patient and determine a level of confidence in determining that an arrhythmia episode of the selected type has occurred in the patient; and output for display to a user at least a portion of the electrocardiogram data, a first indication that the patient has experienced the selected arrhythmia episode, and a second indication of the level of confidence that the patient has experienced the selected arrhythmia episode.
[0013] This summary is intended to provide an overview of the subject matter described in the present disclosure. It is not intended to provide an exclusive or comprehensive description of the apparatus and methods described in detail in the accompanying drawings and description below. One or more further details are set forth in the accompanying drawings and the description below. [Brief description of the drawings]
[0014] [Figure 1] 1 is a conceptual diagram illustrating an example of a medical device system for illustrating cardiac arrhythmia detection and classification, including an implantable medical device and an external device associated with a patient, in accordance with the techniques of the present disclosure. [Diagram 2] FIG. 2 is a block diagram illustrating an example of the implantable medical device of FIG. 1. [Diagram 3] 2 is a block diagram illustrating another example of the implantable medical device of FIG. 1. [Figure 4] FIG. 1 is a block diagram illustrating an example computing device that operates in accordance with one or more techniques of the present disclosure. [Diagram 5] 4 is a flowchart illustrating an example operation in accordance with the techniques of this disclosure. [Figure 6] 4 is a flowchart illustrating an example operation in accordance with the techniques of this disclosure. [Figure 7] 4 is a flowchart illustrating an example operation in accordance with the techniques of this disclosure. [Figure 8] 1 is a graph illustrating example simulated electrocardiogram data that can be used to demonstrate a machine learning system in accordance with the techniques of this disclosure. [Figure 9A] 1 is a graph illustrating a technique for visualizing the operation of the illustrated machine learning model 150 in detecting arrhythmia episodes in accordance with the techniques of this disclosure. [Figure 9B] 1 is a graph illustrating a technique for visualizing the operation of the illustrated machine learning model 150 in detecting arrhythmia episodes in accordance with the techniques of this disclosure. [Figure 9C]1 is a graph illustrating a technique for visualizing the operation of the illustrated machine learning model 150 in detecting arrhythmia episodes in accordance with the techniques of this disclosure. [Figure 10A] 1A-1C are diagrams illustrating example displays for visualizing a patient's electrocardiogram data by a medical device in accordance with the techniques of the present disclosure. [Figure 10B] 1A-1C are diagrams illustrating example displays for visualizing a patient's electrocardiogram data by a medical device in accordance with the techniques of the present disclosure. [Figure 10C] 1A-1C are diagrams illustrating example displays for visualizing a patient's electrocardiogram data by a medical device in accordance with the techniques of the present disclosure. [Figure 10D] 1A-1C are diagrams illustrating example displays for visualizing a patient's electrocardiogram data by a medical device in accordance with the techniques of the present disclosure. [Figure 11A] FIG. 13 illustrates another example display for visualizing a patient's electrocardiogram data by a medical device in accordance with the techniques of the present disclosure. [Figure 11B] FIG. 13 illustrates another example display for visualizing a patient's electrocardiogram data by a medical device in accordance with the techniques of the present disclosure. [Figure 11C] FIG. 13 illustrates another example display for visualizing a patient's electrocardiogram data by a medical device in accordance with the techniques of the present disclosure.
[0015] Like reference characters refer to like elements throughout the figures and description. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Machine learning systems, such as deep learning and artificial intelligence (AI), that perform arrhythmia detection provide a flexible platform for developing algorithms for a variety of purposes. For example, machine learning systems may be used to detect atrial fibrillation (AF) segments, detect the presence of AF, and detect other types of cardiac arrhythmias. Furthermore, such machine learning systems may be implemented without expert design and feature engineering that may be required by other techniques, such as characterization. However, the conclusions drawn by such machine learning systems, and the data derived to make such conclusions, may be difficult to explain, hindering the evaluation of the performance of the machine learning systems.
[0017] Techniques are disclosed for explaining and visualizing the output of a machine learning system that detects cardiac arrhythmias in a patient. The techniques of the present disclosure may enable a medical device system to explain arrhythmia classifications by machine learning models. For example, a system such as that described below may provide explainability and interpretability of a machine learning system that performs arrhythmia detection. Furthermore, the medical device system described herein presents arrhythmias detected by the machine learning system for quick and patient-specific interpretation, and presents such detected arrhythmias to a variety of end users who may have different levels of knowledge and expertise in interpreting electrocardiogram data. Such medical device systems described herein may provide clear explainability of the machine learning system and simple arrhythmia visualization, which may be useful as consumer and medical devices that can collect and display electrocardiogram data.
[0018] FIG. 1 is a conceptual diagram illustrating an example medical device system 2 for illustrating detection and classification of cardiac arrhythmias in a heart 6 of a patient 4, including an IMD 10 and an external device 12 associated with the patient, in accordance with the techniques of this disclosure. In some examples, the IMD 10 is a leadless IMD and is in wireless communication with the external device 12, as shown in FIG. 1. In some examples, the IMD 10 may be coupled to one or more leads. In some examples, the IMD 10 may be implanted outside the thoracic cavity of the patient 4 (e.g., subcutaneously in the chest as shown in FIG. 1). The IMD 10 may be positioned near the level of the heart 6 and / or just below the sternum.
[0019] In some examples, the IMD 10 may take the form of both a Reveal LINQ™ insertable cardiac monitor (ICM) or a Holter cardiac monitor, available from Medtronic plc of Dublin, Ireland. The external device 12 may be a computing device configured for use in settings such as a home, clinic, or hospital, and may further be configured to communicate with the IMD 10 via wireless telemetry. For example, the external device 12 may be coupled to a computing system 24 via a network 25. The computing system 24 may include a remote patient monitoring system, such as Carelink®, available from Medtronic plc of Dublin, Ireland. The external device 12 may, in some examples, include a communication device, such as a programmer, an external monitor, or a mobile device, such as a mobile phone, a “smart” phone, a laptop, a tablet computer, a personal digital assistant (PDA), etc.
[0020] In some examples, the example techniques and systems described herein may be used with an external medical device in addition to, or instead of, the IMD 10. In some examples, the external medical device is a wearable electronic device, such as the SEEQ™ Mobile Cardiac Telemetry (MCT) System available from Medtronic plc of Dublin, Ireland, or other types of “smart” electronic apparel, such as a “smart” watch, a “smart” patch, or “smart” glasses. Such an external medical device may be located external to the patient 4 (e.g., may be located on the skin of the patient 4) and may perform any or all of the functions described herein with respect to the IMD 10.
[0021] In some examples, a user, such as a doctor, technician, surgeon, electrophysiologist, or other clinician, may interact with the external device 12 to retrieve physiological or diagnostic information from the IMD 10. In some examples, a user, such as a patient 4 or a clinician as described above, may also interact with the external device 12 to program the IMD 10, e.g., to select or adjust values of operating parameters of the IMD 10. In some examples, the external device 12 serves as an access point to facilitate communication with the IMD 10 over a network 25, e.g., by a computing system 24. The computing system 24 may include a computing device configured to enable a user to interact with the IMD 10 over the network 25.
[0022] In some examples, the computing system 24 may include at least one of a handheld computing device, a computer workstation, a server or other networked computing device, a smartphone, a tablet, or an external programmer including a user interface for presenting information to a user and receiving input from a user. In some examples, the computing system 24 may include one or more devices implementing a machine learning system 150, such as a neural network, a deep learning system, or other type of predictive analytics system. A user, such as a doctor, technician, surgeon, electrophysiologist, or other clinician, may interact with the computing system 24 to retrieve physiological or diagnostic information from the IMD 10. The user may also interact with the computing system 24 to program the IMD 10, for example, to select values for operating parameters of the IMD. The computing system 24 may include a processor configured to evaluate EGMs and / or other sensed signals transmitted from the IMD 10 to the computing system 24.
[0023] Network 25 may include one or more computing devices (not shown), such as one or more non-edge switches, routers, hubs, gateways, security devices such as firewalls, intrusion detection, and / or intrusion prevention devices, servers, computer terminals, laptops, printers, databases, wireless mobile devices such as cell phones and personal digital assistants, wireless access points, bridges, cable modems, application accelerators, or other network devices. Network 25 may include one or more networks managed by a service provider and thus form part of a larger public network infrastructure such as the Internet. Network 25 may provide computing devices such as computing system 24 and IMD 10 with access to the Internet and may provide a communications framework that allows computing devices to communicate with each other. In some examples, network 25 may be a private network that provides a communications framework that allows computing system 24, IMD 10, and / or external device 12 to communicate with each other, but is isolated for security purposes from one or more of computing system 24, IMD 10, or external device 12 from devices outside network 25. In some examples, communications between computing system 24, IMD 10, and external device 12 are encrypted.
[0024] The external device 12 and the computing system 24 may communicate using wireless communication over the network 25 using any technique known in the art. In some examples, the computing system 24 is a remote device that communicates with the external device 12 through an intermediate device located in the network 25, such as a local access point, a wireless router, or a gateway. In the example of FIG. 1, the external device 12 and the computing system 24 communicate over the network 25, but in some examples, the external device 12 and the computing system 24 communicate directly with each other. Examples of communication techniques may include, for example, communication according to the Bluetooth or BLE protocol. Other communication techniques are contemplated. The computing system 24 may also communicate with one or more other external devices using a number of known communication techniques, both wired and wireless.
[0025] In any such example, the processing circuitry of the medical device system 2 may transmit patient data, including electrocardiogram data of the patient 4, to a remote computer (e.g., external device 12). In some examples, the processing circuitry of the medical device system 2 may transmit a determination that the patient 4 is experiencing an episode of cardiac arrhythmia, such as an episode of bradycardia, tachycardia, atrial fibrillation, ventricular fibrillation, or atrioventricular block.
[0026] The external device 12 may be a computing device (e.g., used in a home, outpatient, clinic, or hospital setting) for communicating with the IMD 10 via wireless telemetry. The external device 12 may include or be coupled to a remote patient monitoring system, such as Carelink® available from Medtronic plc of Dublin, Ireland. In some examples, the external device 12 may receive data, alerts, patient physiological information, or other information from the IMD 10.
[0027] The external device 12 may be used to program commands or operating parameters into the IMD 10 to control its functions (e.g., when configured as a programmer for the IMD 10). In some examples, the external device 12 may be used to interrogate the IMD 10 to retrieve data, including operational data of the device as well as physiological data stored in the IMD memory. Such interrogations may occur automatically according to a schedule or in response to a remote or local user command. Programmers, external monitors, and consumer devices are examples of external devices 12 that may be used to interrogate the IMD 10. Examples of communication technologies used by the IMD 10 and the external device 12 include radio frequency (RF) telemetry, which may be an RF link established via Bluetooth, WiFi, or Medical Implant Communication Service (MICS). In some examples, the external device 12 may include a user interface configured to allow the patient 4, a clinician, or another user to remotely interact with the IMD 10. In some such examples, the external device 12 and / or other devices of the medical device system 2 may be a wearable device (eg, in the form of a watch, necklace, or other wearable item).
[0028] Medical device system 2 is an example of a medical device system configured to perform cardiac arrhythmia detection, verification, and reporting. In accordance with the techniques of this disclosure, medical device system 2 implements machine learning arrhythmia detection to detect and classify cardiac arrhythmias in patient 4. Additional examples of the one or more other implantable or external devices may include an implantable, multi-channel cardiac pacemaker, ICD, IPG, leadless (e.g., intracardiac) pacemaker, extravascular pacemaker and / or ICD, or other IMD, or a combination of such IMDs configured to deliver CRT to heart 6, an external therapy delivery device such as an external monitor, an external pacing or electrical stimulator, or a drug pump.
[0029] Communications circuitry in each device (e.g., IMD 10 and external device 12) of medical device system 2 may enable the devices to communicate with each other. Additionally, while one or more sensors (e.g., electrodes) are described herein as being disposed on the housing of IMD 10, in other examples, such sensors may be disposed on the housing of another device implanted inside or outside of patient 4. In such examples, one or more of the other devices may include processing circuitry configured to receive signals from the electrodes or other sensors on the respective device and / or communications circuitry configured to transmit signals from the electrodes or other sensors to another device (e.g., external device 12) or a server.
[0030] In accordance with the techniques of the present disclosure, the medical device system 2 explains and visualizes the output of a machine learning system 150 that detects cardiac arrhythmias in a patient. The machine learning system 150 may provide a tool for detecting and classifying arrhythmia episodes in a patient 4. However, it may be difficult to communicate the basis for the conclusions drawn by the machine learning system 150. As described in more detail below, the medical device system 2 functions to simplify the conclusions drawn by the machine learning system 150 regarding the detection of cardiac arrhythmias in a patient 4. Furthermore, the medical device system 2 presents such information in a manner that can be understood by users of different abilities, including subject matter experts and non-experts alike.
[0031] In one example, computing system 24 receives electrocardiogram data sensed by a medical device, such as IMD 10 and one of external devices 12. Computing system 24 applies a machine learning model of machine learning system 150, trained using electrocardiogram data of multiple patients, to the received electrocardiogram data to determine, based on the machine learning model, that an arrhythmia episode has occurred in patient 4. Machine learning system 150 further determines a level of confidence in determining that an arrhythmia episode has occurred in patient 4. In response to determining that the level of confidence is greater than a predetermined threshold, computing system 24 displays to a user a portion of the electrocardiogram data, an indication that an arrhythmia episode has occurred, and an indication of the level of confidence that an arrhythmia episode has occurred. In some examples, computing system 24 provides more detailed information to advanced users and less detailed information to basic users.
[0032] In another example, computing system 24 receives electrocardiogram data sensed, for example, by IMD 10, and a selection of an arrhythmia type from a user. Computing system 24 applies machine learning system 150 to the received electrocardiogram data to determine, based on a machine learning model of machine learning system 150, that an arrhythmia episode of the selected type has occurred in patient 4 and a level of confidence in the determination that an arrhythmia episode of the selected type has occurred. Computing system 24 outputs for display at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode of the selected type has occurred in patient 4, and a second indication of the level of confidence that an arrhythmia episode of the selected type has occurred in patient 4.
[0033] The techniques disclosed herein may provide certain improvements in the field of machine learning systems that perform cardiac arrhythmia detection and classification. For example, the techniques disclosed herein may enable clearer explainability and visualization of the analysis performed by the machine learning system 150. Furthermore, the techniques described herein may enable rapid and patient-specific interpretation of electrocardiogram data for use by users of many different skill levels. The techniques disclosed herein may reduce the amount of training required by users to utilize the conclusions provided by machine learning systems that perform cardiac arrhythmia detection and classification, as well as enable the use of such machine learning systems in more diverse systems. Thus, the techniques disclosed herein may enable more accurate and rapid diagnosis and classification of a patient's cardiac arrhythmia, while reducing the amount of expertise required by a clinician to provide diagnosis and treatment of such cardiac arrhythmia.
[0034] FIGURE 2 is a block diagram illustrating an example of the leadless implantable medical device of FIGURE 1. As shown in FIGURE 2, the IMD 10 includes a processing circuit 50, a sensing circuit 52, a communication circuit 54, a memory 56, a sensor 58, a switching circuit 60, and electrodes 16A, 16B (hereinafter "electrodes 16"), one or more of which may be disposed within a housing of the IMD 10. In some examples, the memory 56 includes computer-readable instructions that, when executed by the processing circuit 50, cause the IMD 10 and the processing circuit 50 to perform various functions attributed to the IMD 10 and the processing circuit 50 herein. The memory 56 may include any volatile, nonvolatile, magnetic, optical, or electrical medium, such as random access memory (RAM), read-only memory (ROM), nonvolatile RAM (NVRAM), electrically erasable programmable ROM (EEPROM), flash memory, or any other digital medium.
[0035] The processing circuitry 50 may include fixed function circuits and / or programmable processing circuits. The processing circuitry 50 may include any one or more of a microprocessor, a controller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or equivalent discrete or analog logic circuitry. In some examples, the processing circuitry 50 may include multiple components, such as any combination of one or more microprocessors, one or more controllers, one or more DSPs, one or more ASICs, or one or more FPGAs, as well as other discrete or integrated logic circuits. The functionality attributed to the processing circuitry 50 herein may be embodied as software, firmware, hardware, or any combination thereof.
[0036] The sensing circuit 52 and the communication circuit 54 may be selectively coupled to the electrodes 16A, 16B via the switching circuit 60 as controlled by the processing circuit 50. The sensing circuit 52 may monitor the signals from the electrodes 16A, 16B to monitor the electrical activity of the heart of the patient 4 of FIG. 1 and generate electrocardiogram data for the patient 4. The sensing circuit 52 may generate a digitized version of the electrocardiogram, as well as an indication of the timing of depolarizations. In some examples, the processing circuit 50 may perform characterization of the sensed electrocardiogram data to detect an episode of cardiac arrhythmia of the patient 4. In some examples, the processing circuit 50 transmits the electrocardiogram data of the patient 4 to an external device, such as the external device 12 of FIG. 1, via the communication circuit 54. For example, the IMD 10 transmits the digitized electrocardiogram data to the network 25 for processing by the machine learning system 150 of FIG. 1. In some examples, the IMD 10 transmits one or more segments of the electrocardiogram data in response to detecting an episode of arrhythmia via the characterization. In another example, IMD 10 transmits one or more segments of electrocardiogram data in response to a prompt from external device 12 (e.g., when patient 4 experiences one or more symptoms of an arrhythmia and enters a command into external device 12 instructing IMD 10 to upload the electrocardiogram data for analysis by a monitoring center or clinician). The electrocardiogram data may be processed by machine learning system 150 to detect and classify cardiac arrhythmias, as described in more detail below.
[0037] In some examples, the IMD 10 includes one or more sensors 58, such as one or more accelerometers, microphones, and / or pressure sensors. The sensing circuitry 52 may monitor signals from the sensors 58 and transmit patient data obtained from the sensors 58 to an external device, such as the external device 12 of FIG. 1, for analysis. In some examples, the sensing circuitry 52 may include one or more filters and amplifiers for filtering and amplifying signals received from one or more of the electrodes 16A, 16B and / or other sensors 58. In some examples, the sensing circuitry 52 and / or the processing circuitry 50 may include a rectifier, a filter and / or an amplifier, a sense amplifier, a comparator, and / or an analog-to-digital converter.
[0038] The communications circuitry 54 may include any suitable hardware, firmware, software, or any combination thereof for communicating with another device, such as the external device 12, or another medical device or sensor, such as a pressure sensing device. Under the control of the processing circuitry 50, the communications circuitry 54 may receive downlink telemetry and transmit uplink telemetry from the external device 12 or another device with the aid of an internal or external antenna, such as the antenna 26. In some examples, the communications circuitry 54 may communicate with the external device 12. In addition, the processing circuitry 50 may communicate with external devices (e.g., the external device 12) and networked computing devices via a computer network, such as the Medtronic CareLink® network developed by Medtronic, plc of Dublin, Ireland.
[0039] A clinician or other user may retrieve data from IMD 10 using external device 12 or by using another local or networked computing device configured to communicate with processing circuit 50 via communications circuitry 54. A clinician may also program parameters of IMD 10 using external device 12 or another local or networked computing device. In some examples, a clinician may select one or more parameters that define how IMD 10 senses electrocardiogram data of patient 4.
[0040] One or more components of IMD 10 may be coupled to a power source (not shown in FIG. 2), which may include a rechargeable or non-rechargeable battery disposed within the housing of IMD 10. The non-rechargeable battery may be selected to last for several years, while the rechargeable battery may be inductively charged from an external device, for example, on a daily or weekly basis.
[0041] In some examples, processing circuitry 50 senses electrocardiogram data of patient 4 via sensing circuitry 52 and uploads such electrocardiogram data to external device 12 of Figure 1. In some examples, processing circuitry 50 performs characterization of the sensed electrocardiogram data to perform preliminary detection of cardiac arrhythmia, and in response to detecting an episode of cardiac arrhythmia, uploads only the electrocardiogram data of patient 4 to external device 12. In some examples, the characterization performed by IMD 10 is reduced in complexity to conserve power of IMD 10.
[0042] As described herein, characterization refers to the use of features obtained through signal processing for use in detecting or classifying episodic cardiac arrhythmias. Typically, characterization involves the use of designed rules to identify or extract features of electrocardiogram data, measure properties of such features, and use the measurements to detect or classify arrhythmias. For example, characterization may be used to identify features such as R waves, QRS complexes, P waves, T waves, the rate of such features, the intervals between such features, the morphology of features, the width or amplitude of such features, or other types of cardiac features or properties of features not explicitly described herein. Characterization may include feature extraction, signal filtering, peak detection, refractory analysis, or other types of signal processing, feature engineering, or detection rule development. Characterization algorithms may be optimized for real-time, embedded, and low-power applications, such as for use in implantable medical devices. However, characterization algorithms may require expert design and feature engineering to accurately detect arrhythmias in patients.
[0043] In contrast to characterization techniques for cardiac arrhythmia detection and classification, machine learning techniques may be used for cardiac arrhythmia detection and classification. As described herein, machine learning refers to the use of a machine learning model, such as a neural network or a deep learning model, which is trained on a training data set to detect cardiac arrhythmia from electrocardiogram data. Machine learning techniques contrast with characterization in that characterization relies on signal processing, and a machine learning system may "learn" the underlying features present in electrocardiogram data that indicate arrhythmia episodes without requiring knowledge or understanding of the relationship between the features and arrhythmia episodes on behalf of the system designer.
[0044] Although described herein in the context of an exemplary IMD 10 sensing cardiac electrogram data of a patient 4, the techniques for cardiac arrhythmia detection disclosed herein may be used with other types of devices. For example, the techniques may be implemented in an extracardiac defibrillator coupled to electrodes outside the cardiovascular system, a transcatheter pacemaker configured to be implanted within the heart, such as, for example, the Micra™ transcatheter pacing system available from Medtronic PLC of Dublin Ireland, an insertable cardiac monitor, such as the Reveal LINQ™ ICM, also available from Medtronic PLC, a neurostimulator, a drug delivery device, a medical device external to the patient 4, a wearable device, such as a wearable defibrillator, a fitness tracker, or other wearable device, a mobile device, such as a mobile phone, a “smart” phone, a laptop, a tablet computer, a personal digital assistant (PDA), or “smart” apparel, such as “smart” glasses, a “smart” patch, or a “smart” watch.
[0045] FIGURE 3 is a block diagram illustrating another example of the leadless implantable medical device of FIGURE 1. Components in FIGURE 3 are not necessarily drawn to scale, and instead may be enlarged to show detail. Specifically, FIGURE 3 is a block diagram of a top view of an example configuration of IMD 10 of FIGURE 1.
[0046] Figure 3 is a conceptual diagram illustrating an example IMD 10 that may include components substantially similar to the IMD 10 of Figure 1. In addition to the components shown in Figures 1 and 2, the example IMD 10 shown in Figure 3 may also include a wafer-scale insulating cover 74 that can help insulate electrical signals passing between the electrodes 16A, 16B on the housing 14 and the processing circuitry 50. In some examples, the insulating cover 74 may be placed over the open housing 14 to form a housing for the components of the IMD 10B. One or more components of IMD 10B (e.g., antenna 26, processing circuit 50, sensing circuit 52, communication circuit 54, and / or switching circuit 60) may be formed under an insulating cover 74, such as by using flip-chip techniques. Insulating cover 74 may be inverted onto housing 14. When inverted and placed on housing 14, the components of IMD 10B formed under insulating cover 74 may be disposed within a gap 76 defined by housing 14. Housing 14 may be formed from titanium or any other suitable material (e.g., a biocompatible material) and may have a thickness of about 200 micrometers to about 500 micrometers. These materials and dimensions are merely examples and other materials and other thicknesses are possible for the devices of the present disclosure.
[0047] In some examples, the IMD 10 collects patient data for the patient 4, including electrocardiogram data, via the sensing circuitry 52 and / or the sensor 58. The sensor 58 may include one or more sensors, such as one or more accelerometers, pressure sensors, optical sensors for O2 saturation, and the like. In some examples, the patient data includes one or more of the patient's activity level, the patient's heart rate, the patient's posture, the patient's electrocardiogram, the patient's blood pressure, the patient's accelerometer data, or other types of patient data. The IMD 10 uploads the patient data to the external device 12 via the communication circuitry 54, which may then upload such data to the computing system 24 via the network 25. In some examples, the IMD 10 uploads the patient data to the computing system 24 daily. In some examples, the patient data includes one or more values representing average measurements of the patient 4 over a long-term period (e.g., about 24 hours to about 48 hours). In this example, the IMD 10 uploads the patient data to the computing system 24 as well as performing short-term monitoring of the patient 4 (as described below). However, in other examples, the medical device that processes the patient data to detect and / or classify arrhythmias in patient 4 is different from the medical device that performs short-term monitoring of patient 4 .
[0048] FIG. 4 is a block diagram illustrating an example computing device 400 that operates according to one or more techniques of the present disclosure. In one example, the computing device 400 is an example implementation of the computing system 24 of FIG. 1. In one example, the computing device 400 includes a processing circuit 402 for executing an application 424, including a machine learning system 450 or any other application described herein. For illustrative purposes, while shown in FIG. 4 as a standalone computing device 400, the computing device 400 may be any component or system that includes a processing circuit or other suitable computing environment for executing software instructions, and does not necessarily need to include one or more elements shown in FIG. 4 (e.g., components such as the input device 404, the communication circuit 406, the user interface device 410, or the output device 412, and in some examples, the storage device 408 may not be located in the same location or in the same housing as other components). In some examples, the computing device 400 may be a cloud computing system distributed across multiple devices.
[0049] As shown in the example of FIG. 4, the computing device 400 includes a processing circuit 402, one or more input devices 404, a communication circuit 406, one or more storage devices 408, a user interface (UI) device 410, and one or more output devices 412. In one example, the computing device 400 further includes one or more applications 424, such as a machine learning system 450 and an operating system 416, that are executable by the computing device 400. Each of the components 402, 404, 406, 408, 410, and 412 is coupled (physically, communicatively, and / or operatively) for inter-component communication. In some examples, the communication channel 414 may include a system bus, a network connection, an inter-process communication data structure, or any other method for communicating data. As an example, the components 402, 404, 406, 408, 410, and 412 may be coupled by one or more communication channels 414.
[0050] In one example, the processing circuitry 402 is configured to implement functions and / or processing instructions for execution within the computing device 400. For example, the processing circuitry 402 may be capable of processing instructions stored in the storage device 408. Examples of the processing circuitry 402 may include any one or more of a microprocessor, a controller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or equivalent discrete or integrated logic circuitry.
[0051] One or more storage devices 408 may be configured to store information within the computing device 400 during operation. In some examples, the storage device 408 is described as a computer-readable storage medium. In some examples, the storage device 408 is a temporary memory, meaning that the primary purpose of the storage device 408 is not long-term storage. In some examples, the storage device 408 is described as a volatile memory, meaning that the storage device 408 does not retain the stored contents when the computer is turned off. Examples of volatile memory include random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), and other forms of volatile memory known in the art. In some examples, the storage device 408 is used to store program instructions for execution by the processing circuit 402. In one example, the storage device 408 is used by software or applications 424 running on the computing device 400 to temporarily store information during program execution.
[0052] In some examples, the storage device 408 also includes one or more computer-readable storage media. The storage device 408 may be configured to store larger amounts of information than volatile memory. The storage device 408 may further be configured for long-term storage of information. In some examples, the storage device 408 includes non-volatile storage elements. Examples of such non-volatile storage elements include magnetic hard disks, optical disks, floppy disks, flash memory, or forms of electrically programmable memory (EPROM) or electrically erasable programmable (EEPROM) memory.
[0053] The computing device 400 also includes communications circuitry 406 in some examples. In one example, the external device 400 utilizes the communications circuitry 406 to communicate with external devices, such as the IMD 10 and external device 12 of FIG. 1. The communications circuitry 406 may include a network interface card, such as an Ethernet card, an optical transceiver, a radio frequency transceiver, or any other type of device capable of transmitting and receiving information. Other examples of such network interfaces may include 3G and WiFi radios.
[0054] In one example, the computing device 400 also includes one or more user interface devices 410. In some examples, the user interface devices 410 are configured to receive input from a user through tactile, audio, or video feedback. Examples of the user interface devices 410 include a presence-sensitive display, a mouse, a keyboard, a voice response system, a video camera, a microphone, or any other type of device for detecting commands from a user. In some examples, the presence-sensitive display includes a touch screen.
[0055] One or more output devices 412 may also be included in the computing device 400. The output device 412, in some examples, is configured to provide output to a user using tactile, audio, or visual stimuli. The output device 412, in one example, includes a presence-sensitive display, a sound card, a video graphics adapter card, or any other type of device for converting signals into an appropriate form that is human or machine understandable. Additional examples of the output device 412 include speakers, a cathode ray tube (CRT) monitor, a liquid crystal display (LCD), or any other type of device capable of generating output that is understandable to a user.
[0056] The computing device 400 may include an operating system 416, which in some examples controls the operation of components of the computing device 400. For example, the operating system 416, in one example, facilitates communication between one or more applications 424 and a long-term prediction module 450 and the processing circuitry 402, the communication circuitry 406, the storage device 408, the input device 404, the user interface device 410, and the output device 412.
[0057] The applications 422 may also include program instructions and / or data that are executable by the computing device 400. An exemplary application 422 executable by the computing device 400 may include a machine learning system 450. Other additional applications not shown may alternatively or additionally be included to provide other functionality described herein, but are not shown for simplicity.
[0058] In accordance with the techniques of this disclosure, computing device 400 applies machine learning models of machine learning system 450 to patient data sensed by IMD 10 to detect and classify arrhythmia episodes occurring in patient 10. In some examples, machine learning system 450 is an example of machine learning system 150 of FIG.
[0059] In some examples, the machine learning model implemented by the machine learning system 450 is trained with training data including electrocardiogram data of multiple patients labeled with descriptive metadata. For example, during the training phase, the machine learning system 450 processes multiple ECG waveforms. Typically, the multiple ECG waveforms are from multiple different patients. Each ECG waveform is labeled with one or more episodes of one or more types of arrhythmia. For example, the training ECG waveform may include multiple segments, each segment labeled with a descriptor that specifies the absence of arrhythmia or the presence of a particular classification of arrhythmia (e.g., bradycardia, tachycardia, atrial fibrillation, ventricular fibrillation, or atrioventricular block). In some examples, a clinician manually labels the presence of arrhythmia in each ECG waveform. In some examples, the presence of arrhythmia in each ECG waveform is labeled according to a classification by a characterization algorithm. The machine learning system 450 can operate to convert the training data into vectors and tensors (e.g., multidimensional arrays), on which the machine learning system 450 can apply mathematical operations such as linear algebra, nonlinear, or alternative computational operations. The machine learning system 450 uses the training data 104 to teach the machine learning model to weigh different features present in the electrocardiogram data. In some examples, the machine learning system 450 uses the electrocardiogram data to teach the machine learning model to apply different coefficients that represent one or more features of the electrocardiogram as being more or less important with respect to the occurrence of a particular class of cardiac arrhythmia. By processing a large number of such ECG waveforms labeled with arrhythmia episodes, the machine learning system 450 can build and train a machine learning model to receive electrocardiogram data from patients not previously analyzed by the machine learning system 450, such as patient 4 of FIG. 1, and further process such electrocardiogram data to detect the presence or absence of various classes of arrhythmia in the patient with high accuracy. Typically, the greater the amount of electrocardiogram data on which the machine learning system 450 is trained, the greater the accuracy of the machine learning model in detecting or classifying cardiac arrhythmias in new electrocardiogram data.
[0060] After the machine learning system 450 trains the machine learning model, the machine learning system 450 may receive patient data, such as electrocardiogram data, of a particular patient, such as patient 4. The machine learning system 450 applies the trained machine learning model to the patient data to detect the occurrence of a cardiac arrhythmia episode in patient 4. Further, the machine learning system 450 applies the trained machine learning model to the patient data to classify the patient's cardiac arrhythmia episode as indicative of a particular type of arrhythmia. In some examples, the machine learning system 450 may output a determination that the cardiac arrhythmia episode is indicative of a particular type of arrhythmia, as well as a level of confidence in the determination. In response to determining that the level of confidence in the determination is greater than a predetermined threshold (e.g., 50%, 75%, 90%, 95%, 99%), the computing device 400 may classify the cardiac arrhythmia episode as a particular type of arrhythmia and output for display to a user at least a portion of the electrocardiogram data (e.g., a portion of the ECG in which the arrhythmia episode occurred), a first indication that the arrhythmia episode occurred in patient 4, and a second indication of the level of confidence in the determination that the arrhythmia episode occurred.
[0061] In some examples, the machine learning system 150 may process one or more cardiac features of the electrocardiogram data instead of the raw electrocardiogram data itself. The one or more cardiac features may be obtained via characterization performed by the IMD 10, as described above. The cardiac features may include, for example, one or more of the patient's average heart rate, the patient's minimum heart rate, the patient's maximum heart rate, the patient's heart's PR interval, the patient's heart rate variability, the amplitude of one or more of further features of the patient's electrocardiogram (ECG), or the interval between one or more of the patient's ECGs, T-wave alternans, QRS morphology, or other types of cardiac features not explicitly described herein. In such an example implementation, the machine learning system may train the machine learning model via a plurality of training cardiac features labeled with arrhythmia episodes, instead of a plurality of ECG waveforms labeled with arrhythmia episodes as described above.
[0062] In some examples, the machine learning system 450 may process electrocardiogram data and derive a classification of the arrhythmia episode (e.g., bradycardia, tachycardia, atrial fibrillation, ventricular fibrillation, or atrioventricular block). Additionally, the machine learning system 450 may determine class activation data for each of the arrhythmia type classifications that indicate various probabilities of the classification over time. For a given arrhythmia type, the amplitude of such likelihood values at different times corresponds to the probability that the arrhythmia is occurring at that time, with higher values corresponding to higher probabilities.
[0063] The computing device 400 may use class activation mapping to identify regions of an input time series, e.g., of cardiac EGM data, that constitute the reason why a time series is given a particular classification by the machine learning model of the machine learning system 450. The class activation map for a given classification may be a univariate time series in which each element (e.g., each timestamp at the sampling frequency of the input time series) is a weighted sum or other value derived from the output of an intermediate layer of a neural network or other machine learning model. The intermediate layer may be a global average pooling layer and / or the last layer before the output layer neurons of each classification.
[0064] In some examples, the machine learning system 450 may apply the machine learning model to other types of data to determine that an arrhythmia episode has occurred in the patient 4. For example, the machine learning system 450 may apply the machine learning model to one or more characteristics of the electrocardiogram data that correlate to the patient's arrhythmia, the activity level of the IMD 10, the input impedance of the IMD 10, or the battery level of the IMD 10.
[0065] In a further example, the processing circuit 402 may generate an intermediate representation of the electrocardiogram data from the electrocardiogram data. For example, the processing circuit 402 may apply one or more signal processing, signal decomposition, wavelet decomposition, filtering, or noise reduction operations to the electrocardiogram data to generate an intermediate representation of the electrocardiogram data. In this example, the machine learning system 450 processes such intermediate representation of the electrocardiogram data to detect and classify arrhythmia episodes of the patient 4. Furthermore, the machine learning system may train a machine learning model via a plurality of training intermediate representations labeled with arrhythmia episodes instead of a plurality of raw ECG waveforms labeled with arrhythmia episodes as described above. The use of such intermediate representations of the electrocardiogram data may enable the machine learning system 450 to train and develop a lighter-weight, less computationally complex machine learning model. Furthermore, the use of such intermediate representations of the electrocardiogram data may require fewer iterations and less training data to build an accurate machine learning model as opposed to the use of raw electrocardiogram data to train the machine learning model.
[0066] In some examples, computing system 24 may use machine learning system 150 to detect other types of arrhythmias other than those detected in the characterization screening analysis. For example, the arrhythmia detection algorithms for performing the characterization implemented by a low-power device such as IMD10 may not be designed to detect infrequent arrhythmias such as atrioventricular block. Machine learning system 150 may train a machine learning model on a large data set where such arrhythmias are available, thereby providing finer granularity and greater accuracy than the characterization performed by IMD10 alone, for example. Thus, the use of machine learning system 150 may extend the arrhythmia diagnosis capabilities of system 2 by enabling IMD10 to implement a general screening algorithm using the characterization, followed by using machine learning system 150 to implement a machine learning model that can provide a broader range of arrhythmia detection. After detecting a type of arrhythmia not detected by the characterization, computing system 24 may nevertheless use the characterization, such as QRS detection, to assist in characterizing and reporting other types of arrhythmias detected by the machine learning model of machine learning system 150.
[0067] In some examples, computing system 24 may tailor machine learning system 150 to a particular use case. For example, machine learning system 150 may implement a machine learning model specific to the detection of AV block and bradycardia if patient 4 is a post-TAVR patient. As another example, machine learning system 150 may implement a machine learning model specific to the detection of PVCs, such that the PVC burden can be used to risk stratify patients for whom an ICD may be indicated.
[0068] Figure 5 is a flow chart illustrating example operations in accordance with the techniques of this disclosure. For convenience, Figure 5 is described in conjunction with Figure 1. In some examples, the operations of Figure 5 are operations for illustrating and visualizing the output of a machine learning system 150 that detects an episode of cardiac arrhythmia in a patient 4.
[0069] As shown in FIG. 5, the IMD 10 senses electrocardiogram data of the patient 4. The electrocardiogram data may be, for example, a transient ECG of the patient 4 or a full disclosure ECG of the patient 4. Furthermore, the electrocardiogram data of the patient 4 may be from a single channel or a multi-channel system. For simplicity, in the example of FIG. 5, the electrocardiogram data of the patient 4 is described as single channel transient ECG data. The IMD 10 uploads the electrocardiogram data to the external device 12. The computing system 24 receives the electrocardiogram data from the external device 12 (502).
[0070] The machine learning system 150 of the computing system 24 applies the machine learning model to the received electrocardiogram data to detect an arrhythmia episode in the patient 4 (504). In some examples, the machine learning model is trained with a plurality of ECG episodes annotated by a clinician or a monitoring center for a number of different types of arrhythmia. In one example, the machine learning system 150 applies the machine learning model to one or a number of sub-segments of the normalized input ECG signal to generate an arrhythmia label and a likelihood of the occurrence of the arrhythmia. In some examples, the machine learning system 150 determines that an arrhythmia episode has occurred in the patient 4 and determines a confidence in determining that an arrhythmia episode has occurred in the patient 4. In some examples, the machine learning system 150 determines whether an arrhythmia episode of a number of different arrhythmia types has occurred in the patient 4, as well as a level of confidence that an arrhythmia episode of each arrhythmia type has occurred.
[0071] The computing system 24 determines whether the machine learning system 150 detected an arrhythmia episode (506). In response to determining that the machine learning system 150 detected an arrhythmia episode (e.g., “Yes” at block 506), the computing system 24 determines whether a level of confidence in the determination is greater than a predetermined threshold (510). In some examples, the predetermined threshold is, for example, 25%, 50%, 75%, 90%, 95%, 99%, etc., and in some examples, the computing system 24 determines whether a level of confidence in the determination is greater than a first predetermined threshold (e.g., 50%) and whether a level of confidence in the determination is greater than a second predetermined threshold (e.g., 90%). The first predetermined threshold may be associated with a medium level of confidence by the machine learning system 150 that an arrhythmia episode has occurred, and the second predetermined threshold may be associated with a high level of confidence by the machine learning system 150.
[0072] In response to determining that the level of confidence is greater than a predetermined threshold (e.g., “Yes” block of 510), computing system 24 outputs the electrocardiogram data for review by the clinician. In some examples, computing system 24 outputs a portion of the electrocardiogram data, a first indication that an arrhythmic episode occurred in patient 4, and a second indication of the level of confidence in the determination that an arrhythmic episode occurred in patient 4 (512). In some examples, computing system 24 selects a visualization method according to the level of confidence by machine learning system 150 that an arrhythmic episode occurred. For example, computing system 24 may apply color coding to indicate the results (e.g., “green” for lower confidence that an arrhythmic episode occurred, “yellow” for medium confidence that an arrhythmic episode occurred, or “red” for higher confidence that an arrhythmic episode occurred).
[0073] In some examples, computing system 24 uses different visualization techniques to indicate the type of arrhythmia. In some examples, computing system 24 presents ECG waveforms and annotations to the waveforms to indicate where the arrhythmia episodes occurred. In some examples, the annotations include highlighting sections of the ECG, indicating the start and / or end times of the arrhythmia episodes, or applying graphic icons or text to sections of the ECG. Computing system 24 may use a wide variety of different visualization techniques, such as color coding, hatching, images or icons, shapes, different sized indicators, lights, sounds, text notifications, etc., simply to simplify the information being conveyed to the user.
[0074] In one example, computing system 24 displays an indication that an arrhythmia episode has occurred in the patient and one or more cardiac characteristics consistent with the arrhythmia episode. In some examples, computing system 24 displays a classification of the arrhythmia episode as a particular type of arrhythmia.
[0075] In some examples, computing system 24 displays subsections of electrocardiogram data obtained from patient 4 that are consistent with an arrhythmia episode. For example, computing system 24 may identify subsections of electrocardiogram data from patient 4, where the subsections include electrocardiogram data for a first period prior to the arrhythmia episode (e.g., typically less than 10 minutes prior to the onset of the arrhythmia episode), a second period during the occurrence of the arrhythmia episode, and a third period after the arrhythmia episode (e.g., typically less than 10 minutes after the cessation of the arrhythmia episode).
[0076] As an example, the subsection of patient 4's electrogram data may be approximately 6 seconds in length and include representative segments before, during, and after an arrhythmia episode (if present in the electrogram data or waveform being analyzed). In some examples, the duration of the episode may vary by device type and may further depend on the use case of the medical device, one or more settings of the medical device, or the particular type of arrhythmia sensed. For example, some types of arrhythmias are quickly self-terminating (resulting in a shorter duration of the episode), while other types of arrhythmias are sustained, such that the recorded duration of the episode depends on the designated memory space of the medical device. As an example, in the case of atrial fibrillation (AF), the subsection of patient 4's electrogram data may include electrogram data during the onset period, a segment of maximum AF probability, a segment of fastest AF rate, and an AF offset. Typically, the length of time of the patient's electrogram data is longer than the first, second, and third periods. Additionally, computing system 24 identifies one or more cardiac features consistent with the first, second, and third periods. Computing system 24 displays a subsection of the electrocardiogram data and one or more cardiac features corresponding to the first, second, and third time periods.
[0077] If the machine learning system 150 determines that it did not detect an arrhythmia episode (e.g., “no” at block 506) or that the level of confidence is below a predetermined threshold (e.g., “no” at block 510), the computing system 24 archives (508) the sensed electrocardiogram data for later review by a monitoring center or clinician.
[0078] Figure 6 is a flow chart illustrating example operations in accordance with the techniques of this disclosure. For convenience, Figure 6 is described with respect to Figure 1. In some examples, the operations of Figure 6 are operations for illustrating and visualizing the output of a machine learning system 150 that detects episodes of cardiac arrhythmia of a type selected by a user.
[0079] The operations of Figure 6 may be similar to those of Figure 5 in that computing system 24 presents a visualization (such as a color-coded diagram) of the detected arrhythmias and the corresponding confidence level that each arrhythmia is present. However, the operations of Figure 6 allow the user to pre-select a particular type or classification of arrhythmia. In response, computing system 24 filters the output to depict the likelihood that only the selected type of arrhythmia is present at a location within the electrocardiogram data, as well as the corresponding level of confidence in the detection.
[0080] Computing system 24 receives (602) electrocardiogram data from external device 12. Machine learning system 150 of computing system 24 applies a machine learning model to the received electrocardiogram data to detect (604) arrhythmia episodes in patient 4. The operations of steps 602 and 604 may occur in a manner substantially similar to steps 502 and 504, respectively, of FIG.
[0081] The computing system 24 receives from the user a selection of an arrhythmia type for the particular patient (605). For example, the computing system may receive a selection of an arrhythmia, such as bradycardia, tachycardia, atrial fibrillation, ventricular fibrillation, or atrioventricular block, as input from the user via an interface of the computing system 24. The computing system 24 determines whether the machine learning system 150 detects an episode of the selected type of arrhythmia in current and subsequent episodes from the particular patient (606). For example, in response to a determination that the machine learning system 150 did not detect an episode of the selected type of arrhythmia (e.g., “No” at block 606), the computing system 24 archives the sensed electrogram data for later review by a monitoring center or a clinician (608).
[0082] In response to determining that the machine learning system 150 has detected at least one episode of the selected type of arrhythmia (e.g., “yes” at block 606), the computing system 24 determines (610) a level of confidence by the machine learning system 150 that an arrhythmia episode of the selected type has occurred in the patient 4. Additionally, the computing system 24 outputs (612) a portion of the electrocardiogram data, a first indication that an arrhythmia episode has occurred in the patient 4, and a second indication of the level of confidence in the determination that an arrhythmia episode has occurred in the patient 4.
[0083] Thus, the operation of FIG. 6 allows the user to select a particular arrhythmia of interest. The computing system 24 may update the visual presentation based on the user's selection. Because the computing system 24 updates its user interface based on user input, in addition to displaying arrhythmias detected with high and medium confidence levels, the computing system 24 may also present potential episodes of arrhythmias detected with low confidence. In some instances where an arrhythmia is detected with low confidence of detection, an indication that the determination is low confidence is prominently shown along with the corresponding value of the low confidence level of the detected arrhythmia. Thus, the computing system 24 may present visualizations or descriptions of many different types (and certainties) of arrhythmias. Thus, the clinician may use the computing system 24 to confirm the clinician's classification of a particular type of arrhythmia. This may improve the accuracy of the clinician's diagnosis of the patient 4, especially for types of arrhythmias that are less common and more difficult for the clinician to identify. The computing system 24 may further help identify subsequent occurrences of arrhythmia episodes of a previously identified type.
[0084] In another example, computing system 24 receives from a user a classification of an arrhythmia episode as being of a particular type of arrhythmia. Machine learning system 150 uses the received classification to train or update a machine learning model or arrhythmia threshold to improve the accuracy and performance of machine learning model 150. This may improve the accuracy and performance of machine learning system 150 in detecting and classifying arrhythmia episodes of types that are difficult to detect, types that depend on a specific medical diagnosis unique to a particular patient, or types of arrhythmias for which data is scarce, rare, or of low prevalence, or where detection performance in a particular patient may be suboptimal due to factors such as device location, changes in physiological conditions, etc.
[0085] Fig. 7 is a flow chart illustrating example operations in accordance with the techniques of this disclosure. For convenience, Fig. 7 is described with respect to Fig. 1. In some examples, the operations of Fig. 7 are operations for explaining and visualizing the output of a machine learning system 150 that detects an episode of cardiac arrhythmia in a patient 4.
[0086] Computing system 24 receives electrocardiogram data from external device 12 (702). Machine learning system 150 of computing system 24 applies a machine learning model to the received electrocardiogram data to detect an arrhythmia episode in patient 4 (704). Computing system 24 determines whether an arrhythmia episode is detected (706) and a level of confidence in the detection (710). The operations of steps 702, 704, 706, 708, and 710 may occur in a manner substantially similar to steps 502, 504, 506, 508, and 510, respectively, of FIG. 5.
[0087] Additionally, computing system 24 determines whether the user type is advanced (714).
[0088] In this example, computing system 24 may customize the visualization of electrocardiogram data based on user capabilities. For example, computing system 24 may present more or less detailed ECG waveforms, metadata, and analysis of the results provided by the AI as needed to various users of different capabilities.
[0089] For example, in response to determining that the user type is not advanced (e.g., basic user type) (e.g., “No” at block 714), computing system 24 outputs (716) the basic electrocardiogram data, a first indication that an arrhythmic episode occurred in patient 4, and a second indication of a level of certainty in determining that an arrhythmic episode occurred in patient 4. For example, for non-specialists such as transplant cardiologists, neurologists, HF physicians, device nurses, patients / caregivers, etc., computing system 24 may present for display the overall performance of machine learning system 150 with respect to “true and false” positive detection of arrhythmic episodes. In some examples, computing system 24 may further present for display ECG segments depicting detected episodes of arrhythmia overlaid with representative episodes of arrhythmia of the same classification (e.g., ECG segments of patient 4 presenting AF overlaid with representative waveform examples of AF). In some examples, computing system 24 may further present for display ECG segments depicting detected episodes of arrhythmia overlaid with baseline or non-AF episodes. In some examples, computing device 24 presents to a basic user a first representation of the patient's ECG waveforms, a first ECG waveform indicative of an arrhythmia episode, and a second representation of a second ECG waveform indicative of normal cardiac behavior.
[0090] As another example, in response to determining that the user type is advanced (e.g., “yes” at block 714), computing system 24 outputs (718) advanced electrocardiogram data, a first indication that an arrhythmia episode occurred in patient 4, and a second indication of a level of certainty in determining that an arrhythmia episode occurred in patient 4. For example, in the case of an electrophysiologist or subject matter expert, computing system 24 may display, for example, for an AF episode, start and stop times of each arrhythmia episode presented with the average RR in each AF segment compared to the average RR baseline, RR variability during each AF segment contrasted with the RR variability baseline, P-wave evidence during the AF segment contrasted with the P-wave baseline, and morphology variability. Computing system 24 may present additional types of information not explicitly described herein to improve the expert's reliability of machine learning system 150 and assist the expert in interpreting cardiac arrhythmia episodes. In some examples, the computing device 24 presents to the advanced user one or more of the patient 4's ECG waveform, the start time of the arrhythmia episode, the stop time of the arrhythmia episode, the average RR interval of the patient 4 during the arrhythmia episode, the RR variability of the patient 4 during the arrhythmia episode, the baseline RR interval of the patient 4, the P waves of the patient 4 during the arrhythmia episode, the baseline P waves of the patient 4, or the morphology variability of the patient 4.
[0091] Thus, the operations of FIG. 7 further allow for different data presentations based on the skills, capabilities, or experience of the user accessing the data. The operations of FIG. 7 may be used, for example, in a situation where a patient is prescribed a cardiac monitor by a physician stakeholder (e.g., a cardiologist or non-subject matter expert clinician) who is less familiar with interpreting cardiac waveforms, but the patient would like to see a basic presentation of electrocardiogram data characteristics and / or classification by machine learning system 150. By using the techniques of the present disclosure, a medical device system such as medical device system 2 may provide an appropriate amount of data to an end user. Thus, medical device system 2 may enable a clinician to make an appropriate diagnosis or referral, or to confirm the presence or absence of an expected cardiac rhythm (or arrhythmia). Additionally, medical device system 2 may avoid burdening the clinician with data that is not relevant to the required level of understanding.
[0092] 8 is a graph illustrating example simulated electrocardiogram data that may be used to illustrate the machine learning system 150 in accordance with the techniques of this disclosure. For convenience, FIG. 8 is described with respect to the medical system 24 of FIG.
[0093] Unlike feature engineering algorithms, it may not be clear exactly how the machine learning system 150 operates to detect arrhythmias from a patient's electrocardiogram data. As described herein, the computing system 24 may use simulated electrocardiogram data, such as waveforms 802, 804, and 806, to probe different aspects of the arrhythmia characterization performed by the machine learning system 150. For example, the computing system 24 may feed the machine learning system 150 with simulated electrocardiogram data across multiple different characteristics and map the output of the machine learning system 150 to understand how the machine learning model evaluates various features as more or less important with respect to detecting certain types of arrhythmias (as described in more detail below with respect to FIGS. 9A-9C). For example, the computing system 24 may use simulated electrocardiogram data that differ in values of RR variability (RRV), RR rate, or p-wave to examine how the machine learning system 150 characterizes AF. As described herein, "RRV" refers to the variability in the interval between successive "R" points that correspond to the peaks of the QRS complex of an ECG wave. Using the simulated electrocardiogram data and the machine learning system 150's determination of the likelihood of arrhythmia of different portions of the simulated electrocardiogram data, the computing system 24 may explain the operation of the machine learning system 150. Although examples specific to normal sinus rhythm (NSR), bradyarrhythmia, and AF are described herein, the techniques of the present disclosure may also be used for other types of arrhythmias.
[0094] In one example, the computing system 24 receives a data set of a waveform having the following characteristics: Average heart rate (HR) ranges from 40 beats per minute (BPM) to 120 BPM; RRV of waveforms ranging from 0.01 seconds to 0.5 seconds, -QRS complexes with and without p waves. In other words, computing system 24 “explains” the analysis of machine learning system 150 based on features of such simulated electrocardiogram data, which may be more understandable to experts in the field and have “real world” significance.
[0095] In some examples, computing system 24 may use simulated data for average heart rate data, RRV data, or at least a portion of the QRS complex when such data is not available. For example, patient 4 may not exhibit the full range of parameters necessary to explain the model (e.g., BPM less than 50, etc.). The use of such simulated data may allow computing system 24 to explain the analysis of machine learning system 150 without requiring edge case data from patient 4 that may be difficult or infeasible to obtain. In some examples, computing system 24 may use actual data for patient 4 when such data is available.
[0096] The example of Figure 8 shows three exemplary waveforms 802, 804, and 806. Waveform 802 is a waveform with an average heart rate of 90 BPM and RR variability of 0.01 seconds. Waveform 804 is a waveform with an average heart rate of 90 BPM and RR variability of 0.01 seconds. Waveform 806 is a waveform with an average heart rate of 90 BPM, RR variability of 0.5 seconds, and p-waves. In some examples, at least a portion of one or more of waveforms 802, 804, and 806 may be obtained from simulated data.
[0097] Machine learning system 150 processes each of waveforms 802, 804, and 806 and outputs an extracted probability of an arrhythmia occurrence in the [0,1] range. A probability closer to 0 indicates that the waveform's arrhythmia episode is unlikely to occur, and a probability closer to 1 indicates that the waveform's arrhythmia episode is very likely to occur. Computing system 24 may use such information to explain, for example, at which heart rate machine learning system 150 detects a particular type (e.g., AF) arrhythmia episode, at which RRV machine learning system 150 detects a particular type (e.g., AF) arrhythmia episode, or at which p-wave level machine learning system 150 detects a particular type (e.g., AF) arrhythmia episode.
[0098] 9A-9C are graphs illustrating techniques for visualizing the operation of the illustrated machine learning model 150 in detecting an arrhythmia episode in accordance with the techniques of this disclosure. In some examples, FIGS. 9A-9C illustrate an explanation by computing system 24 of the analysis by machine learning system 150 of example waveforms 802, 804, and 806 of FIG. 8. By presenting the output of machine learning system 150 with respect to the simulated electrocardiogram data of FIG. 8, computing system 24 may explain the operation of machine learning system 150 with respect to different characteristics of the simulated electrocardiogram data.
[0099] FIG. 9A illustrates an example graphical representation 900 of the likelihood that the machine learning system 150 predicts normal sinus rhythm in patient 4 (NSR). For example, FIG. 9B illustrates the likelihood that the machine learning system 150 detects NSR as a function of average heart rate. The y-axis of FIG. 9A illustrates the likelihood that NSR is present, as determined by the machine learning system 150, on a scale of 0% to 100%. The colors in FIG. 9A may correspond to the values on the y-axis (e.g., yellow corresponds to a high likelihood that NSR is present and blue corresponds to a low likelihood that NSR is present). The x-axis of FIG. 9A illustrates heart rate in beats per minute (BPM), and the z-axis of FIG. 9A illustrates RRV in seconds. As shown in FIG. 9A, the machine learning system 150 detects NSR where the electrocardiogram has an RRV of less than 0.1 and a heart rate between 65 and 85 BPM. A clinician may use such information to characterize how to annotate normal sinus rhythm in patient 4. For example, the machine learning model illustrated in Figure 9A was developed using data from a specific clinic that considers a heart rate between 65 and 85 BPM to be NSR.
[0100] FIG. 9B illustrates an exemplary diagram 910 of the likelihood that the machine learning system 150 detects bradycardia. For example, FIG. 9B illustrates the likelihood that the machine learning system 150 detects bradycardia as a function of average heart rate. The y-axis of FIG. 9B illustrates the likelihood, determined by the machine learning system 150, that bradycardia is present, on a scale of 0% to 100%. The colors of FIG. 9B may correspond to the values on the y-axis (e.g., yellow corresponds to a high likelihood that bradycardia is present, and blue corresponds to a low likelihood that bradycardia is present). The x-axis of FIG. 9B illustrates heart rate in BPM, and the z-axis of FIG. 9B illustrates RRV in seconds. As illustrated in FIG. 9B, the machine learning system 150 detects sinus bradycardia where the electrocardiogram has an RRV of less than 0.1 and a heart rate between 45-55 BPM. A clinician may use such information to characterize how to annotate episodes of bradycardia in patient 4. For example, the machine learning model illustrated in Figure 9B was developed using data from a particular clinic that considers a heart rate between 45 and 55 BPM to be sinus bradycardia.
[0101] FIG. 9C shows an exemplary graphical illustration 920 of the likelihood that the machine learning system 150 detects atrial fibrillation (AF). The example of FIG. 9C shows the likelihood that the machine learning system 150 detects AF as a function of average heart rate, RR variability, and P-waves. The y-axis of FIG. 9C shows the likelihood determined by the machine learning system 150 that AF is present on a scale of 0% to 100%. The colors of FIG. 9C may correspond to the values on the y-axis (e.g., yellow corresponds to a high likelihood that AF is present and blue corresponds to a low likelihood that AF is present). The x-axis of FIG. 9C shows heart rate in BPM, and the z-axis of FIG. 9C shows RRV in seconds. Additionally, FIG. 9C shows two scenarios where p-waves are present (924) and where p-waves are absent (922). As shown in FIG. 9C, the machine learning system 150 detects AF where the electrocardiogram has an RRV greater than 0.2, a heart rate greater than 75 BPM, and where p-waves are absent. In the presence of p-waves, the machine learning system 150 does not detect AF. Although not shown in FIG. 9C, the machine learning system 150 may detect episodes of PAC more frequently in the presence of p-waves. A clinician may use such information to characterize how to annotate episodes of AF for patient 4. For example, the machine learning model illustrated in FIG. 9C was developed using data from a particular clinic that considers a heart rate above 75 BPM and an RRV above 0.2 to be AF.
[0102] The exemplary visualization techniques illustrated by Figures 9A-9C may be extended by including other deep learning visualization techniques. For example, the techniques of the present disclosure may be readily adapted to deep learning techniques for visualizing features of deep networks or for visualizing neural style transfer. Additionally, the techniques of the present disclosure may be adapted to visualize other types of cardiac arrhythmias not explicitly shown in Figures 9A-9C, such as ventricular fibrillation or atrioventricular block.
[0103] 10A-10D illustrate example displays 1001-1004 for visualizing electrocardiogram data 1010 of a patient 4 by a computing device in accordance with the techniques of this disclosure. The electrocardiogram data 1010 may be sensed, for example, by an IMD 10 as described above. The display 1000 may be presented, for example, by the computing system 24 or the external device 12. FIG. 10A shows a display 1001 presenting electrocardiogram data 1010 of a patient 4 sensed by an IMD 10.
[0104] 10B illustrates a display 1002 presenting basic cardiac information, e.g., an ECG segment 1020 of electrocardiogram data 1010 in which computing system 24 has determined that an arrhythmia episode has occurred in patient 4. In some examples, ECG segment 1020 is a segment of electrocardiogram data 1010 that computing system 24 has determined is most likely to present an episode of atrial fibrillation in patient 4. The exemplary presentation of FIG. 10B may be used, for example, when a user is a basic user who does not require comprehensive information regarding the determination of an arrhythmia episode by computing system 24.
[0105] 10C illustrates a display 1003 presenting advanced cardiac information. For example, the display 1003 includes electrocardiogram data 1010 and further indicates, for a plurality of segments of the electrocardiogram data 1010, the likelihood that an episode of one or more types of cardiac arrhythmia has occurred. For example, the display 1003 colors segments green (1012) because the computing system 24 has determined that atrial fibrillation has likely occurred in the patient 4, colors segments yellow (1014) because the computing system 24 has determined with uncertainty that atrial fibrillation has occurred in the patient 4, and colors segments red (1016) because the computing system 24 has determined that atrial fibrillation has unlikely occurred in the patient 4. Additionally, the display 1003 illustrates in blue an overall likelihood 1030 that atrial fibrillation has occurred in the patient 4 over time.
[0106] As another example, display 1003 may color a segment green when computing system 24 determines that it is likely that a PVC occurred in patient 4 (no episodes in FIG. 10C), may color a segment yellow (1024) when computing system 24 is uncertain as to whether a PVC occurred in patient 4, and may color a segment red (1026) when computing system 24 determines that it is unlikely that a PVC occurred in patient 4. Additionally, display 1003 may indicate in magenta the overall likelihood 1040 that a PVC occurred in patient 4 over time.
[0107] FIG. 10D illustrates a display 1004 presenting advanced cardiac information. For example, the display 1004 illustrates substantially similar information as the display 1003 of FIG. 10C. Additionally, the display 1004 further illustrates reference electrocardiogram data 1054 illustrating a baseline ECG signal (e.g., in the absence of AF) and reference electrocardiogram data 1052 illustrating an ECG signal during an episode of AF. Additionally, the display 1004 includes an RR interval diagram 1050 displaying RR intervals of the patient 4 over the period of the electrocardiogram data 1010. The RR interval diagram 1050 illustrates high unpatterned RR variability during the presence of AF (e.g., from time t0 to about time t100) and patterned beats during the absence of AF (e.g., from time t150 to time t250). The exemplary presentations of FIG. 10C or 10D may be used, for example, when the user is an advanced basic user who desires comprehensive information regarding the determination of arrhythmia episodes by the computing system 24.
[0108] 11A-11C illustrate example displays 1101-1103 for visualizing electrocardiogram data 1110 of a patient 4 by a computing device in accordance with the techniques of this disclosure. The electrocardiogram data 1110 may be sensed, for example, by an IMD 10 as described above. The display 1100 may be presented, for example, by the computing system 24 or the external device 12. FIG. 11A shows a display 1101 presenting electrocardiogram data 1110 of a patient 4 sensed by an IMD 10.
[0109] 11B illustrates a display 1102 presenting basic cardiac information, e.g., an ECG segment 1120 of electrocardiogram data 1110 in which computing system 24 has determined that an arrhythmia episode has occurred in patient 4. In some examples, ECG segment 1120 is a segment of electrocardiogram data 1110 in which computing system 24 has determined that patient 4 is most likely to present with an episode of a PVC. The exemplary presentation of FIG. 11B may be used, for example, when a user is a basic user who does not require comprehensive information regarding the determination of an arrhythmia episode by computing system 24.
[0110] 11C illustrates a display 1103 presenting advanced cardiac information. For example, the display 1103 includes electrocardiogram data 1110 and further indicates, for a plurality of segments of the electrocardiogram data 1110, the likelihood that an episode of one or more types of cardiac arrhythmia has occurred. For example, the display 1103 colors segments green (not shown in FIG. 11C) where computing system 24 has determined that atrial fibrillation has likely occurred in patient 4, colors segments yellow (not shown in FIG. 11C) where computing system 24 has determined with uncertainty that atrial fibrillation has occurred in patient 4, and colors segments red (1116) where computing system 24 has determined that atrial fibrillation has unlikely occurred in patient 4. Additionally, the display 1103 indicates in blue an overall likelihood 1130 that atrial fibrillation has occurred in patient 4 over time.
[0111] As another example, display 1103 may color a segment green (1122) if computing system 24 determines that it is likely that a PVC occurred in patient 4, may color a segment yellow (not shown in FIG. 11C) if computing system 24 is uncertain as to whether a PVC occurred in patient 4, and may color a segment red (1126) if computing system 24 determines that it is unlikely that a PVC occurred in patient 4. Additionally, display 1103 may indicate in magenta the overall likelihood 1140 that a PVC occurred in patient 4 over time.
[0112] The following examples may illustrate one or more aspects of the disclosure.
[0113] Example 1. A method includes receiving, by a computing device including a processing circuit and a storage medium, electrocardiogram data sensed by a medical device, applying, by the computing device, a machine learning model trained using the electrocardiogram data for a plurality of patients to the received electrocardiogram data, determining, based on the machine learning model, that an arrhythmia episode has occurred in the patient and determining a level of confidence in the determination that an arrhythmia episode has occurred in the patient, determining that the level of confidence in the determination that an arrhythmia episode has occurred in the patient is greater than a predetermined threshold, and in response to determining that the level of confidence is greater than the predetermined threshold, output, by the computing device, for display to a user, at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode has occurred in the patient, and a second indication of the level of confidence that an arrhythmia episode has occurred in the patient.
[0114] Example 2. The method of example 1, wherein at least a portion of the electrocardiogram data includes an electrocardiogram (ECG) waveform.
[0115] Example 3. In the method of Example 2, the first indication that an arrhythmia episode has occurred in the patient includes an annotation to the ECG waveform.
[0116] Example 4. The method of any of Examples 1-3, wherein the second indication includes one or more of a color, an image, a light, a sound, or a text notification.
[0117] Example 5. In the method of any of Examples 1-4, the method further includes receiving, from the user, a selection of an arrhythmia type, and applying the machine learning model to the received electrocardiogram data to determine that an arrhythmia episode has occurred in the patient includes applying the machine learning model to the received electrocardiogram data to determine that an arrhythmia episode of the selected arrhythmia type has occurred in the patient, and outputting at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode has occurred in the patient, and a second indication of a level of confidence that an arrhythmia episode has occurred in the patient includes outputting at least a portion of the electrocardiogram data, the first indication that an arrhythmia episode of the selected arrhythmia type has occurred in the patient, and a second indication of a level of confidence that an arrhythmia episode of the selected arrhythmia type has occurred in the patient.
[0118] Example 6. The method of any of Examples 1-5, the method including determining, by the computing device, that the user is a basic user, and outputting at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode has occurred in the patient, and a second indication of a level of confidence that an arrhythmia episode has occurred in the patient, includes outputting, in response to determining that the user is a basic user, one or more of the following: the first indication that an arrhythmia episode of an arrhythmia type has occurred in the patient, and the second indication of a level of confidence that an arrhythmia episode has occurred in the patient, as well as an electrocardiogram (ECG) waveform of the patient, a first representation of a first ECG waveform indicative of the arrhythmia episode, and a second representation of a second ECG waveform indicative of normal cardiac behavior.
[0119] Example 7. In any of the methods of Examples 1-5, the method further includes determining, by the computing device, that the user is an advanced user, and outputting at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode has occurred in the patient, and a second indication of a level of confidence that an arrhythmia episode has occurred in the patient, in response to determining that the user is an advanced user, includes outputting the first indication that an arrhythmia episode of a selected arrhythmia type has occurred in the patient, and a second indication of a level of confidence that an arrhythmia episode of a selected arrhythmia type has occurred in the patient, as well as one or more of the patient's electrocardiogram (ECG) waveform, a start time of the arrhythmia episode, a stop time of the arrhythmia episode, the patient's average RR interval during the arrhythmia episode, the patient's RR variability during the arrhythmia episode, the patient's baseline RR interval, the patient's P-wave during the arrhythmia episode, and the patient's baseline P-wave, and the patient's morphology variability.
[0120] Example 8. The method of any of Examples 1-7, wherein the arrhythmia episode in the patient is at least one of an episode of bradycardia, tachycardia, atrial fibrillation, ventricular fibrillation, or atrioventricular block.
[0121] Example 9. The method of any of Examples 1-8, wherein the machine learning model trained using electrocardiogram data of the plurality of patients includes a machine learning model trained using a plurality of electrocardiogram (ECG) waveforms, each ECG waveform labeled with one or more arrhythmia episodes in a patient of the plurality of patients.
[0122] Example 10. In the method of any of Examples 1-9, applying the machine learning model to the received electrocardiogram data includes applying the machine learning model to at least one of electrocardiogram (ECG) data of the patient, features correlated with arrhythmia in the patient, a type of arrhythmia in the patient, an activity level of the implantable medical device, an input impedance of the implantable medical device, or a battery level of the implantable medical device.
[0123] Example 11. In the method of any of Examples 1-10, outputting at least a portion of the cardiac electrogram data includes identifying a subsection of an electrocardiogram (ECG) of the patient, the subsection including ECG data for a first time period before an arrhythmic episode, a second time period during the arrhythmic episode, and a third time period after the arrhythmic episode, a length of time of the patient's ECG being greater than the first, second, and third time periods, and outputting the subsection of the ECG.
[0124] Example 12. The method of any of Examples 1-11, wherein the predetermined threshold is a first predetermined threshold, and the method includes determining whether a level of confidence in determining that an arrhythmia episode has occurred in the patient is greater than a second predetermined threshold, and in response to determining that the second predetermined threshold is greater than the first predetermined threshold and the level of confidence is greater than the predetermined threshold, outputting at least a portion of the electrocardiogram data, the first indicator, and the second indicator, in response to determining that the level of confidence is greater than the first predetermined threshold but not greater than the second predetermined threshold, outputting at least a portion of the electrocardiogram data, the first indicator, and an indication of a medium level of confidence that an arrhythmia episode has occurred in the patient, and in response to determining that the level of confidence is greater than the first predetermined threshold and greater than the second predetermined threshold, outputting at least a portion of the electrocardiogram data, the first indicator, and an indication of a high level of confidence that an arrhythmia episode has occurred in the patient.
[0125] Example 13. A method includes receiving, by a computing device including a processing circuit and a storage medium, electrocardiogram data sensed by a medical device, receiving a selection of an arrhythmia type from a user, applying, by the computing device, a machine learning model trained using the electrocardiogram data for a plurality of patients to the received electrocardiogram data, determining a level of confidence in a determination that an episode of the selected type of arrhythmia has occurred in the patient based on the machine learning model, and outputting, by the computing device, for display to a user, at least a portion of the electrocardiogram data, a first indication that an episode of the selected arrhythmia has occurred in the patient, and a second indication of the level of confidence that an episode of the selected arrhythmia has occurred in the patient.
[0126] Example 14. The method of example 13, wherein at least a portion of the electrocardiogram data includes an electrocardiogram (ECG) waveform.
[0127] Example 15. In the method of Example 14, the first indication that an arrhythmia episode has occurred in the patient includes an annotation to an ECG waveform.
[0128] Example 16. The method of any of Examples 13-15, wherein the second indication includes one or more of a color, an image, a light, a sound, or a text notification.
[0129] Example 17. The method of any of Examples 13-16, the method including determining, by the computing device, that the user is a basic user, and outputting at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode has occurred in the patient, and a second indication of a level of confidence that an arrhythmia episode has occurred in the patient, includes outputting, in response to determining that the user is a basic user, the first indication that an arrhythmia episode of an arrhythmia type has occurred in the patient, and the second indication of a level of confidence that an arrhythmia episode has occurred in the patient, as well as one or more of an electrocardiogram (ECG) waveform of the patient, a first representation of a first ECG waveform representative of the arrhythmia episode, and a second representation of a second ECG waveform representative of normal cardiac operation.
[0130] Example 18. The method of any of Examples 13-16, further comprising: determining, by the computing device, that the user is an advanced user; and outputting at least a portion of the electrocardiogram data, a first indication that an arrhythmia episode has occurred in the patient, and a second indication of a level of confidence that an arrhythmia episode has occurred in the patient, in response to determining that the user is an advanced user, includes outputting the first indication that an arrhythmia episode of a selected arrhythmia type has occurred in the patient, and a second indication of a level of confidence that an arrhythmia episode of a selected arrhythmia type has occurred in the patient, as well as one or more of the patient's electrocardiogram (ECG) waveform, a start time of the arrhythmia episode, a stop time of the arrhythmia episode, a mean RR interval of the patient during the arrhythmia episode, a RR variability of the patient during the arrhythmia episode, a baseline RR interval of the patient, a P wave of the patient during the arrhythmia episode, a baseline P wave of the patient, and a morphology variability of the patient.
[0131] Example 19. The method of any of Examples 13-18, wherein the arrhythmia episode in the patient is at least one of an episode of bradycardia, tachycardia, atrial fibrillation, ventricular fibrillation, or atrioventricular block.
[0132] Example 20. The method of any of Examples 13-19, wherein the machine learning model trained using electrocardiogram data of the plurality of patients comprises a machine learning model trained using a plurality of electrocardiogram (ECG) waveforms, each ECG waveform labeled with one or more arrhythmia episodes in a patient of the plurality of patients.
[0133] Example 21. In the method of any of Examples 13-20, applying the machine learning model to the received electrocardiogram data includes applying the machine learning model to at least one of electrocardiogram (ECG) data of the patient, features correlated with arrhythmia in the patient, a type of arrhythmia in the patient, an activity level of the implantable medical device, an input impedance of the implantable medical device, or a battery level of the implantable medical device.
[0134] Example 22. In the method of any of Examples 1-21, outputting at least a portion of the cardiac electrogram data includes identifying a subsection of an electrocardiogram (ECG) of the patient, the subsection including ECG data for a first time period before the arrhythmia episode, a second time period during the arrhythmia episode, and a third time period after the arrhythmia episode, a length of time of the patient's ECG being greater than the first, second, and third time periods, and outputting the ECG subsection.
[0135] In some embodiments, the disclosed techniques include a system including means for performing any of the methods described herein. In some embodiments, the disclosed techniques include a computer-readable medium including instructions that cause a processing circuit to perform any of the methods described herein.
[0136] It should be understood that the various aspects disclosed herein can be combined in different combinations than those specifically presented in the description and accompanying drawings. It should also be understood that certain acts or events of any of the processes or methods described herein may be performed in different orders, or may be added, combined, or omitted entirely, depending on the embodiment (e.g., not all described acts or events may be necessary to perform the technology). In addition, although certain aspects of the disclosure are described for clarity as being performed by a single module, unit, or circuit, it should be understood that the technology of the disclosure may be performed by a combination of units, modules, or circuits associated with, for example, a medical device device.
[0137] In one or more embodiments, the described techniques can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions can be stored as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. The computer-readable medium can include non-transitory computer-readable media corresponding to tangible media, such as data storage media (e.g., RAM, ROM, EEPROM, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer).
[0138] The instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Thus, the terms "processor" or "processing circuitry" as used herein may refer to any of the foregoing structures, or any other physical structure suitable for carrying out the techniques described. Also, the techniques may be implemented entirely in one or more circuits or logic elements.
Claims
1. 1. A computing device comprising: A storage medium; a processing circuit operably coupled to the storage medium; and receiving electrocardiogram data sensed by a medical device; applying a machine learning model trained using electrocardiogram data for a plurality of patients to the received electrocardiogram data; determining that an arrhythmia episode has occurred in the patient based on the machine learning model; and determining a level of confidence in said determination that the arrhythmia episode has occurred in said patient; determining that the level of confidence in the determination that the arrhythmia episode has occurred in the patient is greater than a predetermined threshold; and in response to determining that the level of confidence is greater than the predetermined threshold, outputting for display to a user at least a portion of the electrocardiogram data, a first indication that the arrhythmia episode has occurred in the patient, and a second indication of the level of confidence that the arrhythmia episode has occurred in the patient.
2. the at least a portion of the electrocardiogram data includes an electrocardiogram (ECG) waveform; The computing device of claim 1 , wherein the first indication that the arrhythmia episode has occurred in the patient comprises an annotation on the ECG waveform.
3. The computing device of claim 1 or 2, wherein the second indication comprises one or more of a color, an image, a light, a sound, or a text notification.
4. the processing circuitry is further configured to receive from the user a selection of an arrhythmia type; to apply the machine learning model to the received electrocardiogram data to determine that an arrhythmia episode has occurred in the patient, the processing circuitry is configured to apply the machine learning model to the received electrocardiogram data to determine that an arrhythmia episode of the selected arrhythmia type has occurred in the patient; A computing device as described in any one of claims 1 to 3, wherein the processing circuit is configured to output the at least a portion of the electrocardiogram data, the first indication that the arrhythmia episode has occurred in the patient, and the second indication of the level of confidence that the arrhythmia episode has occurred in the patient, the at least a portion of the electrocardiogram data, the first indication that the arrhythmia episode of the selected arrhythmia type has occurred in the patient, and the second indication of the level of confidence that the arrhythmia episode of the selected arrhythmia type has occurred in the patient.
5. the processing circuitry is configured to determine that the user is a basic user; and a processing circuit configured to, in response to determining that the user is a basic user, output the at least a portion of the electrocardiogram data, the first indication that the arrhythmic episode has occurred in the patient, and the second indication of the level of confidence that the arrhythmic episode has occurred in the patient, and an electrocardiogram (ECG) waveform of the patient; a first representation of a first ECG waveform indicative of an arrhythmia episode; and a second representation of a second ECG waveform representative of normal cardiac behavior.
6. the processing circuitry is configured to determine that the user is an advanced user; and a processing circuit configured to, in response to determining that the user is an advanced user, output the at least a portion of the electrocardiogram data, the first indication that the arrhythmic episode has occurred in the patient, and the second indication of the level of confidence that the arrhythmic episode has occurred in the patient, and an electrocardiogram (ECG) waveform of the patient; a start time of said arrhythmia episode; the duration of the arrhythmia episode; the patient's mean R-R interval during the arrhythmia episode; R-R variability of said patient during said arrhythmia episode; the patient's baseline R-R interval; a P wave of the patient during the arrhythmia episode; the patient's baseline P wave; and A computing device according to any preceding claim, configured to output one or more of the patient morphological variations.
7. The computing device of claim 1 , wherein the arrhythmia episode in the patient is at least one of an episode of bradycardia, tachycardia, atrial fibrillation, ventricular fibrillation, or atrioventricular block.
8. 8. The computing device of claim 1, wherein the machine learning model trained using electrocardiogram data of the plurality of patients comprises a machine learning model trained using a plurality of electrocardiogram (ECG) waveforms, each ECG waveform labeled with one or more arrhythmia episodes in a patient of the plurality of patients.
9. To apply the machine learning model to the received electrocardiogram data, the processing circuitry performs the machine learning model: Electrocardiogram (ECG) data of the patient; characteristics correlated with arrhythmia in said patient; the type of arrhythmia in the patient; an activity level of the medical device; the input impedance of the medical device; or A computing device according to any preceding claim, configured to apply to at least one of: a battery level of the medical device.
10. To output the at least a portion of the electrocardiogram data, the processing circuitry identifying a subsection of an electrocardiogram (ECG) of the patient, the subsection including ECG data for a first time period prior to the arrhythmic episode, a second time period during the arrhythmic episode, and a third time period after the arrhythmic episode, the patient's ECG having a length of time greater than the first, second, and third time periods; A computing device according to any preceding claim, configured to:
11. the predetermined threshold is a first predetermined threshold, the processing circuitry is further configured to determine whether the level of confidence in the determination that the arrhythmia episode has occurred in the patient is greater than a second predetermined threshold, the second predetermined threshold being greater than the first predetermined threshold; in response to determining that the level of confidence is greater than the predetermined threshold, the processing circuitry is adapted to output the at least a portion of the electrocardiogram data, the first index, and the second index. in response to determining that the level of confidence is greater than the first predetermined threshold but not greater than the second predetermined threshold, outputting at least a portion of the electrocardiogram data, the first indication, and an indication of a medium level of confidence that the arrhythmia episode has occurred in the patient; and in response to determining that the level of confidence is greater than the first predetermined threshold and greater than the second predetermined threshold, outputting the at least a portion of the electrocardiogram data, the first indication, and an indication of a high level of confidence that the arrhythmia episode has occurred in the patient.
12. 1. A computing device comprising: means for receiving, by a computing device including a processing circuit, electrocardiogram data sensed by a medical device; means for applying, by the computing device, a machine learning model trained using electrocardiogram data for a plurality of patients to the received electrocardiogram data, determining that an arrhythmia episode has occurred in the patient based on the machine learning model; and determining a level of confidence in said determination that said arrhythmia episode has occurred in said patient; means for determining that the level of confidence in the determination that the arrhythmia episode has occurred in the patient is greater than a predetermined threshold; and means for outputting, by the computing device, for display to a user, at least a portion of the electrocardiogram data, a first indication that the arrhythmia episode has occurred in the patient, and a second indication of the level of confidence that the arrhythmia episode has occurred in the patient.
13. A system including a computing device according to any preceding claim.
Citation Information
Patent Citations
Biological information processing system and program
JP2017042386A
Method and apparatus for automatic arrhythmia classification with confidence estimation
US20130274624A1
