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