To diagnose a heart arrhythmia, the patient may be asked about or tested for conditions that may trigger heart arrhythmia, such as heart disease or a problem with the thyroid gland. The patient may have two kinds of heart monitoring tests: active and passive.