Apple watches are seen at a new Apple store in Chicago, Illinois, U.S., October 19, 2017. REUTERS/John Gress

(Reuters) - The U.S. Food and Drug Administration on Thursday cleared a device embedded in an Apple Inc watch band that monitors a user’s heart rate, detects when something is amiss and prompts the user to take an electrocardiogram.

The device, made by AliveCor, pairs the ability to take a personal 30 second electrocardiogram (EKG) with a feature that uses artificial intelligence to continuously evaluate the correlation between heart and physical activity.

When the device, known as KardiaBand, detects that a user’s heart rate and activity are out of sync, it prompts the user to capture an EKG by touching the band. The results display instantly on the watch face.

The device is designed to capture information that can help doctors help manage atrial fibrillation, the most common heart arrhythmia that is a leading cause of stroke and affects more than 30 million people worldwide.

The device costs $199 and requires a subscription to the company’s premium service for $99 a year.

AliveCor said in a statement it uses advanced artificial intelligence, mobile, cloud and micro-electrode technology to change the dynamic in cardiac care.