---
title: "init(rawValue:)"
framework: healthkit
role: symbol
role_heading: Initializer
path: "healthkit/hkcharacteristictypeidentifier/init(rawvalue:)"
---

# init(rawValue:)

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

## Declaration

```swift
init(rawValue: String)
```
