tecnica:misc:contec_ecg_file_format
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tecnica:misc:contec_ecg_file_format [2020/11/29 06:54] – [Footer] niccolo | tecnica:misc:contec_ecg_file_format [2020/12/31 14:03] (current) – [Contec ECG90A Electrocardiograph - ECG File Format] niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Contec ECG90A Electrocardiograph - ECG File Format ====== | ====== Contec ECG90A Electrocardiograph - ECG File Format ====== | ||
- | This is my approach in the **reverse engineering** of **ECG file format** saved by the **[[http:// | + | This is my approach in the **reverse engineering** of **ECG file format** saved by the **[[http:// |
- | The device | + | Here you can find a **Python program** to draw PDF or PNG electrocardiograms from ECG files: |
+ | Here you can find a **review** (in Italian) of the device: **[[ecg_contec_90a]]**. | ||
===== File Header ===== | ===== File Header ===== | ||
Line 59: | Line 60: | ||
So it seems that the end of data can be detected by **an entire row of zeros** (16 bytes), or just skipping the last 37 bytes of the file. | So it seems that the end of data can be detected by **an entire row of zeros** (16 bytes), or just skipping the last 37 bytes of the file. | ||
- | ===== To Test an Confirm | + | ===== Electrodes connection detection |
- | + | ||
- | FIXME Hypothesis to be confirmed: | + | |
- | + | ||
- | - Confirm that **lead II** starts acquiring with just right arm and left leg electrodes (red and green). No: connection of the black electrode is required for the device to aknowledge that RA (right arm) is connected. No data is plotted untill all the four limb electrodes are in place. | + | |
- | - Confirm that **lead III** starts acquiring with just left arm and the left leg electrodes (yellow and green). No: no data is plotted untill all the four limb electrodes are in place. | + | |
- | - Confirm that leads **I**, **avL**, **avR** and **avF** starts acquiring with just three electrodes: red yellow and green. No: no data is plotted untill all the four limb electrodes are in place. | + | |
- | - Confirm that **V1**, ..., **V6** starts acquiring with just the relative chest electrode and the right leg one (black). | + | |
- | - Confirm that **V1**, ..., **V6** are in the expected order in data series. | + | |
+ | - **Detection of connected electrodes**. The device requires that both the **right arm red** (RA) and **right leg black** elecrodes are connected to acknowledge that the red electrode is in place (the flashing RA red label disappear). However no ECG graph is traced unitll all the four limb leads are connected. | ||
+ | - Actually the **ECG90A requires that all the four limb electrodes are connected** to start acquiring something. In theory: to acquire **lead II** the **right arm** and the **left leg** electrodes should be sufficient; to acquire **lead III** the **left arm** and the **left leg** electrodes should be sufficient. This is because they are bipolar leads into the Einthoven triangle. | ||
+ | - Also leads **I**, **avL**, **avR** and **avF** are plotted only when all the four limb electrodes are in place. | ||
+ | - Leads **V1**, ..., **V6** starts acquiring with just the relative chest electrode and the right leg one (black). | ||
===== Calculating the missing leads ===== | ===== Calculating the missing leads ===== | ||
- | Here are my hypothesis on how to calculate the leads not found into the data series. | + | Here are the **formulas |
From the formulas of voltages of **[[wp> | From the formulas of voltages of **[[wp> | ||
Line 110: | Line 107: | ||
=== SCP-ECG === | === SCP-ECG === | ||
- | The **[[wp> | + | The **[[wp> |
+ | |||
+ | The format is rather complicated; | ||
+ | |||
+ | Starting with version V3.0 (year 2014), the standard also provides support for the storage of continuous, **long-term ECG** recordings. | ||
=== HL7 aECG === | === HL7 aECG === | ||
Line 136: | Line 137: | ||
* **[[https:// | * **[[https:// | ||
* **[[https:// | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[http:// | ||
+ | |||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
* **Debian GNU/Linux Software** | * **Debian GNU/Linux Software** | ||
Line 146: | Line 156: | ||
* **[[https:// | * **[[https:// | ||
* **[[http:// | * **[[http:// | ||
+ | * **Python Libraries** | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
tecnica/misc/contec_ecg_file_format.1606629283.txt.gz · Last modified: 2020/11/29 06:54 by niccolo