---
title: HKVisionPrescriptionType
framework: healthkit
role: symbol
role_heading: Enumeration
path: healthkit/hkvisionprescriptiontype
---

# HKVisionPrescriptionType

The type of vision prescription, for example a prescription for glasses or for contacts.

## Declaration

```swift
enum HKVisionPrescriptionType
```

## Topics

### Prescription types

- [HKVisionPrescriptionType.glasses](healthkit/hkvisionprescriptiontype/glasses.md)
- [HKVisionPrescriptionType.contacts](healthkit/hkvisionprescriptiontype/contacts.md)

### Initializers

- [init(rawValue:)](healthkit/hkvisionprescriptiontype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing the prescription data

- [prescriptionType](healthkit/hkvisionprescription/prescriptiontype.md)
- [dateIssued](healthkit/hkvisionprescription/dateissued.md)
- [expirationDate](healthkit/hkvisionprescription/expirationdate.md)
