<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKVisionPrescription/prescriptionType",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HKVisionPrescription(py)prescriptionType"
  },
  "title" : "prescriptionType"
}
-->

# prescriptionType

The type of vision prescription.

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

## Discussion

This property contains a value that indicates the type of prescription. For a list of possible values, see [`HKVisionPrescriptionType`](/documentation/HealthKit/HKVisionPrescriptionType).

## See Also

[`class HKGlassesPrescription`](/documentation/HealthKit/HKGlassesPrescription)

A sample that stores a prescription for glasses.

[`class HKContactsPrescription`](/documentation/HealthKit/HKContactsPrescription)

A sample that store a prescription for contacts.



---

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)