<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKAppleECGAlgorithmVersion",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@E@HKAppleECGAlgorithmVersion"
  },
  "title" : "HKAppleECGAlgorithmVersion"
}
-->

# HKAppleECGAlgorithmVersion

Version numbers for the algorithm Apple Watch uses to generate an ECG reading.

```
enum HKAppleECGAlgorithmVersion
```

## Topics

### Versions

[`HKAppleECGAlgorithmVersion1`](/documentation/HealthKit/HKAppleECGAlgorithmVersion/version1)

The version 1 algorithm.

[`HKAppleECGAlgorithmVersion2`](/documentation/HealthKit/HKAppleECGAlgorithmVersion/version2)

The version 2 algorithm.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)