@kingstinct/react-native-healthkit
Version:
React Native bindings for HealthKit
28 lines (27 loc) • 1.81 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var MedicationDoseEventScheduleType;
(function (MedicationDoseEventScheduleType) {
MedicationDoseEventScheduleType[MedicationDoseEventScheduleType["asNeeded"] = 1] = "asNeeded";
/// The person logged this dose event in response to a scheduled medication reminder.
MedicationDoseEventScheduleType[MedicationDoseEventScheduleType["schedule"] = 2] = "schedule";
})(MedicationDoseEventScheduleType || (MedicationDoseEventScheduleType = {}));
var MedicationDoseEventLogStatus;
(function (MedicationDoseEventLogStatus) {
MedicationDoseEventLogStatus[MedicationDoseEventLogStatus["notInteracted"] = 1] = "notInteracted";
/// The system assigns this status when it fails to deliver a scheduled medication notification.
///
/// The system can generate this status because of a person's notification
/// restrictions or issues with notification delivery.
MedicationDoseEventLogStatus[MedicationDoseEventLogStatus["notificationNotSent"] = 2] = "notificationNotSent";
/// The person snoozes a scheduled medication notification.
MedicationDoseEventLogStatus[MedicationDoseEventLogStatus["snoozed"] = 3] = "snoozed";
/// The person logs that they took the medication dose.
MedicationDoseEventLogStatus[MedicationDoseEventLogStatus["taken"] = 4] = "taken";
/// The person logs that they skipped the medication dose.
MedicationDoseEventLogStatus[MedicationDoseEventLogStatus["skipped"] = 5] = "skipped";
/// The person undoes a previously logged medication status.
///
/// The system clears the prior status.
MedicationDoseEventLogStatus[MedicationDoseEventLogStatus["notLogged"] = 6] = "notLogged";
})(MedicationDoseEventLogStatus || (MedicationDoseEventLogStatus = {}));