幫助中心 HealthyApps
繁體中文(香港)
幫助中心
主網站 ↗

搜尋說明主題

ECG - JSON 匯出格式

JSON 匯出中 ECG 結構的文件

最後更新: 2026年10月31日

本頁內容
結構欄位電壓測量相關文件

JSON 匯出將 ECG 記錄儲存在 ecg 陣列中。

結構

此範例顯示 30 秒記錄。voltageMeasurements 陣列縮短為其前兩個讀數;numberOfVoltageMeasurements 描述原始記錄。

{
  "start": "2024-02-06 14:30:00 -0800",
  "end": "2024-02-06 14:30:30 -0800",
  "classification": "Sinus Rhythm",
  "averageHeartRate": 72,
  "numberOfVoltageMeasurements": 15360,
  "voltageMeasurements": [
    {"date": 1707258600, "voltage": 123, "units": "mcV"},
    {"date": 1707258600.001953125, "voltage": 125, "units": "mcV"}
  ],
  "samplingFrequency": 512,
  "source": "Apple Watch"
}

欄位

  • start、end(字串):記錄時間戳記,格式為 yyyy-MM-dd HH:mm:ss Z。
  • classification(字串):記錄的分類。匯出器輸出的英文值為 Not Set、Sinus Rhythm、Atrial Fibrillation、Inconclusive Low Heart Rate、Inconclusive High Heart Rate、Inconclusive Poor Recording、Inconclusive 和 Unrecognized。
  • averageHeartRate(數字):平均心率,單位為每分鐘搏動次數。
  • numberOfVoltageMeasurements(數字):記錄中的電壓讀數總數。
  • voltageMeasurements(陣列):記錄的電壓讀數。
  • samplingFrequency(數字):取樣頻率,單位為赫茲。
  • source(字串):記錄的 App 或裝置。

電壓測量

每個讀數包含:

  • date(數字):測量時間,為含小數秒的 Unix epoch 秒。
  • voltage(數字):電壓,單位為微伏。
  • units(字串):mcV。

ECG 匯出可能很大,因為包含電壓序列。需要較小檔案時請使用更短的匯出日期範圍。

相關文件