---
title: hasSchedule
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkuserannotatedmedication/hasschedule
---

# hasSchedule

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

## Declaration

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

## Discussion

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.
