<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKCorrelationTypeIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@T@HKCorrelationTypeIdentifier"
  },
  "title" : "HKCorrelationTypeIdentifier"
}
-->

# HKCorrelationTypeIdentifier

The identifiers that create correlation type objects.

```
struct HKCorrelationTypeIdentifier
```

## Overview

To create an [`HKCorrelationType`](/documentation/HealthKit/HKCorrelationType) instance, pass an [`HKCorrelationTypeIdentifier`](/documentation/HealthKit/HKCorrelationTypeIdentifier) value to the [`correlationType(forIdentifier:)`](/documentation/HealthKit/HKObjectType/correlationType(forIdentifier:)) method.

## Topics

### Correlation Types

[`bloodPressure`](/documentation/HealthKit/HKCorrelationTypeIdentifier/bloodPressure)

A correlation sample that combines a systolic sample and a diastolic sample into a single blood pressure reading.

[`food`](/documentation/HealthKit/HKCorrelationTypeIdentifier/food)

Food correlation types combine any number of nutritional samples into a single food object.

### Initializers

[`init(rawValue:)`](/documentation/HealthKit/HKCorrelationTypeIdentifier/init(rawValue:))

Returns a newly initialized correlation type identifier using the provided string.



---

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)