---
title: prescriptionType
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkvisionprescription/prescriptiontype
---

# prescriptionType

The type of vision prescription.

## Declaration

```swift
var prescriptionType: HKVisionPrescriptionType { get }
```

## Discussion

Discussion This property contains a value that indicates the type of prescription. For a list of possible values, see HKVisionPrescriptionType.

## See Also

### Related Documentation

- [HKGlassesPrescription](healthkit/hkglassesprescription.md)
- [HKContactsPrescription](healthkit/hkcontactsprescription.md)

### Accessing the prescription data

- [HKVisionPrescriptionType](healthkit/hkvisionprescriptiontype.md)
- [dateIssued](healthkit/hkvisionprescription/dateissued.md)
- [expirationDate](healthkit/hkvisionprescription/expirationdate.md)
