pyobjc-framework-HealthKit 10.2__tar.gz → 11.0__tar.gz

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.
Files changed (103) hide show
  1. pyobjc_framework_healthkit-11.0/Lib/HealthKit/__init__.py +104 -0
  2. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/Lib/HealthKit/_metadata.py +259 -10
  3. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/Lib/pyobjc_framework_HealthKit.egg-info/PKG-INFO +5 -5
  4. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/Lib/pyobjc_framework_HealthKit.egg-info/SOURCES.txt +15 -4
  5. pyobjc_framework_healthkit-11.0/Lib/pyobjc_framework_HealthKit.egg-info/pyobjc-build-info.txt +3 -0
  6. pyobjc_framework_healthkit-11.0/Lib/pyobjc_framework_HealthKit.egg-info/requires.txt +2 -0
  7. pyobjc_framework_healthkit-11.0/Modules/_HealthKit.m +67 -0
  8. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/Modules/pyobjc-api.h +1 -1
  9. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/Modules/pyobjc-compat.h +80 -5
  10. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PKG-INFO +5 -5
  11. pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkactivitysummary.py +12 -0
  12. pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkapplesleepingbreathingdisturbancesclassification.py +20 -0
  13. pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkaudiogramsensitivitypoint.py +18 -0
  14. pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkaudiogramsensitivitypointclampingrange.py +11 -0
  15. pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkaudiogramsensitivitytest.py +25 -0
  16. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkcategoryvalues.py +7 -0
  17. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkdefines.py +1 -0
  18. pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkgad7assessment.py +17 -0
  19. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkhealthstore.py +16 -0
  20. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkmetadata.py +6 -0
  21. pyobjc-framework-HealthKit-10.2/PyObjCTest/test_hkoBject.py → pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkobject.py +7 -1
  22. pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkphq9assessment.py +19 -0
  23. pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkstateofmind.py +82 -0
  24. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hktypeidentifiers.py +37 -0
  25. pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkworkouteffortrelationshipquery.py +19 -0
  26. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/metadata/HealthKit.fwinfo +47 -1
  27. pyobjc-framework-HealthKit-10.2/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_healthkit-11.0/metadata/raw/arm64-14.5.fwinfo +150 -4
  28. pyobjc_framework_healthkit-11.0/metadata/raw/arm64-15.0.fwinfo +16119 -0
  29. pyobjc_framework_healthkit-11.0/metadata/raw/arm64-15.2.fwinfo +16498 -0
  30. pyobjc-framework-HealthKit-10.2/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_healthkit-11.0/metadata/raw/x86_64-14.5.fwinfo +150 -4
  31. pyobjc_framework_healthkit-11.0/metadata/raw/x86_64-15.0.fwinfo +16119 -0
  32. pyobjc_framework_healthkit-11.0/metadata/raw/x86_64-15.2.fwinfo +16498 -0
  33. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/pyobjc_setup.py +121 -27
  34. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/setup.py +1 -3
  35. pyobjc-framework-HealthKit-10.2/Lib/HealthKit/__init__.py +0 -37
  36. pyobjc-framework-HealthKit-10.2/Lib/pyobjc_framework_HealthKit.egg-info/requires.txt +0 -2
  37. pyobjc-framework-HealthKit-10.2/Modules/_HealthKit.m +0 -36
  38. pyobjc-framework-HealthKit-10.2/PyObjCTest/test_hkactivitysummary.py +0 -7
  39. pyobjc-framework-HealthKit-10.2/metadata/raw/arm64-13.0.fwinfo +0 -14485
  40. pyobjc-framework-HealthKit-10.2/metadata/raw/x86_64-13.0.fwinfo +0 -14485
  41. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/Lib/pyobjc_framework_HealthKit.egg-info/dependency_links.txt +0 -0
  42. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/Lib/pyobjc_framework_HealthKit.egg-info/not-zip-safe +0 -0
  43. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/Lib/pyobjc_framework_HealthKit.egg-info/top_level.txt +0 -0
  44. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/License.txt +0 -0
  45. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/MANIFEST.in +0 -0
  46. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/Modules/_HealthKit_protocols.m +0 -0
  47. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/__init__.py +0 -0
  48. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_healthkit.py +0 -0
  49. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkactivitysummaryquery.py +0 -0
  50. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkanchoredobjectquery.py +0 -0
  51. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkapplewalkingsteadinessclassification.py +0 -0
  52. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkattachmentstore.py +0 -0
  53. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkaudiogramsample.py +0 -0
  54. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkcategorysample.py +0 -0
  55. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkcdadocumentsample.py +0 -0
  56. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkcharacteristicvalues.py +0 -0
  57. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkclinicalrecord.py +0 -0
  58. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkclinicaltype.py +0 -0
  59. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkcorrelationquery.py +0 -0
  60. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkcumulativequantitysample.py +0 -0
  61. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkdevice.py +0 -0
  62. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkdiscretequantitysample.py +0 -0
  63. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkdocumentquery.py +0 -0
  64. /pyobjc-framework-HealthKit-10.2/PyObjCTest/test_hkeLectrocardiogram.py → /pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkelectrocardiogram.py +0 -0
  65. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkelectrocardiogramquery.py +0 -0
  66. /pyobjc-framework-HealthKit-10.2/PyObjCTest/test_hkfhirRelease.py → /pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkfhirrelease.py +0 -0
  67. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkfhirresource.py +0 -0
  68. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkfhirversion.py +0 -0
  69. /pyobjc-framework-HealthKit-10.2/PyObjCTest/test_hkHeartbeatseriesbuilder.py → /pyobjc_framework_healthkit-11.0/PyObjCTest/test_hkheartbeatseriesbuilder.py +0 -0
  70. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkheartbeatseriesquery.py +0 -0
  71. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkliveworkoutbuilder.py +0 -0
  72. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkobjecttype.py +0 -0
  73. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkobserverquery.py +0 -0
  74. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkquantity.py +0 -0
  75. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkquantityaggregationstyle.py +0 -0
  76. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkquantitysample.py +0 -0
  77. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkquantityseriessamplebuilder.py +0 -0
  78. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkquantityseriessamplequery.py +0 -0
  79. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkquery.py +0 -0
  80. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hksample.py +0 -0
  81. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hksamplequery.py +0 -0
  82. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hksourcequery.py +0 -0
  83. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hksourcerevision.py +0 -0
  84. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkstatistics.py +0 -0
  85. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkstatisticscollectionquery.py +0 -0
  86. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkstatisticsquery.py +0 -0
  87. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkunit.py +0 -0
  88. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkverifiableclinicalrecord.py +0 -0
  89. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkverifiableclinicalrecordquery.py +0 -0
  90. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkvisionprescription.py +0 -0
  91. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkvisionprism.py +0 -0
  92. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkworkout.py +0 -0
  93. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkworkoutactivity.py +0 -0
  94. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkworkoutbuilder.py +0 -0
  95. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkworkoutconfiguration.py +0 -0
  96. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkworkoutroutebuilder.py +0 -0
  97. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkworkoutroutequery.py +0 -0
  98. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/PyObjCTest/test_hkworkoutsession.py +0 -0
  99. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/metadata/metadata.ini +0 -0
  100. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/metadata/raw/arm64-13.3.fwinfo +0 -0
  101. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/metadata/raw/x86_64-13.3.fwinfo +0 -0
  102. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/pyproject.toml +0 -0
  103. {pyobjc-framework-HealthKit-10.2 → pyobjc_framework_healthkit-11.0}/setup.cfg +0 -0
