<!--
{
  "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/HKMedicationDoseEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HKMedicationDoseEvent"
  },
  "title" : "HKMedicationDoseEvent"
}
-->

# HKMedicationDoseEvent

```
class HKMedicationDoseEvent
```

## Topics

### Instance Properties

[`var doseQuantity: Double?`](/documentation/HealthKit/HKMedicationDoseEvent/doseQuantity-4cb5m)

The quantity of the medication taken.

[`var logStatus: HKMedicationDoseEvent.LogStatus`](/documentation/HealthKit/HKMedicationDoseEvent/logStatus-swift.property)

The log status the system assigns to this dose event.

[`var medicationConceptIdentifier: HKHealthConceptIdentifier`](/documentation/HealthKit/HKMedicationDoseEvent/medicationConceptIdentifier)

The identifier of the medication concept the system associates with this dose event.

[`var medicationDoseEventType: HKMedicationDoseEventType`](/documentation/HealthKit/HKMedicationDoseEvent/medicationDoseEventType)

The data type that identified the samples that store medication dose event data.

[`var scheduleType: HKMedicationDoseEvent.ScheduleType`](/documentation/HealthKit/HKMedicationDoseEvent/scheduleType-swift.property)

The scheduling context for this logged dose event.

[`var scheduledDate: Date?`](/documentation/HealthKit/HKMedicationDoseEvent/scheduledDate)

The date and time the person takes the medication, if scheduled.

[`var scheduledDoseQuantity: Double?`](/documentation/HealthKit/HKMedicationDoseEvent/scheduledDoseQuantity-477ge)

The quantity of the medication scheduled to be taken.

[`var unit: HKUnit`](/documentation/HealthKit/HKMedicationDoseEvent/unit)

The unit that the system associates with the medication when the person logs the dose.

### Enumerations

[`enum LogStatus`](/documentation/HealthKit/HKMedicationDoseEvent/LogStatus-swift.enum)

The statuses the system assigns to a logged medication dose event.

[`enum ScheduleType`](/documentation/HealthKit/HKMedicationDoseEvent/ScheduleType-swift.enum)

The kind of schedule the system associates with a logged medication dose event.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`HKSample`](/documentation/HealthKit/HKSample)

---

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)