@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
|
@@ -17,62 +17,36 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
17
17
|
*/
|
|
18
18
|
init?(fromString string: String) {
|
|
19
19
|
switch string {
|
|
20
|
-
case "HKCategoryTypeIdentifierSleepAnalysis":
|
|
21
|
-
self = .hkcategorytypeidentifiersleepanalysis
|
|
22
|
-
case "HKCategoryTypeIdentifierCervicalMucusQuality":
|
|
23
|
-
self = .hkcategorytypeidentifiercervicalmucusquality
|
|
24
|
-
case "HKCategoryTypeIdentifierOvulationTestResult":
|
|
25
|
-
self = .hkcategorytypeidentifierovulationtestresult
|
|
26
|
-
case "HKCategoryTypeIdentifierMenstrualFlow":
|
|
27
|
-
self = .hkcategorytypeidentifiermenstrualflow
|
|
28
|
-
case "HKCategoryTypeIdentifierIntermenstrualBleeding":
|
|
29
|
-
self = .hkcategorytypeidentifierintermenstrualbleeding
|
|
30
|
-
case "HKCategoryTypeIdentifierSexualActivity":
|
|
31
|
-
self = .hkcategorytypeidentifiersexualactivity
|
|
32
|
-
case "HKCategoryTypeIdentifierMindfulSession":
|
|
33
|
-
self = .hkcategorytypeidentifiermindfulsession
|
|
34
|
-
case "HKCategoryTypeIdentifierIrregularHeartRhythmEvent":
|
|
35
|
-
self = .hkcategorytypeidentifierirregularheartrhythmevent
|
|
36
|
-
case "HKCategoryTypeIdentifierAudioExposureEvent":
|
|
37
|
-
self = .hkcategorytypeidentifieraudioexposureevent
|
|
38
|
-
case "HKCategoryTypeIdentifierToothbrushingEvent":
|
|
39
|
-
self = .hkcategorytypeidentifiertoothbrushingevent
|
|
40
|
-
case "HKCategoryTypeIdentifierLowCardioFitnessEvent":
|
|
41
|
-
self = .hkcategorytypeidentifierlowcardiofitnessevent
|
|
42
|
-
case "HKCategoryTypeIdentifierContraceptive":
|
|
43
|
-
self = .hkcategorytypeidentifiercontraceptive
|
|
44
|
-
case "HKCategoryTypeIdentifierLactation":
|
|
45
|
-
self = .hkcategorytypeidentifierlactation
|
|
46
|
-
case "HKCategoryTypeIdentifierPregnancy":
|
|
47
|
-
self = .hkcategorytypeidentifierpregnancy
|
|
48
|
-
case "HKCategoryTypeIdentifierPregnancyTestResult":
|
|
49
|
-
self = .hkcategorytypeidentifierpregnancytestresult
|
|
50
|
-
case "HKCategoryTypeIdentifierProgesteroneTestResult":
|
|
51
|
-
self = .hkcategorytypeidentifierprogesteronetestresult
|
|
52
|
-
case "HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent":
|
|
53
|
-
self = .hkcategorytypeidentifierenvironmentalaudioexposureevent
|
|
54
|
-
case "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent":
|
|
55
|
-
self = .hkcategorytypeidentifierapplewalkingsteadinessevent
|
|
56
|
-
case "HKCategoryTypeIdentifierHandwashingEvent":
|
|
57
|
-
self = .hkcategorytypeidentifierhandwashingevent
|
|
58
20
|
case "HKCategoryTypeIdentifierAbdominalCramps":
|
|
59
21
|
self = .hkcategorytypeidentifierabdominalcramps
|
|
60
22
|
case "HKCategoryTypeIdentifierAcne":
|
|
61
23
|
self = .hkcategorytypeidentifieracne
|
|
62
24
|
case "HKCategoryTypeIdentifierAppetiteChanges":
|
|
63
25
|
self = .hkcategorytypeidentifierappetitechanges
|
|
26
|
+
case "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent":
|
|
27
|
+
self = .hkcategorytypeidentifierapplewalkingsteadinessevent
|
|
28
|
+
case "HKCategoryTypeIdentifierAudioExposureEvent":
|
|
29
|
+
self = .hkcategorytypeidentifieraudioexposureevent
|
|
64
30
|
case "HKCategoryTypeIdentifierBladderIncontinence":
|
|
65
31
|
self = .hkcategorytypeidentifierbladderincontinence
|
|
32
|
+
case "HKCategoryTypeIdentifierBleedingAfterPregnancy":
|
|
33
|
+
self = .hkcategorytypeidentifierbleedingafterpregnancy
|
|
34
|
+
case "HKCategoryTypeIdentifierBleedingDuringPregnancy":
|
|
35
|
+
self = .hkcategorytypeidentifierbleedingduringpregnancy
|
|
66
36
|
case "HKCategoryTypeIdentifierBloating":
|
|
67
37
|
self = .hkcategorytypeidentifierbloating
|
|
68
38
|
case "HKCategoryTypeIdentifierBreastPain":
|
|
69
39
|
self = .hkcategorytypeidentifierbreastpain
|
|
40
|
+
case "HKCategoryTypeIdentifierCervicalMucusQuality":
|
|
41
|
+
self = .hkcategorytypeidentifiercervicalmucusquality
|
|
70
42
|
case "HKCategoryTypeIdentifierChestTightnessOrPain":
|
|
71
43
|
self = .hkcategorytypeidentifierchesttightnessorpain
|
|
72
44
|
case "HKCategoryTypeIdentifierChills":
|
|
73
45
|
self = .hkcategorytypeidentifierchills
|
|
74
46
|
case "HKCategoryTypeIdentifierConstipation":
|
|
75
47
|
self = .hkcategorytypeidentifierconstipation
|
|
48
|
+
case "HKCategoryTypeIdentifierContraceptive":
|
|
49
|
+
self = .hkcategorytypeidentifiercontraceptive
|
|
76
50
|
case "HKCategoryTypeIdentifierCoughing":
|
|
77
51
|
self = .hkcategorytypeidentifiercoughing
|
|
78
52
|
case "HKCategoryTypeIdentifierDiarrhea":
|
|
@@ -81,6 +55,8 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
81
55
|
self = .hkcategorytypeidentifierdizziness
|
|
82
56
|
case "HKCategoryTypeIdentifierDrySkin":
|
|
83
57
|
self = .hkcategorytypeidentifierdryskin
|
|
58
|
+
case "HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent":
|
|
59
|
+
self = .hkcategorytypeidentifierenvironmentalaudioexposureevent
|
|
84
60
|
case "HKCategoryTypeIdentifierFainting":
|
|
85
61
|
self = .hkcategorytypeidentifierfainting
|
|
86
62
|
case "HKCategoryTypeIdentifierFatigue":
|
|
@@ -91,296 +67,318 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
91
67
|
self = .hkcategorytypeidentifiergeneralizedbodyache
|
|
92
68
|
case "HKCategoryTypeIdentifierHairLoss":
|
|
93
69
|
self = .hkcategorytypeidentifierhairloss
|
|
70
|
+
case "HKCategoryTypeIdentifierHandwashingEvent":
|
|
71
|
+
self = .hkcategorytypeidentifierhandwashingevent
|
|
94
72
|
case "HKCategoryTypeIdentifierHeadache":
|
|
95
73
|
self = .hkcategorytypeidentifierheadache
|
|
96
74
|
case "HKCategoryTypeIdentifierHeartburn":
|
|
97
75
|
self = .hkcategorytypeidentifierheartburn
|
|
98
76
|
case "HKCategoryTypeIdentifierHotFlashes":
|
|
99
77
|
self = .hkcategorytypeidentifierhotflashes
|
|
78
|
+
case "HKCategoryTypeIdentifierInfrequentMenstrualCycles":
|
|
79
|
+
self = .hkcategorytypeidentifierinfrequentmenstrualcycles
|
|
80
|
+
case "HKCategoryTypeIdentifierIntermenstrualBleeding":
|
|
81
|
+
self = .hkcategorytypeidentifierintermenstrualbleeding
|
|
82
|
+
case "HKCategoryTypeIdentifierIrregularHeartRhythmEvent":
|
|
83
|
+
self = .hkcategorytypeidentifierirregularheartrhythmevent
|
|
84
|
+
case "HKCategoryTypeIdentifierIrregularMenstrualCycles":
|
|
85
|
+
self = .hkcategorytypeidentifierirregularmenstrualcycles
|
|
86
|
+
case "HKCategoryTypeIdentifierLactation":
|
|
87
|
+
self = .hkcategorytypeidentifierlactation
|
|
100
88
|
case "HKCategoryTypeIdentifierLossOfSmell":
|
|
101
89
|
self = .hkcategorytypeidentifierlossofsmell
|
|
102
90
|
case "HKCategoryTypeIdentifierLossOfTaste":
|
|
103
91
|
self = .hkcategorytypeidentifierlossoftaste
|
|
92
|
+
case "HKCategoryTypeIdentifierLowCardioFitnessEvent":
|
|
93
|
+
self = .hkcategorytypeidentifierlowcardiofitnessevent
|
|
104
94
|
case "HKCategoryTypeIdentifierLowerBackPain":
|
|
105
95
|
self = .hkcategorytypeidentifierlowerbackpain
|
|
106
96
|
case "HKCategoryTypeIdentifierMemoryLapse":
|
|
107
97
|
self = .hkcategorytypeidentifiermemorylapse
|
|
98
|
+
case "HKCategoryTypeIdentifierMenstrualFlow":
|
|
99
|
+
self = .hkcategorytypeidentifiermenstrualflow
|
|
100
|
+
case "HKCategoryTypeIdentifierMindfulSession":
|
|
101
|
+
self = .hkcategorytypeidentifiermindfulsession
|
|
108
102
|
case "HKCategoryTypeIdentifierMoodChanges":
|
|
109
103
|
self = .hkcategorytypeidentifiermoodchanges
|
|
110
104
|
case "HKCategoryTypeIdentifierNausea":
|
|
111
105
|
self = .hkcategorytypeidentifiernausea
|
|
112
106
|
case "HKCategoryTypeIdentifierNightSweats":
|
|
113
107
|
self = .hkcategorytypeidentifiernightsweats
|
|
108
|
+
case "HKCategoryTypeIdentifierOvulationTestResult":
|
|
109
|
+
self = .hkcategorytypeidentifierovulationtestresult
|
|
114
110
|
case "HKCategoryTypeIdentifierPelvicPain":
|
|
115
111
|
self = .hkcategorytypeidentifierpelvicpain
|
|
112
|
+
case "HKCategoryTypeIdentifierPersistentIntermenstrualBleeding":
|
|
113
|
+
self = .hkcategorytypeidentifierpersistentintermenstrualbleeding
|
|
114
|
+
case "HKCategoryTypeIdentifierPregnancy":
|
|
115
|
+
self = .hkcategorytypeidentifierpregnancy
|
|
116
|
+
case "HKCategoryTypeIdentifierPregnancyTestResult":
|
|
117
|
+
self = .hkcategorytypeidentifierpregnancytestresult
|
|
118
|
+
case "HKCategoryTypeIdentifierProgesteroneTestResult":
|
|
119
|
+
self = .hkcategorytypeidentifierprogesteronetestresult
|
|
120
|
+
case "HKCategoryTypeIdentifierProlongedMenstrualPeriods":
|
|
121
|
+
self = .hkcategorytypeidentifierprolongedmenstrualperiods
|
|
116
122
|
case "HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat":
|
|
117
123
|
self = .hkcategorytypeidentifierrapidpoundingorflutteringheartbeat
|
|
118
124
|
case "HKCategoryTypeIdentifierRunnyNose":
|
|
119
125
|
self = .hkcategorytypeidentifierrunnynose
|
|
126
|
+
case "HKCategoryTypeIdentifierSexualActivity":
|
|
127
|
+
self = .hkcategorytypeidentifiersexualactivity
|
|
120
128
|
case "HKCategoryTypeIdentifierShortnessOfBreath":
|
|
121
129
|
self = .hkcategorytypeidentifiershortnessofbreath
|
|
122
130
|
case "HKCategoryTypeIdentifierSinusCongestion":
|
|
123
131
|
self = .hkcategorytypeidentifiersinuscongestion
|
|
124
132
|
case "HKCategoryTypeIdentifierSkippedHeartbeat":
|
|
125
133
|
self = .hkcategorytypeidentifierskippedheartbeat
|
|
134
|
+
case "HKCategoryTypeIdentifierSleepAnalysis":
|
|
135
|
+
self = .hkcategorytypeidentifiersleepanalysis
|
|
136
|
+
case "HKCategoryTypeIdentifierSleepApneaEvent":
|
|
137
|
+
self = .hkcategorytypeidentifiersleepapneaevent
|
|
126
138
|
case "HKCategoryTypeIdentifierSleepChanges":
|
|
127
139
|
self = .hkcategorytypeidentifiersleepchanges
|
|
128
140
|
case "HKCategoryTypeIdentifierSoreThroat":
|
|
129
141
|
self = .hkcategorytypeidentifiersorethroat
|
|
142
|
+
case "HKCategoryTypeIdentifierToothbrushingEvent":
|
|
143
|
+
self = .hkcategorytypeidentifiertoothbrushingevent
|
|
130
144
|
case "HKCategoryTypeIdentifierVaginalDryness":
|
|
131
145
|
self = .hkcategorytypeidentifiervaginaldryness
|
|
132
146
|
case "HKCategoryTypeIdentifierVomiting":
|
|
133
147
|
self = .hkcategorytypeidentifiervomiting
|
|
134
148
|
case "HKCategoryTypeIdentifierWheezing":
|
|
135
149
|
self = .hkcategorytypeidentifierwheezing
|
|
136
|
-
case "HKCategoryTypeIdentifierBleedingAfterPregnancy":
|
|
137
|
-
self = .hkcategorytypeidentifierbleedingafterpregnancy
|
|
138
|
-
case "HKCategoryTypeIdentifierBleedingDuringPregnancy":
|
|
139
|
-
self = .hkcategorytypeidentifierbleedingduringpregnancy
|
|
140
|
-
case "HKCategoryTypeIdentifierInfrequentMenstrualCycles":
|
|
141
|
-
self = .hkcategorytypeidentifierinfrequentmenstrualcycles
|
|
142
|
-
case "HKCategoryTypeIdentifierIrregularMenstrualCycles":
|
|
143
|
-
self = .hkcategorytypeidentifierirregularmenstrualcycles
|
|
144
|
-
case "HKCategoryTypeIdentifierPersistentIntermenstrualBleeding":
|
|
145
|
-
self = .hkcategorytypeidentifierpersistentintermenstrualbleeding
|
|
146
|
-
case "HKCategoryTypeIdentifierProlongedMenstrualPeriods":
|
|
147
|
-
self = .hkcategorytypeidentifierprolongedmenstrualperiods
|
|
148
|
-
case "HKCategoryTypeIdentifierSleepApneaEvent":
|
|
149
|
-
self = .hkcategorytypeidentifiersleepapneaevent
|
|
150
150
|
case "HKCorrelationTypeIdentifierBloodPressure":
|
|
151
151
|
self = .hkcorrelationtypeidentifierbloodpressure
|
|
152
152
|
case "HKCorrelationTypeIdentifierFood":
|
|
153
153
|
self = .hkcorrelationtypeidentifierfood
|
|
154
|
-
case "HKQuantityTypeIdentifierBodyMassIndex":
|
|
155
|
-
self = .hkquantitytypeidentifierbodymassindex
|
|
156
|
-
case "HKQuantityTypeIdentifierBodyFatPercentage":
|
|
157
|
-
self = .hkquantitytypeidentifierbodyfatpercentage
|
|
158
|
-
case "HKQuantityTypeIdentifierHeight":
|
|
159
|
-
self = .hkquantitytypeidentifierheight
|
|
160
|
-
case "HKQuantityTypeIdentifierBodyMass":
|
|
161
|
-
self = .hkquantitytypeidentifierbodymass
|
|
162
|
-
case "HKQuantityTypeIdentifierLeanBodyMass":
|
|
163
|
-
self = .hkquantitytypeidentifierleanbodymass
|
|
164
|
-
case "HKQuantityTypeIdentifierWaistCircumference":
|
|
165
|
-
self = .hkquantitytypeidentifierwaistcircumference
|
|
166
|
-
case "HKQuantityTypeIdentifierStepCount":
|
|
167
|
-
self = .hkquantitytypeidentifierstepcount
|
|
168
|
-
case "HKQuantityTypeIdentifierDistanceWalkingRunning":
|
|
169
|
-
self = .hkquantitytypeidentifierdistancewalkingrunning
|
|
170
|
-
case "HKQuantityTypeIdentifierDistanceCycling":
|
|
171
|
-
self = .hkquantitytypeidentifierdistancecycling
|
|
172
|
-
case "HKQuantityTypeIdentifierDistanceWheelchair":
|
|
173
|
-
self = .hkquantitytypeidentifierdistancewheelchair
|
|
174
|
-
case "HKQuantityTypeIdentifierBasalEnergyBurned":
|
|
175
|
-
self = .hkquantitytypeidentifierbasalenergyburned
|
|
176
154
|
case "HKQuantityTypeIdentifierActiveEnergyBurned":
|
|
177
155
|
self = .hkquantitytypeidentifieractiveenergyburned
|
|
178
|
-
case "
|
|
179
|
-
self = .
|
|
180
|
-
case "
|
|
181
|
-
self = .
|
|
182
|
-
case "
|
|
183
|
-
self = .
|
|
184
|
-
case "HKQuantityTypeIdentifierDistanceSwimming":
|
|
185
|
-
self = .hkquantitytypeidentifierdistanceswimming
|
|
186
|
-
case "HKQuantityTypeIdentifierSwimmingStrokeCount":
|
|
187
|
-
self = .hkquantitytypeidentifierswimmingstrokecount
|
|
188
|
-
case "HKQuantityTypeIdentifierVO2Max":
|
|
189
|
-
self = .hkquantitytypeidentifiervo2max
|
|
190
|
-
case "HKQuantityTypeIdentifierDistanceDownhillSnowSports":
|
|
191
|
-
self = .hkquantitytypeidentifierdistancedownhillsnowsports
|
|
192
|
-
case "HKQuantityTypeIdentifierHeartRate":
|
|
193
|
-
self = .hkquantitytypeidentifierheartrate
|
|
194
|
-
case "HKQuantityTypeIdentifierBodyTemperature":
|
|
195
|
-
self = .hkquantitytypeidentifierbodytemperature
|
|
156
|
+
case "HKQuantityTypeIdentifierAppleMoveTime":
|
|
157
|
+
self = .hkquantitytypeidentifierapplemovetime
|
|
158
|
+
case "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances":
|
|
159
|
+
self = .hkquantitytypeidentifierapplesleepingbreathingdisturbances
|
|
160
|
+
case "HKQuantityTypeIdentifierAppleSleepingWristTemperature":
|
|
161
|
+
self = .hkquantitytypeidentifierapplesleepingwristtemperature
|
|
196
162
|
case "HKQuantityTypeIdentifierBasalBodyTemperature":
|
|
197
163
|
self = .hkquantitytypeidentifierbasalbodytemperature
|
|
198
|
-
case "
|
|
199
|
-
self = .
|
|
200
|
-
case "HKQuantityTypeIdentifierBloodPressureDiastolic":
|
|
201
|
-
self = .hkquantitytypeidentifierbloodpressurediastolic
|
|
202
|
-
case "HKQuantityTypeIdentifierRespiratoryRate":
|
|
203
|
-
self = .hkquantitytypeidentifierrespiratoryrate
|
|
204
|
-
case "HKQuantityTypeIdentifierRestingHeartRate":
|
|
205
|
-
self = .hkquantitytypeidentifierrestingheartrate
|
|
206
|
-
case "HKQuantityTypeIdentifierHeartRateVariabilitySDNN":
|
|
207
|
-
self = .hkquantitytypeidentifierheartratevariabilitysdnn
|
|
208
|
-
case "HKQuantityTypeIdentifierOxygenSaturation":
|
|
209
|
-
self = .hkquantitytypeidentifieroxygensaturation
|
|
210
|
-
case "HKQuantityTypeIdentifierPeripheralPerfusionIndex":
|
|
211
|
-
self = .hkquantitytypeidentifierperipheralperfusionindex
|
|
212
|
-
case "HKQuantityTypeIdentifierBloodGlucose":
|
|
213
|
-
self = .hkquantitytypeidentifierbloodglucose
|
|
214
|
-
case "HKQuantityTypeIdentifierBloodKetones":
|
|
215
|
-
self = .hkquantitytypeidentifierbloodketones
|
|
216
|
-
case "HKQuantityTypeIdentifierNumberOfTimesFallen":
|
|
217
|
-
self = .hkquantitytypeidentifiernumberoftimesfallen
|
|
218
|
-
case "HKQuantityTypeIdentifierElectrodermalActivity":
|
|
219
|
-
self = .hkquantitytypeidentifierelectrodermalactivity
|
|
220
|
-
case "HKQuantityTypeIdentifierInhalerUsage":
|
|
221
|
-
self = .hkquantitytypeidentifierinhalerusage
|
|
222
|
-
case "HKQuantityTypeIdentifierInsulinDelivery":
|
|
223
|
-
self = .hkquantitytypeidentifierinsulindelivery
|
|
164
|
+
case "HKQuantityTypeIdentifierBasalEnergyBurned":
|
|
165
|
+
self = .hkquantitytypeidentifierbasalenergyburned
|
|
224
166
|
case "HKQuantityTypeIdentifierBloodAlcoholContent":
|
|
225
167
|
self = .hkquantitytypeidentifierbloodalcoholcontent
|
|
226
|
-
case "
|
|
227
|
-
self = .
|
|
228
|
-
case "
|
|
229
|
-
self = .
|
|
230
|
-
case "
|
|
231
|
-
self = .
|
|
232
|
-
case "
|
|
233
|
-
self = .
|
|
234
|
-
case "
|
|
235
|
-
self = .
|
|
236
|
-
case "
|
|
237
|
-
self = .
|
|
238
|
-
case "
|
|
239
|
-
self = .
|
|
168
|
+
case "HKQuantityTypeIdentifierBloodGlucose":
|
|
169
|
+
self = .hkquantitytypeidentifierbloodglucose
|
|
170
|
+
case "HKQuantityTypeIdentifierBloodPressureDiastolic":
|
|
171
|
+
self = .hkquantitytypeidentifierbloodpressurediastolic
|
|
172
|
+
case "HKQuantityTypeIdentifierBloodPressureSystolic":
|
|
173
|
+
self = .hkquantitytypeidentifierbloodpressuresystolic
|
|
174
|
+
case "HKQuantityTypeIdentifierBodyFatPercentage":
|
|
175
|
+
self = .hkquantitytypeidentifierbodyfatpercentage
|
|
176
|
+
case "HKQuantityTypeIdentifierBodyMass":
|
|
177
|
+
self = .hkquantitytypeidentifierbodymass
|
|
178
|
+
case "HKQuantityTypeIdentifierBodyMassIndex":
|
|
179
|
+
self = .hkquantitytypeidentifierbodymassindex
|
|
180
|
+
case "HKQuantityTypeIdentifierBodyTemperature":
|
|
181
|
+
self = .hkquantitytypeidentifierbodytemperature
|
|
182
|
+
case "HKQuantityTypeIdentifierCrossCountrySkiingSpeed":
|
|
183
|
+
self = .hkquantitytypeidentifiercrosscountryskiingspeed
|
|
184
|
+
case "HKQuantityTypeIdentifierCyclingCadence":
|
|
185
|
+
self = .hkquantitytypeidentifiercyclingcadence
|
|
186
|
+
case "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower":
|
|
187
|
+
self = .hkquantitytypeidentifiercyclingfunctionalthresholdpower
|
|
188
|
+
case "HKQuantityTypeIdentifierCyclingPower":
|
|
189
|
+
self = .hkquantitytypeidentifiercyclingpower
|
|
190
|
+
case "HKQuantityTypeIdentifierCyclingSpeed":
|
|
191
|
+
self = .hkquantitytypeidentifiercyclingspeed
|
|
192
|
+
case "HKQuantityTypeIdentifierDietaryBiotin":
|
|
193
|
+
self = .hkquantitytypeidentifierdietarybiotin
|
|
194
|
+
case "HKQuantityTypeIdentifierDietaryCaffeine":
|
|
195
|
+
self = .hkquantitytypeidentifierdietarycaffeine
|
|
196
|
+
case "HKQuantityTypeIdentifierDietaryCalcium":
|
|
197
|
+
self = .hkquantitytypeidentifierdietarycalcium
|
|
198
|
+
case "HKQuantityTypeIdentifierDietaryCarbohydrates":
|
|
199
|
+
self = .hkquantitytypeidentifierdietarycarbohydrates
|
|
200
|
+
case "HKQuantityTypeIdentifierDietaryChloride":
|
|
201
|
+
self = .hkquantitytypeidentifierdietarychloride
|
|
202
|
+
case "HKQuantityTypeIdentifierDietaryCholesterol":
|
|
203
|
+
self = .hkquantitytypeidentifierdietarycholesterol
|
|
204
|
+
case "HKQuantityTypeIdentifierDietaryChromium":
|
|
205
|
+
self = .hkquantitytypeidentifierdietarychromium
|
|
206
|
+
case "HKQuantityTypeIdentifierDietaryCopper":
|
|
207
|
+
self = .hkquantitytypeidentifierdietarycopper
|
|
208
|
+
case "HKQuantityTypeIdentifierDietaryEnergyConsumed":
|
|
209
|
+
self = .hkquantitytypeidentifierdietaryenergyconsumed
|
|
240
210
|
case "HKQuantityTypeIdentifierDietaryFatMonounsaturated":
|
|
241
211
|
self = .hkquantitytypeidentifierdietaryfatmonounsaturated
|
|
212
|
+
case "HKQuantityTypeIdentifierDietaryFatPolyunsaturated":
|
|
213
|
+
self = .hkquantitytypeidentifierdietaryfatpolyunsaturated
|
|
242
214
|
case "HKQuantityTypeIdentifierDietaryFatSaturated":
|
|
243
215
|
self = .hkquantitytypeidentifierdietaryfatsaturated
|
|
244
|
-
case "
|
|
245
|
-
self = .
|
|
246
|
-
case "HKQuantityTypeIdentifierDietarySodium":
|
|
247
|
-
self = .hkquantitytypeidentifierdietarysodium
|
|
248
|
-
case "HKQuantityTypeIdentifierDietaryCarbohydrates":
|
|
249
|
-
self = .hkquantitytypeidentifierdietarycarbohydrates
|
|
216
|
+
case "HKQuantityTypeIdentifierDietaryFatTotal":
|
|
217
|
+
self = .hkquantitytypeidentifierdietaryfattotal
|
|
250
218
|
case "HKQuantityTypeIdentifierDietaryFiber":
|
|
251
219
|
self = .hkquantitytypeidentifierdietaryfiber
|
|
252
|
-
case "HKQuantityTypeIdentifierDietarySugar":
|
|
253
|
-
self = .hkquantitytypeidentifierdietarysugar
|
|
254
|
-
case "HKQuantityTypeIdentifierDietaryEnergyConsumed":
|
|
255
|
-
self = .hkquantitytypeidentifierdietaryenergyconsumed
|
|
256
|
-
case "HKQuantityTypeIdentifierDietaryProtein":
|
|
257
|
-
self = .hkquantitytypeidentifierdietaryprotein
|
|
258
|
-
case "HKQuantityTypeIdentifierDietaryVitaminA":
|
|
259
|
-
self = .hkquantitytypeidentifierdietaryvitamina
|
|
260
|
-
case "HKQuantityTypeIdentifierDietaryVitaminB6":
|
|
261
|
-
self = .hkquantitytypeidentifierdietaryvitaminb6
|
|
262
|
-
case "HKQuantityTypeIdentifierDietaryVitaminB12":
|
|
263
|
-
self = .hkquantitytypeidentifierdietaryvitaminb12
|
|
264
|
-
case "HKQuantityTypeIdentifierDietaryVitaminC":
|
|
265
|
-
self = .hkquantitytypeidentifierdietaryvitaminc
|
|
266
|
-
case "HKQuantityTypeIdentifierDietaryVitaminD":
|
|
267
|
-
self = .hkquantitytypeidentifierdietaryvitamind
|
|
268
|
-
case "HKQuantityTypeIdentifierDietaryVitaminE":
|
|
269
|
-
self = .hkquantitytypeidentifierdietaryvitamine
|
|
270
|
-
case "HKQuantityTypeIdentifierDietaryVitaminK":
|
|
271
|
-
self = .hkquantitytypeidentifierdietaryvitamink
|
|
272
|
-
case "HKQuantityTypeIdentifierDietaryCalcium":
|
|
273
|
-
self = .hkquantitytypeidentifierdietarycalcium
|
|
274
|
-
case "HKQuantityTypeIdentifierDietaryIron":
|
|
275
|
-
self = .hkquantitytypeidentifierdietaryiron
|
|
276
|
-
case "HKQuantityTypeIdentifierDietaryThiamin":
|
|
277
|
-
self = .hkquantitytypeidentifierdietarythiamin
|
|
278
|
-
case "HKQuantityTypeIdentifierDietaryRiboflavin":
|
|
279
|
-
self = .hkquantitytypeidentifierdietaryriboflavin
|
|
280
|
-
case "HKQuantityTypeIdentifierDietaryNiacin":
|
|
281
|
-
self = .hkquantitytypeidentifierdietaryniacin
|
|
282
220
|
case "HKQuantityTypeIdentifierDietaryFolate":
|
|
283
221
|
self = .hkquantitytypeidentifierdietaryfolate
|
|
284
|
-
case "HKQuantityTypeIdentifierDietaryBiotin":
|
|
285
|
-
self = .hkquantitytypeidentifierdietarybiotin
|
|
286
|
-
case "HKQuantityTypeIdentifierDietaryPantothenicAcid":
|
|
287
|
-
self = .hkquantitytypeidentifierdietarypantothenicacid
|
|
288
|
-
case "HKQuantityTypeIdentifierDietaryPhosphorus":
|
|
289
|
-
self = .hkquantitytypeidentifierdietaryphosphorus
|
|
290
222
|
case "HKQuantityTypeIdentifierDietaryIodine":
|
|
291
223
|
self = .hkquantitytypeidentifierdietaryiodine
|
|
224
|
+
case "HKQuantityTypeIdentifierDietaryIron":
|
|
225
|
+
self = .hkquantitytypeidentifierdietaryiron
|
|
292
226
|
case "HKQuantityTypeIdentifierDietaryMagnesium":
|
|
293
227
|
self = .hkquantitytypeidentifierdietarymagnesium
|
|
294
|
-
case "HKQuantityTypeIdentifierDietaryZinc":
|
|
295
|
-
self = .hkquantitytypeidentifierdietaryzinc
|
|
296
|
-
case "HKQuantityTypeIdentifierDietarySelenium":
|
|
297
|
-
self = .hkquantitytypeidentifierdietaryselenium
|
|
298
|
-
case "HKQuantityTypeIdentifierDietaryCopper":
|
|
299
|
-
self = .hkquantitytypeidentifierdietarycopper
|
|
300
228
|
case "HKQuantityTypeIdentifierDietaryManganese":
|
|
301
229
|
self = .hkquantitytypeidentifierdietarymanganese
|
|
302
|
-
case "HKQuantityTypeIdentifierDietaryChromium":
|
|
303
|
-
self = .hkquantitytypeidentifierdietarychromium
|
|
304
230
|
case "HKQuantityTypeIdentifierDietaryMolybdenum":
|
|
305
231
|
self = .hkquantitytypeidentifierdietarymolybdenum
|
|
306
|
-
case "
|
|
307
|
-
self = .
|
|
232
|
+
case "HKQuantityTypeIdentifierDietaryNiacin":
|
|
233
|
+
self = .hkquantitytypeidentifierdietaryniacin
|
|
234
|
+
case "HKQuantityTypeIdentifierDietaryPantothenicAcid":
|
|
235
|
+
self = .hkquantitytypeidentifierdietarypantothenicacid
|
|
236
|
+
case "HKQuantityTypeIdentifierDietaryPhosphorus":
|
|
237
|
+
self = .hkquantitytypeidentifierdietaryphosphorus
|
|
308
238
|
case "HKQuantityTypeIdentifierDietaryPotassium":
|
|
309
239
|
self = .hkquantitytypeidentifierdietarypotassium
|
|
310
|
-
case "
|
|
311
|
-
self = .
|
|
240
|
+
case "HKQuantityTypeIdentifierDietaryProtein":
|
|
241
|
+
self = .hkquantitytypeidentifierdietaryprotein
|
|
242
|
+
case "HKQuantityTypeIdentifierDietaryRiboflavin":
|
|
243
|
+
self = .hkquantitytypeidentifierdietaryriboflavin
|
|
244
|
+
case "HKQuantityTypeIdentifierDietarySelenium":
|
|
245
|
+
self = .hkquantitytypeidentifierdietaryselenium
|
|
246
|
+
case "HKQuantityTypeIdentifierDietarySodium":
|
|
247
|
+
self = .hkquantitytypeidentifierdietarysodium
|
|
248
|
+
case "HKQuantityTypeIdentifierDietarySugar":
|
|
249
|
+
self = .hkquantitytypeidentifierdietarysugar
|
|
250
|
+
case "HKQuantityTypeIdentifierDietaryThiamin":
|
|
251
|
+
self = .hkquantitytypeidentifierdietarythiamin
|
|
252
|
+
case "HKQuantityTypeIdentifierDietaryVitaminA":
|
|
253
|
+
self = .hkquantitytypeidentifierdietaryvitamina
|
|
254
|
+
case "HKQuantityTypeIdentifierDietaryVitaminB12":
|
|
255
|
+
self = .hkquantitytypeidentifierdietaryvitaminb12
|
|
256
|
+
case "HKQuantityTypeIdentifierDietaryVitaminB6":
|
|
257
|
+
self = .hkquantitytypeidentifierdietaryvitaminb6
|
|
258
|
+
case "HKQuantityTypeIdentifierDietaryVitaminC":
|
|
259
|
+
self = .hkquantitytypeidentifierdietaryvitaminc
|
|
260
|
+
case "HKQuantityTypeIdentifierDietaryVitaminD":
|
|
261
|
+
self = .hkquantitytypeidentifierdietaryvitamind
|
|
262
|
+
case "HKQuantityTypeIdentifierDietaryVitaminE":
|
|
263
|
+
self = .hkquantitytypeidentifierdietaryvitamine
|
|
264
|
+
case "HKQuantityTypeIdentifierDietaryVitaminK":
|
|
265
|
+
self = .hkquantitytypeidentifierdietaryvitamink
|
|
312
266
|
case "HKQuantityTypeIdentifierDietaryWater":
|
|
313
267
|
self = .hkquantitytypeidentifierdietarywater
|
|
314
|
-
case "
|
|
315
|
-
self = .
|
|
316
|
-
case "HKQuantityTypeIdentifierWalkingSpeed":
|
|
317
|
-
self = .hkquantitytypeidentifierwalkingspeed
|
|
318
|
-
case "HKQuantityTypeIdentifierWalkingStepLength":
|
|
319
|
-
self = .hkquantitytypeidentifierwalkingsteplength
|
|
320
|
-
case "HKQuantityTypeIdentifierWalkingAsymmetryPercentage":
|
|
321
|
-
self = .hkquantitytypeidentifierwalkingasymmetrypercentage
|
|
322
|
-
case "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage":
|
|
323
|
-
self = .hkquantitytypeidentifierwalkingdoublesupportpercentage
|
|
324
|
-
case "HKQuantityTypeIdentifierStairAscentSpeed":
|
|
325
|
-
self = .hkquantitytypeidentifierstairascentspeed
|
|
326
|
-
case "HKQuantityTypeIdentifierStairDescentSpeed":
|
|
327
|
-
self = .hkquantitytypeidentifierstairdescentspeed
|
|
328
|
-
case "HKQuantityTypeIdentifierUVExposure":
|
|
329
|
-
self = .hkquantitytypeidentifieruvexposure
|
|
330
|
-
case "HKQuantityTypeIdentifierAppleMoveTime":
|
|
331
|
-
self = .hkquantitytypeidentifierapplemovetime
|
|
332
|
-
case "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages":
|
|
333
|
-
self = .hkquantitytypeidentifiernumberofalcoholicbeverages
|
|
334
|
-
case "HKQuantityTypeIdentifierUnderwaterDepth":
|
|
335
|
-
self = .hkquantitytypeidentifierunderwaterdepth
|
|
336
|
-
case "HKQuantityTypeIdentifierWaterTemperature":
|
|
337
|
-
self = .hkquantitytypeidentifierwatertemperature
|
|
338
|
-
case "HKQuantityTypeIdentifierAppleSleepingWristTemperature":
|
|
339
|
-
self = .hkquantitytypeidentifierapplesleepingwristtemperature
|
|
340
|
-
case "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances":
|
|
341
|
-
self = .hkquantitytypeidentifierapplesleepingbreathingdisturbances
|
|
342
|
-
case "HKQuantityTypeIdentifierTimeInDaylight":
|
|
343
|
-
self = .hkquantitytypeidentifiertimeindaylight
|
|
344
|
-
case "HKQuantityTypeIdentifierPhysicalEffort":
|
|
345
|
-
self = .hkquantitytypeidentifierphysicaleffort
|
|
346
|
-
case "HKQuantityTypeIdentifierCyclingSpeed":
|
|
347
|
-
self = .hkquantitytypeidentifiercyclingspeed
|
|
348
|
-
case "HKQuantityTypeIdentifierCyclingPower":
|
|
349
|
-
self = .hkquantitytypeidentifiercyclingpower
|
|
350
|
-
case "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower":
|
|
351
|
-
self = .hkquantitytypeidentifiercyclingfunctionalthresholdpower
|
|
352
|
-
case "HKQuantityTypeIdentifierCyclingCadence":
|
|
353
|
-
self = .hkquantitytypeidentifiercyclingcadence
|
|
354
|
-
case "HKQuantityTypeIdentifierEnvironmentalSoundReduction":
|
|
355
|
-
self = .hkquantitytypeidentifierenvironmentalsoundreduction
|
|
356
|
-
case "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute":
|
|
357
|
-
self = .hkquantitytypeidentifierheartraterecoveryoneminute
|
|
358
|
-
case "HKQuantityTypeIdentifierRunningGroundContactTime":
|
|
359
|
-
self = .hkquantitytypeidentifierrunninggroundcontacttime
|
|
360
|
-
case "HKQuantityTypeIdentifierRunningStrideLength":
|
|
361
|
-
self = .hkquantitytypeidentifierrunningstridelength
|
|
362
|
-
case "HKQuantityTypeIdentifierRunningPower":
|
|
363
|
-
self = .hkquantitytypeidentifierrunningpower
|
|
364
|
-
case "HKQuantityTypeIdentifierRunningVerticalOscillation":
|
|
365
|
-
self = .hkquantitytypeidentifierrunningverticaloscillation
|
|
366
|
-
case "HKQuantityTypeIdentifierRunningSpeed":
|
|
367
|
-
self = .hkquantitytypeidentifierrunningspeed
|
|
368
|
-
case "HKQuantityTypeIdentifierCrossCountrySkiingSpeed":
|
|
369
|
-
self = .hkquantitytypeidentifiercrosscountryskiingspeed
|
|
268
|
+
case "HKQuantityTypeIdentifierDietaryZinc":
|
|
269
|
+
self = .hkquantitytypeidentifierdietaryzinc
|
|
370
270
|
case "HKQuantityTypeIdentifierDistanceCrossCountrySkiing":
|
|
371
271
|
self = .hkquantitytypeidentifierdistancecrosscountryskiing
|
|
272
|
+
case "HKQuantityTypeIdentifierDistanceCycling":
|
|
273
|
+
self = .hkquantitytypeidentifierdistancecycling
|
|
274
|
+
case "HKQuantityTypeIdentifierDistanceDownhillSnowSports":
|
|
275
|
+
self = .hkquantitytypeidentifierdistancedownhillsnowsports
|
|
372
276
|
case "HKQuantityTypeIdentifierDistancePaddleSports":
|
|
373
277
|
self = .hkquantitytypeidentifierdistancepaddlesports
|
|
374
278
|
case "HKQuantityTypeIdentifierDistanceRowing":
|
|
375
279
|
self = .hkquantitytypeidentifierdistancerowing
|
|
376
280
|
case "HKQuantityTypeIdentifierDistanceSkatingSports":
|
|
377
281
|
self = .hkquantitytypeidentifierdistanceskatingsports
|
|
282
|
+
case "HKQuantityTypeIdentifierDistanceSwimming":
|
|
283
|
+
self = .hkquantitytypeidentifierdistanceswimming
|
|
284
|
+
case "HKQuantityTypeIdentifierDistanceWalkingRunning":
|
|
285
|
+
self = .hkquantitytypeidentifierdistancewalkingrunning
|
|
286
|
+
case "HKQuantityTypeIdentifierDistanceWheelchair":
|
|
287
|
+
self = .hkquantitytypeidentifierdistancewheelchair
|
|
288
|
+
case "HKQuantityTypeIdentifierElectrodermalActivity":
|
|
289
|
+
self = .hkquantitytypeidentifierelectrodermalactivity
|
|
290
|
+
case "HKQuantityTypeIdentifierEnvironmentalAudioExposure":
|
|
291
|
+
self = .hkquantitytypeidentifierenvironmentalaudioexposure
|
|
292
|
+
case "HKQuantityTypeIdentifierEnvironmentalSoundReduction":
|
|
293
|
+
self = .hkquantitytypeidentifierenvironmentalsoundreduction
|
|
378
294
|
case "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore":
|
|
379
295
|
self = .hkquantitytypeidentifierestimatedworkouteffortscore
|
|
296
|
+
case "HKQuantityTypeIdentifierFlightsClimbed":
|
|
297
|
+
self = .hkquantitytypeidentifierflightsclimbed
|
|
298
|
+
case "HKQuantityTypeIdentifierForcedExpiratoryVolume1":
|
|
299
|
+
self = .hkquantitytypeidentifierforcedexpiratoryvolume1
|
|
300
|
+
case "HKQuantityTypeIdentifierForcedVitalCapacity":
|
|
301
|
+
self = .hkquantitytypeidentifierforcedvitalcapacity
|
|
302
|
+
case "HKQuantityTypeIdentifierHeadphoneAudioExposure":
|
|
303
|
+
self = .hkquantitytypeidentifierheadphoneaudioexposure
|
|
304
|
+
case "HKQuantityTypeIdentifierHeartRate":
|
|
305
|
+
self = .hkquantitytypeidentifierheartrate
|
|
306
|
+
case "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute":
|
|
307
|
+
self = .hkquantitytypeidentifierheartraterecoveryoneminute
|
|
308
|
+
case "HKQuantityTypeIdentifierHeartRateVariabilitySDNN":
|
|
309
|
+
self = .hkquantitytypeidentifierheartratevariabilitysdnn
|
|
310
|
+
case "HKQuantityTypeIdentifierHeight":
|
|
311
|
+
self = .hkquantitytypeidentifierheight
|
|
312
|
+
case "HKQuantityTypeIdentifierInhalerUsage":
|
|
313
|
+
self = .hkquantitytypeidentifierinhalerusage
|
|
314
|
+
case "HKQuantityTypeIdentifierInsulinDelivery":
|
|
315
|
+
self = .hkquantitytypeidentifierinsulindelivery
|
|
316
|
+
case "HKQuantityTypeIdentifierLeanBodyMass":
|
|
317
|
+
self = .hkquantitytypeidentifierleanbodymass
|
|
318
|
+
case "HKQuantityTypeIdentifierNikeFuel":
|
|
319
|
+
self = .hkquantitytypeidentifiernikefuel
|
|
320
|
+
case "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages":
|
|
321
|
+
self = .hkquantitytypeidentifiernumberofalcoholicbeverages
|
|
322
|
+
case "HKQuantityTypeIdentifierNumberOfTimesFallen":
|
|
323
|
+
self = .hkquantitytypeidentifiernumberoftimesfallen
|
|
324
|
+
case "HKQuantityTypeIdentifierOxygenSaturation":
|
|
325
|
+
self = .hkquantitytypeidentifieroxygensaturation
|
|
380
326
|
case "HKQuantityTypeIdentifierPaddleSportsSpeed":
|
|
381
327
|
self = .hkquantitytypeidentifierpaddlesportsspeed
|
|
328
|
+
case "HKQuantityTypeIdentifierPeakExpiratoryFlowRate":
|
|
329
|
+
self = .hkquantitytypeidentifierpeakexpiratoryflowrate
|
|
330
|
+
case "HKQuantityTypeIdentifierPeripheralPerfusionIndex":
|
|
331
|
+
self = .hkquantitytypeidentifierperipheralperfusionindex
|
|
332
|
+
case "HKQuantityTypeIdentifierPhysicalEffort":
|
|
333
|
+
self = .hkquantitytypeidentifierphysicaleffort
|
|
334
|
+
case "HKQuantityTypeIdentifierPushCount":
|
|
335
|
+
self = .hkquantitytypeidentifierpushcount
|
|
336
|
+
case "HKQuantityTypeIdentifierRespiratoryRate":
|
|
337
|
+
self = .hkquantitytypeidentifierrespiratoryrate
|
|
338
|
+
case "HKQuantityTypeIdentifierRestingHeartRate":
|
|
339
|
+
self = .hkquantitytypeidentifierrestingheartrate
|
|
382
340
|
case "HKQuantityTypeIdentifierRowingSpeed":
|
|
383
341
|
self = .hkquantitytypeidentifierrowingspeed
|
|
342
|
+
case "HKQuantityTypeIdentifierRunningGroundContactTime":
|
|
343
|
+
self = .hkquantitytypeidentifierrunninggroundcontacttime
|
|
344
|
+
case "HKQuantityTypeIdentifierRunningPower":
|
|
345
|
+
self = .hkquantitytypeidentifierrunningpower
|
|
346
|
+
case "HKQuantityTypeIdentifierRunningSpeed":
|
|
347
|
+
self = .hkquantitytypeidentifierrunningspeed
|
|
348
|
+
case "HKQuantityTypeIdentifierRunningStrideLength":
|
|
349
|
+
self = .hkquantitytypeidentifierrunningstridelength
|
|
350
|
+
case "HKQuantityTypeIdentifierRunningVerticalOscillation":
|
|
351
|
+
self = .hkquantitytypeidentifierrunningverticaloscillation
|
|
352
|
+
case "HKQuantityTypeIdentifierSixMinuteWalkTestDistance":
|
|
353
|
+
self = .hkquantitytypeidentifiersixminutewalktestdistance
|
|
354
|
+
case "HKQuantityTypeIdentifierStairAscentSpeed":
|
|
355
|
+
self = .hkquantitytypeidentifierstairascentspeed
|
|
356
|
+
case "HKQuantityTypeIdentifierStairDescentSpeed":
|
|
357
|
+
self = .hkquantitytypeidentifierstairdescentspeed
|
|
358
|
+
case "HKQuantityTypeIdentifierStepCount":
|
|
359
|
+
self = .hkquantitytypeidentifierstepcount
|
|
360
|
+
case "HKQuantityTypeIdentifierSwimmingStrokeCount":
|
|
361
|
+
self = .hkquantitytypeidentifierswimmingstrokecount
|
|
362
|
+
case "HKQuantityTypeIdentifierTimeInDaylight":
|
|
363
|
+
self = .hkquantitytypeidentifiertimeindaylight
|
|
364
|
+
case "HKQuantityTypeIdentifierUnderwaterDepth":
|
|
365
|
+
self = .hkquantitytypeidentifierunderwaterdepth
|
|
366
|
+
case "HKQuantityTypeIdentifierUVExposure":
|
|
367
|
+
self = .hkquantitytypeidentifieruvexposure
|
|
368
|
+
case "HKQuantityTypeIdentifierVO2Max":
|
|
369
|
+
self = .hkquantitytypeidentifiervo2max
|
|
370
|
+
case "HKQuantityTypeIdentifierWaistCircumference":
|
|
371
|
+
self = .hkquantitytypeidentifierwaistcircumference
|
|
372
|
+
case "HKQuantityTypeIdentifierWalkingAsymmetryPercentage":
|
|
373
|
+
self = .hkquantitytypeidentifierwalkingasymmetrypercentage
|
|
374
|
+
case "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage":
|
|
375
|
+
self = .hkquantitytypeidentifierwalkingdoublesupportpercentage
|
|
376
|
+
case "HKQuantityTypeIdentifierWalkingSpeed":
|
|
377
|
+
self = .hkquantitytypeidentifierwalkingspeed
|
|
378
|
+
case "HKQuantityTypeIdentifierWalkingStepLength":
|
|
379
|
+
self = .hkquantitytypeidentifierwalkingsteplength
|
|
380
|
+
case "HKQuantityTypeIdentifierWaterTemperature":
|
|
381
|
+
self = .hkquantitytypeidentifierwatertemperature
|
|
384
382
|
case "HKQuantityTypeIdentifierWorkoutEffortScore":
|
|
385
383
|
self = .hkquantitytypeidentifierworkouteffortscore
|
|
386
384
|
case "HKStateOfMindTypeIdentifier":
|
|
@@ -403,62 +401,36 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
403
401
|
*/
|
|
404
402
|
var stringValue: String {
|
|
405
403
|
switch self {
|
|
406
|
-
case .
|
|
407
|
-
return "
|
|
408
|
-
case .
|
|
409
|
-
return "
|
|
410
|
-
case .
|
|
411
|
-
return "
|
|
412
|
-
case .
|
|
413
|
-
return "
|
|
414
|
-
case .hkcategorytypeidentifierintermenstrualbleeding:
|
|
415
|
-
return "HKCategoryTypeIdentifierIntermenstrualBleeding"
|
|
416
|
-
case .hkcategorytypeidentifiersexualactivity:
|
|
417
|
-
return "HKCategoryTypeIdentifierSexualActivity"
|
|
418
|
-
case .hkcategorytypeidentifiermindfulsession:
|
|
419
|
-
return "HKCategoryTypeIdentifierMindfulSession"
|
|
420
|
-
case .hkcategorytypeidentifierirregularheartrhythmevent:
|
|
421
|
-
return "HKCategoryTypeIdentifierIrregularHeartRhythmEvent"
|
|
404
|
+
case .hkcategorytypeidentifierabdominalcramps:
|
|
405
|
+
return "HKCategoryTypeIdentifierAbdominalCramps"
|
|
406
|
+
case .hkcategorytypeidentifieracne:
|
|
407
|
+
return "HKCategoryTypeIdentifierAcne"
|
|
408
|
+
case .hkcategorytypeidentifierappetitechanges:
|
|
409
|
+
return "HKCategoryTypeIdentifierAppetiteChanges"
|
|
410
|
+
case .hkcategorytypeidentifierapplewalkingsteadinessevent:
|
|
411
|
+
return "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent"
|
|
422
412
|
case .hkcategorytypeidentifieraudioexposureevent:
|
|
423
413
|
return "HKCategoryTypeIdentifierAudioExposureEvent"
|
|
424
|
-
case .hkcategorytypeidentifiertoothbrushingevent:
|
|
425
|
-
return "HKCategoryTypeIdentifierToothbrushingEvent"
|
|
426
|
-
case .hkcategorytypeidentifierlowcardiofitnessevent:
|
|
427
|
-
return "HKCategoryTypeIdentifierLowCardioFitnessEvent"
|
|
428
|
-
case .hkcategorytypeidentifiercontraceptive:
|
|
429
|
-
return "HKCategoryTypeIdentifierContraceptive"
|
|
430
|
-
case .hkcategorytypeidentifierlactation:
|
|
431
|
-
return "HKCategoryTypeIdentifierLactation"
|
|
432
|
-
case .hkcategorytypeidentifierpregnancy:
|
|
433
|
-
return "HKCategoryTypeIdentifierPregnancy"
|
|
434
|
-
case .hkcategorytypeidentifierpregnancytestresult:
|
|
435
|
-
return "HKCategoryTypeIdentifierPregnancyTestResult"
|
|
436
|
-
case .hkcategorytypeidentifierprogesteronetestresult:
|
|
437
|
-
return "HKCategoryTypeIdentifierProgesteroneTestResult"
|
|
438
|
-
case .hkcategorytypeidentifierenvironmentalaudioexposureevent:
|
|
439
|
-
return "HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent"
|
|
440
|
-
case .hkcategorytypeidentifierapplewalkingsteadinessevent:
|
|
441
|
-
return "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent"
|
|
442
|
-
case .hkcategorytypeidentifierhandwashingevent:
|
|
443
|
-
return "HKCategoryTypeIdentifierHandwashingEvent"
|
|
444
|
-
case .hkcategorytypeidentifierabdominalcramps:
|
|
445
|
-
return "HKCategoryTypeIdentifierAbdominalCramps"
|
|
446
|
-
case .hkcategorytypeidentifieracne:
|
|
447
|
-
return "HKCategoryTypeIdentifierAcne"
|
|
448
|
-
case .hkcategorytypeidentifierappetitechanges:
|
|
449
|
-
return "HKCategoryTypeIdentifierAppetiteChanges"
|
|
450
414
|
case .hkcategorytypeidentifierbladderincontinence:
|
|
451
415
|
return "HKCategoryTypeIdentifierBladderIncontinence"
|
|
416
|
+
case .hkcategorytypeidentifierbleedingafterpregnancy:
|
|
417
|
+
return "HKCategoryTypeIdentifierBleedingAfterPregnancy"
|
|
418
|
+
case .hkcategorytypeidentifierbleedingduringpregnancy:
|
|
419
|
+
return "HKCategoryTypeIdentifierBleedingDuringPregnancy"
|
|
452
420
|
case .hkcategorytypeidentifierbloating:
|
|
453
421
|
return "HKCategoryTypeIdentifierBloating"
|
|
454
422
|
case .hkcategorytypeidentifierbreastpain:
|
|
455
423
|
return "HKCategoryTypeIdentifierBreastPain"
|
|
424
|
+
case .hkcategorytypeidentifiercervicalmucusquality:
|
|
425
|
+
return "HKCategoryTypeIdentifierCervicalMucusQuality"
|
|
456
426
|
case .hkcategorytypeidentifierchesttightnessorpain:
|
|
457
427
|
return "HKCategoryTypeIdentifierChestTightnessOrPain"
|
|
458
428
|
case .hkcategorytypeidentifierchills:
|
|
459
429
|
return "HKCategoryTypeIdentifierChills"
|
|
460
430
|
case .hkcategorytypeidentifierconstipation:
|
|
461
431
|
return "HKCategoryTypeIdentifierConstipation"
|
|
432
|
+
case .hkcategorytypeidentifiercontraceptive:
|
|
433
|
+
return "HKCategoryTypeIdentifierContraceptive"
|
|
462
434
|
case .hkcategorytypeidentifiercoughing:
|
|
463
435
|
return "HKCategoryTypeIdentifierCoughing"
|
|
464
436
|
case .hkcategorytypeidentifierdiarrhea:
|
|
@@ -467,6 +439,8 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
467
439
|
return "HKCategoryTypeIdentifierDizziness"
|
|
468
440
|
case .hkcategorytypeidentifierdryskin:
|
|
469
441
|
return "HKCategoryTypeIdentifierDrySkin"
|
|
442
|
+
case .hkcategorytypeidentifierenvironmentalaudioexposureevent:
|
|
443
|
+
return "HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent"
|
|
470
444
|
case .hkcategorytypeidentifierfainting:
|
|
471
445
|
return "HKCategoryTypeIdentifierFainting"
|
|
472
446
|
case .hkcategorytypeidentifierfatigue:
|
|
@@ -477,176 +451,194 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
477
451
|
return "HKCategoryTypeIdentifierGeneralizedBodyAche"
|
|
478
452
|
case .hkcategorytypeidentifierhairloss:
|
|
479
453
|
return "HKCategoryTypeIdentifierHairLoss"
|
|
454
|
+
case .hkcategorytypeidentifierhandwashingevent:
|
|
455
|
+
return "HKCategoryTypeIdentifierHandwashingEvent"
|
|
480
456
|
case .hkcategorytypeidentifierheadache:
|
|
481
457
|
return "HKCategoryTypeIdentifierHeadache"
|
|
482
458
|
case .hkcategorytypeidentifierheartburn:
|
|
483
459
|
return "HKCategoryTypeIdentifierHeartburn"
|
|
484
460
|
case .hkcategorytypeidentifierhotflashes:
|
|
485
461
|
return "HKCategoryTypeIdentifierHotFlashes"
|
|
462
|
+
case .hkcategorytypeidentifierinfrequentmenstrualcycles:
|
|
463
|
+
return "HKCategoryTypeIdentifierInfrequentMenstrualCycles"
|
|
464
|
+
case .hkcategorytypeidentifierintermenstrualbleeding:
|
|
465
|
+
return "HKCategoryTypeIdentifierIntermenstrualBleeding"
|
|
466
|
+
case .hkcategorytypeidentifierirregularheartrhythmevent:
|
|
467
|
+
return "HKCategoryTypeIdentifierIrregularHeartRhythmEvent"
|
|
468
|
+
case .hkcategorytypeidentifierirregularmenstrualcycles:
|
|
469
|
+
return "HKCategoryTypeIdentifierIrregularMenstrualCycles"
|
|
470
|
+
case .hkcategorytypeidentifierlactation:
|
|
471
|
+
return "HKCategoryTypeIdentifierLactation"
|
|
486
472
|
case .hkcategorytypeidentifierlossofsmell:
|
|
487
473
|
return "HKCategoryTypeIdentifierLossOfSmell"
|
|
488
474
|
case .hkcategorytypeidentifierlossoftaste:
|
|
489
475
|
return "HKCategoryTypeIdentifierLossOfTaste"
|
|
476
|
+
case .hkcategorytypeidentifierlowcardiofitnessevent:
|
|
477
|
+
return "HKCategoryTypeIdentifierLowCardioFitnessEvent"
|
|
490
478
|
case .hkcategorytypeidentifierlowerbackpain:
|
|
491
479
|
return "HKCategoryTypeIdentifierLowerBackPain"
|
|
492
480
|
case .hkcategorytypeidentifiermemorylapse:
|
|
493
481
|
return "HKCategoryTypeIdentifierMemoryLapse"
|
|
482
|
+
case .hkcategorytypeidentifiermenstrualflow:
|
|
483
|
+
return "HKCategoryTypeIdentifierMenstrualFlow"
|
|
484
|
+
case .hkcategorytypeidentifiermindfulsession:
|
|
485
|
+
return "HKCategoryTypeIdentifierMindfulSession"
|
|
494
486
|
case .hkcategorytypeidentifiermoodchanges:
|
|
495
487
|
return "HKCategoryTypeIdentifierMoodChanges"
|
|
496
488
|
case .hkcategorytypeidentifiernausea:
|
|
497
489
|
return "HKCategoryTypeIdentifierNausea"
|
|
498
490
|
case .hkcategorytypeidentifiernightsweats:
|
|
499
491
|
return "HKCategoryTypeIdentifierNightSweats"
|
|
492
|
+
case .hkcategorytypeidentifierovulationtestresult:
|
|
493
|
+
return "HKCategoryTypeIdentifierOvulationTestResult"
|
|
500
494
|
case .hkcategorytypeidentifierpelvicpain:
|
|
501
495
|
return "HKCategoryTypeIdentifierPelvicPain"
|
|
496
|
+
case .hkcategorytypeidentifierpersistentintermenstrualbleeding:
|
|
497
|
+
return "HKCategoryTypeIdentifierPersistentIntermenstrualBleeding"
|
|
498
|
+
case .hkcategorytypeidentifierpregnancy:
|
|
499
|
+
return "HKCategoryTypeIdentifierPregnancy"
|
|
500
|
+
case .hkcategorytypeidentifierpregnancytestresult:
|
|
501
|
+
return "HKCategoryTypeIdentifierPregnancyTestResult"
|
|
502
|
+
case .hkcategorytypeidentifierprogesteronetestresult:
|
|
503
|
+
return "HKCategoryTypeIdentifierProgesteroneTestResult"
|
|
504
|
+
case .hkcategorytypeidentifierprolongedmenstrualperiods:
|
|
505
|
+
return "HKCategoryTypeIdentifierProlongedMenstrualPeriods"
|
|
502
506
|
case .hkcategorytypeidentifierrapidpoundingorflutteringheartbeat:
|
|
503
507
|
return "HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat"
|
|
504
508
|
case .hkcategorytypeidentifierrunnynose:
|
|
505
509
|
return "HKCategoryTypeIdentifierRunnyNose"
|
|
510
|
+
case .hkcategorytypeidentifiersexualactivity:
|
|
511
|
+
return "HKCategoryTypeIdentifierSexualActivity"
|
|
506
512
|
case .hkcategorytypeidentifiershortnessofbreath:
|
|
507
513
|
return "HKCategoryTypeIdentifierShortnessOfBreath"
|
|
508
514
|
case .hkcategorytypeidentifiersinuscongestion:
|
|
509
515
|
return "HKCategoryTypeIdentifierSinusCongestion"
|
|
510
516
|
case .hkcategorytypeidentifierskippedheartbeat:
|
|
511
517
|
return "HKCategoryTypeIdentifierSkippedHeartbeat"
|
|
518
|
+
case .hkcategorytypeidentifiersleepanalysis:
|
|
519
|
+
return "HKCategoryTypeIdentifierSleepAnalysis"
|
|
520
|
+
case .hkcategorytypeidentifiersleepapneaevent:
|
|
521
|
+
return "HKCategoryTypeIdentifierSleepApneaEvent"
|
|
512
522
|
case .hkcategorytypeidentifiersleepchanges:
|
|
513
523
|
return "HKCategoryTypeIdentifierSleepChanges"
|
|
514
524
|
case .hkcategorytypeidentifiersorethroat:
|
|
515
525
|
return "HKCategoryTypeIdentifierSoreThroat"
|
|
526
|
+
case .hkcategorytypeidentifiertoothbrushingevent:
|
|
527
|
+
return "HKCategoryTypeIdentifierToothbrushingEvent"
|
|
516
528
|
case .hkcategorytypeidentifiervaginaldryness:
|
|
517
529
|
return "HKCategoryTypeIdentifierVaginalDryness"
|
|
518
530
|
case .hkcategorytypeidentifiervomiting:
|
|
519
531
|
return "HKCategoryTypeIdentifierVomiting"
|
|
520
532
|
case .hkcategorytypeidentifierwheezing:
|
|
521
533
|
return "HKCategoryTypeIdentifierWheezing"
|
|
522
|
-
case .hkcategorytypeidentifierbleedingafterpregnancy:
|
|
523
|
-
return "HKCategoryTypeIdentifierBleedingAfterPregnancy"
|
|
524
|
-
case .hkcategorytypeidentifierbleedingduringpregnancy:
|
|
525
|
-
return "HKCategoryTypeIdentifierBleedingDuringPregnancy"
|
|
526
|
-
case .hkcategorytypeidentifierinfrequentmenstrualcycles:
|
|
527
|
-
return "HKCategoryTypeIdentifierInfrequentMenstrualCycles"
|
|
528
|
-
case .hkcategorytypeidentifierirregularmenstrualcycles:
|
|
529
|
-
return "HKCategoryTypeIdentifierIrregularMenstrualCycles"
|
|
530
|
-
case .hkcategorytypeidentifierpersistentintermenstrualbleeding:
|
|
531
|
-
return "HKCategoryTypeIdentifierPersistentIntermenstrualBleeding"
|
|
532
|
-
case .hkcategorytypeidentifierprolongedmenstrualperiods:
|
|
533
|
-
return "HKCategoryTypeIdentifierProlongedMenstrualPeriods"
|
|
534
|
-
case .hkcategorytypeidentifiersleepapneaevent:
|
|
535
|
-
return "HKCategoryTypeIdentifierSleepApneaEvent"
|
|
536
534
|
case .hkcorrelationtypeidentifierbloodpressure:
|
|
537
535
|
return "HKCorrelationTypeIdentifierBloodPressure"
|
|
538
536
|
case .hkcorrelationtypeidentifierfood:
|
|
539
537
|
return "HKCorrelationTypeIdentifierFood"
|
|
540
|
-
case .hkquantitytypeidentifierbodymassindex:
|
|
541
|
-
return "HKQuantityTypeIdentifierBodyMassIndex"
|
|
542
|
-
case .hkquantitytypeidentifierbodyfatpercentage:
|
|
543
|
-
return "HKQuantityTypeIdentifierBodyFatPercentage"
|
|
544
|
-
case .hkquantitytypeidentifierheight:
|
|
545
|
-
return "HKQuantityTypeIdentifierHeight"
|
|
546
|
-
case .hkquantitytypeidentifierbodymass:
|
|
547
|
-
return "HKQuantityTypeIdentifierBodyMass"
|
|
548
|
-
case .hkquantitytypeidentifierleanbodymass:
|
|
549
|
-
return "HKQuantityTypeIdentifierLeanBodyMass"
|
|
550
|
-
case .hkquantitytypeidentifierwaistcircumference:
|
|
551
|
-
return "HKQuantityTypeIdentifierWaistCircumference"
|
|
552
|
-
case .hkquantitytypeidentifierstepcount:
|
|
553
|
-
return "HKQuantityTypeIdentifierStepCount"
|
|
554
|
-
case .hkquantitytypeidentifierdistancewalkingrunning:
|
|
555
|
-
return "HKQuantityTypeIdentifierDistanceWalkingRunning"
|
|
556
|
-
case .hkquantitytypeidentifierdistancecycling:
|
|
557
|
-
return "HKQuantityTypeIdentifierDistanceCycling"
|
|
558
|
-
case .hkquantitytypeidentifierdistancewheelchair:
|
|
559
|
-
return "HKQuantityTypeIdentifierDistanceWheelchair"
|
|
560
|
-
case .hkquantitytypeidentifierbasalenergyburned:
|
|
561
|
-
return "HKQuantityTypeIdentifierBasalEnergyBurned"
|
|
562
538
|
case .hkquantitytypeidentifieractiveenergyburned:
|
|
563
539
|
return "HKQuantityTypeIdentifierActiveEnergyBurned"
|
|
564
|
-
case .
|
|
565
|
-
return "
|
|
566
|
-
case .
|
|
567
|
-
return "
|
|
568
|
-
case .
|
|
569
|
-
return "
|
|
570
|
-
case .hkquantitytypeidentifierdistanceswimming:
|
|
571
|
-
return "HKQuantityTypeIdentifierDistanceSwimming"
|
|
572
|
-
case .hkquantitytypeidentifierswimmingstrokecount:
|
|
573
|
-
return "HKQuantityTypeIdentifierSwimmingStrokeCount"
|
|
574
|
-
case .hkquantitytypeidentifiervo2max:
|
|
575
|
-
return "HKQuantityTypeIdentifierVO2Max"
|
|
576
|
-
case .hkquantitytypeidentifierdistancedownhillsnowsports:
|
|
577
|
-
return "HKQuantityTypeIdentifierDistanceDownhillSnowSports"
|
|
578
|
-
case .hkquantitytypeidentifierheartrate:
|
|
579
|
-
return "HKQuantityTypeIdentifierHeartRate"
|
|
580
|
-
case .hkquantitytypeidentifierbodytemperature:
|
|
581
|
-
return "HKQuantityTypeIdentifierBodyTemperature"
|
|
540
|
+
case .hkquantitytypeidentifierapplemovetime:
|
|
541
|
+
return "HKQuantityTypeIdentifierAppleMoveTime"
|
|
542
|
+
case .hkquantitytypeidentifierapplesleepingbreathingdisturbances:
|
|
543
|
+
return "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"
|
|
544
|
+
case .hkquantitytypeidentifierapplesleepingwristtemperature:
|
|
545
|
+
return "HKQuantityTypeIdentifierAppleSleepingWristTemperature"
|
|
582
546
|
case .hkquantitytypeidentifierbasalbodytemperature:
|
|
583
547
|
return "HKQuantityTypeIdentifierBasalBodyTemperature"
|
|
584
|
-
case .
|
|
585
|
-
return "
|
|
586
|
-
case .hkquantitytypeidentifierbloodpressurediastolic:
|
|
587
|
-
return "HKQuantityTypeIdentifierBloodPressureDiastolic"
|
|
588
|
-
case .hkquantitytypeidentifierrespiratoryrate:
|
|
589
|
-
return "HKQuantityTypeIdentifierRespiratoryRate"
|
|
590
|
-
case .hkquantitytypeidentifierrestingheartrate:
|
|
591
|
-
return "HKQuantityTypeIdentifierRestingHeartRate"
|
|
592
|
-
case .hkquantitytypeidentifierheartratevariabilitysdnn:
|
|
593
|
-
return "HKQuantityTypeIdentifierHeartRateVariabilitySDNN"
|
|
594
|
-
case .hkquantitytypeidentifieroxygensaturation:
|
|
595
|
-
return "HKQuantityTypeIdentifierOxygenSaturation"
|
|
596
|
-
case .hkquantitytypeidentifierperipheralperfusionindex:
|
|
597
|
-
return "HKQuantityTypeIdentifierPeripheralPerfusionIndex"
|
|
598
|
-
case .hkquantitytypeidentifierbloodglucose:
|
|
599
|
-
return "HKQuantityTypeIdentifierBloodGlucose"
|
|
600
|
-
case .hkquantitytypeidentifierbloodketones:
|
|
601
|
-
return "HKQuantityTypeIdentifierBloodKetones"
|
|
602
|
-
case .hkquantitytypeidentifiernumberoftimesfallen:
|
|
603
|
-
return "HKQuantityTypeIdentifierNumberOfTimesFallen"
|
|
604
|
-
case .hkquantitytypeidentifierelectrodermalactivity:
|
|
605
|
-
return "HKQuantityTypeIdentifierElectrodermalActivity"
|
|
606
|
-
case .hkquantitytypeidentifierinhalerusage:
|
|
607
|
-
return "HKQuantityTypeIdentifierInhalerUsage"
|
|
608
|
-
case .hkquantitytypeidentifierinsulindelivery:
|
|
609
|
-
return "HKQuantityTypeIdentifierInsulinDelivery"
|
|
548
|
+
case .hkquantitytypeidentifierbasalenergyburned:
|
|
549
|
+
return "HKQuantityTypeIdentifierBasalEnergyBurned"
|
|
610
550
|
case .hkquantitytypeidentifierbloodalcoholcontent:
|
|
611
551
|
return "HKQuantityTypeIdentifierBloodAlcoholContent"
|
|
612
|
-
case .
|
|
613
|
-
return "
|
|
614
|
-
case .
|
|
615
|
-
return "
|
|
616
|
-
case .
|
|
617
|
-
return "
|
|
618
|
-
case .
|
|
619
|
-
return "
|
|
620
|
-
case .
|
|
621
|
-
return "
|
|
622
|
-
case .
|
|
623
|
-
return "
|
|
624
|
-
case .
|
|
625
|
-
return "
|
|
552
|
+
case .hkquantitytypeidentifierbloodglucose:
|
|
553
|
+
return "HKQuantityTypeIdentifierBloodGlucose"
|
|
554
|
+
case .hkquantitytypeidentifierbloodpressurediastolic:
|
|
555
|
+
return "HKQuantityTypeIdentifierBloodPressureDiastolic"
|
|
556
|
+
case .hkquantitytypeidentifierbloodpressuresystolic:
|
|
557
|
+
return "HKQuantityTypeIdentifierBloodPressureSystolic"
|
|
558
|
+
case .hkquantitytypeidentifierbodyfatpercentage:
|
|
559
|
+
return "HKQuantityTypeIdentifierBodyFatPercentage"
|
|
560
|
+
case .hkquantitytypeidentifierbodymass:
|
|
561
|
+
return "HKQuantityTypeIdentifierBodyMass"
|
|
562
|
+
case .hkquantitytypeidentifierbodymassindex:
|
|
563
|
+
return "HKQuantityTypeIdentifierBodyMassIndex"
|
|
564
|
+
case .hkquantitytypeidentifierbodytemperature:
|
|
565
|
+
return "HKQuantityTypeIdentifierBodyTemperature"
|
|
566
|
+
case .hkquantitytypeidentifiercrosscountryskiingspeed:
|
|
567
|
+
return "HKQuantityTypeIdentifierCrossCountrySkiingSpeed"
|
|
568
|
+
case .hkquantitytypeidentifiercyclingcadence:
|
|
569
|
+
return "HKQuantityTypeIdentifierCyclingCadence"
|
|
570
|
+
case .hkquantitytypeidentifiercyclingfunctionalthresholdpower:
|
|
571
|
+
return "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"
|
|
572
|
+
case .hkquantitytypeidentifiercyclingpower:
|
|
573
|
+
return "HKQuantityTypeIdentifierCyclingPower"
|
|
574
|
+
case .hkquantitytypeidentifiercyclingspeed:
|
|
575
|
+
return "HKQuantityTypeIdentifierCyclingSpeed"
|
|
576
|
+
case .hkquantitytypeidentifierdietarybiotin:
|
|
577
|
+
return "HKQuantityTypeIdentifierDietaryBiotin"
|
|
578
|
+
case .hkquantitytypeidentifierdietarycaffeine:
|
|
579
|
+
return "HKQuantityTypeIdentifierDietaryCaffeine"
|
|
580
|
+
case .hkquantitytypeidentifierdietarycalcium:
|
|
581
|
+
return "HKQuantityTypeIdentifierDietaryCalcium"
|
|
582
|
+
case .hkquantitytypeidentifierdietarycarbohydrates:
|
|
583
|
+
return "HKQuantityTypeIdentifierDietaryCarbohydrates"
|
|
584
|
+
case .hkquantitytypeidentifierdietarychloride:
|
|
585
|
+
return "HKQuantityTypeIdentifierDietaryChloride"
|
|
586
|
+
case .hkquantitytypeidentifierdietarycholesterol:
|
|
587
|
+
return "HKQuantityTypeIdentifierDietaryCholesterol"
|
|
588
|
+
case .hkquantitytypeidentifierdietarychromium:
|
|
589
|
+
return "HKQuantityTypeIdentifierDietaryChromium"
|
|
590
|
+
case .hkquantitytypeidentifierdietarycopper:
|
|
591
|
+
return "HKQuantityTypeIdentifierDietaryCopper"
|
|
592
|
+
case .hkquantitytypeidentifierdietaryenergyconsumed:
|
|
593
|
+
return "HKQuantityTypeIdentifierDietaryEnergyConsumed"
|
|
626
594
|
case .hkquantitytypeidentifierdietaryfatmonounsaturated:
|
|
627
595
|
return "HKQuantityTypeIdentifierDietaryFatMonounsaturated"
|
|
596
|
+
case .hkquantitytypeidentifierdietaryfatpolyunsaturated:
|
|
597
|
+
return "HKQuantityTypeIdentifierDietaryFatPolyunsaturated"
|
|
628
598
|
case .hkquantitytypeidentifierdietaryfatsaturated:
|
|
629
599
|
return "HKQuantityTypeIdentifierDietaryFatSaturated"
|
|
630
|
-
case .
|
|
631
|
-
return "
|
|
632
|
-
case .hkquantitytypeidentifierdietarysodium:
|
|
633
|
-
return "HKQuantityTypeIdentifierDietarySodium"
|
|
634
|
-
case .hkquantitytypeidentifierdietarycarbohydrates:
|
|
635
|
-
return "HKQuantityTypeIdentifierDietaryCarbohydrates"
|
|
600
|
+
case .hkquantitytypeidentifierdietaryfattotal:
|
|
601
|
+
return "HKQuantityTypeIdentifierDietaryFatTotal"
|
|
636
602
|
case .hkquantitytypeidentifierdietaryfiber:
|
|
637
603
|
return "HKQuantityTypeIdentifierDietaryFiber"
|
|
638
|
-
case .
|
|
639
|
-
return "
|
|
640
|
-
case .
|
|
641
|
-
return "
|
|
604
|
+
case .hkquantitytypeidentifierdietaryfolate:
|
|
605
|
+
return "HKQuantityTypeIdentifierDietaryFolate"
|
|
606
|
+
case .hkquantitytypeidentifierdietaryiodine:
|
|
607
|
+
return "HKQuantityTypeIdentifierDietaryIodine"
|
|
608
|
+
case .hkquantitytypeidentifierdietaryiron:
|
|
609
|
+
return "HKQuantityTypeIdentifierDietaryIron"
|
|
610
|
+
case .hkquantitytypeidentifierdietarymagnesium:
|
|
611
|
+
return "HKQuantityTypeIdentifierDietaryMagnesium"
|
|
612
|
+
case .hkquantitytypeidentifierdietarymanganese:
|
|
613
|
+
return "HKQuantityTypeIdentifierDietaryManganese"
|
|
614
|
+
case .hkquantitytypeidentifierdietarymolybdenum:
|
|
615
|
+
return "HKQuantityTypeIdentifierDietaryMolybdenum"
|
|
616
|
+
case .hkquantitytypeidentifierdietaryniacin:
|
|
617
|
+
return "HKQuantityTypeIdentifierDietaryNiacin"
|
|
618
|
+
case .hkquantitytypeidentifierdietarypantothenicacid:
|
|
619
|
+
return "HKQuantityTypeIdentifierDietaryPantothenicAcid"
|
|
620
|
+
case .hkquantitytypeidentifierdietaryphosphorus:
|
|
621
|
+
return "HKQuantityTypeIdentifierDietaryPhosphorus"
|
|
622
|
+
case .hkquantitytypeidentifierdietarypotassium:
|
|
623
|
+
return "HKQuantityTypeIdentifierDietaryPotassium"
|
|
642
624
|
case .hkquantitytypeidentifierdietaryprotein:
|
|
643
625
|
return "HKQuantityTypeIdentifierDietaryProtein"
|
|
626
|
+
case .hkquantitytypeidentifierdietaryriboflavin:
|
|
627
|
+
return "HKQuantityTypeIdentifierDietaryRiboflavin"
|
|
628
|
+
case .hkquantitytypeidentifierdietaryselenium:
|
|
629
|
+
return "HKQuantityTypeIdentifierDietarySelenium"
|
|
630
|
+
case .hkquantitytypeidentifierdietarysodium:
|
|
631
|
+
return "HKQuantityTypeIdentifierDietarySodium"
|
|
632
|
+
case .hkquantitytypeidentifierdietarysugar:
|
|
633
|
+
return "HKQuantityTypeIdentifierDietarySugar"
|
|
634
|
+
case .hkquantitytypeidentifierdietarythiamin:
|
|
635
|
+
return "HKQuantityTypeIdentifierDietaryThiamin"
|
|
644
636
|
case .hkquantitytypeidentifierdietaryvitamina:
|
|
645
637
|
return "HKQuantityTypeIdentifierDietaryVitaminA"
|
|
646
|
-
case .hkquantitytypeidentifierdietaryvitaminb6:
|
|
647
|
-
return "HKQuantityTypeIdentifierDietaryVitaminB6"
|
|
648
638
|
case .hkquantitytypeidentifierdietaryvitaminb12:
|
|
649
639
|
return "HKQuantityTypeIdentifierDietaryVitaminB12"
|
|
640
|
+
case .hkquantitytypeidentifierdietaryvitaminb6:
|
|
641
|
+
return "HKQuantityTypeIdentifierDietaryVitaminB6"
|
|
650
642
|
case .hkquantitytypeidentifierdietaryvitaminc:
|
|
651
643
|
return "HKQuantityTypeIdentifierDietaryVitaminC"
|
|
652
644
|
case .hkquantitytypeidentifierdietaryvitamind:
|
|
@@ -655,118 +647,122 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
655
647
|
return "HKQuantityTypeIdentifierDietaryVitaminE"
|
|
656
648
|
case .hkquantitytypeidentifierdietaryvitamink:
|
|
657
649
|
return "HKQuantityTypeIdentifierDietaryVitaminK"
|
|
658
|
-
case .hkquantitytypeidentifierdietarycalcium:
|
|
659
|
-
return "HKQuantityTypeIdentifierDietaryCalcium"
|
|
660
|
-
case .hkquantitytypeidentifierdietaryiron:
|
|
661
|
-
return "HKQuantityTypeIdentifierDietaryIron"
|
|
662
|
-
case .hkquantitytypeidentifierdietarythiamin:
|
|
663
|
-
return "HKQuantityTypeIdentifierDietaryThiamin"
|
|
664
|
-
case .hkquantitytypeidentifierdietaryriboflavin:
|
|
665
|
-
return "HKQuantityTypeIdentifierDietaryRiboflavin"
|
|
666
|
-
case .hkquantitytypeidentifierdietaryniacin:
|
|
667
|
-
return "HKQuantityTypeIdentifierDietaryNiacin"
|
|
668
|
-
case .hkquantitytypeidentifierdietaryfolate:
|
|
669
|
-
return "HKQuantityTypeIdentifierDietaryFolate"
|
|
670
|
-
case .hkquantitytypeidentifierdietarybiotin:
|
|
671
|
-
return "HKQuantityTypeIdentifierDietaryBiotin"
|
|
672
|
-
case .hkquantitytypeidentifierdietarypantothenicacid:
|
|
673
|
-
return "HKQuantityTypeIdentifierDietaryPantothenicAcid"
|
|
674
|
-
case .hkquantitytypeidentifierdietaryphosphorus:
|
|
675
|
-
return "HKQuantityTypeIdentifierDietaryPhosphorus"
|
|
676
|
-
case .hkquantitytypeidentifierdietaryiodine:
|
|
677
|
-
return "HKQuantityTypeIdentifierDietaryIodine"
|
|
678
|
-
case .hkquantitytypeidentifierdietarymagnesium:
|
|
679
|
-
return "HKQuantityTypeIdentifierDietaryMagnesium"
|
|
680
|
-
case .hkquantitytypeidentifierdietaryzinc:
|
|
681
|
-
return "HKQuantityTypeIdentifierDietaryZinc"
|
|
682
|
-
case .hkquantitytypeidentifierdietaryselenium:
|
|
683
|
-
return "HKQuantityTypeIdentifierDietarySelenium"
|
|
684
|
-
case .hkquantitytypeidentifierdietarycopper:
|
|
685
|
-
return "HKQuantityTypeIdentifierDietaryCopper"
|
|
686
|
-
case .hkquantitytypeidentifierdietarymanganese:
|
|
687
|
-
return "HKQuantityTypeIdentifierDietaryManganese"
|
|
688
|
-
case .hkquantitytypeidentifierdietarychromium:
|
|
689
|
-
return "HKQuantityTypeIdentifierDietaryChromium"
|
|
690
|
-
case .hkquantitytypeidentifierdietarymolybdenum:
|
|
691
|
-
return "HKQuantityTypeIdentifierDietaryMolybdenum"
|
|
692
|
-
case .hkquantitytypeidentifierdietarychloride:
|
|
693
|
-
return "HKQuantityTypeIdentifierDietaryChloride"
|
|
694
|
-
case .hkquantitytypeidentifierdietarypotassium:
|
|
695
|
-
return "HKQuantityTypeIdentifierDietaryPotassium"
|
|
696
|
-
case .hkquantitytypeidentifierdietarycaffeine:
|
|
697
|
-
return "HKQuantityTypeIdentifierDietaryCaffeine"
|
|
698
650
|
case .hkquantitytypeidentifierdietarywater:
|
|
699
651
|
return "HKQuantityTypeIdentifierDietaryWater"
|
|
700
|
-
case .
|
|
701
|
-
return "
|
|
702
|
-
case .hkquantitytypeidentifierwalkingspeed:
|
|
703
|
-
return "HKQuantityTypeIdentifierWalkingSpeed"
|
|
704
|
-
case .hkquantitytypeidentifierwalkingsteplength:
|
|
705
|
-
return "HKQuantityTypeIdentifierWalkingStepLength"
|
|
706
|
-
case .hkquantitytypeidentifierwalkingasymmetrypercentage:
|
|
707
|
-
return "HKQuantityTypeIdentifierWalkingAsymmetryPercentage"
|
|
708
|
-
case .hkquantitytypeidentifierwalkingdoublesupportpercentage:
|
|
709
|
-
return "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"
|
|
710
|
-
case .hkquantitytypeidentifierstairascentspeed:
|
|
711
|
-
return "HKQuantityTypeIdentifierStairAscentSpeed"
|
|
712
|
-
case .hkquantitytypeidentifierstairdescentspeed:
|
|
713
|
-
return "HKQuantityTypeIdentifierStairDescentSpeed"
|
|
714
|
-
case .hkquantitytypeidentifieruvexposure:
|
|
715
|
-
return "HKQuantityTypeIdentifierUVExposure"
|
|
716
|
-
case .hkquantitytypeidentifierapplemovetime:
|
|
717
|
-
return "HKQuantityTypeIdentifierAppleMoveTime"
|
|
718
|
-
case .hkquantitytypeidentifiernumberofalcoholicbeverages:
|
|
719
|
-
return "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"
|
|
720
|
-
case .hkquantitytypeidentifierunderwaterdepth:
|
|
721
|
-
return "HKQuantityTypeIdentifierUnderwaterDepth"
|
|
722
|
-
case .hkquantitytypeidentifierwatertemperature:
|
|
723
|
-
return "HKQuantityTypeIdentifierWaterTemperature"
|
|
724
|
-
case .hkquantitytypeidentifierapplesleepingwristtemperature:
|
|
725
|
-
return "HKQuantityTypeIdentifierAppleSleepingWristTemperature"
|
|
726
|
-
case .hkquantitytypeidentifierapplesleepingbreathingdisturbances:
|
|
727
|
-
return "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"
|
|
728
|
-
case .hkquantitytypeidentifiertimeindaylight:
|
|
729
|
-
return "HKQuantityTypeIdentifierTimeInDaylight"
|
|
730
|
-
case .hkquantitytypeidentifierphysicaleffort:
|
|
731
|
-
return "HKQuantityTypeIdentifierPhysicalEffort"
|
|
732
|
-
case .hkquantitytypeidentifiercyclingspeed:
|
|
733
|
-
return "HKQuantityTypeIdentifierCyclingSpeed"
|
|
734
|
-
case .hkquantitytypeidentifiercyclingpower:
|
|
735
|
-
return "HKQuantityTypeIdentifierCyclingPower"
|
|
736
|
-
case .hkquantitytypeidentifiercyclingfunctionalthresholdpower:
|
|
737
|
-
return "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"
|
|
738
|
-
case .hkquantitytypeidentifiercyclingcadence:
|
|
739
|
-
return "HKQuantityTypeIdentifierCyclingCadence"
|
|
740
|
-
case .hkquantitytypeidentifierenvironmentalsoundreduction:
|
|
741
|
-
return "HKQuantityTypeIdentifierEnvironmentalSoundReduction"
|
|
742
|
-
case .hkquantitytypeidentifierheartraterecoveryoneminute:
|
|
743
|
-
return "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"
|
|
744
|
-
case .hkquantitytypeidentifierrunninggroundcontacttime:
|
|
745
|
-
return "HKQuantityTypeIdentifierRunningGroundContactTime"
|
|
746
|
-
case .hkquantitytypeidentifierrunningstridelength:
|
|
747
|
-
return "HKQuantityTypeIdentifierRunningStrideLength"
|
|
748
|
-
case .hkquantitytypeidentifierrunningpower:
|
|
749
|
-
return "HKQuantityTypeIdentifierRunningPower"
|
|
750
|
-
case .hkquantitytypeidentifierrunningverticaloscillation:
|
|
751
|
-
return "HKQuantityTypeIdentifierRunningVerticalOscillation"
|
|
752
|
-
case .hkquantitytypeidentifierrunningspeed:
|
|
753
|
-
return "HKQuantityTypeIdentifierRunningSpeed"
|
|
754
|
-
case .hkquantitytypeidentifiercrosscountryskiingspeed:
|
|
755
|
-
return "HKQuantityTypeIdentifierCrossCountrySkiingSpeed"
|
|
652
|
+
case .hkquantitytypeidentifierdietaryzinc:
|
|
653
|
+
return "HKQuantityTypeIdentifierDietaryZinc"
|
|
756
654
|
case .hkquantitytypeidentifierdistancecrosscountryskiing:
|
|
757
655
|
return "HKQuantityTypeIdentifierDistanceCrossCountrySkiing"
|
|
656
|
+
case .hkquantitytypeidentifierdistancecycling:
|
|
657
|
+
return "HKQuantityTypeIdentifierDistanceCycling"
|
|
658
|
+
case .hkquantitytypeidentifierdistancedownhillsnowsports:
|
|
659
|
+
return "HKQuantityTypeIdentifierDistanceDownhillSnowSports"
|
|
758
660
|
case .hkquantitytypeidentifierdistancepaddlesports:
|
|
759
661
|
return "HKQuantityTypeIdentifierDistancePaddleSports"
|
|
760
662
|
case .hkquantitytypeidentifierdistancerowing:
|
|
761
663
|
return "HKQuantityTypeIdentifierDistanceRowing"
|
|
762
664
|
case .hkquantitytypeidentifierdistanceskatingsports:
|
|
763
665
|
return "HKQuantityTypeIdentifierDistanceSkatingSports"
|
|
666
|
+
case .hkquantitytypeidentifierdistanceswimming:
|
|
667
|
+
return "HKQuantityTypeIdentifierDistanceSwimming"
|
|
668
|
+
case .hkquantitytypeidentifierdistancewalkingrunning:
|
|
669
|
+
return "HKQuantityTypeIdentifierDistanceWalkingRunning"
|
|
670
|
+
case .hkquantitytypeidentifierdistancewheelchair:
|
|
671
|
+
return "HKQuantityTypeIdentifierDistanceWheelchair"
|
|
672
|
+
case .hkquantitytypeidentifierelectrodermalactivity:
|
|
673
|
+
return "HKQuantityTypeIdentifierElectrodermalActivity"
|
|
674
|
+
case .hkquantitytypeidentifierenvironmentalaudioexposure:
|
|
675
|
+
return "HKQuantityTypeIdentifierEnvironmentalAudioExposure"
|
|
676
|
+
case .hkquantitytypeidentifierenvironmentalsoundreduction:
|
|
677
|
+
return "HKQuantityTypeIdentifierEnvironmentalSoundReduction"
|
|
764
678
|
case .hkquantitytypeidentifierestimatedworkouteffortscore:
|
|
765
679
|
return "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"
|
|
680
|
+
case .hkquantitytypeidentifierflightsclimbed:
|
|
681
|
+
return "HKQuantityTypeIdentifierFlightsClimbed"
|
|
682
|
+
case .hkquantitytypeidentifierforcedexpiratoryvolume1:
|
|
683
|
+
return "HKQuantityTypeIdentifierForcedExpiratoryVolume1"
|
|
684
|
+
case .hkquantitytypeidentifierforcedvitalcapacity:
|
|
685
|
+
return "HKQuantityTypeIdentifierForcedVitalCapacity"
|
|
686
|
+
case .hkquantitytypeidentifierheadphoneaudioexposure:
|
|
687
|
+
return "HKQuantityTypeIdentifierHeadphoneAudioExposure"
|
|
688
|
+
case .hkquantitytypeidentifierheartrate:
|
|
689
|
+
return "HKQuantityTypeIdentifierHeartRate"
|
|
690
|
+
case .hkquantitytypeidentifierheartraterecoveryoneminute:
|
|
691
|
+
return "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"
|
|
692
|
+
case .hkquantitytypeidentifierheartratevariabilitysdnn:
|
|
693
|
+
return "HKQuantityTypeIdentifierHeartRateVariabilitySDNN"
|
|
694
|
+
case .hkquantitytypeidentifierheight:
|
|
695
|
+
return "HKQuantityTypeIdentifierHeight"
|
|
696
|
+
case .hkquantitytypeidentifierinhalerusage:
|
|
697
|
+
return "HKQuantityTypeIdentifierInhalerUsage"
|
|
698
|
+
case .hkquantitytypeidentifierinsulindelivery:
|
|
699
|
+
return "HKQuantityTypeIdentifierInsulinDelivery"
|
|
700
|
+
case .hkquantitytypeidentifierleanbodymass:
|
|
701
|
+
return "HKQuantityTypeIdentifierLeanBodyMass"
|
|
702
|
+
case .hkquantitytypeidentifiernikefuel:
|
|
703
|
+
return "HKQuantityTypeIdentifierNikeFuel"
|
|
704
|
+
case .hkquantitytypeidentifiernumberofalcoholicbeverages:
|
|
705
|
+
return "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"
|
|
706
|
+
case .hkquantitytypeidentifiernumberoftimesfallen:
|
|
707
|
+
return "HKQuantityTypeIdentifierNumberOfTimesFallen"
|
|
708
|
+
case .hkquantitytypeidentifieroxygensaturation:
|
|
709
|
+
return "HKQuantityTypeIdentifierOxygenSaturation"
|
|
766
710
|
case .hkquantitytypeidentifierpaddlesportsspeed:
|
|
767
711
|
return "HKQuantityTypeIdentifierPaddleSportsSpeed"
|
|
712
|
+
case .hkquantitytypeidentifierpeakexpiratoryflowrate:
|
|
713
|
+
return "HKQuantityTypeIdentifierPeakExpiratoryFlowRate"
|
|
714
|
+
case .hkquantitytypeidentifierperipheralperfusionindex:
|
|
715
|
+
return "HKQuantityTypeIdentifierPeripheralPerfusionIndex"
|
|
716
|
+
case .hkquantitytypeidentifierphysicaleffort:
|
|
717
|
+
return "HKQuantityTypeIdentifierPhysicalEffort"
|
|
718
|
+
case .hkquantitytypeidentifierpushcount:
|
|
719
|
+
return "HKQuantityTypeIdentifierPushCount"
|
|
720
|
+
case .hkquantitytypeidentifierrespiratoryrate:
|
|
721
|
+
return "HKQuantityTypeIdentifierRespiratoryRate"
|
|
722
|
+
case .hkquantitytypeidentifierrestingheartrate:
|
|
723
|
+
return "HKQuantityTypeIdentifierRestingHeartRate"
|
|
768
724
|
case .hkquantitytypeidentifierrowingspeed:
|
|
769
725
|
return "HKQuantityTypeIdentifierRowingSpeed"
|
|
726
|
+
case .hkquantitytypeidentifierrunninggroundcontacttime:
|
|
727
|
+
return "HKQuantityTypeIdentifierRunningGroundContactTime"
|
|
728
|
+
case .hkquantitytypeidentifierrunningpower:
|
|
729
|
+
return "HKQuantityTypeIdentifierRunningPower"
|
|
730
|
+
case .hkquantitytypeidentifierrunningspeed:
|
|
731
|
+
return "HKQuantityTypeIdentifierRunningSpeed"
|
|
732
|
+
case .hkquantitytypeidentifierrunningstridelength:
|
|
733
|
+
return "HKQuantityTypeIdentifierRunningStrideLength"
|
|
734
|
+
case .hkquantitytypeidentifierrunningverticaloscillation:
|
|
735
|
+
return "HKQuantityTypeIdentifierRunningVerticalOscillation"
|
|
736
|
+
case .hkquantitytypeidentifiersixminutewalktestdistance:
|
|
737
|
+
return "HKQuantityTypeIdentifierSixMinuteWalkTestDistance"
|
|
738
|
+
case .hkquantitytypeidentifierstairascentspeed:
|
|
739
|
+
return "HKQuantityTypeIdentifierStairAscentSpeed"
|
|
740
|
+
case .hkquantitytypeidentifierstairdescentspeed:
|
|
741
|
+
return "HKQuantityTypeIdentifierStairDescentSpeed"
|
|
742
|
+
case .hkquantitytypeidentifierstepcount:
|
|
743
|
+
return "HKQuantityTypeIdentifierStepCount"
|
|
744
|
+
case .hkquantitytypeidentifierswimmingstrokecount:
|
|
745
|
+
return "HKQuantityTypeIdentifierSwimmingStrokeCount"
|
|
746
|
+
case .hkquantitytypeidentifiertimeindaylight:
|
|
747
|
+
return "HKQuantityTypeIdentifierTimeInDaylight"
|
|
748
|
+
case .hkquantitytypeidentifierunderwaterdepth:
|
|
749
|
+
return "HKQuantityTypeIdentifierUnderwaterDepth"
|
|
750
|
+
case .hkquantitytypeidentifieruvexposure:
|
|
751
|
+
return "HKQuantityTypeIdentifierUVExposure"
|
|
752
|
+
case .hkquantitytypeidentifiervo2max:
|
|
753
|
+
return "HKQuantityTypeIdentifierVO2Max"
|
|
754
|
+
case .hkquantitytypeidentifierwaistcircumference:
|
|
755
|
+
return "HKQuantityTypeIdentifierWaistCircumference"
|
|
756
|
+
case .hkquantitytypeidentifierwalkingasymmetrypercentage:
|
|
757
|
+
return "HKQuantityTypeIdentifierWalkingAsymmetryPercentage"
|
|
758
|
+
case .hkquantitytypeidentifierwalkingdoublesupportpercentage:
|
|
759
|
+
return "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"
|
|
760
|
+
case .hkquantitytypeidentifierwalkingspeed:
|
|
761
|
+
return "HKQuantityTypeIdentifierWalkingSpeed"
|
|
762
|
+
case .hkquantitytypeidentifierwalkingsteplength:
|
|
763
|
+
return "HKQuantityTypeIdentifierWalkingStepLength"
|
|
764
|
+
case .hkquantitytypeidentifierwatertemperature:
|
|
765
|
+
return "HKQuantityTypeIdentifierWaterTemperature"
|
|
770
766
|
case .hkquantitytypeidentifierworkouteffortscore:
|
|
771
767
|
return "HKQuantityTypeIdentifierWorkoutEffortScore"
|
|
772
768
|
case .hkstateofmindtypeidentifier:
|