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

# hasSchedule

A Boolean value that indicates whether a medication has a schedule set up.

```
var hasSchedule: Bool { get }
```

## Discussion

The value is `true` for medications for which a person has set up reminders and `false` for medications that are only taken as needed.

> Note: Scheduled medications can still be taken as needed.

---

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)