@@ -0,0 +1,104 @@
1
+ """
2
+ Python mapping for the HealthKit framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Foundation
13
+ import objc
14
+ from . import _metadata, _HealthKit
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="HealthKit",
18
+ frameworkIdentifier="com.apple.HealthKit",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/HealthKit.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _HealthKit,
26
+ Foundation,
27
+ ),
28
+ metadict=_metadata.__dict__,
29
+ )
30
+
31
+ globals()["__dir__"] = dir_func
32
+ globals()["__getattr__"] = getattr_func
33
+
34
+ for cls, sel in (
35
+ ("HKQuantity", b"init"),
36
+ ("HKAttachment", b"init"),
37
+ ("HKAttachment", b"new"),
38
+ ("HKVerifiableClinicalRecord", b"init"),
39
+ ("HKVerifiableClinicalRecord", b"new"),
40
+ ("HKFHIRVersion", b"init"),
41
+ ("HKSeriesBuilder", b"init"),
42
+ ("HKObject", b"init"),
43
+ ("HKUnit", b"init"),
44
+ ("HKQueryAnchor", b"init"),
45
+ ("HKAudiogramSensitivityPoint", b"init"),
46
+ ("HKSourceRevision", b"init"),
47
+ ("HKQuery", b"init"),
48
+ ("HKVisionPrescription", b"init"),
49
+ ("HKVisionPrescription", b"new"),
50
+ ("HKClinicalRecord", b"init"),
51
+ ("HKClinicalRecord", b"new"),
52
+ ("HKCategorySample", b"init"),
53
+ ("HKLiveWorkoutDataSource", b"init"),
54
+ ("HKVerifiableClinicalRecordSubject", b"init"),
55
+ ("HKVerifiableClinicalRecordSubject", b"new"),
56
+ ("HKLiveWorkoutBuilder", b"initWithHealthStore:configuration:device:"),
57
+ ("HKWorkoutBuilder", b"init"),
58
+ ("HKGlassesPrescription", b"init"),
59
+ ("HKGlassesPrescription", b"new"),
60
+ (
61
+ "HKGlassesPrescription",
62
+ b"prescriptionWithType:dateIssued:expirationDate:device:metadata:",
63
+ ),
64
+ ("HKWorkoutActivity", b"init"),
65
+ ("HKWorkoutActivity", b"new"),
66
+ ("HKDevice", b"init"),
67
+ ("HKWorkoutSession", b"init"),
68
+ ("HKQueryDescriptor", b"init"),
69
+ ("HKQueryDescriptor", b"new"),
70
+ ("HKContactsPrescription", b"init"),
71
+ ("HKContactsPrescription", b"new"),
72
+ (
73
+ "HKContactsPrescription",
74
+ b"prescriptionWithType:dateIssued:expirationDate:device:metadata:",
75
+ ),
76
+ ("HKContactsLensSpecification", b"init"),
77
+ ("HKContactsLensSpecification", b"new"),
78
+ ("HKQuantitySeriesSampleBuilder", b"init"),
79
+ ("HKVerifiableClinicalRecordQuery", b"init"),
80
+ ("HKVerifiableClinicalRecordQuery", b"new"),
81
+ ("HKLensSpecification", b"init"),
82
+ ("HKLensSpecification", b"new"),
83
+ ("HKFHIRResource", b"init"),
84
+ ("HKDeletedObject", b"init"),
85
+ ("HKStatistics", b"init"),
86
+ ("HKVisionPrism", b"init"),
87
+ ("HKVisionPrism", b"new"),
88
+ ("HKSource", b"init"),
89
+ ("HKObjectType", b"init"),
90
+ ("HKWorkoutEvent", b"init"),
91
+ ("HKStatisticsCollection", b"init"),
92
+ ("HKGlassesLensSpecification", b"init"),
93
+ ("HKGlassesLensSpecification", b"new"),
94
+ ("HKAudiogramSensitivityPointClampingRange", b"init"),
95
+ ("HKAudiogramSensitivityPointClampingRange", b"new"),
96
+ ("HKAudiogramSensitivityTes", b"init"),
97
+ ("HKAudiogramSensitivityTes", b"new"),
98
+ ):
99
+ objc.registerUnavailableMethod(cls, sel)
100
+
101
+ del sys.modules["HealthKit._metadata"]
102
+
103
+
104
+ globals().pop("_setup")()
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Fri Sep 1 15:54:24 2023
3
+ # Last update: Fri Nov 15 12:36:01 2024
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -30,8 +30,8 @@ else:
30
30
 
31
31
 
32
32
  misc = {}
33
- constants = """$HKCategoryTypeIdentifierAbdominalCramps$HKCategoryTypeIdentifierAcne$HKCategoryTypeIdentifierAppetiteChanges$HKCategoryTypeIdentifierAppleStandHour$HKCategoryTypeIdentifierAppleWalkingSteadinessEvent$HKCategoryTypeIdentifierAudioExposureEvent$HKCategoryTypeIdentifierBladderIncontinence$HKCategoryTypeIdentifierBloating$HKCategoryTypeIdentifierBreastPain$HKCategoryTypeIdentifierCervicalMucusQuality$HKCategoryTypeIdentifierChestTightnessOrPain$HKCategoryTypeIdentifierChills$HKCategoryTypeIdentifierConstipation$HKCategoryTypeIdentifierContraceptive$HKCategoryTypeIdentifierCoughing$HKCategoryTypeIdentifierDiarrhea$HKCategoryTypeIdentifierDizziness$HKCategoryTypeIdentifierDrySkin$HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent$HKCategoryTypeIdentifierFainting$HKCategoryTypeIdentifierFatigue$HKCategoryTypeIdentifierFever$HKCategoryTypeIdentifierGeneralizedBodyAche$HKCategoryTypeIdentifierHairLoss$HKCategoryTypeIdentifierHandwashingEvent$HKCategoryTypeIdentifierHeadache$HKCategoryTypeIdentifierHeadphoneAudioExposureEvent$HKCategoryTypeIdentifierHeartburn$HKCategoryTypeIdentifierHighHeartRateEvent$HKCategoryTypeIdentifierHotFlashes$HKCategoryTypeIdentifierInfrequentMenstrualCycles$HKCategoryTypeIdentifierIntermenstrualBleeding$HKCategoryTypeIdentifierIrregularHeartRhythmEvent$HKCategoryTypeIdentifierIrregularMenstrualCycles$HKCategoryTypeIdentifierLactation$HKCategoryTypeIdentifierLossOfSmell$HKCategoryTypeIdentifierLossOfTaste$HKCategoryTypeIdentifierLowCardioFitnessEvent$HKCategoryTypeIdentifierLowHeartRateEvent$HKCategoryTypeIdentifierLowerBackPain$HKCategoryTypeIdentifierMemoryLapse$HKCategoryTypeIdentifierMenstrualFlow$HKCategoryTypeIdentifierMindfulSession$HKCategoryTypeIdentifierMoodChanges$HKCategoryTypeIdentifierNausea$HKCategoryTypeIdentifierNightSweats$HKCategoryTypeIdentifierOvulationTestResult$HKCategoryTypeIdentifierPelvicPain$HKCategoryTypeIdentifierPersistentIntermenstrualBleeding$HKCategoryTypeIdentifierPregnancy$HKCategoryTypeIdentifierPregnancyTestResult$HKCategoryTypeIdentifierProgesteroneTestResult$HKCategoryTypeIdentifierProlongedMenstrualPeriods$HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat$HKCategoryTypeIdentifierRunnyNose$HKCategoryTypeIdentifierSexualActivity$HKCategoryTypeIdentifierShortnessOfBreath$HKCategoryTypeIdentifierSinusCongestion$HKCategoryTypeIdentifierSkippedHeartbeat$HKCategoryTypeIdentifierSleepAnalysis$HKCategoryTypeIdentifierSleepChanges$HKCategoryTypeIdentifierSoreThroat$HKCategoryTypeIdentifierToothbrushingEvent$HKCategoryTypeIdentifierVaginalDryness$HKCategoryTypeIdentifierVomiting$HKCategoryTypeIdentifierWheezing$HKCharacteristicTypeIdentifierActivityMoveMode$HKCharacteristicTypeIdentifierBiologicalSex$HKCharacteristicTypeIdentifierBloodType$HKCharacteristicTypeIdentifierDateOfBirth$HKCharacteristicTypeIdentifierFitzpatrickSkinType$HKCharacteristicTypeIdentifierWheelchairUse$HKClinicalTypeIdentifierAllergyRecord$HKClinicalTypeIdentifierClinicalNoteRecord$HKClinicalTypeIdentifierConditionRecord$HKClinicalTypeIdentifierCoverageRecord$HKClinicalTypeIdentifierImmunizationRecord$HKClinicalTypeIdentifierLabResultRecord$HKClinicalTypeIdentifierMedicationRecord$HKClinicalTypeIdentifierProcedureRecord$HKClinicalTypeIdentifierVitalSignRecord$HKCorrelationTypeIdentifierBloodPressure$HKCorrelationTypeIdentifierFood$HKDataTypeIdentifierHeartbeatSeries$HKDetailedCDAValidationErrorKey$HKDevicePropertyKeyFirmwareVersion$HKDevicePropertyKeyHardwareVersion$HKDevicePropertyKeyLocalIdentifier$HKDevicePropertyKeyManufacturer$HKDevicePropertyKeyModel$HKDevicePropertyKeyName$HKDevicePropertyKeySoftwareVersion$HKDevicePropertyKeyUDIDeviceIdentifier$HKDocumentTypeIdentifierCDA$HKErrorDomain$HKFHIRReleaseDSTU2$HKFHIRReleaseR4$HKFHIRReleaseUnknown$HKFHIRResourceTypeAllergyIntolerance$HKFHIRResourceTypeCondition$HKFHIRResourceTypeCoverage$HKFHIRResourceTypeDiagnosticReport$HKFHIRResourceTypeDocumentReference$HKFHIRResourceTypeImmunization$HKFHIRResourceTypeMedicationDispense$HKFHIRResourceTypeMedicationOrder$HKFHIRResourceTypeMedicationRequest$HKFHIRResourceTypeMedicationStatement$HKFHIRResourceTypeObservation$HKFHIRResourceTypeProcedure$HKMetadataKeyActivityType$HKMetadataKeyAlgorithmVersion$HKMetadataKeyAlpineSlopeGrade$HKMetadataKeyAppleDeviceCalibrated$HKMetadataKeyAppleECGAlgorithmVersion$HKMetadataKeyAppleFitnessPlusSession$HKMetadataKeyAudioExposureDuration$HKMetadataKeyAudioExposureLevel$HKMetadataKeyAverageMETs$HKMetadataKeyAverageSpeed$HKMetadataKeyBarometricPressure$HKMetadataKeyBloodGlucoseMealTime$HKMetadataKeyBodyTemperatureSensorLocation$HKMetadataKeyCoachedWorkout$HKMetadataKeyCrossTrainerDistance$HKMetadataKeyCyclingFunctionalThresholdPowerTestType$HKMetadataKeyDateOfEarliestDataUsedForEstimate$HKMetadataKeyDeviceManufacturerName$HKMetadataKeyDeviceName$HKMetadataKeyDevicePlacementSide$HKMetadataKeyDeviceSerialNumber$HKMetadataKeyDigitalSignature$HKMetadataKeyElevationAscended$HKMetadataKeyElevationDescended$HKMetadataKeyExternalUUID$HKMetadataKeyFitnessMachineDuration$HKMetadataKeyFoodType$HKMetadataKeyGlassesPrescriptionDescription$HKMetadataKeyGroupFitness$HKMetadataKeyHeadphoneGain$HKMetadataKeyHeartRateEventThreshold$HKMetadataKeyHeartRateMotionContext$HKMetadataKeyHeartRateRecoveryActivityDuration$HKMetadataKeyHeartRateRecoveryActivityType$HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate$HKMetadataKeyHeartRateRecoveryTestType$HKMetadataKeyHeartRateSensorLocation$HKMetadataKeyIndoorBikeDistance$HKMetadataKeyIndoorWorkout$HKMetadataKeyInsulinDeliveryReason$HKMetadataKeyLapLength$HKMetadataKeyLowCardioFitnessEventThreshold$HKMetadataKeyMaximumLightIntensity$HKMetadataKeyMaximumSpeed$HKMetadataKeyMenstrualCycleStart$HKMetadataKeyPhysicalEffortEstimationType$HKMetadataKeyQuantityClampedToLowerBound$HKMetadataKeyQuantityClampedToUpperBound$HKMetadataKeyReferenceRangeLowerLimit$HKMetadataKeyReferenceRangeUpperLimit$HKMetadataKeySWOLFScore$HKMetadataKeySessionEstimate$HKMetadataKeySexualActivityProtectionUsed$HKMetadataKeySwimmingLocationType$HKMetadataKeySwimmingStrokeStyle$HKMetadataKeySyncIdentifier$HKMetadataKeySyncVersion$HKMetadataKeyTimeZone$HKMetadataKeyUDIDeviceIdentifier$HKMetadataKeyUDIProductionIdentifier$HKMetadataKeyUserMotionContext$HKMetadataKeyVO2MaxTestType$HKMetadataKeyVO2MaxValue$HKMetadataKeyWasTakenInLab$HKMetadataKeyWasUserEntered$HKMetadataKeyWaterSalinity$HKMetadataKeyWeatherCondition$HKMetadataKeyWeatherHumidity$HKMetadataKeyWeatherTemperature$HKMetadataKeyWorkoutBrandName$HKPredicateKeyPathAverage$HKPredicateKeyPathAverageHeartRate$HKPredicateKeyPathCDAAuthorName$HKPredicateKeyPathCDACustodianName$HKPredicateKeyPathCDAPatientName$HKPredicateKeyPathCDATitle$HKPredicateKeyPathCategoryValue$HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier$HKPredicateKeyPathClinicalRecordFHIRResourceType$HKPredicateKeyPathCorrelation$HKPredicateKeyPathCount$HKPredicateKeyPathDateComponents$HKPredicateKeyPathDevice$HKPredicateKeyPathECGClassification$HKPredicateKeyPathECGSymptomsStatus$HKPredicateKeyPathEndDate$HKPredicateKeyPathMax$HKPredicateKeyPathMetadata$HKPredicateKeyPathMin$HKPredicateKeyPathMostRecent$HKPredicateKeyPathMostRecentDuration$HKPredicateKeyPathMostRecentEndDate$HKPredicateKeyPathMostRecentStartDate$HKPredicateKeyPathQuantity$HKPredicateKeyPathSource$HKPredicateKeyPathSourceRevision$HKPredicateKeyPathStartDate$HKPredicateKeyPathSum$HKPredicateKeyPathUUID$HKPredicateKeyPathWorkout$HKPredicateKeyPathWorkoutActivity$HKPredicateKeyPathWorkoutActivityAverageQuantity$HKPredicateKeyPathWorkoutActivityDuration$HKPredicateKeyPathWorkoutActivityEndDate$HKPredicateKeyPathWorkoutActivityMaximumQuantity$HKPredicateKeyPathWorkoutActivityMinimumQuantity$HKPredicateKeyPathWorkoutActivityStartDate$HKPredicateKeyPathWorkoutActivitySumQuantity$HKPredicateKeyPathWorkoutActivityType$HKPredicateKeyPathWorkoutAverageQuantity$HKPredicateKeyPathWorkoutDuration$HKPredicateKeyPathWorkoutMaximumQuantity$HKPredicateKeyPathWorkoutMinimumQuantity$HKPredicateKeyPathWorkoutSumQuantity$HKPredicateKeyPathWorkoutTotalDistance$HKPredicateKeyPathWorkoutTotalEnergyBurned$HKPredicateKeyPathWorkoutTotalFlightsClimbed$HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount$HKPredicateKeyPathWorkoutType$HKQuantityTypeIdentifierActiveEnergyBurned$HKQuantityTypeIdentifierAppleExerciseTime$HKQuantityTypeIdentifierAppleMoveTime$HKQuantityTypeIdentifierAppleSleepingWristTemperature$HKQuantityTypeIdentifierAppleStandTime$HKQuantityTypeIdentifierAppleWalkingSteadiness$HKQuantityTypeIdentifierAtrialFibrillationBurden$HKQuantityTypeIdentifierBasalBodyTemperature$HKQuantityTypeIdentifierBasalEnergyBurned$HKQuantityTypeIdentifierBloodAlcoholContent$HKQuantityTypeIdentifierBloodGlucose$HKQuantityTypeIdentifierBloodPressureDiastolic$HKQuantityTypeIdentifierBloodPressureSystolic$HKQuantityTypeIdentifierBodyFatPercentage$HKQuantityTypeIdentifierBodyMass$HKQuantityTypeIdentifierBodyMassIndex$HKQuantityTypeIdentifierBodyTemperature$HKQuantityTypeIdentifierCyclingCadence$HKQuantityTypeIdentifierCyclingFunctionalThresholdPower$HKQuantityTypeIdentifierCyclingPower$HKQuantityTypeIdentifierCyclingSpeed$HKQuantityTypeIdentifierDietaryBiotin$HKQuantityTypeIdentifierDietaryCaffeine$HKQuantityTypeIdentifierDietaryCalcium$HKQuantityTypeIdentifierDietaryCarbohydrates$HKQuantityTypeIdentifierDietaryChloride$HKQuantityTypeIdentifierDietaryCholesterol$HKQuantityTypeIdentifierDietaryChromium$HKQuantityTypeIdentifierDietaryCopper$HKQuantityTypeIdentifierDietaryEnergyConsumed$HKQuantityTypeIdentifierDietaryFatMonounsaturated$HKQuantityTypeIdentifierDietaryFatPolyunsaturated$HKQuantityTypeIdentifierDietaryFatSaturated$HKQuantityTypeIdentifierDietaryFatTotal$HKQuantityTypeIdentifierDietaryFiber$HKQuantityTypeIdentifierDietaryFolate$HKQuantityTypeIdentifierDietaryIodine$HKQuantityTypeIdentifierDietaryIron$HKQuantityTypeIdentifierDietaryMagnesium$HKQuantityTypeIdentifierDietaryManganese$HKQuantityTypeIdentifierDietaryMolybdenum$HKQuantityTypeIdentifierDietaryNiacin$HKQuantityTypeIdentifierDietaryPantothenicAcid$HKQuantityTypeIdentifierDietaryPhosphorus$HKQuantityTypeIdentifierDietaryPotassium$HKQuantityTypeIdentifierDietaryProtein$HKQuantityTypeIdentifierDietaryRiboflavin$HKQuantityTypeIdentifierDietarySelenium$HKQuantityTypeIdentifierDietarySodium$HKQuantityTypeIdentifierDietarySugar$HKQuantityTypeIdentifierDietaryThiamin$HKQuantityTypeIdentifierDietaryVitaminA$HKQuantityTypeIdentifierDietaryVitaminB12$HKQuantityTypeIdentifierDietaryVitaminB6$HKQuantityTypeIdentifierDietaryVitaminC$HKQuantityTypeIdentifierDietaryVitaminD$HKQuantityTypeIdentifierDietaryVitaminE$HKQuantityTypeIdentifierDietaryVitaminK$HKQuantityTypeIdentifierDietaryWater$HKQuantityTypeIdentifierDietaryZinc$HKQuantityTypeIdentifierDistanceCycling$HKQuantityTypeIdentifierDistanceDownhillSnowSports$HKQuantityTypeIdentifierDistanceSwimming$HKQuantityTypeIdentifierDistanceWalkingRunning$HKQuantityTypeIdentifierDistanceWheelchair$HKQuantityTypeIdentifierElectrodermalActivity$HKQuantityTypeIdentifierEnvironmentalAudioExposure$HKQuantityTypeIdentifierEnvironmentalSoundReduction$HKQuantityTypeIdentifierFlightsClimbed$HKQuantityTypeIdentifierForcedExpiratoryVolume1$HKQuantityTypeIdentifierForcedVitalCapacity$HKQuantityTypeIdentifierHeadphoneAudioExposure$HKQuantityTypeIdentifierHeartRate$HKQuantityTypeIdentifierHeartRateRecoveryOneMinute$HKQuantityTypeIdentifierHeartRateVariabilitySDNN$HKQuantityTypeIdentifierHeight$HKQuantityTypeIdentifierInhalerUsage$HKQuantityTypeIdentifierInsulinDelivery$HKQuantityTypeIdentifierLeanBodyMass$HKQuantityTypeIdentifierNikeFuel$HKQuantityTypeIdentifierNumberOfAlcoholicBeverages$HKQuantityTypeIdentifierNumberOfTimesFallen$HKQuantityTypeIdentifierOxygenSaturation$HKQuantityTypeIdentifierPeakExpiratoryFlowRate$HKQuantityTypeIdentifierPeripheralPerfusionIndex$HKQuantityTypeIdentifierPhysicalEffort$HKQuantityTypeIdentifierPushCount$HKQuantityTypeIdentifierRespiratoryRate$HKQuantityTypeIdentifierRestingHeartRate$HKQuantityTypeIdentifierRunningGroundContactTime$HKQuantityTypeIdentifierRunningPower$HKQuantityTypeIdentifierRunningSpeed$HKQuantityTypeIdentifierRunningStrideLength$HKQuantityTypeIdentifierRunningVerticalOscillation$HKQuantityTypeIdentifierSixMinuteWalkTestDistance$HKQuantityTypeIdentifierStairAscentSpeed$HKQuantityTypeIdentifierStairDescentSpeed$HKQuantityTypeIdentifierStepCount$HKQuantityTypeIdentifierSwimmingStrokeCount$HKQuantityTypeIdentifierTimeInDaylight$HKQuantityTypeIdentifierUVExposure$HKQuantityTypeIdentifierUnderwaterDepth$HKQuantityTypeIdentifierVO2Max$HKQuantityTypeIdentifierWaistCircumference$HKQuantityTypeIdentifierWalkingAsymmetryPercentage$HKQuantityTypeIdentifierWalkingDoubleSupportPercentage$HKQuantityTypeIdentifierWalkingHeartRateAverage$HKQuantityTypeIdentifierWalkingSpeed$HKQuantityTypeIdentifierWalkingStepLength$HKQuantityTypeIdentifierWaterTemperature$HKSampleSortIdentifierEndDate$HKSampleSortIdentifierStartDate$HKSourceRevisionAnyOperatingSystem@{NSOperatingSystemVersion=qqq}$HKSourceRevisionAnyProductType$HKSourceRevisionAnyVersion$HKUserPreferencesDidChangeNotification$HKVerifiableClinicalRecordCredentialTypeCOVID19$HKVerifiableClinicalRecordCredentialTypeImmunization$HKVerifiableClinicalRecordCredentialTypeLaboratory$HKVerifiableClinicalRecordCredentialTypeRecovery$HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate$HKVerifiableClinicalRecordSourceTypeSMARTHealthCard$HKVisionPrescriptionTypeIdentifier$HKWorkoutRouteTypeIdentifier$HKWorkoutSortIdentifierDuration$HKWorkoutSortIdentifierTotalDistance$HKWorkoutSortIdentifierTotalEnergyBurned$HKWorkoutSortIdentifierTotalFlightsClimbed$HKWorkoutSortIdentifierTotalSwimmingStrokeCount$HKWorkoutTypeIdentifier$"""
34
- enums = """$HKActivityMoveModeActiveEnergy@1$HKActivityMoveModeAppleMoveTime@2$HKAnchoredObjectQueryNoAnchor@0$HKAppleECGAlgorithmVersion1@1$HKAppleECGAlgorithmVersion2@2$HKAppleWalkingSteadinessClassificationLow@2$HKAppleWalkingSteadinessClassificationOK@1$HKAppleWalkingSteadinessClassificationVeryLow@3$HKAuthorizationRequestStatusShouldRequest@1$HKAuthorizationRequestStatusUnknown@0$HKAuthorizationRequestStatusUnnecessary@2$HKAuthorizationStatusNotDetermined@0$HKAuthorizationStatusSharingAuthorized@2$HKAuthorizationStatusSharingDenied@1$HKBiologicalSexFemale@1$HKBiologicalSexMale@2$HKBiologicalSexNotSet@0$HKBiologicalSexOther@3$HKBloodGlucoseMealTimePostprandial@2$HKBloodGlucoseMealTimePreprandial@1$HKBloodTypeABNegative@6$HKBloodTypeABPositive@5$HKBloodTypeANegative@2$HKBloodTypeAPositive@1$HKBloodTypeBNegative@4$HKBloodTypeBPositive@3$HKBloodTypeNotSet@0$HKBloodTypeONegative@8$HKBloodTypeOPositive@7$HKBodyTemperatureSensorLocationArmpit@1$HKBodyTemperatureSensorLocationBody@2$HKBodyTemperatureSensorLocationEar@3$HKBodyTemperatureSensorLocationEarDrum@9$HKBodyTemperatureSensorLocationFinger@4$HKBodyTemperatureSensorLocationForehead@11$HKBodyTemperatureSensorLocationGastroIntestinal@5$HKBodyTemperatureSensorLocationMouth@6$HKBodyTemperatureSensorLocationOther@0$HKBodyTemperatureSensorLocationRectum@7$HKBodyTemperatureSensorLocationTemporalArtery@10$HKBodyTemperatureSensorLocationToe@8$HKCategoryValueAppetiteChangesDecreased@2$HKCategoryValueAppetiteChangesIncreased@3$HKCategoryValueAppetiteChangesNoChange@1$HKCategoryValueAppetiteChangesUnspecified@0$HKCategoryValueAppleStandHourIdle@1$HKCategoryValueAppleStandHourStood@0$HKCategoryValueAppleWalkingSteadinessEventInitialLow@1$HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow@2$HKCategoryValueAppleWalkingSteadinessEventRepeatLow@3$HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow@4$HKCategoryValueAudioExposureEventLoudEnvironment@1$HKCategoryValueCervicalMucusQualityCreamy@3$HKCategoryValueCervicalMucusQualityDry@1$HKCategoryValueCervicalMucusQualityEggWhite@5$HKCategoryValueCervicalMucusQualitySticky@2$HKCategoryValueCervicalMucusQualityWatery@4$HKCategoryValueContraceptiveImplant@2$HKCategoryValueContraceptiveInjection@3$HKCategoryValueContraceptiveIntrauterineDevice@4$HKCategoryValueContraceptiveIntravaginalRing@5$HKCategoryValueContraceptiveOral@6$HKCategoryValueContraceptivePatch@7$HKCategoryValueContraceptiveUnspecified@1$HKCategoryValueEnvironmentalAudioExposureEventMomentaryLimit@1$HKCategoryValueHeadphoneAudioExposureEventSevenDayLimit@1$HKCategoryValueLowCardioFitnessEventLowFitness@1$HKCategoryValueMenstrualFlowHeavy@4$HKCategoryValueMenstrualFlowLight@2$HKCategoryValueMenstrualFlowMedium@3$HKCategoryValueMenstrualFlowNone@5$HKCategoryValueMenstrualFlowUnspecified@1$HKCategoryValueNotApplicable@0$HKCategoryValueOvulationTestResultEstrogenSurge@4$HKCategoryValueOvulationTestResultIndeterminate@3$HKCategoryValueOvulationTestResultLuteinizingHormoneSurge@2$HKCategoryValueOvulationTestResultNegative@1$HKCategoryValueOvulationTestResultPositive@2$HKCategoryValuePregnancyTestResultIndeterminate@3$HKCategoryValuePregnancyTestResultNegative@1$HKCategoryValuePregnancyTestResultPositive@2$HKCategoryValuePresenceNotPresent@1$HKCategoryValuePresencePresent@0$HKCategoryValueProgesteroneTestResultIndeterminate@3$HKCategoryValueProgesteroneTestResultNegative@1$HKCategoryValueProgesteroneTestResultPositive@2$HKCategoryValueSeverityMild@2$HKCategoryValueSeverityModerate@3$HKCategoryValueSeverityNotPresent@1$HKCategoryValueSeveritySevere@4$HKCategoryValueSeverityUnspecified@0$HKCategoryValueSleepAnalysisAsleep@1$HKCategoryValueSleepAnalysisAsleepCore@3$HKCategoryValueSleepAnalysisAsleepDeep@4$HKCategoryValueSleepAnalysisAsleepREM@5$HKCategoryValueSleepAnalysisAsleepUnspecified@1$HKCategoryValueSleepAnalysisAwake@2$HKCategoryValueSleepAnalysisInBed@0$HKCyclingFunctionalThresholdPowerTestTypeMaxExercise20Minute@2$HKCyclingFunctionalThresholdPowerTestTypeMaxExercise60Minute@1$HKCyclingFunctionalThresholdPowerTestTypePredictionExercise@4$HKCyclingFunctionalThresholdPowerTestTypeRampTest@3$HKDevicePlacementSideCentral@3$HKDevicePlacementSideLeft@1$HKDevicePlacementSideRight@2$HKDevicePlacementSideUnknown@0$HKElectrocardiogramClassificationAtrialFibrillation@2$HKElectrocardiogramClassificationInconclusiveHighHeartRate@4$HKElectrocardiogramClassificationInconclusiveLowHeartRate@3$HKElectrocardiogramClassificationInconclusiveOther@6$HKElectrocardiogramClassificationInconclusivePoorReading@5$HKElectrocardiogramClassificationNotSet@0$HKElectrocardiogramClassificationSinusRhythm@1$HKElectrocardiogramClassificationUnrecognized@100$HKElectrocardiogramLeadAppleWatchSimilarToLeadI@1$HKElectrocardiogramSymptomsStatusNone@1$HKElectrocardiogramSymptomsStatusNotSet@0$HKElectrocardiogramSymptomsStatusPresent@2$HKErrorAnotherWorkoutSessionStarted@8$HKErrorAuthorizationDenied@4$HKErrorAuthorizationNotDetermined@5$HKErrorBackgroundWorkoutSessionNotAllowed@14$HKErrorDataSizeExceeded@13$HKErrorDatabaseInaccessible@6$HKErrorHealthDataRestricted@2$HKErrorHealthDataUnavailable@1$HKErrorInvalidArgument@3$HKErrorNoData@11$HKErrorRequiredAuthorizationDenied@10$HKErrorUserCanceled@7$HKErrorUserExitedWorkoutSession@9$HKErrorWorkoutActivityNotAllowed@12$HKFitzpatrickSkinTypeI@1$HKFitzpatrickSkinTypeII@2$HKFitzpatrickSkinTypeIII@3$HKFitzpatrickSkinTypeIV@4$HKFitzpatrickSkinTypeNotSet@0$HKFitzpatrickSkinTypeV@5$HKFitzpatrickSkinTypeVI@6$HKHeartRateMotionContextActive@2$HKHeartRateMotionContextNotSet@0$HKHeartRateMotionContextSedentary@1$HKHeartRateRecoveryTestTypeMaxExercise@1$HKHeartRateRecoveryTestTypePredictionNonExercise@3$HKHeartRateRecoveryTestTypePredictionSubMaxExercise@2$HKHeartRateSensorLocationChest@1$HKHeartRateSensorLocationEarLobe@5$HKHeartRateSensorLocationFinger@3$HKHeartRateSensorLocationFoot@6$HKHeartRateSensorLocationHand@4$HKHeartRateSensorLocationOther@0$HKHeartRateSensorLocationWrist@2$HKInsulinDeliveryReasonBasal@1$HKInsulinDeliveryReasonBolus@2$HKMetricPrefixCenti@5$HKMetricPrefixDeca@7$HKMetricPrefixDeci@6$HKMetricPrefixFemto@13$HKMetricPrefixGiga@11$HKMetricPrefixHecto@8$HKMetricPrefixKilo@9$HKMetricPrefixMega@10$HKMetricPrefixMicro@3$HKMetricPrefixMilli@4$HKMetricPrefixNano@2$HKMetricPrefixNone@0$HKMetricPrefixPico@1$HKMetricPrefixTera@12$HKNoError@0$HKObjectQueryNoLimit@0$HKPhysicalEffortEstimationTypeActivityLookup@1$HKPhysicalEffortEstimationTypeDeviceSensed@2$HKPrismBaseDown@2$HKPrismBaseIn@3$HKPrismBaseNone@0$HKPrismBaseOut@4$HKPrismBaseUp@1$HKQuantityAggregationStyleCumulative@0$HKQuantityAggregationStyleDiscrete@1$HKQuantityAggregationStyleDiscreteArithmetic@1$HKQuantityAggregationStyleDiscreteEquivalentContinuousLevel@3$HKQuantityAggregationStyleDiscreteTemporallyWeighted@2$HKQueryOptionNone@0$HKQueryOptionStrictEndDate@2$HKQueryOptionStrictStartDate@1$HKStatisticsOptionCumulativeSum@16$HKStatisticsOptionDiscreteAverage@2$HKStatisticsOptionDiscreteMax@8$HKStatisticsOptionDiscreteMin@4$HKStatisticsOptionDiscreteMostRecent@32$HKStatisticsOptionDuration@64$HKStatisticsOptionMostRecent@32$HKStatisticsOptionNone@0$HKStatisticsOptionSeparateBySource@1$HKSwimmingStrokeStyleBackstroke@3$HKSwimmingStrokeStyleBreaststroke@4$HKSwimmingStrokeStyleButterfly@5$HKSwimmingStrokeStyleFreestyle@2$HKSwimmingStrokeStyleKickboard@6$HKSwimmingStrokeStyleMixed@1$HKSwimmingStrokeStyleUnknown@0$HKUnknownError@0$HKUpdateFrequencyDaily@3$HKUpdateFrequencyHourly@2$HKUpdateFrequencyImmediate@1$HKUpdateFrequencyWeekly@4$HKUserMotionContextActive@2$HKUserMotionContextNotSet@0$HKUserMotionContextStationary@1$HKVO2MaxTestTypeMaxExercise@1$HKVO2MaxTestTypePredictionNonExercise@3$HKVO2MaxTestTypePredictionSubMaxExercise@2$HKVisionEyeLeft@1$HKVisionEyeRight@2$HKVisionPrescriptionTypeContacts@2$HKVisionPrescriptionTypeGlasses@1$HKWaterSalinityFreshWater@1$HKWaterSalinitySaltWater@2$HKWeatherConditionBlustery@9$HKWeatherConditionClear@1$HKWeatherConditionCloudy@5$HKWeatherConditionDrizzle@21$HKWeatherConditionDust@11$HKWeatherConditionFair@2$HKWeatherConditionFoggy@6$HKWeatherConditionFreezingDrizzle@15$HKWeatherConditionFreezingRain@16$HKWeatherConditionHail@13$HKWeatherConditionHaze@7$HKWeatherConditionHurricane@26$HKWeatherConditionMixedRainAndHail@17$HKWeatherConditionMixedRainAndSleet@19$HKWeatherConditionMixedRainAndSnow@18$HKWeatherConditionMixedSnowAndSleet@20$HKWeatherConditionMostlyCloudy@4$HKWeatherConditionNone@0$HKWeatherConditionPartlyCloudy@3$HKWeatherConditionScatteredShowers@22$HKWeatherConditionShowers@23$HKWeatherConditionSleet@14$HKWeatherConditionSmoky@10$HKWeatherConditionSnow@12$HKWeatherConditionThunderstorms@24$HKWeatherConditionTornado@27$HKWeatherConditionTropicalStorm@25$HKWeatherConditionWindy@8$HKWheelchairUseNo@1$HKWheelchairUseNotSet@0$HKWheelchairUseYes@2$HKWorkoutActivityTypeAmericanFootball@1$HKWorkoutActivityTypeArchery@2$HKWorkoutActivityTypeAustralianFootball@3$HKWorkoutActivityTypeBadminton@4$HKWorkoutActivityTypeBarre@58$HKWorkoutActivityTypeBaseball@5$HKWorkoutActivityTypeBasketball@6$HKWorkoutActivityTypeBowling@7$HKWorkoutActivityTypeBoxing@8$HKWorkoutActivityTypeCardioDance@77$HKWorkoutActivityTypeClimbing@9$HKWorkoutActivityTypeCooldown@80$HKWorkoutActivityTypeCoreTraining@59$HKWorkoutActivityTypeCricket@10$HKWorkoutActivityTypeCrossCountrySkiing@60$HKWorkoutActivityTypeCrossTraining@11$HKWorkoutActivityTypeCurling@12$HKWorkoutActivityTypeCycling@13$HKWorkoutActivityTypeDance@14$HKWorkoutActivityTypeDanceInspiredTraining@15$HKWorkoutActivityTypeDiscSports@75$HKWorkoutActivityTypeDownhillSkiing@61$HKWorkoutActivityTypeElliptical@16$HKWorkoutActivityTypeEquestrianSports@17$HKWorkoutActivityTypeFencing@18$HKWorkoutActivityTypeFishing@19$HKWorkoutActivityTypeFitnessGaming@76$HKWorkoutActivityTypeFlexibility@62$HKWorkoutActivityTypeFunctionalStrengthTraining@20$HKWorkoutActivityTypeGolf@21$HKWorkoutActivityTypeGymnastics@22$HKWorkoutActivityTypeHandCycling@74$HKWorkoutActivityTypeHandball@23$HKWorkoutActivityTypeHighIntensityIntervalTraining@63$HKWorkoutActivityTypeHiking@24$HKWorkoutActivityTypeHockey@25$HKWorkoutActivityTypeHunting@26$HKWorkoutActivityTypeJumpRope@64$HKWorkoutActivityTypeKickboxing@65$HKWorkoutActivityTypeLacrosse@27$HKWorkoutActivityTypeMartialArts@28$HKWorkoutActivityTypeMindAndBody@29$HKWorkoutActivityTypeMixedCardio@73$HKWorkoutActivityTypeMixedMetabolicCardioTraining@30$HKWorkoutActivityTypeOther@3000$HKWorkoutActivityTypePaddleSports@31$HKWorkoutActivityTypePickleball@79$HKWorkoutActivityTypePilates@66$HKWorkoutActivityTypePlay@32$HKWorkoutActivityTypePreparationAndRecovery@33$HKWorkoutActivityTypeRacquetball@34$HKWorkoutActivityTypeRowing@35$HKWorkoutActivityTypeRugby@36$HKWorkoutActivityTypeRunning@37$HKWorkoutActivityTypeSailing@38$HKWorkoutActivityTypeSkatingSports@39$HKWorkoutActivityTypeSnowSports@40$HKWorkoutActivityTypeSnowboarding@67$HKWorkoutActivityTypeSoccer@41$HKWorkoutActivityTypeSocialDance@78$HKWorkoutActivityTypeSoftball@42$HKWorkoutActivityTypeSquash@43$HKWorkoutActivityTypeStairClimbing@44$HKWorkoutActivityTypeStairs@68$HKWorkoutActivityTypeStepTraining@69$HKWorkoutActivityTypeSurfingSports@45$HKWorkoutActivityTypeSwimBikeRun@82$HKWorkoutActivityTypeSwimming@46$HKWorkoutActivityTypeTableTennis@47$HKWorkoutActivityTypeTaiChi@72$HKWorkoutActivityTypeTennis@48$HKWorkoutActivityTypeTrackAndField@49$HKWorkoutActivityTypeTraditionalStrengthTraining@50$HKWorkoutActivityTypeTransition@83$HKWorkoutActivityTypeUnderwaterDiving@84$HKWorkoutActivityTypeVolleyball@51$HKWorkoutActivityTypeWalking@52$HKWorkoutActivityTypeWaterFitness@53$HKWorkoutActivityTypeWaterPolo@54$HKWorkoutActivityTypeWaterSports@55$HKWorkoutActivityTypeWheelchairRunPace@71$HKWorkoutActivityTypeWheelchairWalkPace@70$HKWorkoutActivityTypeWrestling@56$HKWorkoutActivityTypeYoga@57$HKWorkoutEventTypeLap@3$HKWorkoutEventTypeMarker@4$HKWorkoutEventTypeMotionPaused@5$HKWorkoutEventTypeMotionResumed@6$HKWorkoutEventTypePause@1$HKWorkoutEventTypePauseOrResumeRequest@8$HKWorkoutEventTypeResume@2$HKWorkoutEventTypeSegment@7$HKWorkoutSessionLocationTypeIndoor@2$HKWorkoutSessionLocationTypeOutdoor@3$HKWorkoutSessionLocationTypeUnknown@1$HKWorkoutSessionStateEnded@3$HKWorkoutSessionStateNotStarted@1$HKWorkoutSessionStatePaused@4$HKWorkoutSessionStatePrepared@5$HKWorkoutSessionStateRunning@2$HKWorkoutSessionStateStopped@6$HKWorkoutSessionTypeMirrored@1$HKWorkoutSessionTypePrimary@0$HKWorkoutSwimmingLocationTypeOpenWater@2$HKWorkoutSwimmingLocationTypePool@1$HKWorkoutSwimmingLocationTypeUnknown@0$"""
33
+ constants = """$HKCategoryTypeIdentifierAbdominalCramps$HKCategoryTypeIdentifierAcne$HKCategoryTypeIdentifierAppetiteChanges$HKCategoryTypeIdentifierAppleStandHour$HKCategoryTypeIdentifierAppleWalkingSteadinessEvent$HKCategoryTypeIdentifierAudioExposureEvent$HKCategoryTypeIdentifierBladderIncontinence$HKCategoryTypeIdentifierBleedingAfterPregnancy$HKCategoryTypeIdentifierBleedingDuringPregnancy$HKCategoryTypeIdentifierBloating$HKCategoryTypeIdentifierBreastPain$HKCategoryTypeIdentifierCervicalMucusQuality$HKCategoryTypeIdentifierChestTightnessOrPain$HKCategoryTypeIdentifierChills$HKCategoryTypeIdentifierConstipation$HKCategoryTypeIdentifierContraceptive$HKCategoryTypeIdentifierCoughing$HKCategoryTypeIdentifierDiarrhea$HKCategoryTypeIdentifierDizziness$HKCategoryTypeIdentifierDrySkin$HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent$HKCategoryTypeIdentifierFainting$HKCategoryTypeIdentifierFatigue$HKCategoryTypeIdentifierFever$HKCategoryTypeIdentifierGeneralizedBodyAche$HKCategoryTypeIdentifierHairLoss$HKCategoryTypeIdentifierHandwashingEvent$HKCategoryTypeIdentifierHeadache$HKCategoryTypeIdentifierHeadphoneAudioExposureEvent$HKCategoryTypeIdentifierHeartburn$HKCategoryTypeIdentifierHighHeartRateEvent$HKCategoryTypeIdentifierHotFlashes$HKCategoryTypeIdentifierInfrequentMenstrualCycles$HKCategoryTypeIdentifierIntermenstrualBleeding$HKCategoryTypeIdentifierIrregularHeartRhythmEvent$HKCategoryTypeIdentifierIrregularMenstrualCycles$HKCategoryTypeIdentifierLactation$HKCategoryTypeIdentifierLossOfSmell$HKCategoryTypeIdentifierLossOfTaste$HKCategoryTypeIdentifierLowCardioFitnessEvent$HKCategoryTypeIdentifierLowHeartRateEvent$HKCategoryTypeIdentifierLowerBackPain$HKCategoryTypeIdentifierMemoryLapse$HKCategoryTypeIdentifierMenstrualFlow$HKCategoryTypeIdentifierMindfulSession$HKCategoryTypeIdentifierMoodChanges$HKCategoryTypeIdentifierNausea$HKCategoryTypeIdentifierNightSweats$HKCategoryTypeIdentifierOvulationTestResult$HKCategoryTypeIdentifierPelvicPain$HKCategoryTypeIdentifierPersistentIntermenstrualBleeding$HKCategoryTypeIdentifierPregnancy$HKCategoryTypeIdentifierPregnancyTestResult$HKCategoryTypeIdentifierProgesteroneTestResult$HKCategoryTypeIdentifierProlongedMenstrualPeriods$HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat$HKCategoryTypeIdentifierRunnyNose$HKCategoryTypeIdentifierSexualActivity$HKCategoryTypeIdentifierShortnessOfBreath$HKCategoryTypeIdentifierSinusCongestion$HKCategoryTypeIdentifierSkippedHeartbeat$HKCategoryTypeIdentifierSleepAnalysis$HKCategoryTypeIdentifierSleepApneaEvent$HKCategoryTypeIdentifierSleepChanges$HKCategoryTypeIdentifierSoreThroat$HKCategoryTypeIdentifierToothbrushingEvent$HKCategoryTypeIdentifierVaginalDryness$HKCategoryTypeIdentifierVomiting$HKCategoryTypeIdentifierWheezing$HKCharacteristicTypeIdentifierActivityMoveMode$HKCharacteristicTypeIdentifierBiologicalSex$HKCharacteristicTypeIdentifierBloodType$HKCharacteristicTypeIdentifierDateOfBirth$HKCharacteristicTypeIdentifierFitzpatrickSkinType$HKCharacteristicTypeIdentifierWheelchairUse$HKClinicalTypeIdentifierAllergyRecord$HKClinicalTypeIdentifierClinicalNoteRecord$HKClinicalTypeIdentifierConditionRecord$HKClinicalTypeIdentifierCoverageRecord$HKClinicalTypeIdentifierImmunizationRecord$HKClinicalTypeIdentifierLabResultRecord$HKClinicalTypeIdentifierMedicationRecord$HKClinicalTypeIdentifierProcedureRecord$HKClinicalTypeIdentifierVitalSignRecord$HKCorrelationTypeIdentifierBloodPressure$HKCorrelationTypeIdentifierFood$HKDataTypeIdentifierHeartbeatSeries$HKDataTypeIdentifierStateOfMind$HKDetailedCDAValidationErrorKey$HKDevicePropertyKeyFirmwareVersion$HKDevicePropertyKeyHardwareVersion$HKDevicePropertyKeyLocalIdentifier$HKDevicePropertyKeyManufacturer$HKDevicePropertyKeyModel$HKDevicePropertyKeyName$HKDevicePropertyKeySoftwareVersion$HKDevicePropertyKeyUDIDeviceIdentifier$HKDocumentTypeIdentifierCDA$HKErrorDomain$HKFHIRReleaseDSTU2$HKFHIRReleaseR4$HKFHIRReleaseUnknown$HKFHIRResourceTypeAllergyIntolerance$HKFHIRResourceTypeCondition$HKFHIRResourceTypeCoverage$HKFHIRResourceTypeDiagnosticReport$HKFHIRResourceTypeDocumentReference$HKFHIRResourceTypeImmunization$HKFHIRResourceTypeMedicationDispense$HKFHIRResourceTypeMedicationOrder$HKFHIRResourceTypeMedicationRequest$HKFHIRResourceTypeMedicationStatement$HKFHIRResourceTypeObservation$HKFHIRResourceTypeProcedure$HKMetadataKeyActivityType$HKMetadataKeyAlgorithmVersion$HKMetadataKeyAlpineSlopeGrade$HKMetadataKeyAppleDeviceCalibrated$HKMetadataKeyAppleECGAlgorithmVersion$HKMetadataKeyAppleFitnessPlusCatalogIdentifier$HKMetadataKeyAppleFitnessPlusSession$HKMetadataKeyAudioExposureDuration$HKMetadataKeyAudioExposureLevel$HKMetadataKeyAverageMETs$HKMetadataKeyAverageSpeed$HKMetadataKeyBarometricPressure$HKMetadataKeyBloodGlucoseMealTime$HKMetadataKeyBodyTemperatureSensorLocation$HKMetadataKeyCoachedWorkout$HKMetadataKeyCrossTrainerDistance$HKMetadataKeyCyclingFunctionalThresholdPowerTestType$HKMetadataKeyDateOfEarliestDataUsedForEstimate$HKMetadataKeyDeviceManufacturerName$HKMetadataKeyDeviceName$HKMetadataKeyDevicePlacementSide$HKMetadataKeyDeviceSerialNumber$HKMetadataKeyDigitalSignature$HKMetadataKeyElevationAscended$HKMetadataKeyElevationDescended$HKMetadataKeyExternalUUID$HKMetadataKeyFitnessMachineDuration$HKMetadataKeyFoodType$HKMetadataKeyGlassesPrescriptionDescription$HKMetadataKeyGroupFitness$HKMetadataKeyHeadphoneGain$HKMetadataKeyHeartRateEventThreshold$HKMetadataKeyHeartRateMotionContext$HKMetadataKeyHeartRateRecoveryActivityDuration$HKMetadataKeyHeartRateRecoveryActivityType$HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate$HKMetadataKeyHeartRateRecoveryTestType$HKMetadataKeyHeartRateSensorLocation$HKMetadataKeyIndoorBikeDistance$HKMetadataKeyIndoorWorkout$HKMetadataKeyInsulinDeliveryReason$HKMetadataKeyLapLength$HKMetadataKeyLowCardioFitnessEventThreshold$HKMetadataKeyMaximumLightIntensity$HKMetadataKeyMaximumSpeed$HKMetadataKeyMenstrualCycleStart$HKMetadataKeyPhysicalEffortEstimationType$HKMetadataKeyQuantityClampedToLowerBound$HKMetadataKeyQuantityClampedToUpperBound$HKMetadataKeyReferenceRangeLowerLimit$HKMetadataKeyReferenceRangeUpperLimit$HKMetadataKeySWOLFScore$HKMetadataKeySessionEstimate$HKMetadataKeySexualActivityProtectionUsed$HKMetadataKeySwimmingLocationType$HKMetadataKeySwimmingStrokeStyle$HKMetadataKeySyncIdentifier$HKMetadataKeySyncVersion$HKMetadataKeyTimeZone$HKMetadataKeyUDIDeviceIdentifier$HKMetadataKeyUDIProductionIdentifier$HKMetadataKeyUserMotionContext$HKMetadataKeyVO2MaxTestType$HKMetadataKeyVO2MaxValue$HKMetadataKeyWasTakenInLab$HKMetadataKeyWasUserEntered$HKMetadataKeyWaterSalinity$HKMetadataKeyWeatherCondition$HKMetadataKeyWeatherHumidity$HKMetadataKeyWeatherTemperature$HKMetadataKeyWorkoutBrandName$HKPredicateKeyPathAverage$HKPredicateKeyPathAverageHeartRate$HKPredicateKeyPathCDAAuthorName$HKPredicateKeyPathCDACustodianName$HKPredicateKeyPathCDAPatientName$HKPredicateKeyPathCDATitle$HKPredicateKeyPathCategoryValue$HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier$HKPredicateKeyPathClinicalRecordFHIRResourceType$HKPredicateKeyPathCorrelation$HKPredicateKeyPathCount$HKPredicateKeyPathDateComponents$HKPredicateKeyPathDevice$HKPredicateKeyPathECGClassification$HKPredicateKeyPathECGSymptomsStatus$HKPredicateKeyPathEndDate$HKPredicateKeyPathMax$HKPredicateKeyPathMetadata$HKPredicateKeyPathMin$HKPredicateKeyPathMostRecent$HKPredicateKeyPathMostRecentDuration$HKPredicateKeyPathMostRecentEndDate$HKPredicateKeyPathMostRecentStartDate$HKPredicateKeyPathQuantity$HKPredicateKeyPathSource$HKPredicateKeyPathSourceRevision$HKPredicateKeyPathStartDate$HKPredicateKeyPathSum$HKPredicateKeyPathUUID$HKPredicateKeyPathWorkout$HKPredicateKeyPathWorkoutActivity$HKPredicateKeyPathWorkoutActivityAverageQuantity$HKPredicateKeyPathWorkoutActivityDuration$HKPredicateKeyPathWorkoutActivityEndDate$HKPredicateKeyPathWorkoutActivityMaximumQuantity$HKPredicateKeyPathWorkoutActivityMinimumQuantity$HKPredicateKeyPathWorkoutActivityStartDate$HKPredicateKeyPathWorkoutActivitySumQuantity$HKPredicateKeyPathWorkoutActivityType$HKPredicateKeyPathWorkoutAverageQuantity$HKPredicateKeyPathWorkoutDuration$HKPredicateKeyPathWorkoutEffortRelationship$HKPredicateKeyPathWorkoutMaximumQuantity$HKPredicateKeyPathWorkoutMinimumQuantity$HKPredicateKeyPathWorkoutSumQuantity$HKPredicateKeyPathWorkoutTotalDistance$HKPredicateKeyPathWorkoutTotalEnergyBurned$HKPredicateKeyPathWorkoutTotalFlightsClimbed$HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount$HKPredicateKeyPathWorkoutType$HKQuantityTypeIdentifierActiveEnergyBurned$HKQuantityTypeIdentifierAppleExerciseTime$HKQuantityTypeIdentifierAppleMoveTime$HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances$HKQuantityTypeIdentifierAppleSleepingWristTemperature$HKQuantityTypeIdentifierAppleStandTime$HKQuantityTypeIdentifierAppleWalkingSteadiness$HKQuantityTypeIdentifierAtrialFibrillationBurden$HKQuantityTypeIdentifierBasalBodyTemperature$HKQuantityTypeIdentifierBasalEnergyBurned$HKQuantityTypeIdentifierBloodAlcoholContent$HKQuantityTypeIdentifierBloodGlucose$HKQuantityTypeIdentifierBloodPressureDiastolic$HKQuantityTypeIdentifierBloodPressureSystolic$HKQuantityTypeIdentifierBodyFatPercentage$HKQuantityTypeIdentifierBodyMass$HKQuantityTypeIdentifierBodyMassIndex$HKQuantityTypeIdentifierBodyTemperature$HKQuantityTypeIdentifierCrossCountrySkiingSpeed$HKQuantityTypeIdentifierCyclingCadence$HKQuantityTypeIdentifierCyclingFunctionalThresholdPower$HKQuantityTypeIdentifierCyclingPower$HKQuantityTypeIdentifierCyclingSpeed$HKQuantityTypeIdentifierDietaryBiotin$HKQuantityTypeIdentifierDietaryCaffeine$HKQuantityTypeIdentifierDietaryCalcium$HKQuantityTypeIdentifierDietaryCarbohydrates$HKQuantityTypeIdentifierDietaryChloride$HKQuantityTypeIdentifierDietaryCholesterol$HKQuantityTypeIdentifierDietaryChromium$HKQuantityTypeIdentifierDietaryCopper$HKQuantityTypeIdentifierDietaryEnergyConsumed$HKQuantityTypeIdentifierDietaryFatMonounsaturated$HKQuantityTypeIdentifierDietaryFatPolyunsaturated$HKQuantityTypeIdentifierDietaryFatSaturated$HKQuantityTypeIdentifierDietaryFatTotal$HKQuantityTypeIdentifierDietaryFiber$HKQuantityTypeIdentifierDietaryFolate$HKQuantityTypeIdentifierDietaryIodine$HKQuantityTypeIdentifierDietaryIron$HKQuantityTypeIdentifierDietaryMagnesium$HKQuantityTypeIdentifierDietaryManganese$HKQuantityTypeIdentifierDietaryMolybdenum$HKQuantityTypeIdentifierDietaryNiacin$HKQuantityTypeIdentifierDietaryPantothenicAcid$HKQuantityTypeIdentifierDietaryPhosphorus$HKQuantityTypeIdentifierDietaryPotassium$HKQuantityTypeIdentifierDietaryProtein$HKQuantityTypeIdentifierDietaryRiboflavin$HKQuantityTypeIdentifierDietarySelenium$HKQuantityTypeIdentifierDietarySodium$HKQuantityTypeIdentifierDietarySugar$HKQuantityTypeIdentifierDietaryThiamin$HKQuantityTypeIdentifierDietaryVitaminA$HKQuantityTypeIdentifierDietaryVitaminB12$HKQuantityTypeIdentifierDietaryVitaminB6$HKQuantityTypeIdentifierDietaryVitaminC$HKQuantityTypeIdentifierDietaryVitaminD$HKQuantityTypeIdentifierDietaryVitaminE$HKQuantityTypeIdentifierDietaryVitaminK$HKQuantityTypeIdentifierDietaryWater$HKQuantityTypeIdentifierDietaryZinc$HKQuantityTypeIdentifierDistanceCrossCountrySkiing$HKQuantityTypeIdentifierDistanceCycling$HKQuantityTypeIdentifierDistanceDownhillSnowSports$HKQuantityTypeIdentifierDistancePaddleSports$HKQuantityTypeIdentifierDistanceRowing$HKQuantityTypeIdentifierDistanceSkatingSports$HKQuantityTypeIdentifierDistanceSwimming$HKQuantityTypeIdentifierDistanceWalkingRunning$HKQuantityTypeIdentifierDistanceWheelchair$HKQuantityTypeIdentifierElectrodermalActivity$HKQuantityTypeIdentifierEnvironmentalAudioExposure$HKQuantityTypeIdentifierEnvironmentalSoundReduction$HKQuantityTypeIdentifierEstimatedWorkoutEffortScore$HKQuantityTypeIdentifierFlightsClimbed$HKQuantityTypeIdentifierForcedExpiratoryVolume1$HKQuantityTypeIdentifierForcedVitalCapacity$HKQuantityTypeIdentifierHeadphoneAudioExposure$HKQuantityTypeIdentifierHeartRate$HKQuantityTypeIdentifierHeartRateRecoveryOneMinute$HKQuantityTypeIdentifierHeartRateVariabilitySDNN$HKQuantityTypeIdentifierHeight$HKQuantityTypeIdentifierInhalerUsage$HKQuantityTypeIdentifierInsulinDelivery$HKQuantityTypeIdentifierLeanBodyMass$HKQuantityTypeIdentifierNikeFuel$HKQuantityTypeIdentifierNumberOfAlcoholicBeverages$HKQuantityTypeIdentifierNumberOfTimesFallen$HKQuantityTypeIdentifierOxygenSaturation$HKQuantityTypeIdentifierPaddleSportsSpeed$HKQuantityTypeIdentifierPeakExpiratoryFlowRate$HKQuantityTypeIdentifierPeripheralPerfusionIndex$HKQuantityTypeIdentifierPhysicalEffort$HKQuantityTypeIdentifierPushCount$HKQuantityTypeIdentifierRespiratoryRate$HKQuantityTypeIdentifierRestingHeartRate$HKQuantityTypeIdentifierRowingSpeed$HKQuantityTypeIdentifierRunningGroundContactTime$HKQuantityTypeIdentifierRunningPower$HKQuantityTypeIdentifierRunningSpeed$HKQuantityTypeIdentifierRunningStrideLength$HKQuantityTypeIdentifierRunningVerticalOscillation$HKQuantityTypeIdentifierSixMinuteWalkTestDistance$HKQuantityTypeIdentifierStairAscentSpeed$HKQuantityTypeIdentifierStairDescentSpeed$HKQuantityTypeIdentifierStepCount$HKQuantityTypeIdentifierSwimmingStrokeCount$HKQuantityTypeIdentifierTimeInDaylight$HKQuantityTypeIdentifierUVExposure$HKQuantityTypeIdentifierUnderwaterDepth$HKQuantityTypeIdentifierVO2Max$HKQuantityTypeIdentifierWaistCircumference$HKQuantityTypeIdentifierWalkingAsymmetryPercentage$HKQuantityTypeIdentifierWalkingDoubleSupportPercentage$HKQuantityTypeIdentifierWalkingHeartRateAverage$HKQuantityTypeIdentifierWalkingSpeed$HKQuantityTypeIdentifierWalkingStepLength$HKQuantityTypeIdentifierWaterTemperature$HKQuantityTypeIdentifierWorkoutEffortScore$HKSampleSortIdentifierEndDate$HKSampleSortIdentifierStartDate$HKScoredAssessmentTypeIdentifierGAD7$HKScoredAssessmentTypeIdentifierPHQ9$HKSourceRevisionAnyOperatingSystem@{NSOperatingSystemVersion=qqq}$HKSourceRevisionAnyProductType$HKSourceRevisionAnyVersion$HKUserPreferencesDidChangeNotification$HKVerifiableClinicalRecordCredentialTypeCOVID19$HKVerifiableClinicalRecordCredentialTypeImmunization$HKVerifiableClinicalRecordCredentialTypeLaboratory$HKVerifiableClinicalRecordCredentialTypeRecovery$HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate$HKVerifiableClinicalRecordSourceTypeSMARTHealthCard$HKVisionPrescriptionTypeIdentifier$HKWorkoutRouteTypeIdentifier$HKWorkoutSortIdentifierDuration$HKWorkoutSortIdentifierTotalDistance$HKWorkoutSortIdentifierTotalEnergyBurned$HKWorkoutSortIdentifierTotalFlightsClimbed$HKWorkoutSortIdentifierTotalSwimmingStrokeCount$HKWorkoutTypeIdentifier$"""
34
+ enums = """$HKActivityMoveModeActiveEnergy@1$HKActivityMoveModeAppleMoveTime@2$HKAnchoredObjectQueryNoAnchor@0$HKAppleECGAlgorithmVersion1@1$HKAppleECGAlgorithmVersion2@2$HKAppleSleepingBreathingDisturbancesClassificationElevated@1$HKAppleSleepingBreathingDisturbancesClassificationNotElevated@0$HKAppleWalkingSteadinessClassificationLow@2$HKAppleWalkingSteadinessClassificationOK@1$HKAppleWalkingSteadinessClassificationVeryLow@3$HKAudiogramConductionTypeAir@0$HKAudiogramSensitivityTestSideLeft@0$HKAudiogramSensitivityTestSideRight@1$HKAuthorizationRequestStatusShouldRequest@1$HKAuthorizationRequestStatusUnknown@0$HKAuthorizationRequestStatusUnnecessary@2$HKAuthorizationStatusNotDetermined@0$HKAuthorizationStatusSharingAuthorized@2$HKAuthorizationStatusSharingDenied@1$HKBiologicalSexFemale@1$HKBiologicalSexMale@2$HKBiologicalSexNotSet@0$HKBiologicalSexOther@3$HKBloodGlucoseMealTimePostprandial@2$HKBloodGlucoseMealTimePreprandial@1$HKBloodTypeABNegative@6$HKBloodTypeABPositive@5$HKBloodTypeANegative@2$HKBloodTypeAPositive@1$HKBloodTypeBNegative@4$HKBloodTypeBPositive@3$HKBloodTypeNotSet@0$HKBloodTypeONegative@8$HKBloodTypeOPositive@7$HKBodyTemperatureSensorLocationArmpit@1$HKBodyTemperatureSensorLocationBody@2$HKBodyTemperatureSensorLocationEar@3$HKBodyTemperatureSensorLocationEarDrum@9$HKBodyTemperatureSensorLocationFinger@4$HKBodyTemperatureSensorLocationForehead@11$HKBodyTemperatureSensorLocationGastroIntestinal@5$HKBodyTemperatureSensorLocationMouth@6$HKBodyTemperatureSensorLocationOther@0$HKBodyTemperatureSensorLocationRectum@7$HKBodyTemperatureSensorLocationTemporalArtery@10$HKBodyTemperatureSensorLocationToe@8$HKCategoryValueAppetiteChangesDecreased@2$HKCategoryValueAppetiteChangesIncreased@3$HKCategoryValueAppetiteChangesNoChange@1$HKCategoryValueAppetiteChangesUnspecified@0$HKCategoryValueAppleStandHourIdle@1$HKCategoryValueAppleStandHourStood@0$HKCategoryValueAppleWalkingSteadinessEventInitialLow@1$HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow@2$HKCategoryValueAppleWalkingSteadinessEventRepeatLow@3$HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow@4$HKCategoryValueAudioExposureEventLoudEnvironment@1$HKCategoryValueCervicalMucusQualityCreamy@3$HKCategoryValueCervicalMucusQualityDry@1$HKCategoryValueCervicalMucusQualityEggWhite@5$HKCategoryValueCervicalMucusQualitySticky@2$HKCategoryValueCervicalMucusQualityWatery@4$HKCategoryValueContraceptiveImplant@2$HKCategoryValueContraceptiveInjection@3$HKCategoryValueContraceptiveIntrauterineDevice@4$HKCategoryValueContraceptiveIntravaginalRing@5$HKCategoryValueContraceptiveOral@6$HKCategoryValueContraceptivePatch@7$HKCategoryValueContraceptiveUnspecified@1$HKCategoryValueEnvironmentalAudioExposureEventMomentaryLimit@1$HKCategoryValueHeadphoneAudioExposureEventSevenDayLimit@1$HKCategoryValueLowCardioFitnessEventLowFitness@1$HKCategoryValueMenstrualFlowHeavy@4$HKCategoryValueMenstrualFlowLight@2$HKCategoryValueMenstrualFlowMedium@3$HKCategoryValueMenstrualFlowNone@5$HKCategoryValueMenstrualFlowUnspecified@1$HKCategoryValueNotApplicable@0$HKCategoryValueOvulationTestResultEstrogenSurge@4$HKCategoryValueOvulationTestResultIndeterminate@3$HKCategoryValueOvulationTestResultLuteinizingHormoneSurge@2$HKCategoryValueOvulationTestResultNegative@1$HKCategoryValueOvulationTestResultPositive@2$HKCategoryValuePregnancyTestResultIndeterminate@3$HKCategoryValuePregnancyTestResultNegative@1$HKCategoryValuePregnancyTestResultPositive@2$HKCategoryValuePresenceNotPresent@1$HKCategoryValuePresencePresent@0$HKCategoryValueProgesteroneTestResultIndeterminate@3$HKCategoryValueProgesteroneTestResultNegative@1$HKCategoryValueProgesteroneTestResultPositive@2$HKCategoryValueSeverityMild@2$HKCategoryValueSeverityModerate@3$HKCategoryValueSeverityNotPresent@1$HKCategoryValueSeveritySevere@4$HKCategoryValueSeverityUnspecified@0$HKCategoryValueSleepAnalysisAsleep@1$HKCategoryValueSleepAnalysisAsleepCore@3$HKCategoryValueSleepAnalysisAsleepDeep@4$HKCategoryValueSleepAnalysisAsleepREM@5$HKCategoryValueSleepAnalysisAsleepUnspecified@1$HKCategoryValueSleepAnalysisAwake@2$HKCategoryValueSleepAnalysisInBed@0$HKCategoryValueVaginalBleedingHeavy@4$HKCategoryValueVaginalBleedingLight@2$HKCategoryValueVaginalBleedingMedium@3$HKCategoryValueVaginalBleedingNone@5$HKCategoryValueVaginalBleedingUnspecified@1$HKCyclingFunctionalThresholdPowerTestTypeMaxExercise20Minute@2$HKCyclingFunctionalThresholdPowerTestTypeMaxExercise60Minute@1$HKCyclingFunctionalThresholdPowerTestTypePredictionExercise@4$HKCyclingFunctionalThresholdPowerTestTypeRampTest@3$HKDevicePlacementSideCentral@3$HKDevicePlacementSideLeft@1$HKDevicePlacementSideRight@2$HKDevicePlacementSideUnknown@0$HKElectrocardiogramClassificationAtrialFibrillation@2$HKElectrocardiogramClassificationInconclusiveHighHeartRate@4$HKElectrocardiogramClassificationInconclusiveLowHeartRate@3$HKElectrocardiogramClassificationInconclusiveOther@6$HKElectrocardiogramClassificationInconclusivePoorReading@5$HKElectrocardiogramClassificationNotSet@0$HKElectrocardiogramClassificationSinusRhythm@1$HKElectrocardiogramClassificationUnrecognized@100$HKElectrocardiogramLeadAppleWatchSimilarToLeadI@1$HKElectrocardiogramSymptomsStatusNone@1$HKElectrocardiogramSymptomsStatusNotSet@0$HKElectrocardiogramSymptomsStatusPresent@2$HKErrorAnotherWorkoutSessionStarted@8$HKErrorAuthorizationDenied@4$HKErrorAuthorizationNotDetermined@5$HKErrorBackgroundWorkoutSessionNotAllowed@14$HKErrorDataSizeExceeded@13$HKErrorDatabaseInaccessible@6$HKErrorHealthDataRestricted@2$HKErrorHealthDataUnavailable@1$HKErrorInvalidArgument@3$HKErrorNoData@11$HKErrorNotPermissibleForGuestUserMode@15$HKErrorRequiredAuthorizationDenied@10$HKErrorUserCanceled@7$HKErrorUserExitedWorkoutSession@9$HKErrorWorkoutActivityNotAllowed@12$HKFitzpatrickSkinTypeI@1$HKFitzpatrickSkinTypeII@2$HKFitzpatrickSkinTypeIII@3$HKFitzpatrickSkinTypeIV@4$HKFitzpatrickSkinTypeNotSet@0$HKFitzpatrickSkinTypeV@5$HKFitzpatrickSkinTypeVI@6$HKGAD7AssessmentAnswerMoreThanHalfTheDays@2$HKGAD7AssessmentAnswerNearlyEveryDay@3$HKGAD7AssessmentAnswerNotAtAll@0$HKGAD7AssessmentAnswerSeveralDays@1$HKGAD7AssessmentRiskMild@2$HKGAD7AssessmentRiskModerate@3$HKGAD7AssessmentRiskNoneToMinimal@1$HKGAD7AssessmentRiskSevere@4$HKHeartRateMotionContextActive@2$HKHeartRateMotionContextNotSet@0$HKHeartRateMotionContextSedentary@1$HKHeartRateRecoveryTestTypeMaxExercise@1$HKHeartRateRecoveryTestTypePredictionNonExercise@3$HKHeartRateRecoveryTestTypePredictionSubMaxExercise@2$HKHeartRateSensorLocationChest@1$HKHeartRateSensorLocationEarLobe@5$HKHeartRateSensorLocationFinger@3$HKHeartRateSensorLocationFoot@6$HKHeartRateSensorLocationHand@4$HKHeartRateSensorLocationOther@0$HKHeartRateSensorLocationWrist@2$HKInsulinDeliveryReasonBasal@1$HKInsulinDeliveryReasonBolus@2$HKMetricPrefixCenti@5$HKMetricPrefixDeca@7$HKMetricPrefixDeci@6$HKMetricPrefixFemto@13$HKMetricPrefixGiga@11$HKMetricPrefixHecto@8$HKMetricPrefixKilo@9$HKMetricPrefixMega@10$HKMetricPrefixMicro@3$HKMetricPrefixMilli@4$HKMetricPrefixNano@2$HKMetricPrefixNone@0$HKMetricPrefixPico@1$HKMetricPrefixTera@12$HKNoError@0$HKObjectQueryNoLimit@0$HKPHQ9AssessmentAnswerMoreThanHalfTheDays@2$HKPHQ9AssessmentAnswerNearlyEveryDay@3$HKPHQ9AssessmentAnswerNotAtAll@0$HKPHQ9AssessmentAnswerPreferNotToAnswer@4$HKPHQ9AssessmentAnswerSeveralDays@1$HKPHQ9AssessmentRiskMild@2$HKPHQ9AssessmentRiskModerate@3$HKPHQ9AssessmentRiskModeratelySevere@4$HKPHQ9AssessmentRiskNoneToMinimal@1$HKPHQ9AssessmentRiskSevere@5$HKPhysicalEffortEstimationTypeActivityLookup@1$HKPhysicalEffortEstimationTypeDeviceSensed@2$HKPrismBaseDown@2$HKPrismBaseIn@3$HKPrismBaseNone@0$HKPrismBaseOut@4$HKPrismBaseUp@1$HKQuantityAggregationStyleCumulative@0$HKQuantityAggregationStyleDiscrete@1$HKQuantityAggregationStyleDiscreteArithmetic@1$HKQuantityAggregationStyleDiscreteEquivalentContinuousLevel@3$HKQuantityAggregationStyleDiscreteTemporallyWeighted@2$HKQueryOptionNone@0$HKQueryOptionStrictEndDate@2$HKQueryOptionStrictStartDate@1$HKStateOfMindAssociationCommunity@1$HKStateOfMindAssociationCurrentEvents@2$HKStateOfMindAssociationDating@3$HKStateOfMindAssociationEducation@4$HKStateOfMindAssociationFamily@5$HKStateOfMindAssociationFitness@6$HKStateOfMindAssociationFriends@7$HKStateOfMindAssociationHealth@8$HKStateOfMindAssociationHobbies@9$HKStateOfMindAssociationIdentity@10$HKStateOfMindAssociationMoney@11$HKStateOfMindAssociationPartner@12$HKStateOfMindAssociationSelfCare@13$HKStateOfMindAssociationSpirituality@14$HKStateOfMindAssociationTasks@15$HKStateOfMindAssociationTravel@16$HKStateOfMindAssociationWeather@18$HKStateOfMindAssociationWork@17$HKStateOfMindKindDailyMood@2$HKStateOfMindKindMomentaryEmotion@1$HKStateOfMindLabelAmazed@1$HKStateOfMindLabelAmused@2$HKStateOfMindLabelAngry@3$HKStateOfMindLabelAnnoyed@32$HKStateOfMindLabelAnxious@4$HKStateOfMindLabelAshamed@5$HKStateOfMindLabelBrave@6$HKStateOfMindLabelCalm@7$HKStateOfMindLabelConfident@33$HKStateOfMindLabelContent@8$HKStateOfMindLabelDisappointed@9$HKStateOfMindLabelDiscouraged@10$HKStateOfMindLabelDisgusted@11$HKStateOfMindLabelDrained@34$HKStateOfMindLabelEmbarrassed@12$HKStateOfMindLabelExcited@13$HKStateOfMindLabelFrustrated@14$HKStateOfMindLabelGrateful@15$HKStateOfMindLabelGuilty@16$HKStateOfMindLabelHappy@17$HKStateOfMindLabelHopeful@35$HKStateOfMindLabelHopeless@18$HKStateOfMindLabelIndifferent@36$HKStateOfMindLabelIrritated@19$HKStateOfMindLabelJealous@20$HKStateOfMindLabelJoyful@21$HKStateOfMindLabelLonely@22$HKStateOfMindLabelOverwhelmed@37$HKStateOfMindLabelPassionate@23$HKStateOfMindLabelPeaceful@24$HKStateOfMindLabelProud@25$HKStateOfMindLabelRelieved@26$HKStateOfMindLabelSad@27$HKStateOfMindLabelSatisfied@38$HKStateOfMindLabelScared@28$HKStateOfMindLabelStressed@29$HKStateOfMindLabelSurprised@30$HKStateOfMindLabelWorried@31$HKStateOfMindValenceClassificationNeutral@4$HKStateOfMindValenceClassificationPleasant@6$HKStateOfMindValenceClassificationSlightlyPleasant@5$HKStateOfMindValenceClassificationSlightlyUnpleasant@3$HKStateOfMindValenceClassificationUnpleasant@2$HKStateOfMindValenceClassificationVeryPleasant@7$HKStateOfMindValenceClassificationVeryUnpleasant@1$HKStatisticsOptionCumulativeSum@16$HKStatisticsOptionDiscreteAverage@2$HKStatisticsOptionDiscreteMax@8$HKStatisticsOptionDiscreteMin@4$HKStatisticsOptionDiscreteMostRecent@32$HKStatisticsOptionDuration@64$HKStatisticsOptionMostRecent@32$HKStatisticsOptionNone@0$HKStatisticsOptionSeparateBySource@1$HKSwimmingStrokeStyleBackstroke@3$HKSwimmingStrokeStyleBreaststroke@4$HKSwimmingStrokeStyleButterfly@5$HKSwimmingStrokeStyleFreestyle@2$HKSwimmingStrokeStyleKickboard@6$HKSwimmingStrokeStyleMixed@1$HKSwimmingStrokeStyleUnknown@0$HKUnknownError@0$HKUpdateFrequencyDaily@3$HKUpdateFrequencyHourly@2$HKUpdateFrequencyImmediate@1$HKUpdateFrequencyWeekly@4$HKUserMotionContextActive@2$HKUserMotionContextNotSet@0$HKUserMotionContextStationary@1$HKVO2MaxTestTypeMaxExercise@1$HKVO2MaxTestTypePredictionNonExercise@3$HKVO2MaxTestTypePredictionSubMaxExercise@2$HKVisionEyeLeft@1$HKVisionEyeRight@2$HKVisionPrescriptionTypeContacts@2$HKVisionPrescriptionTypeGlasses@1$HKWaterSalinityFreshWater@1$HKWaterSalinitySaltWater@2$HKWeatherConditionBlustery@9$HKWeatherConditionClear@1$HKWeatherConditionCloudy@5$HKWeatherConditionDrizzle@21$HKWeatherConditionDust@11$HKWeatherConditionFair@2$HKWeatherConditionFoggy@6$HKWeatherConditionFreezingDrizzle@15$HKWeatherConditionFreezingRain@16$HKWeatherConditionHail@13$HKWeatherConditionHaze@7$HKWeatherConditionHurricane@26$HKWeatherConditionMixedRainAndHail@17$HKWeatherConditionMixedRainAndSleet@19$HKWeatherConditionMixedRainAndSnow@18$HKWeatherConditionMixedSnowAndSleet@20$HKWeatherConditionMostlyCloudy@4$HKWeatherConditionNone@0$HKWeatherConditionPartlyCloudy@3$HKWeatherConditionScatteredShowers@22$HKWeatherConditionShowers@23$HKWeatherConditionSleet@14$HKWeatherConditionSmoky@10$HKWeatherConditionSnow@12$HKWeatherConditionThunderstorms@24$HKWeatherConditionTornado@27$HKWeatherConditionTropicalStorm@25$HKWeatherConditionWindy@8$HKWheelchairUseNo@1$HKWheelchairUseNotSet@0$HKWheelchairUseYes@2$HKWorkoutActivityTypeAmericanFootball@1$HKWorkoutActivityTypeArchery@2$HKWorkoutActivityTypeAustralianFootball@3$HKWorkoutActivityTypeBadminton@4$HKWorkoutActivityTypeBarre@58$HKWorkoutActivityTypeBaseball@5$HKWorkoutActivityTypeBasketball@6$HKWorkoutActivityTypeBowling@7$HKWorkoutActivityTypeBoxing@8$HKWorkoutActivityTypeCardioDance@77$HKWorkoutActivityTypeClimbing@9$HKWorkoutActivityTypeCooldown@80$HKWorkoutActivityTypeCoreTraining@59$HKWorkoutActivityTypeCricket@10$HKWorkoutActivityTypeCrossCountrySkiing@60$HKWorkoutActivityTypeCrossTraining@11$HKWorkoutActivityTypeCurling@12$HKWorkoutActivityTypeCycling@13$HKWorkoutActivityTypeDance@14$HKWorkoutActivityTypeDanceInspiredTraining@15$HKWorkoutActivityTypeDiscSports@75$HKWorkoutActivityTypeDownhillSkiing@61$HKWorkoutActivityTypeElliptical@16$HKWorkoutActivityTypeEquestrianSports@17$HKWorkoutActivityTypeFencing@18$HKWorkoutActivityTypeFishing@19$HKWorkoutActivityTypeFitnessGaming@76$HKWorkoutActivityTypeFlexibility@62$HKWorkoutActivityTypeFunctionalStrengthTraining@20$HKWorkoutActivityTypeGolf@21$HKWorkoutActivityTypeGymnastics@22$HKWorkoutActivityTypeHandCycling@74$HKWorkoutActivityTypeHandball@23$HKWorkoutActivityTypeHighIntensityIntervalTraining@63$HKWorkoutActivityTypeHiking@24$HKWorkoutActivityTypeHockey@25$HKWorkoutActivityTypeHunting@26$HKWorkoutActivityTypeJumpRope@64$HKWorkoutActivityTypeKickboxing@65$HKWorkoutActivityTypeLacrosse@27$HKWorkoutActivityTypeMartialArts@28$HKWorkoutActivityTypeMindAndBody@29$HKWorkoutActivityTypeMixedCardio@73$HKWorkoutActivityTypeMixedMetabolicCardioTraining@30$HKWorkoutActivityTypeOther@3000$HKWorkoutActivityTypePaddleSports@31$HKWorkoutActivityTypePickleball@79$HKWorkoutActivityTypePilates@66$HKWorkoutActivityTypePlay@32$HKWorkoutActivityTypePreparationAndRecovery@33$HKWorkoutActivityTypeRacquetball@34$HKWorkoutActivityTypeRowing@35$HKWorkoutActivityTypeRugby@36$HKWorkoutActivityTypeRunning@37$HKWorkoutActivityTypeSailing@38$HKWorkoutActivityTypeSkatingSports@39$HKWorkoutActivityTypeSnowSports@40$HKWorkoutActivityTypeSnowboarding@67$HKWorkoutActivityTypeSoccer@41$HKWorkoutActivityTypeSocialDance@78$HKWorkoutActivityTypeSoftball@42$HKWorkoutActivityTypeSquash@43$HKWorkoutActivityTypeStairClimbing@44$HKWorkoutActivityTypeStairs@68$HKWorkoutActivityTypeStepTraining@69$HKWorkoutActivityTypeSurfingSports@45$HKWorkoutActivityTypeSwimBikeRun@82$HKWorkoutActivityTypeSwimming@46$HKWorkoutActivityTypeTableTennis@47$HKWorkoutActivityTypeTaiChi@72$HKWorkoutActivityTypeTennis@48$HKWorkoutActivityTypeTrackAndField@49$HKWorkoutActivityTypeTraditionalStrengthTraining@50$HKWorkoutActivityTypeTransition@83$HKWorkoutActivityTypeUnderwaterDiving@84$HKWorkoutActivityTypeVolleyball@51$HKWorkoutActivityTypeWalking@52$HKWorkoutActivityTypeWaterFitness@53$HKWorkoutActivityTypeWaterPolo@54$HKWorkoutActivityTypeWaterSports@55$HKWorkoutActivityTypeWheelchairRunPace@71$HKWorkoutActivityTypeWheelchairWalkPace@70$HKWorkoutActivityTypeWrestling@56$HKWorkoutActivityTypeYoga@57$HKWorkoutEffortRelationshipQueryOptionsDefault@0$HKWorkoutEffortRelationshipQueryOptionsMostRelevant@1$HKWorkoutEventTypeLap@3$HKWorkoutEventTypeMarker@4$HKWorkoutEventTypeMotionPaused@5$HKWorkoutEventTypeMotionResumed@6$HKWorkoutEventTypePause@1$HKWorkoutEventTypePauseOrResumeRequest@8$HKWorkoutEventTypeResume@2$HKWorkoutEventTypeSegment@7$HKWorkoutSessionLocationTypeIndoor@2$HKWorkoutSessionLocationTypeOutdoor@3$HKWorkoutSessionLocationTypeUnknown@1$HKWorkoutSessionStateEnded@3$HKWorkoutSessionStateNotStarted@1$HKWorkoutSessionStatePaused@4$HKWorkoutSessionStatePrepared@5$HKWorkoutSessionStateRunning@2$HKWorkoutSessionStateStopped@6$HKWorkoutSessionTypeMirrored@1$HKWorkoutSessionTypePrimary@0$HKWorkoutSwimmingLocationTypeOpenWater@2$HKWorkoutSwimmingLocationTypePool@1$HKWorkoutSwimmingLocationTypeUnknown@0$"""
35
35
  misc.update(
36
36
  {
37
37
  "HKCategoryValuePresence": NewType("HKCategoryValuePresence", int),
@@ -40,6 +40,9 @@ misc.update(
40
40
  "HKCategoryValueLowCardioFitnessEvent": NewType(
41
41
  "HKCategoryValueLowCardioFitnessEvent", int
42
42
  ),
43
+ "HKCategoryValueVaginalBleeding": NewType(
44
+ "HKCategoryValueVaginalBleeding", int
45
+ ),
43
46
  "HKCategoryValueAppleWalkingSteadinessEvent": NewType(
44
47
  "HKCategoryValueAppleWalkingSteadinessEvent", int
45
48
  ),
@@ -50,14 +53,17 @@ misc.update(
50
53
  "HKCategoryValueEnvironmentalAudioExposureEvent": NewType(
51
54
  "HKCategoryValueEnvironmentalAudioExposureEvent", int
52
55
  ),
56
+ "HKWorkoutSessionState": NewType("HKWorkoutSessionState", int),
53
57
  "HKDevicePlacementSide": NewType("HKDevicePlacementSide", int),
54
58
  "HKUpdateFrequency": NewType("HKUpdateFrequency", int),
55
59
  "HKCategoryValueSleepAnalysis": NewType("HKCategoryValueSleepAnalysis", int),
60
+ "HKPHQ9AssessmentAnswer": NewType("HKPHQ9AssessmentAnswer", int),
56
61
  "HKBodyTemperatureSensorLocation": NewType(
57
62
  "HKBodyTemperatureSensorLocation", int
58
63
  ),
59
64
  "HKCategoryValueSeverity": NewType("HKCategoryValueSeverity", int),
60
65
  "HKHeartRateRecoveryTestType": NewType("HKHeartRateRecoveryTestType", int),
66
+ "HKStateOfMindAssociation": NewType("HKStateOfMindAssociation", int),
61
67
  "HKElectrocardiogramClassification": NewType(
62
68
  "HKElectrocardiogramClassification", int
63
69
  ),
@@ -72,6 +78,9 @@ misc.update(
72
78
  ),
73
79
  "HKWeatherCondition": NewType("HKWeatherCondition", int),
74
80
  "HKCategoryValueMenstrualFlow": NewType("HKCategoryValueMenstrualFlow", int),
81
+ "HKAudiogramSensitivityTestSide": NewType(
82
+ "HKAudiogramSensitivityTestSide", int
83
+ ),
75
84
  "HKPhysicalEffortEstimationType": NewType(
76
85
  "HKPhysicalEffortEstimationType", int
77
86
  ),
@@ -87,8 +96,8 @@ misc.update(
87
96
  "HKCategoryValueProgesteroneTestResult": NewType(
88
97
  "HKCategoryValueProgesteroneTestResult", int
89
98
  ),
90
- "HKWorkoutEventType": NewType("HKWorkoutEventType", int),
91
99
  "HKWorkoutActivityType": NewType("HKWorkoutActivityType", int),
100
+ "HKStateOfMindKind": NewType("HKStateOfMindKind", int),
92
101
  "HKCategoryValueAudioExposureEvent": NewType(
93
102
  "HKCategoryValueAudioExposureEvent", int
94
103
  ),
@@ -101,17 +110,28 @@ misc.update(
101
110
  "HKAppleWalkingSteadinessClassification", int
102
111
  ),
103
112
  "HKHeartRateSensorLocation": NewType("HKHeartRateSensorLocation", int),
104
- "HKVO2MaxTestType": NewType("HKVO2MaxTestType", int),
113
+ "HKStateOfMindValenceClassification": NewType(
114
+ "HKStateOfMindValenceClassification", int
115
+ ),
116
+ "HKWorkoutEffortRelationshipQueryOptions": NewType(
117
+ "HKWorkoutEffortRelationshipQueryOptions", int
118
+ ),
105
119
  "HKCategoryValue": NewType("HKCategoryValue", int),
120
+ "HKGAD7AssessmentAnswer": NewType("HKGAD7AssessmentAnswer", int),
106
121
  "HKPrismBase": NewType("HKPrismBase", int),
107
122
  "HKMetricPrefix": NewType("HKMetricPrefix", int),
108
- "HKWorkoutSessionState": NewType("HKWorkoutSessionState", int),
123
+ "HKPHQ9AssessmentRisk": NewType("HKPHQ9AssessmentRisk", int),
109
124
  "HKAuthorizationRequestStatus": NewType("HKAuthorizationRequestStatus", int),
110
125
  "HKVisionPrescriptionType": NewType("HKVisionPrescriptionType", int),
111
126
  "HKCyclingFunctionalThresholdPowerTestType": NewType(
112
127
  "HKCyclingFunctionalThresholdPowerTestType", int
113
128
  ),
129
+ "HKWorkoutEventType": NewType("HKWorkoutEventType", int),
114
130
  "HKErrorCode": NewType("HKErrorCode", int),
131
+ "HKAppleSleepingBreathingDisturbancesClassification": NewType(
132
+ "HKAppleSleepingBreathingDisturbancesClassification", int
133
+ ),
134
+ "HKStateOfMindLabel": NewType("HKStateOfMindLabel", int),
115
135
  "HKWaterSalinity": NewType("HKWaterSalinity", int),
116
136
  "HKCategoryValueContraceptive": NewType("HKCategoryValueContraceptive", int),
117
137
  "HKVisionEye": NewType("HKVisionEye", int),
@@ -121,21 +141,27 @@ misc.update(
121
141
  "HKCategoryValueCervicalMucusQuality": NewType(
122
142
  "HKCategoryValueCervicalMucusQuality", int
123
143
  ),
144
+ "HKVO2MaxTestType": NewType("HKVO2MaxTestType", int),
124
145
  "HKWorkoutSwimmingLocationType": NewType("HKWorkoutSwimmingLocationType", int),
125
146
  "HKAuthorizationStatus": NewType("HKAuthorizationStatus", int),
147
+ "HKGAD7AssessmentRisk": NewType("HKGAD7AssessmentRisk", int),
148
+ "HKAudiogramConductionType": NewType("HKAudiogramConductionType", int),
126
149
  "HKElectrocardiogramLead": NewType("HKElectrocardiogramLead", int),
127
150
  }
128
151
  )
129
152
  misc.update(
130
153
  {
131
154
  "HKDocumentTypeIdentifier": NewType("HKDocumentTypeIdentifier", str),
132
- "HKFHIRRelease": NewType("HKFHIRRelease", str),
155
+ "HKScoredAssessmentTypeIdentifier": NewType(
156
+ "HKScoredAssessmentTypeIdentifier", str
157
+ ),
133
158
  "HKCorrelationTypeIdentifier": NewType("HKCorrelationTypeIdentifier", str),
134
159
  "HKFHIRResourceType": NewType("HKFHIRResourceType", str),
135
160
  "HKVerifiableClinicalRecordSourceType": NewType(
136
161
  "HKVerifiableClinicalRecordSourceType", str
137
162
  ),
138
163
  "HKCategoryTypeIdentifier": NewType("HKCategoryTypeIdentifier", str),
164
+ "HKFHIRRelease": NewType("HKFHIRRelease", str),
139
165
  "HKCharacteristicTypeIdentifier": NewType(
140
166
  "HKCharacteristicTypeIdentifier", str
141
167
  ),
@@ -143,19 +169,27 @@ misc.update(
143
169
  "HKVerifiableClinicalRecordCredentialType", str
144
170
  ),
145
171
  "HKQuantityTypeIdentifier": NewType("HKQuantityTypeIdentifier", str),
172
+ "HKAudiogramConductionType": NewType("HKAudiogramConductionType", int),
146
173
  "HKClinicalTypeIdentifier": NewType("HKClinicalTypeIdentifier", str),
147
174
  }
148
175
  )
149
176
  misc.update({"HKUnitMolarMassBloodGlucose": 180.15588000005408})
150
177
  functions = {
178
+ "HKAppleWalkingSteadinessMaximumQuantityForClassification": (b"@q",),
179
+ "HKCategoryValueSleepAnalysisAsleepValues": (b"@",),
180
+ "HKMaximumScoreForPHQ9AssessmentRisk": (b"qq",),
181
+ "HKMinimumScoreForPHQ9AssessmentRisk": (b"qq",),
182
+ "HKAppleSleepingBreathingDisturbancesMinimumQuantityForClassification": (b"@q",),
183
+ "HKStateOfMindValenceClassificationForValence": (b"@d",),
184
+ "HKAppleWalkingSteadinessMinimumQuantityForClassification": (b"@q",),
185
+ "HKMaximumScoreForGAD7AssessmentRisk": (b"qq",),
186
+ "HKAppleSleepingBreathingDisturbancesClassificationForQuantity": (b"@@",),
151
187
  "HKAppleWalkingSteadinessClassificationForQuantity": (
152
188
  b"Z@^q^@",
153
189
  "",
154
190
  {"arguments": {1: {"type_modifier": "o"}, 2: {"type_modifier": "o"}}},
155
191
  ),
156
- "HKAppleWalkingSteadinessMinimumQuantityForClassification": (b"@q",),
157
- "HKAppleWalkingSteadinessMaximumQuantityForClassification": (b"@q",),
158
- "HKCategoryValueSleepAnalysisAsleepValues": (b"@",),
192
+ "HKMinimumScoreForGAD7AssessmentRisk": (b"qq",),
159
193
  }
160
194
  aliases = {
161
195
  "HKCategoryValueSleepAnalysisAsleep": "HKCategoryValueSleepAnalysisAsleepUnspecified",
@@ -167,6 +201,8 @@ aliases = {
167
201
  r = objc.registerMetaDataForSelector
168
202
  objc._updatingMetadata(True)
169
203
  try:
204
+ r(b"HKActivitySummary", b"isPaused", {"retval": {"type": b"Z"}})
205
+ r(b"HKActivitySummary", b"setPaused:", {"arguments": {2: {"type": b"Z"}}})
170
206
  r(
171
207
  b"HKActivitySummaryQuery",
172
208
  b"initWithPredicate:resultsHandler:",
@@ -420,6 +456,27 @@ try:
420
456
  b"sensitivityPointWithFrequency:leftEarSensitivity:rightEarSensitivity:error:",
421
457
  {"arguments": {5: {"type_modifier": b"o"}}},
422
458
  )
459
+ r(
460
+ b"HKAudiogramSensitivityPoint",
461
+ b"sensitivityPointWithFrequency:tests:error:",
462
+ {"arguments": {4: {"type_modifier": b"o"}}},
463
+ )
464
+ r(
465
+ b"HKAudiogramSensitivityPointClampingRange",
466
+ b"clampingRangeWithLowerBound:upperBound:error:",
467
+ {"arguments": {4: {"type_modifier": b"o"}}},
468
+ )
469
+ r(
470
+ b"HKAudiogramSensitivityPointClampingRange",
471
+ b"sensitivityPointWithFrequency:tests:error:",
472
+ {"arguments": {4: {"type_modifier": b"o"}}},
473
+ )
474
+ r(
475
+ b"HKAudiogramSensitivityTest",
476
+ b"initWithSensitivity:type:masked:side:clampingRange:error:",
477
+ {"arguments": {4: {"type": b"Z"}, 7: {"type_modifier": b"o"}}},
478
+ )
479
+ r(b"HKAudiogramSensitivityTest", b"masked", {"retval": {"type": b"Z"}})
423
480
  r(
424
481
  b"HKCDADocumentSample",
425
482
  b"CDADocumentSampleWithData:startDate:endDate:metadata:validationError:",
@@ -739,6 +796,24 @@ try:
739
796
  }
740
797
  },
741
798
  )
799
+ r(
800
+ b"HKHealthStore",
801
+ b"relateWorkoutEffortSample:withWorkout:activity:completion:",
802
+ {
803
+ "arguments": {
804
+ 5: {
805
+ "callable": {
806
+ "retval": {"type": b"v"},
807
+ "arguments": {
808
+ 0: {"type": b"^v"},
809
+ 1: {"type": b"Z"},
810
+ 2: {"type": b"@"},
811
+ },
812
+ }
813
+ }
814
+ }
815
+ },
816
+ )
742
817
  r(
743
818
  b"HKHealthStore",
744
819
  b"requestAuthorizationToShareTypes:readTypes:completion:",
@@ -863,6 +938,24 @@ try:
863
938
  },
864
939
  )
865
940
  r(b"HKHealthStore", b"supportsHealthRecords", {"retval": {"type": b"Z"}})
941
+ r(
942
+ b"HKHealthStore",
943
+ b"unrelateWorkoutEffortSample:fromWorkout:activity:completion:",
944
+ {
945
+ "arguments": {
946
+ 5: {
947
+ "callable": {
948
+ "retval": {"type": b"v"},
949
+ "arguments": {
950
+ 0: {"type": b"^v"},
951
+ 1: {"type": b"Z"},
952
+ 2: {"type": b"@"},
953
+ },
954
+ }
955
+ }
956
+ }
957
+ },
958
+ )
866
959
  r(
867
960
  b"HKHealthStore",
868
961
  b"wheelchairUseWithError:",
@@ -1527,6 +1620,26 @@ try:
1527
1620
  }
1528
1621
  },
1529
1622
  )
1623
+ r(
1624
+ b"HKWorkoutEffortRelationshipQuery",
1625
+ b"initWithPredicate:anchor:options:resultsHandler:",
1626
+ {
1627
+ "arguments": {
1628
+ 5: {
1629
+ "callable": {
1630
+ "retval": {"type": b"v"},
1631
+ "arguments": {
1632
+ 0: {"type": b"^v"},
1633
+ 1: {"type": b"@"},
1634
+ 2: {"type": b"@"},
1635
+ 3: {"type": b"@"},
1636
+ 4: {"type": b"@"},
1637
+ },
1638
+ }
1639
+ }
1640
+ }
1641
+ },
1642
+ )
1530
1643
  r(
1531
1644
  b"HKWorkoutRouteBuilder",
1532
1645
  b"addMetadata:completion:",
@@ -1787,6 +1900,142 @@ try:
1787
1900
  )
1788
1901
  finally:
1789
1902
  objc._updatingMetadata(False)
1903
+
1904
+ objc.registerNewKeywordsFromSelector(
1905
+ "HKActivitySummaryQuery", b"initWithPredicate:resultsHandler:"
1906
+ )
1907
+ objc.registerNewKeywordsFromSelector(
1908
+ "HKAnchoredObjectQuery", b"initWithQueryDescriptors:anchor:limit:resultsHandler:"
1909
+ )
1910
+ objc.registerNewKeywordsFromSelector(
1911
+ "HKAnchoredObjectQuery", b"initWithType:predicate:anchor:limit:completionHandler:"
1912
+ )
1913
+ objc.registerNewKeywordsFromSelector(
1914
+ "HKAnchoredObjectQuery", b"initWithType:predicate:anchor:limit:resultsHandler:"
1915
+ )
1916
+ objc.registerNewKeywordsFromSelector("HKAttachmentStore", b"initWithHealthStore:")
1917
+ objc.registerNewKeywordsFromSelector(
1918
+ "HKAudiogramSensitivityTest",
1919
+ b"initWithSensitivity:type:masked:side:clampingRange:error:",
1920
+ )
1921
+ objc.registerNewKeywordsFromSelector(
1922
+ "HKContactsLensSpecification",
1923
+ b"initWithSphere:cylinder:axis:addPower:baseCurve:diameter:",
1924
+ )
1925
+ objc.registerNewKeywordsFromSelector(
1926
+ "HKCorrelationQuery", b"initWithType:predicate:samplePredicates:completion:"
1927
+ )
1928
+ objc.registerNewKeywordsFromSelector(
1929
+ "HKDevice",
1930
+ b"initWithName:manufacturer:model:hardwareVersion:firmwareVersion:softwareVersion:localIdentifier:UDIDeviceIdentifier:",
1931
+ )
1932
+ objc.registerNewKeywordsFromSelector(
1933
+ "HKDocumentQuery",
1934
+ b"initWithDocumentType:predicate:limit:sortDescriptors:includeDocumentData:resultsHandler:",
1935
+ )
1936
+ objc.registerNewKeywordsFromSelector(
1937
+ "HKElectrocardiogramQuery", b"initWithElectrocardiogram:dataHandler:"
1938
+ )
1939
+ objc.registerNewKeywordsFromSelector(
1940
+ "HKGlassesLensSpecification",
1941
+ b"initWithSphere:cylinder:axis:addPower:vertexDistance:prism:farPupillaryDistance:nearPupillaryDistance:",
1942
+ )
1943
+ objc.registerNewKeywordsFromSelector(
1944
+ "HKHeartbeatSeriesBuilder", b"initWithHealthStore:device:startDate:"
1945
+ )
1946
+ objc.registerNewKeywordsFromSelector(
1947
+ "HKHeartbeatSeriesQuery", b"initWithHeartbeatSeries:dataHandler:"
1948
+ )
1949
+ objc.registerNewKeywordsFromSelector(
1950
+ "HKLiveWorkoutBuilder", b"initWithHealthStore:configuration:device:"
1951
+ )
1952
+ objc.registerNewKeywordsFromSelector(
1953
+ "HKLiveWorkoutDataSource", b"initWithHealthStore:workoutConfiguration:"
1954
+ )
1955
+ objc.registerNewKeywordsFromSelector(
1956
+ "HKObserverQuery", b"initWithQueryDescriptors:updateHandler:"
1957
+ )
1958
+ objc.registerNewKeywordsFromSelector(
1959
+ "HKObserverQuery", b"initWithSampleType:predicate:updateHandler:"
1960
+ )
1961
+ objc.registerNewKeywordsFromSelector(
1962
+ "HKQuantitySeriesSampleBuilder",
1963
+ b"initWithHealthStore:quantityType:startDate:device:",
1964
+ )
1965
+ objc.registerNewKeywordsFromSelector(
1966
+ "HKQuantitySeriesSampleQuery", b"initWithQuantityType:predicate:quantityHandler:"
1967
+ )
1968
+ objc.registerNewKeywordsFromSelector(
1969
+ "HKQuantitySeriesSampleQuery", b"initWithSample:quantityHandler:"
1970
+ )
1971
+ objc.registerNewKeywordsFromSelector(
1972
+ "HKQueryDescriptor", b"initWithSampleType:predicate:"
1973
+ )
1974
+ objc.registerNewKeywordsFromSelector(
1975
+ "HKSampleQuery", b"initWithQueryDescriptors:limit:resultsHandler:"
1976
+ )
1977
+ objc.registerNewKeywordsFromSelector(
1978
+ "HKSampleQuery", b"initWithQueryDescriptors:limit:sortDescriptors:resultsHandler:"
1979
+ )
1980
+ objc.registerNewKeywordsFromSelector(
1981
+ "HKSampleQuery",
1982
+ b"initWithSampleType:predicate:limit:sortDescriptors:resultsHandler:",
1983
+ )
1984
+ objc.registerNewKeywordsFromSelector(
1985
+ "HKSourceQuery", b"initWithSampleType:samplePredicate:completionHandler:"
1986
+ )
1987
+ objc.registerNewKeywordsFromSelector("HKSourceRevision", b"initWithSource:version:")
1988
+ objc.registerNewKeywordsFromSelector(
1989
+ "HKSourceRevision", b"initWithSource:version:productType:operatingSystemVersion:"
1990
+ )
1991
+ objc.registerNewKeywordsFromSelector(
1992
+ "HKStatisticsCollectionQuery",
1993
+ b"initWithQuantityType:quantitySamplePredicate:options:anchorDate:intervalComponents:",
1994
+ )
1995
+ objc.registerNewKeywordsFromSelector(
1996
+ "HKStatisticsQuery",
1997
+ b"initWithQuantityType:quantitySamplePredicate:options:completionHandler:",
1998
+ )
1999
+ objc.registerNewKeywordsFromSelector(
2000
+ "HKVerifiableClinicalRecordQuery", b"initWithRecordTypes:predicate:resultsHandler:"
2001
+ )
2002
+ objc.registerNewKeywordsFromSelector(
2003
+ "HKVerifiableClinicalRecordQuery",
2004
+ b"initWithRecordTypes:sourceTypes:predicate:resultsHandler:",
2005
+ )
2006
+ objc.registerNewKeywordsFromSelector("HKVisionPrism", b"initWithAmount:angle:eye:")
2007
+ objc.registerNewKeywordsFromSelector(
2008
+ "HKVisionPrism",
2009
+ b"initWithVerticalAmount:verticalBase:horizontalAmount:horizontalBase:eye:",
2010
+ )
2011
+ objc.registerNewKeywordsFromSelector(
2012
+ "HKWorkoutActivity", b"initWithWorkoutConfiguration:startDate:endDate:metadata:"
2013
+ )
2014
+ objc.registerNewKeywordsFromSelector(
2015
+ "HKWorkoutBuilder", b"initWithHealthStore:configuration:device:"
2016
+ )
2017
+ objc.registerNewKeywordsFromSelector(
2018
+ "HKWorkoutEffortRelationshipQuery",
2019
+ b"initWithPredicate:anchor:options:resultsHandler:",
2020
+ )
2021
+ objc.registerNewKeywordsFromSelector(
2022
+ "HKWorkoutRouteBuilder", b"initWithHealthStore:device:"
2023
+ )
2024
+ objc.registerNewKeywordsFromSelector(
2025
+ "HKWorkoutRouteQuery", b"initWithRoute:dataHandler:"
2026
+ )
2027
+ objc.registerNewKeywordsFromSelector(
2028
+ "HKWorkoutRouteQuery", b"initWithRoute:dateInterval:dataHandler:"
2029
+ )
2030
+ objc.registerNewKeywordsFromSelector(
2031
+ "HKWorkoutSession", b"initWithActivityType:locationType:"
2032
+ )
2033
+ objc.registerNewKeywordsFromSelector(
2034
+ "HKWorkoutSession", b"initWithConfiguration:error:"
2035
+ )
2036
+ objc.registerNewKeywordsFromSelector(
2037
+ "HKWorkoutSession", b"initWithHealthStore:configuration:error:"
2038
+ )
1790
2039
  expressions = {}
1791
2040
 
1792
2041
  # END OF FILE