@kingstinct/react-native-healthkit 13.3.1 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ReactNativeHealthkit.podspec +1 -0
- package/app.plugin.ts +40 -2
- package/ios/BackgroundDeliveryManager.swift +196 -0
- package/ios/CategoryTypeModule.swift +1 -1
- package/ios/CoreModule.swift +24 -0
- package/ios/CorrelationTypeModule.swift +2 -35
- package/ios/ElectrocardiogramModule.swift +2 -34
- package/ios/HeartbeatSeriesModule.swift +2 -34
- package/ios/MedicationModule.swift +3 -35
- package/ios/PredicateHelpers.swift +2 -2
- package/ios/QuantityTypeModule.swift +11 -11
- package/ios/Serializers.swift +58 -90
- package/ios/StateOfMindModule.swift +2 -34
- package/ios/WorkoutProxy.swift +4 -149
- package/ios/generated/HealthkitGenerated.swift +52 -0
- package/lib/commonjs/generated/healthkit.generated.js +745 -0
- package/lib/commonjs/healthkit.ios.js +51 -17
- package/lib/commonjs/healthkit.js +120 -34
- package/lib/commonjs/specs/QuantityTypeModule.nitro.js +1 -0
- package/lib/commonjs/type-tests/generated-typing.js +2 -0
- package/lib/commonjs/types/CategoryType.js +19 -99
- package/lib/commonjs/types/Medication.js +2 -0
- package/lib/commonjs/types/MetadataEnums.js +17 -0
- package/lib/commonjs/types/QuantityType.js +4 -15
- package/lib/commonjs/types/WeatherCondition.js +2 -32
- package/lib/commonjs/types/Workouts.js +3 -98
- package/lib/commonjs/types/index.js +2 -0
- package/lib/module/generated/healthkit.generated.js +742 -0
- package/lib/module/healthkit.ios.js +49 -15
- package/lib/module/healthkit.js +94 -20
- package/lib/module/specs/QuantityTypeModule.nitro.js +1 -0
- package/lib/module/type-tests/generated-typing.js +1 -0
- package/lib/module/types/CategoryType.js +2 -98
- package/lib/module/types/Medication.js +1 -0
- package/lib/module/types/MetadataEnums.js +1 -0
- package/lib/module/types/QuantityType.js +2 -14
- package/lib/module/types/WeatherCondition.js +1 -32
- package/lib/module/types/Workouts.js +2 -98
- package/lib/module/types/index.js +2 -0
- package/lib/typescript/generated/healthkit.generated.d.ts +1006 -0
- package/lib/typescript/healthkit.d.ts +39 -36
- package/lib/typescript/healthkit.ios.d.ts +64 -53
- package/lib/typescript/hooks/useMostRecentQuantitySample.d.ts +3 -2
- package/lib/typescript/hooks/useMostRecentWorkout.d.ts +2 -2
- package/lib/typescript/hooks/useQuantitySampleById.d.ts +5 -4
- package/lib/typescript/hooks/useStatisticsForQuantity.d.ts +2 -2
- package/lib/typescript/hooks/useSubscribeToQuantitySamples.d.ts +1 -1
- package/lib/typescript/modules.d.ts +2 -2
- package/lib/typescript/specs/CategoryTypeModule.nitro.d.ts +3 -3
- package/lib/typescript/specs/CoreModule.nitro.d.ts +15 -0
- package/lib/typescript/specs/QuantityTypeModule.nitro.d.ts +20 -9
- package/lib/typescript/type-tests/generated-typing.d.ts +1 -0
- package/lib/typescript/types/CategoryType.d.ts +10 -104
- package/lib/typescript/types/CategoryTypeIdentifier.d.ts +1 -61
- package/lib/typescript/types/CorrelationType.d.ts +8 -2
- package/lib/typescript/types/ElectrocardiogramSample.d.ts +8 -1
- package/lib/typescript/types/HeartbeatSeries.d.ts +8 -1
- package/lib/typescript/types/InterfaceVerification.d.ts +14 -1
- package/lib/typescript/types/Medication.d.ts +10 -0
- package/lib/typescript/types/MetadataEnums.d.ts +1 -0
- package/lib/typescript/types/QuantitySample.d.ts +9 -1
- package/lib/typescript/types/QuantityType.d.ts +14 -18
- package/lib/typescript/types/QuantityTypeIdentifier.d.ts +1 -671
- package/lib/typescript/types/QueryOptions.d.ts +8 -4
- package/lib/typescript/types/Shared.d.ts +12 -41
- package/lib/typescript/types/StateOfMind.d.ts +8 -1
- package/lib/typescript/types/Subscriptions.d.ts +11 -11
- package/lib/typescript/types/WeatherCondition.d.ts +1 -30
- package/lib/typescript/types/Workouts.d.ts +20 -104
- package/lib/typescript/types/index.d.ts +2 -0
- package/lib/typescript/utils/getMostRecentQuantitySample.d.ts +2 -1
- package/lib/typescript/utils/getMostRecentWorkout.d.ts +2 -1
- package/lib/typescript/utils/getPreferredUnit.d.ts +2 -1
- package/lib/typescript/utils/getQuantitySampleById.d.ts +2 -1
- package/lib/typescript/utils/subscribeToQuantitySamples.d.ts +1 -1
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +55 -109
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Umbrella.hpp +12 -18
- package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +5 -14
- package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.hpp +18 -2
- package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +1 -13
- package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +1 -13
- package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +2 -14
- package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.hpp +1 -13
- package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +19 -28
- package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +2 -14
- package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +3 -116
- package/nitrogen/generated/ios/swift/CategorySample.swift +4 -329
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +112 -108
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifierWriteable.swift +292 -0
- package/nitrogen/generated/ios/swift/CorrelationSample.swift +4 -347
- package/nitrogen/generated/ios/swift/ElectrocardiogramSample.swift +4 -329
- package/nitrogen/generated/ios/swift/FilterForWorkouts.swift +30 -30
- package/nitrogen/generated/ios/swift/FilterForWorkoutsBase.swift +30 -30
- package/nitrogen/generated/ios/swift/GeneralForm.swift +4 -4
- package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +4 -329
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec.swift +2 -0
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +38 -0
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec.swift +6 -6
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +6 -6
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec.swift +1 -27
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec_cxx.swift +2 -340
- package/nitrogen/generated/ios/swift/MedicationDoseEvent.swift +4 -329
- package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +492 -492
- package/nitrogen/generated/ios/swift/QuantitySample.swift +4 -329
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +380 -384
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifierWriteable.swift +372 -376
- package/nitrogen/generated/ios/swift/{QueryOptionsWithAnchorAndUnit.swift → QueryOptionsWithAnchorAndStringUnit.swift} +5 -5
- package/nitrogen/generated/ios/swift/{QueryOptionsWithSortOrderAndUnit.swift → QueryOptionsWithSortOrderAndStringUnit.swift} +5 -5
- package/nitrogen/generated/ios/swift/QueryStatisticsResponseFromSingleSource.swift +37 -37
- package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +492 -492
- package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +482 -486
- package/nitrogen/generated/ios/swift/StateOfMindSample.swift +4 -329
- package/nitrogen/generated/ios/swift/{StatisticsQueryOptions.swift → StatisticsQueryOptionsWithStringUnit.swift} +5 -5
- package/nitrogen/generated/ios/swift/WorkoutEvent.swift +20 -2
- package/nitrogen/generated/ios/swift/WorkoutSample.swift +4 -402
- package/nitrogen/generated/shared/c++/CategorySample.hpp +8 -100
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +153 -149
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifierWriteable.hpp +328 -0
- package/nitrogen/generated/shared/c++/CorrelationSample.hpp +9 -105
- package/nitrogen/generated/shared/c++/ElectrocardiogramSample.hpp +7 -99
- package/nitrogen/generated/shared/c++/FilterForWorkouts.hpp +13 -13
- package/nitrogen/generated/shared/c++/FilterForWorkoutsBase.hpp +13 -13
- package/nitrogen/generated/shared/c++/GeneralForm.hpp +7 -7
- package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +8 -100
- package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.hpp +5 -2
- package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.cpp +2 -0
- package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.hpp +4 -2
- package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.hpp +15 -15
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.cpp +1 -27
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.hpp +2 -37
- package/nitrogen/generated/shared/c++/MedicationDoseEvent.hpp +7 -99
- package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +565 -565
- package/nitrogen/generated/shared/c++/QuantitySample.hpp +8 -100
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +407 -411
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifierWriteable.hpp +398 -402
- package/nitrogen/generated/shared/c++/{QueryOptionsWithAnchorAndUnit.hpp → QueryOptionsWithAnchorAndStringUnit.hpp} +11 -11
- package/nitrogen/generated/shared/c++/{QueryOptionsWithSortOrderAndUnit.hpp → QueryOptionsWithSortOrderAndStringUnit.hpp} +11 -11
- package/nitrogen/generated/shared/c++/QueryStatisticsResponseFromSingleSource.hpp +12 -12
- package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +559 -559
- package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +541 -545
- package/nitrogen/generated/shared/c++/StateOfMindSample.hpp +8 -100
- package/nitrogen/generated/shared/c++/{StatisticsQueryOptions.hpp → StatisticsQueryOptionsWithStringUnit.hpp} +11 -11
- package/nitrogen/generated/shared/c++/WorkoutEvent.hpp +8 -2
- package/nitrogen/generated/shared/c++/WorkoutSample.hpp +7 -120
- package/package.json +5 -2
- package/src/generated/healthkit-schema.json +3680 -0
- package/src/generated/healthkit.generated.ts +1307 -0
- package/src/healthkit.ios.ts +225 -19
- package/src/healthkit.ts +181 -55
- package/src/hooks/useMostRecentQuantitySample.ts +6 -5
- package/src/hooks/useMostRecentWorkout.ts +2 -2
- package/src/hooks/useQuantitySampleById.ts +6 -5
- package/src/hooks/useStatisticsForQuantity.ts +2 -1
- package/src/hooks/useSubscribeToQuantitySamples.ts +1 -1
- package/src/modules.ts +7 -2
- package/src/specs/CategoryTypeModule.nitro.ts +8 -5
- package/src/specs/CoreModule.nitro.ts +20 -0
- package/src/specs/QuantityTypeModule.nitro.ts +81 -7
- package/src/test-setup.ts +2 -0
- package/src/type-tests/generated-typing.ts +133 -0
- package/src/types/CategoryType.ts +52 -148
- package/src/types/CategoryTypeIdentifier.ts +5 -134
- package/src/types/CorrelationType.ts +13 -3
- package/src/types/ElectrocardiogramSample.ts +13 -1
- package/src/types/HeartbeatSeries.ts +13 -1
- package/src/types/InterfaceVerification.ts +38 -1
- package/src/types/Medication.ts +19 -0
- package/src/types/MetadataEnums.ts +15 -0
- package/src/types/QuantitySample.ts +14 -2
- package/src/types/QuantityType.ts +22 -122
- package/src/types/QuantityTypeIdentifier.ts +5 -772
- package/src/types/QueryOptions.ts +11 -4
- package/src/types/Shared.ts +22 -49
- package/src/types/StateOfMind.ts +13 -1
- package/src/types/Subscriptions.ts +19 -13
- package/src/types/WeatherCondition.ts +1 -31
- package/src/types/Workouts.ts +46 -108
- package/src/types/index.ts +2 -0
- package/src/utils/getMostRecentQuantitySample.ts +4 -3
- package/src/utils/getMostRecentWorkout.ts +5 -2
- package/src/utils/getPreferredUnit.ts +5 -4
- package/src/utils/getQuantitySampleById.ts +4 -3
- package/src/utils/subscribeToQuantitySamples.ts +5 -3
- package/nitrogen/generated/ios/swift/HeartRateMotionContext.swift +0 -44
- package/nitrogen/generated/ios/swift/InsulinDeliveryReason.swift +0 -40
- package/nitrogen/generated/ios/swift/WeatherCondition.swift +0 -144
- package/nitrogen/generated/shared/c++/HeartRateMotionContext.hpp +0 -67
- package/nitrogen/generated/shared/c++/InsulinDeliveryReason.hpp +0 -62
- package/nitrogen/generated/shared/c++/WeatherCondition.hpp +0 -88
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* AUTO-GENERATED FILE. DO NOT EDIT.
|
|
3
|
+
* Source: scripts/generate-healthkit.ts
|
|
4
|
+
*/
|
|
5
|
+
export const QUANTITY_IDENTIFIER_IOS_AVAILABILITY = {
|
|
6
|
+
HKQuantityTypeIdentifierActiveEnergyBurned: '8.0',
|
|
7
|
+
HKQuantityTypeIdentifierAppleExerciseTime: '9.3',
|
|
8
|
+
HKQuantityTypeIdentifierAppleMoveTime: '14.5',
|
|
9
|
+
HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances: '18.0',
|
|
10
|
+
HKQuantityTypeIdentifierAppleSleepingWristTemperature: '16.0',
|
|
11
|
+
HKQuantityTypeIdentifierAppleStandTime: '13.0',
|
|
12
|
+
HKQuantityTypeIdentifierAppleWalkingSteadiness: '15.0',
|
|
13
|
+
HKQuantityTypeIdentifierAtrialFibrillationBurden: '16.0',
|
|
14
|
+
HKQuantityTypeIdentifierBasalBodyTemperature: '9.0',
|
|
15
|
+
HKQuantityTypeIdentifierBasalEnergyBurned: '8.0',
|
|
16
|
+
HKQuantityTypeIdentifierBloodAlcoholContent: '8.0',
|
|
17
|
+
HKQuantityTypeIdentifierBloodGlucose: '8.0',
|
|
18
|
+
HKQuantityTypeIdentifierBloodPressureDiastolic: '8.0',
|
|
19
|
+
HKQuantityTypeIdentifierBloodPressureSystolic: '8.0',
|
|
20
|
+
HKQuantityTypeIdentifierBodyFatPercentage: '8.0',
|
|
21
|
+
HKQuantityTypeIdentifierBodyMass: '8.0',
|
|
22
|
+
HKQuantityTypeIdentifierBodyMassIndex: '8.0',
|
|
23
|
+
HKQuantityTypeIdentifierBodyTemperature: '8.0',
|
|
24
|
+
HKQuantityTypeIdentifierCrossCountrySkiingSpeed: '18.0',
|
|
25
|
+
HKQuantityTypeIdentifierCyclingCadence: '17.0',
|
|
26
|
+
HKQuantityTypeIdentifierCyclingFunctionalThresholdPower: '17.0',
|
|
27
|
+
HKQuantityTypeIdentifierCyclingPower: '17.0',
|
|
28
|
+
HKQuantityTypeIdentifierCyclingSpeed: '17.0',
|
|
29
|
+
HKQuantityTypeIdentifierDietaryBiotin: '8.0',
|
|
30
|
+
HKQuantityTypeIdentifierDietaryCaffeine: '8.0',
|
|
31
|
+
HKQuantityTypeIdentifierDietaryCalcium: '8.0',
|
|
32
|
+
HKQuantityTypeIdentifierDietaryCarbohydrates: '8.0',
|
|
33
|
+
HKQuantityTypeIdentifierDietaryChloride: '8.0',
|
|
34
|
+
HKQuantityTypeIdentifierDietaryCholesterol: '8.0',
|
|
35
|
+
HKQuantityTypeIdentifierDietaryChromium: '8.0',
|
|
36
|
+
HKQuantityTypeIdentifierDietaryCopper: '8.0',
|
|
37
|
+
HKQuantityTypeIdentifierDietaryEnergyConsumed: '8.0',
|
|
38
|
+
HKQuantityTypeIdentifierDietaryFatMonounsaturated: '8.0',
|
|
39
|
+
HKQuantityTypeIdentifierDietaryFatPolyunsaturated: '8.0',
|
|
40
|
+
HKQuantityTypeIdentifierDietaryFatSaturated: '8.0',
|
|
41
|
+
HKQuantityTypeIdentifierDietaryFatTotal: '8.0',
|
|
42
|
+
HKQuantityTypeIdentifierDietaryFiber: '8.0',
|
|
43
|
+
HKQuantityTypeIdentifierDietaryFolate: '8.0',
|
|
44
|
+
HKQuantityTypeIdentifierDietaryIodine: '8.0',
|
|
45
|
+
HKQuantityTypeIdentifierDietaryIron: '8.0',
|
|
46
|
+
HKQuantityTypeIdentifierDietaryMagnesium: '8.0',
|
|
47
|
+
HKQuantityTypeIdentifierDietaryManganese: '8.0',
|
|
48
|
+
HKQuantityTypeIdentifierDietaryMolybdenum: '8.0',
|
|
49
|
+
HKQuantityTypeIdentifierDietaryNiacin: '8.0',
|
|
50
|
+
HKQuantityTypeIdentifierDietaryPantothenicAcid: '8.0',
|
|
51
|
+
HKQuantityTypeIdentifierDietaryPhosphorus: '8.0',
|
|
52
|
+
HKQuantityTypeIdentifierDietaryPotassium: '8.0',
|
|
53
|
+
HKQuantityTypeIdentifierDietaryProtein: '8.0',
|
|
54
|
+
HKQuantityTypeIdentifierDietaryRiboflavin: '8.0',
|
|
55
|
+
HKQuantityTypeIdentifierDietarySelenium: '8.0',
|
|
56
|
+
HKQuantityTypeIdentifierDietarySodium: '8.0',
|
|
57
|
+
HKQuantityTypeIdentifierDietarySugar: '8.0',
|
|
58
|
+
HKQuantityTypeIdentifierDietaryThiamin: '8.0',
|
|
59
|
+
HKQuantityTypeIdentifierDietaryVitaminA: '8.0',
|
|
60
|
+
HKQuantityTypeIdentifierDietaryVitaminB12: '8.0',
|
|
61
|
+
HKQuantityTypeIdentifierDietaryVitaminB6: '8.0',
|
|
62
|
+
HKQuantityTypeIdentifierDietaryVitaminC: '8.0',
|
|
63
|
+
HKQuantityTypeIdentifierDietaryVitaminD: '8.0',
|
|
64
|
+
HKQuantityTypeIdentifierDietaryVitaminE: '8.0',
|
|
65
|
+
HKQuantityTypeIdentifierDietaryVitaminK: '8.0',
|
|
66
|
+
HKQuantityTypeIdentifierDietaryWater: '9.0',
|
|
67
|
+
HKQuantityTypeIdentifierDietaryZinc: '8.0',
|
|
68
|
+
HKQuantityTypeIdentifierDistanceCrossCountrySkiing: '18.0',
|
|
69
|
+
HKQuantityTypeIdentifierDistanceCycling: '8.0',
|
|
70
|
+
HKQuantityTypeIdentifierDistanceDownhillSnowSports: '11.2',
|
|
71
|
+
HKQuantityTypeIdentifierDistancePaddleSports: '18.0',
|
|
72
|
+
HKQuantityTypeIdentifierDistanceRowing: '18.0',
|
|
73
|
+
HKQuantityTypeIdentifierDistanceSkatingSports: '18.0',
|
|
74
|
+
HKQuantityTypeIdentifierDistanceSwimming: '10.0',
|
|
75
|
+
HKQuantityTypeIdentifierDistanceWalkingRunning: '8.0',
|
|
76
|
+
HKQuantityTypeIdentifierDistanceWheelchair: '10.0',
|
|
77
|
+
HKQuantityTypeIdentifierElectrodermalActivity: '8.0',
|
|
78
|
+
HKQuantityTypeIdentifierEnvironmentalAudioExposure: '13.0',
|
|
79
|
+
HKQuantityTypeIdentifierEnvironmentalSoundReduction: '16.0',
|
|
80
|
+
HKQuantityTypeIdentifierEstimatedWorkoutEffortScore: '18.0',
|
|
81
|
+
HKQuantityTypeIdentifierFlightsClimbed: '8.0',
|
|
82
|
+
HKQuantityTypeIdentifierForcedExpiratoryVolume1: '8.0',
|
|
83
|
+
HKQuantityTypeIdentifierForcedVitalCapacity: '8.0',
|
|
84
|
+
HKQuantityTypeIdentifierHeadphoneAudioExposure: '13.0',
|
|
85
|
+
HKQuantityTypeIdentifierHeartRate: '8.0',
|
|
86
|
+
HKQuantityTypeIdentifierHeartRateRecoveryOneMinute: '16.0',
|
|
87
|
+
HKQuantityTypeIdentifierHeartRateVariabilitySDNN: '11.0',
|
|
88
|
+
HKQuantityTypeIdentifierHeight: '8.0',
|
|
89
|
+
HKQuantityTypeIdentifierInhalerUsage: '8.0',
|
|
90
|
+
HKQuantityTypeIdentifierInsulinDelivery: '11.0',
|
|
91
|
+
HKQuantityTypeIdentifierLeanBodyMass: '8.0',
|
|
92
|
+
HKQuantityTypeIdentifierNikeFuel: '8.0',
|
|
93
|
+
HKQuantityTypeIdentifierNumberOfAlcoholicBeverages: '15.0',
|
|
94
|
+
HKQuantityTypeIdentifierNumberOfTimesFallen: '8.0',
|
|
95
|
+
HKQuantityTypeIdentifierOxygenSaturation: '8.0',
|
|
96
|
+
HKQuantityTypeIdentifierPaddleSportsSpeed: '18.0',
|
|
97
|
+
HKQuantityTypeIdentifierPeakExpiratoryFlowRate: '8.0',
|
|
98
|
+
HKQuantityTypeIdentifierPeripheralPerfusionIndex: '8.0',
|
|
99
|
+
HKQuantityTypeIdentifierPhysicalEffort: '17.0',
|
|
100
|
+
HKQuantityTypeIdentifierPushCount: '10.0',
|
|
101
|
+
HKQuantityTypeIdentifierRespiratoryRate: '8.0',
|
|
102
|
+
HKQuantityTypeIdentifierRestingHeartRate: '11.0',
|
|
103
|
+
HKQuantityTypeIdentifierRowingSpeed: '18.0',
|
|
104
|
+
HKQuantityTypeIdentifierRunningGroundContactTime: '16.0',
|
|
105
|
+
HKQuantityTypeIdentifierRunningPower: '16.0',
|
|
106
|
+
HKQuantityTypeIdentifierRunningSpeed: '16.0',
|
|
107
|
+
HKQuantityTypeIdentifierRunningStrideLength: '16.0',
|
|
108
|
+
HKQuantityTypeIdentifierRunningVerticalOscillation: '16.0',
|
|
109
|
+
HKQuantityTypeIdentifierSixMinuteWalkTestDistance: '14.0',
|
|
110
|
+
HKQuantityTypeIdentifierStairAscentSpeed: '14.0',
|
|
111
|
+
HKQuantityTypeIdentifierStairDescentSpeed: '14.0',
|
|
112
|
+
HKQuantityTypeIdentifierStepCount: '8.0',
|
|
113
|
+
HKQuantityTypeIdentifierSwimmingStrokeCount: '10.0',
|
|
114
|
+
HKQuantityTypeIdentifierTimeInDaylight: '17.0',
|
|
115
|
+
HKQuantityTypeIdentifierUnderwaterDepth: '16.0',
|
|
116
|
+
HKQuantityTypeIdentifierUVExposure: '9.0',
|
|
117
|
+
HKQuantityTypeIdentifierVO2Max: '11.0',
|
|
118
|
+
HKQuantityTypeIdentifierWaistCircumference: '11.0',
|
|
119
|
+
HKQuantityTypeIdentifierWalkingAsymmetryPercentage: '14.0',
|
|
120
|
+
HKQuantityTypeIdentifierWalkingDoubleSupportPercentage: '14.0',
|
|
121
|
+
HKQuantityTypeIdentifierWalkingHeartRateAverage: '11.0',
|
|
122
|
+
HKQuantityTypeIdentifierWalkingSpeed: '14.0',
|
|
123
|
+
HKQuantityTypeIdentifierWalkingStepLength: '14.0',
|
|
124
|
+
HKQuantityTypeIdentifierWaterTemperature: '16.0',
|
|
125
|
+
HKQuantityTypeIdentifierWorkoutEffortScore: '18.0',
|
|
126
|
+
};
|
|
127
|
+
export const CATEGORY_IDENTIFIER_IOS_AVAILABILITY = {
|
|
128
|
+
HKCategoryTypeIdentifierAbdominalCramps: '13.6',
|
|
129
|
+
HKCategoryTypeIdentifierAcne: '13.6',
|
|
130
|
+
HKCategoryTypeIdentifierAppetiteChanges: '13.6',
|
|
131
|
+
HKCategoryTypeIdentifierAppleStandHour: '9.0',
|
|
132
|
+
HKCategoryTypeIdentifierAppleWalkingSteadinessEvent: '15.0',
|
|
133
|
+
HKCategoryTypeIdentifierAudioExposureEvent: '13.0',
|
|
134
|
+
HKCategoryTypeIdentifierBladderIncontinence: '14.0',
|
|
135
|
+
HKCategoryTypeIdentifierBleedingAfterPregnancy: '18.0',
|
|
136
|
+
HKCategoryTypeIdentifierBleedingDuringPregnancy: '18.0',
|
|
137
|
+
HKCategoryTypeIdentifierBloating: '13.6',
|
|
138
|
+
HKCategoryTypeIdentifierBreastPain: '13.6',
|
|
139
|
+
HKCategoryTypeIdentifierCervicalMucusQuality: '9.0',
|
|
140
|
+
HKCategoryTypeIdentifierChestTightnessOrPain: '13.6',
|
|
141
|
+
HKCategoryTypeIdentifierChills: '13.6',
|
|
142
|
+
HKCategoryTypeIdentifierConstipation: '13.6',
|
|
143
|
+
HKCategoryTypeIdentifierContraceptive: '14.3',
|
|
144
|
+
HKCategoryTypeIdentifierCoughing: '13.6',
|
|
145
|
+
HKCategoryTypeIdentifierDiarrhea: '13.6',
|
|
146
|
+
HKCategoryTypeIdentifierDizziness: '13.6',
|
|
147
|
+
HKCategoryTypeIdentifierDrySkin: '14.0',
|
|
148
|
+
HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent: '14.0',
|
|
149
|
+
HKCategoryTypeIdentifierFainting: '13.6',
|
|
150
|
+
HKCategoryTypeIdentifierFatigue: '13.6',
|
|
151
|
+
HKCategoryTypeIdentifierFever: '13.6',
|
|
152
|
+
HKCategoryTypeIdentifierGeneralizedBodyAche: '13.6',
|
|
153
|
+
HKCategoryTypeIdentifierHairLoss: '14.0',
|
|
154
|
+
HKCategoryTypeIdentifierHandwashingEvent: '14.0',
|
|
155
|
+
HKCategoryTypeIdentifierHeadache: '13.6',
|
|
156
|
+
HKCategoryTypeIdentifierHeadphoneAudioExposureEvent: '14.2',
|
|
157
|
+
HKCategoryTypeIdentifierHeartburn: '13.6',
|
|
158
|
+
HKCategoryTypeIdentifierHighHeartRateEvent: '12.2',
|
|
159
|
+
HKCategoryTypeIdentifierHotFlashes: '13.6',
|
|
160
|
+
HKCategoryTypeIdentifierHypertensionEvent: '26.2',
|
|
161
|
+
HKCategoryTypeIdentifierInfrequentMenstrualCycles: '16.0',
|
|
162
|
+
HKCategoryTypeIdentifierIntermenstrualBleeding: '9.0',
|
|
163
|
+
HKCategoryTypeIdentifierIrregularHeartRhythmEvent: '12.2',
|
|
164
|
+
HKCategoryTypeIdentifierIrregularMenstrualCycles: '16.0',
|
|
165
|
+
HKCategoryTypeIdentifierLactation: '14.3',
|
|
166
|
+
HKCategoryTypeIdentifierLossOfSmell: '13.6',
|
|
167
|
+
HKCategoryTypeIdentifierLossOfTaste: '13.6',
|
|
168
|
+
HKCategoryTypeIdentifierLowCardioFitnessEvent: '14.3',
|
|
169
|
+
HKCategoryTypeIdentifierLowerBackPain: '13.6',
|
|
170
|
+
HKCategoryTypeIdentifierLowHeartRateEvent: '12.2',
|
|
171
|
+
HKCategoryTypeIdentifierMemoryLapse: '14.0',
|
|
172
|
+
HKCategoryTypeIdentifierMenstrualFlow: '9.0',
|
|
173
|
+
HKCategoryTypeIdentifierMindfulSession: '10.0',
|
|
174
|
+
HKCategoryTypeIdentifierMoodChanges: '13.6',
|
|
175
|
+
HKCategoryTypeIdentifierNausea: '13.6',
|
|
176
|
+
HKCategoryTypeIdentifierNightSweats: '14.0',
|
|
177
|
+
HKCategoryTypeIdentifierOvulationTestResult: '9.0',
|
|
178
|
+
HKCategoryTypeIdentifierPelvicPain: '13.6',
|
|
179
|
+
HKCategoryTypeIdentifierPersistentIntermenstrualBleeding: '16.0',
|
|
180
|
+
HKCategoryTypeIdentifierPregnancy: '14.3',
|
|
181
|
+
HKCategoryTypeIdentifierPregnancyTestResult: '15.0',
|
|
182
|
+
HKCategoryTypeIdentifierProgesteroneTestResult: '15.0',
|
|
183
|
+
HKCategoryTypeIdentifierProlongedMenstrualPeriods: '16.0',
|
|
184
|
+
HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat: '13.6',
|
|
185
|
+
HKCategoryTypeIdentifierRunnyNose: '13.6',
|
|
186
|
+
HKCategoryTypeIdentifierSexualActivity: '9.0',
|
|
187
|
+
HKCategoryTypeIdentifierShortnessOfBreath: '13.6',
|
|
188
|
+
HKCategoryTypeIdentifierSinusCongestion: '13.6',
|
|
189
|
+
HKCategoryTypeIdentifierSkippedHeartbeat: '13.6',
|
|
190
|
+
HKCategoryTypeIdentifierSleepAnalysis: '8.0',
|
|
191
|
+
HKCategoryTypeIdentifierSleepApneaEvent: '18.0',
|
|
192
|
+
HKCategoryTypeIdentifierSleepChanges: '13.6',
|
|
193
|
+
HKCategoryTypeIdentifierSoreThroat: '13.6',
|
|
194
|
+
HKCategoryTypeIdentifierToothbrushingEvent: '13.0',
|
|
195
|
+
HKCategoryTypeIdentifierVaginalDryness: '14.0',
|
|
196
|
+
HKCategoryTypeIdentifierVomiting: '13.6',
|
|
197
|
+
HKCategoryTypeIdentifierWheezing: '13.6',
|
|
198
|
+
};
|
|
199
|
+
export const QUANTITY_IDENTIFIER_CANONICAL_UNITS = {
|
|
200
|
+
HKQuantityTypeIdentifierActiveEnergyBurned: 'kcal',
|
|
201
|
+
HKQuantityTypeIdentifierAppleExerciseTime: 'min',
|
|
202
|
+
HKQuantityTypeIdentifierAppleMoveTime: 'min',
|
|
203
|
+
HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances: 'count',
|
|
204
|
+
HKQuantityTypeIdentifierAppleSleepingWristTemperature: 'degC',
|
|
205
|
+
HKQuantityTypeIdentifierAppleStandTime: 'min',
|
|
206
|
+
HKQuantityTypeIdentifierAppleWalkingSteadiness: '%',
|
|
207
|
+
HKQuantityTypeIdentifierAtrialFibrillationBurden: '%',
|
|
208
|
+
HKQuantityTypeIdentifierBasalBodyTemperature: 'degC',
|
|
209
|
+
HKQuantityTypeIdentifierBasalEnergyBurned: 'kcal',
|
|
210
|
+
HKQuantityTypeIdentifierBloodAlcoholContent: '%',
|
|
211
|
+
HKQuantityTypeIdentifierBloodGlucose: 'mg/dL',
|
|
212
|
+
HKQuantityTypeIdentifierBloodPressureDiastolic: 'mmHg',
|
|
213
|
+
HKQuantityTypeIdentifierBloodPressureSystolic: 'mmHg',
|
|
214
|
+
HKQuantityTypeIdentifierBodyFatPercentage: '%',
|
|
215
|
+
HKQuantityTypeIdentifierBodyMass: 'kg',
|
|
216
|
+
HKQuantityTypeIdentifierBodyMassIndex: 'count',
|
|
217
|
+
HKQuantityTypeIdentifierBodyTemperature: 'degC',
|
|
218
|
+
HKQuantityTypeIdentifierCrossCountrySkiingSpeed: 'm/s',
|
|
219
|
+
HKQuantityTypeIdentifierCyclingCadence: 'count/min',
|
|
220
|
+
HKQuantityTypeIdentifierCyclingFunctionalThresholdPower: 'W',
|
|
221
|
+
HKQuantityTypeIdentifierCyclingPower: 'W',
|
|
222
|
+
HKQuantityTypeIdentifierCyclingSpeed: 'm/s',
|
|
223
|
+
HKQuantityTypeIdentifierDietaryBiotin: 'g',
|
|
224
|
+
HKQuantityTypeIdentifierDietaryCaffeine: 'g',
|
|
225
|
+
HKQuantityTypeIdentifierDietaryCalcium: 'g',
|
|
226
|
+
HKQuantityTypeIdentifierDietaryCarbohydrates: 'g',
|
|
227
|
+
HKQuantityTypeIdentifierDietaryChloride: 'g',
|
|
228
|
+
HKQuantityTypeIdentifierDietaryCholesterol: 'g',
|
|
229
|
+
HKQuantityTypeIdentifierDietaryChromium: 'g',
|
|
230
|
+
HKQuantityTypeIdentifierDietaryCopper: 'g',
|
|
231
|
+
HKQuantityTypeIdentifierDietaryEnergyConsumed: 'kcal',
|
|
232
|
+
HKQuantityTypeIdentifierDietaryFatMonounsaturated: 'g',
|
|
233
|
+
HKQuantityTypeIdentifierDietaryFatPolyunsaturated: 'g',
|
|
234
|
+
HKQuantityTypeIdentifierDietaryFatSaturated: 'g',
|
|
235
|
+
HKQuantityTypeIdentifierDietaryFatTotal: 'g',
|
|
236
|
+
HKQuantityTypeIdentifierDietaryFiber: 'g',
|
|
237
|
+
HKQuantityTypeIdentifierDietaryFolate: 'g',
|
|
238
|
+
HKQuantityTypeIdentifierDietaryIodine: 'g',
|
|
239
|
+
HKQuantityTypeIdentifierDietaryIron: 'g',
|
|
240
|
+
HKQuantityTypeIdentifierDietaryMagnesium: 'g',
|
|
241
|
+
HKQuantityTypeIdentifierDietaryManganese: 'g',
|
|
242
|
+
HKQuantityTypeIdentifierDietaryMolybdenum: 'g',
|
|
243
|
+
HKQuantityTypeIdentifierDietaryNiacin: 'g',
|
|
244
|
+
HKQuantityTypeIdentifierDietaryPantothenicAcid: 'g',
|
|
245
|
+
HKQuantityTypeIdentifierDietaryPhosphorus: 'g',
|
|
246
|
+
HKQuantityTypeIdentifierDietaryPotassium: 'g',
|
|
247
|
+
HKQuantityTypeIdentifierDietaryProtein: 'g',
|
|
248
|
+
HKQuantityTypeIdentifierDietaryRiboflavin: 'g',
|
|
249
|
+
HKQuantityTypeIdentifierDietarySelenium: 'g',
|
|
250
|
+
HKQuantityTypeIdentifierDietarySodium: 'g',
|
|
251
|
+
HKQuantityTypeIdentifierDietarySugar: 'g',
|
|
252
|
+
HKQuantityTypeIdentifierDietaryThiamin: 'g',
|
|
253
|
+
HKQuantityTypeIdentifierDietaryVitaminA: 'g',
|
|
254
|
+
HKQuantityTypeIdentifierDietaryVitaminB12: 'g',
|
|
255
|
+
HKQuantityTypeIdentifierDietaryVitaminB6: 'g',
|
|
256
|
+
HKQuantityTypeIdentifierDietaryVitaminC: 'g',
|
|
257
|
+
HKQuantityTypeIdentifierDietaryVitaminD: 'g',
|
|
258
|
+
HKQuantityTypeIdentifierDietaryVitaminE: 'g',
|
|
259
|
+
HKQuantityTypeIdentifierDietaryVitaminK: 'g',
|
|
260
|
+
HKQuantityTypeIdentifierDietaryWater: 'mL',
|
|
261
|
+
HKQuantityTypeIdentifierDietaryZinc: 'g',
|
|
262
|
+
HKQuantityTypeIdentifierDistanceCrossCountrySkiing: 'm',
|
|
263
|
+
HKQuantityTypeIdentifierDistanceCycling: 'm',
|
|
264
|
+
HKQuantityTypeIdentifierDistanceDownhillSnowSports: 'm',
|
|
265
|
+
HKQuantityTypeIdentifierDistancePaddleSports: 'm',
|
|
266
|
+
HKQuantityTypeIdentifierDistanceRowing: 'm',
|
|
267
|
+
HKQuantityTypeIdentifierDistanceSkatingSports: 'm',
|
|
268
|
+
HKQuantityTypeIdentifierDistanceSwimming: 'm',
|
|
269
|
+
HKQuantityTypeIdentifierDistanceWalkingRunning: 'm',
|
|
270
|
+
HKQuantityTypeIdentifierDistanceWheelchair: 'm',
|
|
271
|
+
HKQuantityTypeIdentifierElectrodermalActivity: 'S',
|
|
272
|
+
HKQuantityTypeIdentifierEnvironmentalAudioExposure: 'dBASPL',
|
|
273
|
+
HKQuantityTypeIdentifierEnvironmentalSoundReduction: 'dBASPL',
|
|
274
|
+
HKQuantityTypeIdentifierEstimatedWorkoutEffortScore: 'appleEffortScore',
|
|
275
|
+
HKQuantityTypeIdentifierFlightsClimbed: 'count',
|
|
276
|
+
HKQuantityTypeIdentifierForcedExpiratoryVolume1: 'L',
|
|
277
|
+
HKQuantityTypeIdentifierForcedVitalCapacity: 'L',
|
|
278
|
+
HKQuantityTypeIdentifierHeadphoneAudioExposure: 'dBASPL',
|
|
279
|
+
HKQuantityTypeIdentifierHeartRate: 'count/s',
|
|
280
|
+
HKQuantityTypeIdentifierHeartRateRecoveryOneMinute: 'count/min',
|
|
281
|
+
HKQuantityTypeIdentifierHeartRateVariabilitySDNN: 'ms',
|
|
282
|
+
HKQuantityTypeIdentifierHeight: 'm',
|
|
283
|
+
HKQuantityTypeIdentifierInhalerUsage: 'count',
|
|
284
|
+
HKQuantityTypeIdentifierInsulinDelivery: 'IU',
|
|
285
|
+
HKQuantityTypeIdentifierLeanBodyMass: 'kg',
|
|
286
|
+
HKQuantityTypeIdentifierNikeFuel: 'count',
|
|
287
|
+
HKQuantityTypeIdentifierNumberOfAlcoholicBeverages: 'count',
|
|
288
|
+
HKQuantityTypeIdentifierNumberOfTimesFallen: 'count',
|
|
289
|
+
HKQuantityTypeIdentifierOxygenSaturation: '%',
|
|
290
|
+
HKQuantityTypeIdentifierPaddleSportsSpeed: 'm/s',
|
|
291
|
+
HKQuantityTypeIdentifierPeakExpiratoryFlowRate: 'L/min',
|
|
292
|
+
HKQuantityTypeIdentifierPeripheralPerfusionIndex: '%',
|
|
293
|
+
HKQuantityTypeIdentifierPhysicalEffort: 'kcal/(kg*hr)',
|
|
294
|
+
HKQuantityTypeIdentifierPushCount: 'count',
|
|
295
|
+
HKQuantityTypeIdentifierRespiratoryRate: 'count/s',
|
|
296
|
+
HKQuantityTypeIdentifierRestingHeartRate: 'count/min',
|
|
297
|
+
HKQuantityTypeIdentifierRowingSpeed: 'm/s',
|
|
298
|
+
HKQuantityTypeIdentifierRunningGroundContactTime: 'ms',
|
|
299
|
+
HKQuantityTypeIdentifierRunningPower: 'W',
|
|
300
|
+
HKQuantityTypeIdentifierRunningSpeed: 'm/s',
|
|
301
|
+
HKQuantityTypeIdentifierRunningStrideLength: 'm',
|
|
302
|
+
HKQuantityTypeIdentifierRunningVerticalOscillation: 'cm',
|
|
303
|
+
HKQuantityTypeIdentifierSixMinuteWalkTestDistance: 'm',
|
|
304
|
+
HKQuantityTypeIdentifierStairAscentSpeed: 'm/s',
|
|
305
|
+
HKQuantityTypeIdentifierStairDescentSpeed: 'm/s',
|
|
306
|
+
HKQuantityTypeIdentifierStepCount: 'count',
|
|
307
|
+
HKQuantityTypeIdentifierSwimmingStrokeCount: 'count',
|
|
308
|
+
HKQuantityTypeIdentifierTimeInDaylight: 'min',
|
|
309
|
+
HKQuantityTypeIdentifierUnderwaterDepth: 'm',
|
|
310
|
+
HKQuantityTypeIdentifierUVExposure: null,
|
|
311
|
+
HKQuantityTypeIdentifierVO2Max: 'ml/(kg*min)',
|
|
312
|
+
HKQuantityTypeIdentifierWaistCircumference: 'm',
|
|
313
|
+
HKQuantityTypeIdentifierWalkingAsymmetryPercentage: '%',
|
|
314
|
+
HKQuantityTypeIdentifierWalkingDoubleSupportPercentage: '%',
|
|
315
|
+
HKQuantityTypeIdentifierWalkingHeartRateAverage: 'count/min',
|
|
316
|
+
HKQuantityTypeIdentifierWalkingSpeed: 'm/s',
|
|
317
|
+
HKQuantityTypeIdentifierWalkingStepLength: 'm',
|
|
318
|
+
HKQuantityTypeIdentifierWaterTemperature: 'degC',
|
|
319
|
+
HKQuantityTypeIdentifierWorkoutEffortScore: 'appleEffortScore',
|
|
320
|
+
};
|
|
321
|
+
export const CATEGORY_IDENTIFIER_VALUE_ENUMS = {
|
|
322
|
+
HKCategoryTypeIdentifierAbdominalCramps: 'CategoryValueSeverity',
|
|
323
|
+
HKCategoryTypeIdentifierAcne: 'CategoryValueSeverity',
|
|
324
|
+
HKCategoryTypeIdentifierAppetiteChanges: 'CategoryValueAppetiteChanges',
|
|
325
|
+
HKCategoryTypeIdentifierAppleStandHour: 'CategoryValueAppleStandHour',
|
|
326
|
+
HKCategoryTypeIdentifierAppleWalkingSteadinessEvent: 'CategoryValueAppleWalkingSteadinessEvent',
|
|
327
|
+
HKCategoryTypeIdentifierAudioExposureEvent: null,
|
|
328
|
+
HKCategoryTypeIdentifierBladderIncontinence: 'CategoryValueSeverity',
|
|
329
|
+
HKCategoryTypeIdentifierBleedingAfterPregnancy: 'CategoryValueVaginalBleeding',
|
|
330
|
+
HKCategoryTypeIdentifierBleedingDuringPregnancy: 'CategoryValueVaginalBleeding',
|
|
331
|
+
HKCategoryTypeIdentifierBloating: 'CategoryValueSeverity',
|
|
332
|
+
HKCategoryTypeIdentifierBreastPain: 'CategoryValueSeverity',
|
|
333
|
+
HKCategoryTypeIdentifierCervicalMucusQuality: 'CategoryValueCervicalMucusQuality',
|
|
334
|
+
HKCategoryTypeIdentifierChestTightnessOrPain: 'CategoryValueSeverity',
|
|
335
|
+
HKCategoryTypeIdentifierChills: 'CategoryValueSeverity',
|
|
336
|
+
HKCategoryTypeIdentifierConstipation: 'CategoryValueSeverity',
|
|
337
|
+
HKCategoryTypeIdentifierContraceptive: 'CategoryValueContraceptive',
|
|
338
|
+
HKCategoryTypeIdentifierCoughing: 'CategoryValueSeverity',
|
|
339
|
+
HKCategoryTypeIdentifierDiarrhea: 'CategoryValueSeverity',
|
|
340
|
+
HKCategoryTypeIdentifierDizziness: 'CategoryValueSeverity',
|
|
341
|
+
HKCategoryTypeIdentifierDrySkin: 'CategoryValueSeverity',
|
|
342
|
+
HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent: 'CategoryValueEnvironmentalAudioExposureEvent',
|
|
343
|
+
HKCategoryTypeIdentifierFainting: 'CategoryValueSeverity',
|
|
344
|
+
HKCategoryTypeIdentifierFatigue: 'CategoryValueSeverity',
|
|
345
|
+
HKCategoryTypeIdentifierFever: 'CategoryValueSeverity',
|
|
346
|
+
HKCategoryTypeIdentifierGeneralizedBodyAche: 'CategoryValueSeverity',
|
|
347
|
+
HKCategoryTypeIdentifierHairLoss: 'CategoryValueSeverity',
|
|
348
|
+
HKCategoryTypeIdentifierHandwashingEvent: 'CategoryValue',
|
|
349
|
+
HKCategoryTypeIdentifierHeadache: 'CategoryValueSeverity',
|
|
350
|
+
HKCategoryTypeIdentifierHeadphoneAudioExposureEvent: 'CategoryValueHeadphoneAudioExposureEvent',
|
|
351
|
+
HKCategoryTypeIdentifierHeartburn: 'CategoryValueSeverity',
|
|
352
|
+
HKCategoryTypeIdentifierHighHeartRateEvent: 'CategoryValue',
|
|
353
|
+
HKCategoryTypeIdentifierHotFlashes: 'CategoryValueSeverity',
|
|
354
|
+
HKCategoryTypeIdentifierHypertensionEvent: 'CategoryValue',
|
|
355
|
+
HKCategoryTypeIdentifierInfrequentMenstrualCycles: 'CategoryValue',
|
|
356
|
+
HKCategoryTypeIdentifierIntermenstrualBleeding: 'CategoryValue',
|
|
357
|
+
HKCategoryTypeIdentifierIrregularHeartRhythmEvent: 'CategoryValue',
|
|
358
|
+
HKCategoryTypeIdentifierIrregularMenstrualCycles: 'CategoryValue',
|
|
359
|
+
HKCategoryTypeIdentifierLactation: 'CategoryValue',
|
|
360
|
+
HKCategoryTypeIdentifierLossOfSmell: 'CategoryValueSeverity',
|
|
361
|
+
HKCategoryTypeIdentifierLossOfTaste: 'CategoryValueSeverity',
|
|
362
|
+
HKCategoryTypeIdentifierLowCardioFitnessEvent: 'CategoryValueLowCardioFitnessEvent',
|
|
363
|
+
HKCategoryTypeIdentifierLowerBackPain: 'CategoryValueSeverity',
|
|
364
|
+
HKCategoryTypeIdentifierLowHeartRateEvent: 'CategoryValue',
|
|
365
|
+
HKCategoryTypeIdentifierMemoryLapse: 'CategoryValueSeverity',
|
|
366
|
+
HKCategoryTypeIdentifierMenstrualFlow: 'CategoryValueMenstrualFlow',
|
|
367
|
+
HKCategoryTypeIdentifierMindfulSession: 'CategoryValue',
|
|
368
|
+
HKCategoryTypeIdentifierMoodChanges: 'CategoryValuePresence',
|
|
369
|
+
HKCategoryTypeIdentifierNausea: 'CategoryValueSeverity',
|
|
370
|
+
HKCategoryTypeIdentifierNightSweats: 'CategoryValueSeverity',
|
|
371
|
+
HKCategoryTypeIdentifierOvulationTestResult: 'CategoryValueOvulationTestResult',
|
|
372
|
+
HKCategoryTypeIdentifierPelvicPain: 'CategoryValueSeverity',
|
|
373
|
+
HKCategoryTypeIdentifierPersistentIntermenstrualBleeding: 'CategoryValue',
|
|
374
|
+
HKCategoryTypeIdentifierPregnancy: 'CategoryValue',
|
|
375
|
+
HKCategoryTypeIdentifierPregnancyTestResult: 'CategoryValuePregnancyTestResult',
|
|
376
|
+
HKCategoryTypeIdentifierProgesteroneTestResult: 'CategoryValueProgesteroneTestResult',
|
|
377
|
+
HKCategoryTypeIdentifierProlongedMenstrualPeriods: 'CategoryValue',
|
|
378
|
+
HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat: 'CategoryValueSeverity',
|
|
379
|
+
HKCategoryTypeIdentifierRunnyNose: 'CategoryValueSeverity',
|
|
380
|
+
HKCategoryTypeIdentifierSexualActivity: 'CategoryValue',
|
|
381
|
+
HKCategoryTypeIdentifierShortnessOfBreath: 'CategoryValueSeverity',
|
|
382
|
+
HKCategoryTypeIdentifierSinusCongestion: 'CategoryValueSeverity',
|
|
383
|
+
HKCategoryTypeIdentifierSkippedHeartbeat: 'CategoryValueSeverity',
|
|
384
|
+
HKCategoryTypeIdentifierSleepAnalysis: 'CategoryValueSleepAnalysis',
|
|
385
|
+
HKCategoryTypeIdentifierSleepApneaEvent: 'CategoryValue',
|
|
386
|
+
HKCategoryTypeIdentifierSleepChanges: 'CategoryValuePresence',
|
|
387
|
+
HKCategoryTypeIdentifierSoreThroat: 'CategoryValueSeverity',
|
|
388
|
+
HKCategoryTypeIdentifierToothbrushingEvent: 'CategoryValue',
|
|
389
|
+
HKCategoryTypeIdentifierVaginalDryness: 'CategoryValueSeverity',
|
|
390
|
+
HKCategoryTypeIdentifierVomiting: 'CategoryValueSeverity',
|
|
391
|
+
HKCategoryTypeIdentifierWheezing: 'CategoryValueSeverity',
|
|
392
|
+
};
|
|
393
|
+
export var AppleECGAlgorithmVersion;
|
|
394
|
+
(function (AppleECGAlgorithmVersion) {
|
|
395
|
+
AppleECGAlgorithmVersion[AppleECGAlgorithmVersion["value1"] = 1] = "value1";
|
|
396
|
+
AppleECGAlgorithmVersion[AppleECGAlgorithmVersion["value2"] = 2] = "value2";
|
|
397
|
+
})(AppleECGAlgorithmVersion || (AppleECGAlgorithmVersion = {}));
|
|
398
|
+
export var BloodGlucoseMealTime;
|
|
399
|
+
(function (BloodGlucoseMealTime) {
|
|
400
|
+
BloodGlucoseMealTime[BloodGlucoseMealTime["preprandial"] = 1] = "preprandial";
|
|
401
|
+
BloodGlucoseMealTime[BloodGlucoseMealTime["postprandial"] = 2] = "postprandial";
|
|
402
|
+
})(BloodGlucoseMealTime || (BloodGlucoseMealTime = {}));
|
|
403
|
+
export var BodyTemperatureSensorLocation;
|
|
404
|
+
(function (BodyTemperatureSensorLocation) {
|
|
405
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["other"] = 0] = "other";
|
|
406
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["armpit"] = 1] = "armpit";
|
|
407
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["body"] = 2] = "body";
|
|
408
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["ear"] = 3] = "ear";
|
|
409
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["finger"] = 4] = "finger";
|
|
410
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["gastroIntestinal"] = 5] = "gastroIntestinal";
|
|
411
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["mouth"] = 6] = "mouth";
|
|
412
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["rectum"] = 7] = "rectum";
|
|
413
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["toe"] = 8] = "toe";
|
|
414
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["earDrum"] = 9] = "earDrum";
|
|
415
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["temporalArtery"] = 10] = "temporalArtery";
|
|
416
|
+
BodyTemperatureSensorLocation[BodyTemperatureSensorLocation["forehead"] = 11] = "forehead";
|
|
417
|
+
})(BodyTemperatureSensorLocation || (BodyTemperatureSensorLocation = {}));
|
|
418
|
+
export var CategoryValue;
|
|
419
|
+
(function (CategoryValue) {
|
|
420
|
+
CategoryValue[CategoryValue["notApplicable"] = 0] = "notApplicable";
|
|
421
|
+
})(CategoryValue || (CategoryValue = {}));
|
|
422
|
+
export var CategoryValueAppetiteChanges;
|
|
423
|
+
(function (CategoryValueAppetiteChanges) {
|
|
424
|
+
CategoryValueAppetiteChanges[CategoryValueAppetiteChanges["unspecified"] = 0] = "unspecified";
|
|
425
|
+
CategoryValueAppetiteChanges[CategoryValueAppetiteChanges["noChange"] = 1] = "noChange";
|
|
426
|
+
CategoryValueAppetiteChanges[CategoryValueAppetiteChanges["decreased"] = 2] = "decreased";
|
|
427
|
+
CategoryValueAppetiteChanges[CategoryValueAppetiteChanges["increased"] = 3] = "increased";
|
|
428
|
+
})(CategoryValueAppetiteChanges || (CategoryValueAppetiteChanges = {}));
|
|
429
|
+
export var CategoryValueAppleStandHour;
|
|
430
|
+
(function (CategoryValueAppleStandHour) {
|
|
431
|
+
CategoryValueAppleStandHour[CategoryValueAppleStandHour["stood"] = 0] = "stood";
|
|
432
|
+
CategoryValueAppleStandHour[CategoryValueAppleStandHour["idle"] = 1] = "idle";
|
|
433
|
+
})(CategoryValueAppleStandHour || (CategoryValueAppleStandHour = {}));
|
|
434
|
+
export var CategoryValueAppleWalkingSteadinessEvent;
|
|
435
|
+
(function (CategoryValueAppleWalkingSteadinessEvent) {
|
|
436
|
+
CategoryValueAppleWalkingSteadinessEvent[CategoryValueAppleWalkingSteadinessEvent["initialLow"] = 1] = "initialLow";
|
|
437
|
+
CategoryValueAppleWalkingSteadinessEvent[CategoryValueAppleWalkingSteadinessEvent["initialVeryLow"] = 2] = "initialVeryLow";
|
|
438
|
+
CategoryValueAppleWalkingSteadinessEvent[CategoryValueAppleWalkingSteadinessEvent["repeatLow"] = 3] = "repeatLow";
|
|
439
|
+
CategoryValueAppleWalkingSteadinessEvent[CategoryValueAppleWalkingSteadinessEvent["repeatVeryLow"] = 4] = "repeatVeryLow";
|
|
440
|
+
})(CategoryValueAppleWalkingSteadinessEvent || (CategoryValueAppleWalkingSteadinessEvent = {}));
|
|
441
|
+
export var CategoryValueAudioExposureEvent;
|
|
442
|
+
(function (CategoryValueAudioExposureEvent) {
|
|
443
|
+
CategoryValueAudioExposureEvent[CategoryValueAudioExposureEvent["loudEnvironment"] = 1] = "loudEnvironment";
|
|
444
|
+
})(CategoryValueAudioExposureEvent || (CategoryValueAudioExposureEvent = {}));
|
|
445
|
+
export var CategoryValueCervicalMucusQuality;
|
|
446
|
+
(function (CategoryValueCervicalMucusQuality) {
|
|
447
|
+
CategoryValueCervicalMucusQuality[CategoryValueCervicalMucusQuality["dry"] = 1] = "dry";
|
|
448
|
+
CategoryValueCervicalMucusQuality[CategoryValueCervicalMucusQuality["sticky"] = 2] = "sticky";
|
|
449
|
+
CategoryValueCervicalMucusQuality[CategoryValueCervicalMucusQuality["creamy"] = 3] = "creamy";
|
|
450
|
+
CategoryValueCervicalMucusQuality[CategoryValueCervicalMucusQuality["watery"] = 4] = "watery";
|
|
451
|
+
CategoryValueCervicalMucusQuality[CategoryValueCervicalMucusQuality["eggWhite"] = 5] = "eggWhite";
|
|
452
|
+
})(CategoryValueCervicalMucusQuality || (CategoryValueCervicalMucusQuality = {}));
|
|
453
|
+
export var CategoryValueContraceptive;
|
|
454
|
+
(function (CategoryValueContraceptive) {
|
|
455
|
+
CategoryValueContraceptive[CategoryValueContraceptive["unspecified"] = 1] = "unspecified";
|
|
456
|
+
CategoryValueContraceptive[CategoryValueContraceptive["implant"] = 2] = "implant";
|
|
457
|
+
CategoryValueContraceptive[CategoryValueContraceptive["injection"] = 3] = "injection";
|
|
458
|
+
CategoryValueContraceptive[CategoryValueContraceptive["intrauterineDevice"] = 4] = "intrauterineDevice";
|
|
459
|
+
CategoryValueContraceptive[CategoryValueContraceptive["intravaginalRing"] = 5] = "intravaginalRing";
|
|
460
|
+
CategoryValueContraceptive[CategoryValueContraceptive["oral"] = 6] = "oral";
|
|
461
|
+
CategoryValueContraceptive[CategoryValueContraceptive["patch"] = 7] = "patch";
|
|
462
|
+
})(CategoryValueContraceptive || (CategoryValueContraceptive = {}));
|
|
463
|
+
export var CategoryValueEnvironmentalAudioExposureEvent;
|
|
464
|
+
(function (CategoryValueEnvironmentalAudioExposureEvent) {
|
|
465
|
+
CategoryValueEnvironmentalAudioExposureEvent[CategoryValueEnvironmentalAudioExposureEvent["momentaryLimit"] = 1] = "momentaryLimit";
|
|
466
|
+
})(CategoryValueEnvironmentalAudioExposureEvent || (CategoryValueEnvironmentalAudioExposureEvent = {}));
|
|
467
|
+
export var CategoryValueHeadphoneAudioExposureEvent;
|
|
468
|
+
(function (CategoryValueHeadphoneAudioExposureEvent) {
|
|
469
|
+
CategoryValueHeadphoneAudioExposureEvent[CategoryValueHeadphoneAudioExposureEvent["sevenDayLimit"] = 1] = "sevenDayLimit";
|
|
470
|
+
})(CategoryValueHeadphoneAudioExposureEvent || (CategoryValueHeadphoneAudioExposureEvent = {}));
|
|
471
|
+
export var CategoryValueLowCardioFitnessEvent;
|
|
472
|
+
(function (CategoryValueLowCardioFitnessEvent) {
|
|
473
|
+
CategoryValueLowCardioFitnessEvent[CategoryValueLowCardioFitnessEvent["lowFitness"] = 1] = "lowFitness";
|
|
474
|
+
})(CategoryValueLowCardioFitnessEvent || (CategoryValueLowCardioFitnessEvent = {}));
|
|
475
|
+
export var CategoryValueMenstrualFlow;
|
|
476
|
+
(function (CategoryValueMenstrualFlow) {
|
|
477
|
+
CategoryValueMenstrualFlow[CategoryValueMenstrualFlow["unspecified"] = 1] = "unspecified";
|
|
478
|
+
CategoryValueMenstrualFlow[CategoryValueMenstrualFlow["light"] = 2] = "light";
|
|
479
|
+
CategoryValueMenstrualFlow[CategoryValueMenstrualFlow["medium"] = 3] = "medium";
|
|
480
|
+
CategoryValueMenstrualFlow[CategoryValueMenstrualFlow["heavy"] = 4] = "heavy";
|
|
481
|
+
CategoryValueMenstrualFlow[CategoryValueMenstrualFlow["none"] = 5] = "none";
|
|
482
|
+
})(CategoryValueMenstrualFlow || (CategoryValueMenstrualFlow = {}));
|
|
483
|
+
export var CategoryValueOvulationTestResult;
|
|
484
|
+
(function (CategoryValueOvulationTestResult) {
|
|
485
|
+
CategoryValueOvulationTestResult[CategoryValueOvulationTestResult["negative"] = 1] = "negative";
|
|
486
|
+
CategoryValueOvulationTestResult[CategoryValueOvulationTestResult["luteinizingHormoneSurge"] = 2] = "luteinizingHormoneSurge";
|
|
487
|
+
CategoryValueOvulationTestResult[CategoryValueOvulationTestResult["positive"] = 2] = "positive";
|
|
488
|
+
CategoryValueOvulationTestResult[CategoryValueOvulationTestResult["indeterminate"] = 3] = "indeterminate";
|
|
489
|
+
CategoryValueOvulationTestResult[CategoryValueOvulationTestResult["estrogenSurge"] = 4] = "estrogenSurge";
|
|
490
|
+
})(CategoryValueOvulationTestResult || (CategoryValueOvulationTestResult = {}));
|
|
491
|
+
export var CategoryValuePregnancyTestResult;
|
|
492
|
+
(function (CategoryValuePregnancyTestResult) {
|
|
493
|
+
CategoryValuePregnancyTestResult[CategoryValuePregnancyTestResult["negative"] = 1] = "negative";
|
|
494
|
+
CategoryValuePregnancyTestResult[CategoryValuePregnancyTestResult["positive"] = 2] = "positive";
|
|
495
|
+
CategoryValuePregnancyTestResult[CategoryValuePregnancyTestResult["indeterminate"] = 3] = "indeterminate";
|
|
496
|
+
})(CategoryValuePregnancyTestResult || (CategoryValuePregnancyTestResult = {}));
|
|
497
|
+
export var CategoryValuePresence;
|
|
498
|
+
(function (CategoryValuePresence) {
|
|
499
|
+
CategoryValuePresence[CategoryValuePresence["present"] = 0] = "present";
|
|
500
|
+
CategoryValuePresence[CategoryValuePresence["notPresent"] = 1] = "notPresent";
|
|
501
|
+
})(CategoryValuePresence || (CategoryValuePresence = {}));
|
|
502
|
+
export var CategoryValueProgesteroneTestResult;
|
|
503
|
+
(function (CategoryValueProgesteroneTestResult) {
|
|
504
|
+
CategoryValueProgesteroneTestResult[CategoryValueProgesteroneTestResult["negative"] = 1] = "negative";
|
|
505
|
+
CategoryValueProgesteroneTestResult[CategoryValueProgesteroneTestResult["positive"] = 2] = "positive";
|
|
506
|
+
CategoryValueProgesteroneTestResult[CategoryValueProgesteroneTestResult["indeterminate"] = 3] = "indeterminate";
|
|
507
|
+
})(CategoryValueProgesteroneTestResult || (CategoryValueProgesteroneTestResult = {}));
|
|
508
|
+
export var CategoryValueSeverity;
|
|
509
|
+
(function (CategoryValueSeverity) {
|
|
510
|
+
CategoryValueSeverity[CategoryValueSeverity["unspecified"] = 0] = "unspecified";
|
|
511
|
+
CategoryValueSeverity[CategoryValueSeverity["notPresent"] = 1] = "notPresent";
|
|
512
|
+
CategoryValueSeverity[CategoryValueSeverity["mild"] = 2] = "mild";
|
|
513
|
+
CategoryValueSeverity[CategoryValueSeverity["moderate"] = 3] = "moderate";
|
|
514
|
+
CategoryValueSeverity[CategoryValueSeverity["severe"] = 4] = "severe";
|
|
515
|
+
})(CategoryValueSeverity || (CategoryValueSeverity = {}));
|
|
516
|
+
export var CategoryValueSleepAnalysis;
|
|
517
|
+
(function (CategoryValueSleepAnalysis) {
|
|
518
|
+
CategoryValueSleepAnalysis[CategoryValueSleepAnalysis["inBed"] = 0] = "inBed";
|
|
519
|
+
CategoryValueSleepAnalysis[CategoryValueSleepAnalysis["asleepUnspecified"] = 1] = "asleepUnspecified";
|
|
520
|
+
CategoryValueSleepAnalysis[CategoryValueSleepAnalysis["asleep"] = 1] = "asleep";
|
|
521
|
+
CategoryValueSleepAnalysis[CategoryValueSleepAnalysis["awake"] = 2] = "awake";
|
|
522
|
+
CategoryValueSleepAnalysis[CategoryValueSleepAnalysis["asleepCore"] = 3] = "asleepCore";
|
|
523
|
+
CategoryValueSleepAnalysis[CategoryValueSleepAnalysis["asleepDeep"] = 4] = "asleepDeep";
|
|
524
|
+
CategoryValueSleepAnalysis[CategoryValueSleepAnalysis["asleepREM"] = 5] = "asleepREM";
|
|
525
|
+
})(CategoryValueSleepAnalysis || (CategoryValueSleepAnalysis = {}));
|
|
526
|
+
export var CategoryValueVaginalBleeding;
|
|
527
|
+
(function (CategoryValueVaginalBleeding) {
|
|
528
|
+
CategoryValueVaginalBleeding[CategoryValueVaginalBleeding["unspecified"] = 1] = "unspecified";
|
|
529
|
+
CategoryValueVaginalBleeding[CategoryValueVaginalBleeding["light"] = 2] = "light";
|
|
530
|
+
CategoryValueVaginalBleeding[CategoryValueVaginalBleeding["medium"] = 3] = "medium";
|
|
531
|
+
CategoryValueVaginalBleeding[CategoryValueVaginalBleeding["heavy"] = 4] = "heavy";
|
|
532
|
+
CategoryValueVaginalBleeding[CategoryValueVaginalBleeding["none"] = 5] = "none";
|
|
533
|
+
})(CategoryValueVaginalBleeding || (CategoryValueVaginalBleeding = {}));
|
|
534
|
+
export var CyclingFunctionalThresholdPowerTestType;
|
|
535
|
+
(function (CyclingFunctionalThresholdPowerTestType) {
|
|
536
|
+
CyclingFunctionalThresholdPowerTestType[CyclingFunctionalThresholdPowerTestType["maxExercise60Minute"] = 1] = "maxExercise60Minute";
|
|
537
|
+
CyclingFunctionalThresholdPowerTestType[CyclingFunctionalThresholdPowerTestType["maxExercise20Minute"] = 2] = "maxExercise20Minute";
|
|
538
|
+
CyclingFunctionalThresholdPowerTestType[CyclingFunctionalThresholdPowerTestType["rampTest"] = 3] = "rampTest";
|
|
539
|
+
CyclingFunctionalThresholdPowerTestType[CyclingFunctionalThresholdPowerTestType["predictionExercise"] = 4] = "predictionExercise";
|
|
540
|
+
})(CyclingFunctionalThresholdPowerTestType || (CyclingFunctionalThresholdPowerTestType = {}));
|
|
541
|
+
export var DevicePlacementSide;
|
|
542
|
+
(function (DevicePlacementSide) {
|
|
543
|
+
DevicePlacementSide[DevicePlacementSide["unknown"] = 0] = "unknown";
|
|
544
|
+
DevicePlacementSide[DevicePlacementSide["left"] = 1] = "left";
|
|
545
|
+
DevicePlacementSide[DevicePlacementSide["right"] = 2] = "right";
|
|
546
|
+
DevicePlacementSide[DevicePlacementSide["central"] = 3] = "central";
|
|
547
|
+
})(DevicePlacementSide || (DevicePlacementSide = {}));
|
|
548
|
+
export var HeartRateMotionContext;
|
|
549
|
+
(function (HeartRateMotionContext) {
|
|
550
|
+
HeartRateMotionContext[HeartRateMotionContext["notSet"] = 0] = "notSet";
|
|
551
|
+
HeartRateMotionContext[HeartRateMotionContext["sedentary"] = 1] = "sedentary";
|
|
552
|
+
HeartRateMotionContext[HeartRateMotionContext["active"] = 2] = "active";
|
|
553
|
+
})(HeartRateMotionContext || (HeartRateMotionContext = {}));
|
|
554
|
+
export var HeartRateRecoveryTestType;
|
|
555
|
+
(function (HeartRateRecoveryTestType) {
|
|
556
|
+
HeartRateRecoveryTestType[HeartRateRecoveryTestType["maxExercise"] = 1] = "maxExercise";
|
|
557
|
+
HeartRateRecoveryTestType[HeartRateRecoveryTestType["predictionSubMaxExercise"] = 2] = "predictionSubMaxExercise";
|
|
558
|
+
HeartRateRecoveryTestType[HeartRateRecoveryTestType["predictionNonExercise"] = 3] = "predictionNonExercise";
|
|
559
|
+
})(HeartRateRecoveryTestType || (HeartRateRecoveryTestType = {}));
|
|
560
|
+
export var HeartRateSensorLocation;
|
|
561
|
+
(function (HeartRateSensorLocation) {
|
|
562
|
+
HeartRateSensorLocation[HeartRateSensorLocation["other"] = 0] = "other";
|
|
563
|
+
HeartRateSensorLocation[HeartRateSensorLocation["chest"] = 1] = "chest";
|
|
564
|
+
HeartRateSensorLocation[HeartRateSensorLocation["wrist"] = 2] = "wrist";
|
|
565
|
+
HeartRateSensorLocation[HeartRateSensorLocation["finger"] = 3] = "finger";
|
|
566
|
+
HeartRateSensorLocation[HeartRateSensorLocation["hand"] = 4] = "hand";
|
|
567
|
+
HeartRateSensorLocation[HeartRateSensorLocation["earLobe"] = 5] = "earLobe";
|
|
568
|
+
HeartRateSensorLocation[HeartRateSensorLocation["foot"] = 6] = "foot";
|
|
569
|
+
})(HeartRateSensorLocation || (HeartRateSensorLocation = {}));
|
|
570
|
+
export var InsulinDeliveryReason;
|
|
571
|
+
(function (InsulinDeliveryReason) {
|
|
572
|
+
InsulinDeliveryReason[InsulinDeliveryReason["basal"] = 1] = "basal";
|
|
573
|
+
InsulinDeliveryReason[InsulinDeliveryReason["bolus"] = 2] = "bolus";
|
|
574
|
+
})(InsulinDeliveryReason || (InsulinDeliveryReason = {}));
|
|
575
|
+
export var PhysicalEffortEstimationType;
|
|
576
|
+
(function (PhysicalEffortEstimationType) {
|
|
577
|
+
PhysicalEffortEstimationType[PhysicalEffortEstimationType["activityLookup"] = 1] = "activityLookup";
|
|
578
|
+
PhysicalEffortEstimationType[PhysicalEffortEstimationType["deviceSensed"] = 2] = "deviceSensed";
|
|
579
|
+
})(PhysicalEffortEstimationType || (PhysicalEffortEstimationType = {}));
|
|
580
|
+
export var SwimmingStrokeStyle;
|
|
581
|
+
(function (SwimmingStrokeStyle) {
|
|
582
|
+
SwimmingStrokeStyle[SwimmingStrokeStyle["unknown"] = 0] = "unknown";
|
|
583
|
+
SwimmingStrokeStyle[SwimmingStrokeStyle["mixed"] = 1] = "mixed";
|
|
584
|
+
SwimmingStrokeStyle[SwimmingStrokeStyle["freestyle"] = 2] = "freestyle";
|
|
585
|
+
SwimmingStrokeStyle[SwimmingStrokeStyle["backstroke"] = 3] = "backstroke";
|
|
586
|
+
SwimmingStrokeStyle[SwimmingStrokeStyle["breaststroke"] = 4] = "breaststroke";
|
|
587
|
+
SwimmingStrokeStyle[SwimmingStrokeStyle["butterfly"] = 5] = "butterfly";
|
|
588
|
+
SwimmingStrokeStyle[SwimmingStrokeStyle["kickboard"] = 6] = "kickboard";
|
|
589
|
+
})(SwimmingStrokeStyle || (SwimmingStrokeStyle = {}));
|
|
590
|
+
export var UserMotionContext;
|
|
591
|
+
(function (UserMotionContext) {
|
|
592
|
+
UserMotionContext[UserMotionContext["notSet"] = 0] = "notSet";
|
|
593
|
+
UserMotionContext[UserMotionContext["stationary"] = 1] = "stationary";
|
|
594
|
+
UserMotionContext[UserMotionContext["active"] = 2] = "active";
|
|
595
|
+
})(UserMotionContext || (UserMotionContext = {}));
|
|
596
|
+
export var VO2MaxTestType;
|
|
597
|
+
(function (VO2MaxTestType) {
|
|
598
|
+
VO2MaxTestType[VO2MaxTestType["maxExercise"] = 1] = "maxExercise";
|
|
599
|
+
VO2MaxTestType[VO2MaxTestType["predictionSubMaxExercise"] = 2] = "predictionSubMaxExercise";
|
|
600
|
+
VO2MaxTestType[VO2MaxTestType["predictionNonExercise"] = 3] = "predictionNonExercise";
|
|
601
|
+
VO2MaxTestType[VO2MaxTestType["predictionStepTest"] = 4] = "predictionStepTest";
|
|
602
|
+
})(VO2MaxTestType || (VO2MaxTestType = {}));
|
|
603
|
+
export var WaterSalinity;
|
|
604
|
+
(function (WaterSalinity) {
|
|
605
|
+
WaterSalinity[WaterSalinity["freshWater"] = 1] = "freshWater";
|
|
606
|
+
WaterSalinity[WaterSalinity["saltWater"] = 2] = "saltWater";
|
|
607
|
+
})(WaterSalinity || (WaterSalinity = {}));
|
|
608
|
+
export var WeatherCondition;
|
|
609
|
+
(function (WeatherCondition) {
|
|
610
|
+
WeatherCondition[WeatherCondition["none"] = 0] = "none";
|
|
611
|
+
WeatherCondition[WeatherCondition["clear"] = 1] = "clear";
|
|
612
|
+
WeatherCondition[WeatherCondition["fair"] = 2] = "fair";
|
|
613
|
+
WeatherCondition[WeatherCondition["partlyCloudy"] = 3] = "partlyCloudy";
|
|
614
|
+
WeatherCondition[WeatherCondition["mostlyCloudy"] = 4] = "mostlyCloudy";
|
|
615
|
+
WeatherCondition[WeatherCondition["cloudy"] = 5] = "cloudy";
|
|
616
|
+
WeatherCondition[WeatherCondition["foggy"] = 6] = "foggy";
|
|
617
|
+
WeatherCondition[WeatherCondition["haze"] = 7] = "haze";
|
|
618
|
+
WeatherCondition[WeatherCondition["windy"] = 8] = "windy";
|
|
619
|
+
WeatherCondition[WeatherCondition["blustery"] = 9] = "blustery";
|
|
620
|
+
WeatherCondition[WeatherCondition["smoky"] = 10] = "smoky";
|
|
621
|
+
WeatherCondition[WeatherCondition["dust"] = 11] = "dust";
|
|
622
|
+
WeatherCondition[WeatherCondition["snow"] = 12] = "snow";
|
|
623
|
+
WeatherCondition[WeatherCondition["hail"] = 13] = "hail";
|
|
624
|
+
WeatherCondition[WeatherCondition["sleet"] = 14] = "sleet";
|
|
625
|
+
WeatherCondition[WeatherCondition["freezingDrizzle"] = 15] = "freezingDrizzle";
|
|
626
|
+
WeatherCondition[WeatherCondition["freezingRain"] = 16] = "freezingRain";
|
|
627
|
+
WeatherCondition[WeatherCondition["mixedRainAndHail"] = 17] = "mixedRainAndHail";
|
|
628
|
+
WeatherCondition[WeatherCondition["mixedRainAndSnow"] = 18] = "mixedRainAndSnow";
|
|
629
|
+
WeatherCondition[WeatherCondition["mixedRainAndSleet"] = 19] = "mixedRainAndSleet";
|
|
630
|
+
WeatherCondition[WeatherCondition["mixedSnowAndSleet"] = 20] = "mixedSnowAndSleet";
|
|
631
|
+
WeatherCondition[WeatherCondition["drizzle"] = 21] = "drizzle";
|
|
632
|
+
WeatherCondition[WeatherCondition["scatteredShowers"] = 22] = "scatteredShowers";
|
|
633
|
+
WeatherCondition[WeatherCondition["showers"] = 23] = "showers";
|
|
634
|
+
WeatherCondition[WeatherCondition["thunderstorms"] = 24] = "thunderstorms";
|
|
635
|
+
WeatherCondition[WeatherCondition["tropicalStorm"] = 25] = "tropicalStorm";
|
|
636
|
+
WeatherCondition[WeatherCondition["hurricane"] = 26] = "hurricane";
|
|
637
|
+
WeatherCondition[WeatherCondition["tornado"] = 27] = "tornado";
|
|
638
|
+
})(WeatherCondition || (WeatherCondition = {}));
|
|
639
|
+
export var WorkoutActivityType;
|
|
640
|
+
(function (WorkoutActivityType) {
|
|
641
|
+
WorkoutActivityType[WorkoutActivityType["americanFootball"] = 1] = "americanFootball";
|
|
642
|
+
WorkoutActivityType[WorkoutActivityType["archery"] = 2] = "archery";
|
|
643
|
+
WorkoutActivityType[WorkoutActivityType["australianFootball"] = 3] = "australianFootball";
|
|
644
|
+
WorkoutActivityType[WorkoutActivityType["badminton"] = 4] = "badminton";
|
|
645
|
+
WorkoutActivityType[WorkoutActivityType["baseball"] = 5] = "baseball";
|
|
646
|
+
WorkoutActivityType[WorkoutActivityType["basketball"] = 6] = "basketball";
|
|
647
|
+
WorkoutActivityType[WorkoutActivityType["bowling"] = 7] = "bowling";
|
|
648
|
+
WorkoutActivityType[WorkoutActivityType["boxing"] = 8] = "boxing";
|
|
649
|
+
WorkoutActivityType[WorkoutActivityType["climbing"] = 9] = "climbing";
|
|
650
|
+
WorkoutActivityType[WorkoutActivityType["cricket"] = 10] = "cricket";
|
|
651
|
+
WorkoutActivityType[WorkoutActivityType["crossTraining"] = 11] = "crossTraining";
|
|
652
|
+
WorkoutActivityType[WorkoutActivityType["curling"] = 12] = "curling";
|
|
653
|
+
WorkoutActivityType[WorkoutActivityType["cycling"] = 13] = "cycling";
|
|
654
|
+
WorkoutActivityType[WorkoutActivityType["dance"] = 14] = "dance";
|
|
655
|
+
WorkoutActivityType[WorkoutActivityType["danceInspiredTraining"] = 15] = "danceInspiredTraining";
|
|
656
|
+
WorkoutActivityType[WorkoutActivityType["elliptical"] = 16] = "elliptical";
|
|
657
|
+
WorkoutActivityType[WorkoutActivityType["equestrianSports"] = 17] = "equestrianSports";
|
|
658
|
+
WorkoutActivityType[WorkoutActivityType["fencing"] = 18] = "fencing";
|
|
659
|
+
WorkoutActivityType[WorkoutActivityType["fishing"] = 19] = "fishing";
|
|
660
|
+
WorkoutActivityType[WorkoutActivityType["functionalStrengthTraining"] = 20] = "functionalStrengthTraining";
|
|
661
|
+
WorkoutActivityType[WorkoutActivityType["golf"] = 21] = "golf";
|
|
662
|
+
WorkoutActivityType[WorkoutActivityType["gymnastics"] = 22] = "gymnastics";
|
|
663
|
+
WorkoutActivityType[WorkoutActivityType["handball"] = 23] = "handball";
|
|
664
|
+
WorkoutActivityType[WorkoutActivityType["hiking"] = 24] = "hiking";
|
|
665
|
+
WorkoutActivityType[WorkoutActivityType["hockey"] = 25] = "hockey";
|
|
666
|
+
WorkoutActivityType[WorkoutActivityType["hunting"] = 26] = "hunting";
|
|
667
|
+
WorkoutActivityType[WorkoutActivityType["lacrosse"] = 27] = "lacrosse";
|
|
668
|
+
WorkoutActivityType[WorkoutActivityType["martialArts"] = 28] = "martialArts";
|
|
669
|
+
WorkoutActivityType[WorkoutActivityType["mindAndBody"] = 29] = "mindAndBody";
|
|
670
|
+
WorkoutActivityType[WorkoutActivityType["mixedMetabolicCardioTraining"] = 30] = "mixedMetabolicCardioTraining";
|
|
671
|
+
WorkoutActivityType[WorkoutActivityType["paddleSports"] = 31] = "paddleSports";
|
|
672
|
+
WorkoutActivityType[WorkoutActivityType["play"] = 32] = "play";
|
|
673
|
+
WorkoutActivityType[WorkoutActivityType["preparationAndRecovery"] = 33] = "preparationAndRecovery";
|
|
674
|
+
WorkoutActivityType[WorkoutActivityType["racquetball"] = 34] = "racquetball";
|
|
675
|
+
WorkoutActivityType[WorkoutActivityType["rowing"] = 35] = "rowing";
|
|
676
|
+
WorkoutActivityType[WorkoutActivityType["rugby"] = 36] = "rugby";
|
|
677
|
+
WorkoutActivityType[WorkoutActivityType["running"] = 37] = "running";
|
|
678
|
+
WorkoutActivityType[WorkoutActivityType["sailing"] = 38] = "sailing";
|
|
679
|
+
WorkoutActivityType[WorkoutActivityType["skatingSports"] = 39] = "skatingSports";
|
|
680
|
+
WorkoutActivityType[WorkoutActivityType["snowSports"] = 40] = "snowSports";
|
|
681
|
+
WorkoutActivityType[WorkoutActivityType["soccer"] = 41] = "soccer";
|
|
682
|
+
WorkoutActivityType[WorkoutActivityType["softball"] = 42] = "softball";
|
|
683
|
+
WorkoutActivityType[WorkoutActivityType["squash"] = 43] = "squash";
|
|
684
|
+
WorkoutActivityType[WorkoutActivityType["stairClimbing"] = 44] = "stairClimbing";
|
|
685
|
+
WorkoutActivityType[WorkoutActivityType["surfingSports"] = 45] = "surfingSports";
|
|
686
|
+
WorkoutActivityType[WorkoutActivityType["swimming"] = 46] = "swimming";
|
|
687
|
+
WorkoutActivityType[WorkoutActivityType["tableTennis"] = 47] = "tableTennis";
|
|
688
|
+
WorkoutActivityType[WorkoutActivityType["tennis"] = 48] = "tennis";
|
|
689
|
+
WorkoutActivityType[WorkoutActivityType["trackAndField"] = 49] = "trackAndField";
|
|
690
|
+
WorkoutActivityType[WorkoutActivityType["traditionalStrengthTraining"] = 50] = "traditionalStrengthTraining";
|
|
691
|
+
WorkoutActivityType[WorkoutActivityType["volleyball"] = 51] = "volleyball";
|
|
692
|
+
WorkoutActivityType[WorkoutActivityType["walking"] = 52] = "walking";
|
|
693
|
+
WorkoutActivityType[WorkoutActivityType["waterFitness"] = 53] = "waterFitness";
|
|
694
|
+
WorkoutActivityType[WorkoutActivityType["waterPolo"] = 54] = "waterPolo";
|
|
695
|
+
WorkoutActivityType[WorkoutActivityType["waterSports"] = 55] = "waterSports";
|
|
696
|
+
WorkoutActivityType[WorkoutActivityType["wrestling"] = 56] = "wrestling";
|
|
697
|
+
WorkoutActivityType[WorkoutActivityType["yoga"] = 57] = "yoga";
|
|
698
|
+
WorkoutActivityType[WorkoutActivityType["barre"] = 58] = "barre";
|
|
699
|
+
WorkoutActivityType[WorkoutActivityType["coreTraining"] = 59] = "coreTraining";
|
|
700
|
+
WorkoutActivityType[WorkoutActivityType["crossCountrySkiing"] = 60] = "crossCountrySkiing";
|
|
701
|
+
WorkoutActivityType[WorkoutActivityType["downhillSkiing"] = 61] = "downhillSkiing";
|
|
702
|
+
WorkoutActivityType[WorkoutActivityType["flexibility"] = 62] = "flexibility";
|
|
703
|
+
WorkoutActivityType[WorkoutActivityType["highIntensityIntervalTraining"] = 63] = "highIntensityIntervalTraining";
|
|
704
|
+
WorkoutActivityType[WorkoutActivityType["jumpRope"] = 64] = "jumpRope";
|
|
705
|
+
WorkoutActivityType[WorkoutActivityType["kickboxing"] = 65] = "kickboxing";
|
|
706
|
+
WorkoutActivityType[WorkoutActivityType["pilates"] = 66] = "pilates";
|
|
707
|
+
WorkoutActivityType[WorkoutActivityType["snowboarding"] = 67] = "snowboarding";
|
|
708
|
+
WorkoutActivityType[WorkoutActivityType["stairs"] = 68] = "stairs";
|
|
709
|
+
WorkoutActivityType[WorkoutActivityType["stepTraining"] = 69] = "stepTraining";
|
|
710
|
+
WorkoutActivityType[WorkoutActivityType["wheelchairWalkPace"] = 70] = "wheelchairWalkPace";
|
|
711
|
+
WorkoutActivityType[WorkoutActivityType["wheelchairRunPace"] = 71] = "wheelchairRunPace";
|
|
712
|
+
WorkoutActivityType[WorkoutActivityType["taiChi"] = 72] = "taiChi";
|
|
713
|
+
WorkoutActivityType[WorkoutActivityType["mixedCardio"] = 73] = "mixedCardio";
|
|
714
|
+
WorkoutActivityType[WorkoutActivityType["handCycling"] = 74] = "handCycling";
|
|
715
|
+
WorkoutActivityType[WorkoutActivityType["discSports"] = 75] = "discSports";
|
|
716
|
+
WorkoutActivityType[WorkoutActivityType["fitnessGaming"] = 76] = "fitnessGaming";
|
|
717
|
+
WorkoutActivityType[WorkoutActivityType["cardioDance"] = 77] = "cardioDance";
|
|
718
|
+
WorkoutActivityType[WorkoutActivityType["socialDance"] = 78] = "socialDance";
|
|
719
|
+
WorkoutActivityType[WorkoutActivityType["pickleball"] = 79] = "pickleball";
|
|
720
|
+
WorkoutActivityType[WorkoutActivityType["cooldown"] = 80] = "cooldown";
|
|
721
|
+
WorkoutActivityType[WorkoutActivityType["swimBikeRun"] = 82] = "swimBikeRun";
|
|
722
|
+
WorkoutActivityType[WorkoutActivityType["transition"] = 83] = "transition";
|
|
723
|
+
WorkoutActivityType[WorkoutActivityType["underwaterDiving"] = 84] = "underwaterDiving";
|
|
724
|
+
WorkoutActivityType[WorkoutActivityType["other"] = 3000] = "other";
|
|
725
|
+
})(WorkoutActivityType || (WorkoutActivityType = {}));
|
|
726
|
+
export var WorkoutEventType;
|
|
727
|
+
(function (WorkoutEventType) {
|
|
728
|
+
WorkoutEventType[WorkoutEventType["pause"] = 1] = "pause";
|
|
729
|
+
WorkoutEventType[WorkoutEventType["resume"] = 2] = "resume";
|
|
730
|
+
WorkoutEventType[WorkoutEventType["lap"] = 3] = "lap";
|
|
731
|
+
WorkoutEventType[WorkoutEventType["marker"] = 4] = "marker";
|
|
732
|
+
WorkoutEventType[WorkoutEventType["motionPaused"] = 5] = "motionPaused";
|
|
733
|
+
WorkoutEventType[WorkoutEventType["motionResumed"] = 6] = "motionResumed";
|
|
734
|
+
WorkoutEventType[WorkoutEventType["segment"] = 7] = "segment";
|
|
735
|
+
WorkoutEventType[WorkoutEventType["pauseOrResumeRequest"] = 8] = "pauseOrResumeRequest";
|
|
736
|
+
})(WorkoutEventType || (WorkoutEventType = {}));
|
|
737
|
+
export var WorkoutSwimmingLocationType;
|
|
738
|
+
(function (WorkoutSwimmingLocationType) {
|
|
739
|
+
WorkoutSwimmingLocationType[WorkoutSwimmingLocationType["unknown"] = 0] = "unknown";
|
|
740
|
+
WorkoutSwimmingLocationType[WorkoutSwimmingLocationType["pool"] = 1] = "pool";
|
|
741
|
+
WorkoutSwimmingLocationType[WorkoutSwimmingLocationType["openWater"] = 2] = "openWater";
|
|
742
|
+
})(WorkoutSwimmingLocationType || (WorkoutSwimmingLocationType = {}));
|