pyobjc-framework-HealthKit 12.2.1__tar.gz → 13.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 (100) hide show
  1. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Lib/HealthKit/__init__.py +2 -0
  2. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Lib/HealthKit/_metadata.py +28 -4
  3. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Lib/pyobjc_framework_HealthKit.egg-info/PKG-INFO +5 -5
  4. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Lib/pyobjc_framework_HealthKit.egg-info/SOURCES.txt +3 -6
  5. pyobjc_framework_healthkit-13.0/Lib/pyobjc_framework_HealthKit.egg-info/pyobjc-build-info.txt +3 -0
  6. pyobjc_framework_healthkit-13.0/Lib/pyobjc_framework_HealthKit.egg-info/requires.txt +2 -0
  7. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Modules/_HealthKit.m +9 -2
  8. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Modules/_HealthKit_protocols.m +7 -5
  9. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Modules/pyobjc-api.h +18 -4
  10. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Modules/pyobjc-compat.h +0 -18
  11. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PKG-INFO +5 -5
  12. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkapplesleepingbreathingdisturbancesclassification.py +1 -1
  13. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkaudiogramsensitivitytest.py +1 -1
  14. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkcategoryvalues.py +6 -1
  15. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkcharacteristicvalues.py +1 -1
  16. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkdefines.py +1 -1
  17. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkelectrocardiogram.py +2 -1
  18. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkgad7assessment.py +1 -1
  19. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkhealthstore.py +9 -0
  20. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkliveworkoutbuilder.py +1 -1
  21. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkmedicationdoseevent.py +1 -1
  22. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkmetadata.py +85 -84
  23. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkmetadataenums.py +2 -1
  24. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkphq9assessment.py +1 -1
  25. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkquantityaggregationstyle.py +1 -1
  26. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkquery.py +1 -1
  27. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkstateofmind.py +1 -1
  28. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkstatistics.py +1 -1
  29. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hktypeidentifiers.py +10 -0
  30. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkunit.py +1 -2
  31. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkvisionprism.py +1 -1
  32. pyobjc_framework_healthkit-13.0/PyObjCTest/test_hkworkout.py +39 -0
  33. pyobjc_framework_healthkit-12.2.1/PyObjCTest/test_hkworkout.py → pyobjc_framework_healthkit-13.0/PyObjCTest/test_hkworkoutactivitytype.py +4 -36
  34. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkworkoutconfiguration.py +1 -1
  35. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkworkouteffortrelationshipquery.py +1 -1
  36. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkworkoutsession.py +2 -2
  37. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/metadata/HealthKit.fwinfo +1 -119
  38. pyobjc_framework_healthkit-12.2.1/metadata/raw/arm64-26.5.fwinfo → pyobjc_framework_healthkit-13.0/metadata/raw/arm64-27.fwinfo +136 -3
  39. pyobjc_framework_healthkit-12.2.1/metadata/raw/x86_64-26.5.fwinfo → pyobjc_framework_healthkit-13.0/metadata/raw/x86_64-27.fwinfo +136 -3
  40. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/pyobjc_setup.py +7 -7
  41. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/setup.py +1 -1
  42. pyobjc_framework_healthkit-12.2.1/Lib/pyobjc_framework_HealthKit.egg-info/pyobjc-build-info.txt +0 -3
  43. pyobjc_framework_healthkit-12.2.1/Lib/pyobjc_framework_HealthKit.egg-info/requires.txt +0 -2
  44. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Lib/pyobjc_framework_HealthKit.egg-info/dependency_links.txt +0 -0
  45. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Lib/pyobjc_framework_HealthKit.egg-info/not-zip-safe +0 -0
  46. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/Lib/pyobjc_framework_HealthKit.egg-info/top_level.txt +0 -0
  47. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/License.txt +0 -0
  48. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/MANIFEST.in +0 -0
  49. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/__init__.py +0 -0
  50. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_healthkit.py +0 -0
  51. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkactivitysummary.py +0 -0
  52. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkactivitysummaryquery.py +0 -0
  53. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkanchoredobjectquery.py +0 -0
  54. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkapplewalkingsteadinessclassification.py +0 -0
  55. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkattachmentstore.py +0 -0
  56. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkaudiogramsample.py +0 -0
  57. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkaudiogramsensitivitypoint.py +0 -0
  58. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkaudiogramsensitivitypointclampingrange.py +0 -0
  59. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkcategorysample.py +0 -0
  60. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkcdadocumentsample.py +0 -0
  61. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkclinicalrecord.py +0 -0
  62. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkclinicaltype.py +0 -0
  63. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkcorrelationquery.py +0 -0
  64. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkcumulativequantitysample.py +0 -0
  65. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkdevice.py +0 -0
  66. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkdiscretequantitysample.py +0 -0
  67. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkdocumentquery.py +0 -0
  68. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkelectrocardiogramquery.py +0 -0
  69. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkfhirrelease.py +0 -0
  70. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkfhirresource.py +0 -0
  71. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkfhirversion.py +0 -0
  72. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkhealthconceptidentifier.py +0 -0
  73. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkheartbeatseriesbuilder.py +0 -0
  74. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkheartbeatseriesquery.py +0 -0
  75. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkmedicationconcept.py +0 -0
  76. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkobject.py +0 -0
  77. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkobjecttype.py +0 -0
  78. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkobserverquery.py +0 -0
  79. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkquantity.py +0 -0
  80. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkquantitysample.py +0 -0
  81. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkquantityseriessamplebuilder.py +0 -0
  82. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkquantityseriessamplequery.py +0 -0
  83. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hksample.py +0 -0
  84. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hksamplequery.py +0 -0
  85. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hksourcequery.py +0 -0
  86. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hksourcerevision.py +0 -0
  87. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkstatisticscollectionquery.py +0 -0
  88. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkstatisticsquery.py +0 -0
  89. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkuserannotatedmedication.py +0 -0
  90. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkuserannotatedmedicationquery.py +0 -0
  91. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkverifiableclinicalrecord.py +0 -0
  92. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkverifiableclinicalrecordquery.py +0 -0
  93. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkvisionprescription.py +0 -0
  94. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkworkoutactivity.py +0 -0
  95. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkworkoutbuilder.py +0 -0
  96. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkworkoutroutebuilder.py +0 -0
  97. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/PyObjCTest/test_hkworkoutroutequery.py +0 -0
  98. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/metadata/metadata.ini +0 -0
  99. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/pyproject.toml +0 -0
  100. {pyobjc_framework_healthkit-12.2.1 → pyobjc_framework_healthkit-13.0}/setup.cfg +0 -0
@@ -103,6 +103,8 @@ def _setup():
103
103
  ("HKMedicationDoseEvent", b"new"),
104
104
  ("HKUserAnnotatedMedication", b"init"),
105
105
  ("HKUserAnnotatedMedication", b"new"),
106
+ ("HKLiveWorkoutZoneUpdate", b"init"),
107
+ ("HKLiveWorkoutZoneUpdate", b"new"),
106
108
  ):
107
109
  objc.registerUnavailableMethod(cls, sel)
108
110
 
@@ -1,7 +1,5 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sun May 24 11:49:59 2026
4
- #
5
3
  # flake8: noqa
6
4
 
7
5
  import objc, sys
@@ -30,8 +28,8 @@ else:
30
28
 
31
29
 
32
30
  misc = {}
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$HKCategoryTypeIdentifierHypertensionEvent$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$HKDataTypeIdentifierUserAnnotatedMedicationConcept$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$HKHealthConceptDomainMedication$HKMedicationDoseEventTypeIdentifierMedicationDoseEvent$HKMedicationGeneralFormCapsule$HKMedicationGeneralFormCream$HKMedicationGeneralFormDevice$HKMedicationGeneralFormDrops$HKMedicationGeneralFormFoam$HKMedicationGeneralFormGel$HKMedicationGeneralFormInhaler$HKMedicationGeneralFormInjection$HKMedicationGeneralFormLiquid$HKMedicationGeneralFormLotion$HKMedicationGeneralFormOintment$HKMedicationGeneralFormPatch$HKMedicationGeneralFormPowder$HKMedicationGeneralFormSpray$HKMedicationGeneralFormSuppository$HKMedicationGeneralFormTablet$HKMedicationGeneralFormTopical$HKMedicationGeneralFormUnknown$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$HKPredicateKeyPathLogOrigin$HKPredicateKeyPathMax$HKPredicateKeyPathMedicationConceptIdentifier$HKPredicateKeyPathMetadata$HKPredicateKeyPathMin$HKPredicateKeyPathMostRecent$HKPredicateKeyPathMostRecentDuration$HKPredicateKeyPathMostRecentEndDate$HKPredicateKeyPathMostRecentStartDate$HKPredicateKeyPathQuantity$HKPredicateKeyPathScheduledDate$HKPredicateKeyPathSource$HKPredicateKeyPathSourceRevision$HKPredicateKeyPathStartDate$HKPredicateKeyPathStatus$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$HKUserAnnotatedMedicationPredicateKeyPathHasSchedule$HKUserAnnotatedMedicationPredicateKeyPathIsArchived$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$HKMedicationDoseEventLogStatusNotInteracted@1$HKMedicationDoseEventLogStatusNotLogged@6$HKMedicationDoseEventLogStatusNotificationNotSent@2$HKMedicationDoseEventLogStatusSkipped@5$HKMedicationDoseEventLogStatusSnoozed@3$HKMedicationDoseEventLogStatusTaken@4$HKMedicationDoseEventScheduleTypeAsNeeded@1$HKMedicationDoseEventScheduleTypeSchedule@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$HKVO2MaxTestTypePredictionStepTest@4$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$"""
31
+ constants = """$HKCategoryTypeIdentifierAbdominalCramps$HKCategoryTypeIdentifierAcne$HKCategoryTypeIdentifierAppetiteChanges$HKCategoryTypeIdentifierAppleStandHour$HKCategoryTypeIdentifierAppleWalkingSteadinessEvent$HKCategoryTypeIdentifierAudioExposureEvent$HKCategoryTypeIdentifierBladderIncontinence$HKCategoryTypeIdentifierBleedingAfterMenopause$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$HKCategoryTypeIdentifierHypertensionEvent$HKCategoryTypeIdentifierInfrequentMenstrualCycles$HKCategoryTypeIdentifierIntermenstrualBleeding$HKCategoryTypeIdentifierIrregularHeartRhythmEvent$HKCategoryTypeIdentifierIrregularMenstrualCycles$HKCategoryTypeIdentifierLactation$HKCategoryTypeIdentifierLossOfSmell$HKCategoryTypeIdentifierLossOfTaste$HKCategoryTypeIdentifierLowCardioFitnessEvent$HKCategoryTypeIdentifierLowHeartRateEvent$HKCategoryTypeIdentifierLowerBackPain$HKCategoryTypeIdentifierMemoryLapse$HKCategoryTypeIdentifierMenopausalState$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$HKDataTypeIdentifierUserAnnotatedMedicationConcept$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$HKHealthConceptDomainMedication$HKMedicationDoseEventTypeIdentifierMedicationDoseEvent$HKMedicationGeneralFormCapsule$HKMedicationGeneralFormCream$HKMedicationGeneralFormDevice$HKMedicationGeneralFormDrops$HKMedicationGeneralFormFoam$HKMedicationGeneralFormGel$HKMedicationGeneralFormInhaler$HKMedicationGeneralFormInjection$HKMedicationGeneralFormLiquid$HKMedicationGeneralFormLotion$HKMedicationGeneralFormOintment$HKMedicationGeneralFormPatch$HKMedicationGeneralFormPowder$HKMedicationGeneralFormSpray$HKMedicationGeneralFormSuppository$HKMedicationGeneralFormTablet$HKMedicationGeneralFormTopical$HKMedicationGeneralFormUnknown$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$HKPredicateKeyPathLogOrigin$HKPredicateKeyPathMax$HKPredicateKeyPathMedicationConceptIdentifier$HKPredicateKeyPathMetadata$HKPredicateKeyPathMin$HKPredicateKeyPathMostRecent$HKPredicateKeyPathMostRecentDuration$HKPredicateKeyPathMostRecentEndDate$HKPredicateKeyPathMostRecentStartDate$HKPredicateKeyPathQuantity$HKPredicateKeyPathScheduledDate$HKPredicateKeyPathSource$HKPredicateKeyPathSourceRevision$HKPredicateKeyPathStartDate$HKPredicateKeyPathStatus$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$HKQuantityTypeIdentifierHeartRateVariabilityRMSSD$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$HKUserAnnotatedMedicationPredicateKeyPathHasSchedule$HKUserAnnotatedMedicationPredicateKeyPathIsArchived$HKUserPreferencesDidChangeNotification$HKVerifiableClinicalRecordCredentialTypeCOVID19$HKVerifiableClinicalRecordCredentialTypeImmunization$HKVerifiableClinicalRecordCredentialTypeLaboratory$HKVerifiableClinicalRecordCredentialTypeRecovery$HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate$HKVerifiableClinicalRecordSourceTypeSMARTHealthCard$HKVisionPrescriptionTypeIdentifier$HKWorkoutRouteTypeIdentifier$HKWorkoutSortIdentifierDuration$HKWorkoutSortIdentifierTotalDistance$HKWorkoutSortIdentifierTotalEnergyBurned$HKWorkoutSortIdentifierTotalFlightsClimbed$HKWorkoutSortIdentifierTotalSwimmingStrokeCount$HKWorkoutTypeIdentifier$"""
32
+ 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$HKCategoryValueMenopausalStateMenopause@1$HKCategoryValueMenopausalStateNone@3$HKCategoryValueMenopausalStatePerimenopause@2$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$HKHeartRateRecoveryTestTypeStepTest@4$HKHeartRateSensorLocationChest@1$HKHeartRateSensorLocationEarLobe@5$HKHeartRateSensorLocationFinger@3$HKHeartRateSensorLocationFoot@6$HKHeartRateSensorLocationHand@4$HKHeartRateSensorLocationOther@0$HKHeartRateSensorLocationWrist@2$HKInsulinDeliveryReasonBasal@1$HKInsulinDeliveryReasonBolus@2$HKMedicationDoseEventLogStatusNotInteracted@1$HKMedicationDoseEventLogStatusNotLogged@6$HKMedicationDoseEventLogStatusNotificationNotSent@2$HKMedicationDoseEventLogStatusSkipped@5$HKMedicationDoseEventLogStatusSnoozed@3$HKMedicationDoseEventLogStatusTaken@4$HKMedicationDoseEventScheduleTypeAsNeeded@1$HKMedicationDoseEventScheduleTypeSchedule@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$HKVO2MaxTestTypePredictionStepTest@4$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$HKWorkoutActivityTypeGroup@2999$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$HKWorkoutActivityTypeRest@2998$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
33
  misc.update(
36
34
  {
37
35
  "HKCategoryValuePresence": NewType("HKCategoryValuePresence", int),
@@ -146,6 +144,9 @@ misc.update(
146
144
  "HKCategoryValueCervicalMucusQuality", int
147
145
  ),
148
146
  "HKVO2MaxTestType": NewType("HKVO2MaxTestType", int),
147
+ "HKCategoryValueMenopausalState": NewType(
148
+ "HKCategoryValueMenopausalState", int
149
+ ),
149
150
  "HKMedicationDoseEventLogStatus": NewType(
150
151
  "HKMedicationDoseEventLogStatus", int
151
152
  ),
@@ -713,6 +714,24 @@ try:
713
714
  b"fitzpatrickSkinTypeWithError:",
714
715
  {"arguments": {2: {"type_modifier": b"o"}}},
715
716
  )
717
+ r(
718
+ b"HKHealthStore",
719
+ b"getEarliestAuthorizedSampleDateForTypes:completion:",
720
+ {
721
+ "arguments": {
722
+ 3: {
723
+ "callable": {
724
+ "retval": {"type": b"v"},
725
+ "arguments": {
726
+ 0: {"type": b"^v"},
727
+ 1: {"type": b"@"},
728
+ 2: {"type": b"@"},
729
+ },
730
+ }
731
+ }
732
+ }
733
+ },
734
+ )
716
735
  r(
717
736
  b"HKHealthStore",
718
737
  b"getRequestStatusForAuthorizationToShareTypes:readTypes:completion:",
@@ -2016,6 +2035,7 @@ objc.registerNewKeywordsFromSelector("HKLiveWorkoutDataSource", b"init")
2016
2035
  objc.registerNewKeywordsFromSelector(
2017
2036
  "HKLiveWorkoutDataSource", b"initWithHealthStore:workoutConfiguration:"
2018
2037
  )
2038
+ objc.registerNewKeywordsFromSelector("HKLiveWorkoutZoneUpdate", b"init")
2019
2039
  objc.registerNewKeywordsFromSelector("HKMedicationConcept", b"init")
2020
2040
  objc.registerNewKeywordsFromSelector("HKMedicationDoseEvent", b"init")
2021
2041
  objc.registerNewKeywordsFromSelector("HKObject", b"init")
@@ -2397,5 +2417,9 @@ objc.registerNewKeywords(
2397
2417
  "workoutEventWithType_date_metadata_",
2398
2418
  )
2399
2419
  expressions = {}
2420
+ formal_protocols = {
2421
+ "HKLiveWorkoutBuilderDelegate": "HKLiveWorkoutBuilderDelegate",
2422
+ "HKWorkoutSessionDelegate": "HKWorkoutSessionDelegate",
2423
+ }
2400
2424
 
2401
2425
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-HealthKit
3
- Version: 12.2.1
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework HealthKit on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,21 +17,21 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
23
  Classifier: Programming Language :: Python :: 3.14
25
24
  Classifier: Programming Language :: Python :: 3.15
25
+ Classifier: Programming Language :: Python :: 3.16
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
28
  Classifier: Programming Language :: Objective C
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
- Requires-Python: >=3.10
31
+ Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.2.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
33
+ Requires-Dist: pyobjc-core>=13.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -18,7 +18,6 @@ Modules/pyobjc-api.h
18
18
  Modules/pyobjc-compat.h
19
19
  PyObjCTest/__init__.py
20
20
  PyObjCTest/test_healthkit.py
21
- PyObjCTest/test_hkHeartbeatseriesbuilder.py
22
21
  PyObjCTest/test_hkactivitysummary.py
23
22
  PyObjCTest/test_hkactivitysummaryquery.py
24
23
  PyObjCTest/test_hkanchoredobjectquery.py
@@ -41,10 +40,8 @@ PyObjCTest/test_hkdefines.py
41
40
  PyObjCTest/test_hkdevice.py
42
41
  PyObjCTest/test_hkdiscretequantitysample.py
43
42
  PyObjCTest/test_hkdocumentquery.py
44
- PyObjCTest/test_hkeLectrocardiogram.py
45
43
  PyObjCTest/test_hkelectrocardiogram.py
46
44
  PyObjCTest/test_hkelectrocardiogramquery.py
47
- PyObjCTest/test_hkfhirRelease.py
48
45
  PyObjCTest/test_hkfhirrelease.py
49
46
  PyObjCTest/test_hkfhirresource.py
50
47
  PyObjCTest/test_hkfhirversion.py
@@ -58,7 +55,6 @@ PyObjCTest/test_hkmedicationconcept.py
58
55
  PyObjCTest/test_hkmedicationdoseevent.py
59
56
  PyObjCTest/test_hkmetadata.py
60
57
  PyObjCTest/test_hkmetadataenums.py
61
- PyObjCTest/test_hkoBject.py
62
58
  PyObjCTest/test_hkobject.py
63
59
  PyObjCTest/test_hkobjecttype.py
64
60
  PyObjCTest/test_hkobserverquery.py
@@ -87,6 +83,7 @@ PyObjCTest/test_hkvisionprescription.py
87
83
  PyObjCTest/test_hkvisionprism.py
88
84
  PyObjCTest/test_hkworkout.py
89
85
  PyObjCTest/test_hkworkoutactivity.py
86
+ PyObjCTest/test_hkworkoutactivitytype.py
90
87
  PyObjCTest/test_hkworkoutbuilder.py
91
88
  PyObjCTest/test_hkworkoutconfiguration.py
92
89
  PyObjCTest/test_hkworkouteffortrelationshipquery.py
@@ -95,5 +92,5 @@ PyObjCTest/test_hkworkoutroutequery.py
95
92
  PyObjCTest/test_hkworkoutsession.py
96
93
  metadata/HealthKit.fwinfo
97
94
  metadata/metadata.ini
98
- metadata/raw/arm64-26.5.fwinfo
99
- metadata/raw/x86_64-26.5.fwinfo
95
+ metadata/raw/arm64-27.fwinfo
96
+ metadata/raw/x86_64-27.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 27.2 (26B123)
2
+ Apple clang version 21.0.0 (clang-2100.4.1.1)
3
+ SDK: macOS 27.2
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=13.0
2
+ pyobjc-framework-Cocoa>=13.0
@@ -2,6 +2,10 @@
2
2
  #include "Python.h"
3
3
  #include "pyobjc-api.h"
4
4
 
5
+ #ifdef USE_STATIC_ANALYZER
6
+ #include "../../pyobjc-core/Modules/objc/python-api-used.h"
7
+ #endif
8
+
5
9
  #import <Foundation/Foundation.h>
6
10
  #import <HealthKit/HealthKit.h>
7
11
 
@@ -10,6 +14,8 @@
10
14
  */
11
15
  #include "_HealthKit_protocols.m"
12
16
 
17
+ NS_ASSUME_NONNULL_BEGIN
18
+
13
19
  static PyMethodDef mod_methods[] = {
14
20
  {0, 0, 0, 0} /* sentinel */
15
21
  };
@@ -55,10 +61,11 @@ static struct PyModuleDef mod_module = {
55
61
  .m_free = NULL,
56
62
  };
57
63
 
58
- PyObject* PyInit__HealthKit(void);
64
+ PyObject* _Nullable PyInit__HealthKit(void);
59
65
 
60
- PyObject* __attribute__((__visibility__("default")))
66
+ PyObject* _Nullable __attribute__((__visibility__("default")))
61
67
  PyInit__HealthKit(void)
62
68
  {
63
69
  return PyModuleDef_Init(&mod_module);
64
70
  }
71
+ NS_ASSUME_NONNULL_END
@@ -1,8 +1,7 @@
1
- /*
2
- * This file is generated by objective.metadata
3
- *
4
- * Last update: Wed Jun 22 22:20:18 2022
5
- */
1
+ // LCOV_EXCL_START
2
+ // This function is only present to ensure protocols are
3
+ // available at runtime.
4
+ NS_ASSUME_NONNULL_BEGIN
6
5
 
7
6
  static void __attribute__((__used__))
8
7
  use_protocols(void)
@@ -15,3 +14,6 @@ use_protocols(void)
15
14
  Py_XDECREF(p);
16
15
  #endif /* PyObjC_BUILD_RELEASE >= 1300 */
17
16
  }
17
+
18
+ NS_ASSUME_NONNULL_END
19
+ // LCOV_EXCL_STOP
@@ -60,6 +60,11 @@ typedef int(RegisterMethodMappingFunctionType)(
60
60
  PyObject* _Nonnull const* _Nonnull, size_t),
61
61
  IMP _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull));
62
62
 
63
+ #ifndef PyObjC_FUNCTION_CALL_H
64
+ typedef PyObject* _Nullable (*PyObjC_FunctionCallFunc)(
65
+ PyObject* meth, PyObject* _Nonnull const* _Nonnull args, size_t nargs);
66
+ #endif
67
+
63
68
  struct pyobjc_api {
64
69
  int api_version; /* API version */
65
70
  size_t struct_len; /* Length of this struct */
@@ -117,6 +122,9 @@ struct pyobjc_api {
117
122
 
118
123
  PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
119
124
  const char*);
125
+ int (*_Nonnull register_functioncaller)(void*, PyObjC_FunctionCallFunc);
126
+ PyObject* _Nullable (*_Nonnull create_registered_struct)(
127
+ const char*, Py_ssize_t, const char* _Nonnull* _Nullable, Py_ssize_t*);
120
128
  };
121
129
 
122
130
  #ifndef PYOBJC_BUILD
@@ -159,6 +167,8 @@ static struct pyobjc_api* PyObjC_API;
159
167
  #define PyObjC_CheckArgCount (PyObjC_API->checkargcount)
160
168
  #define PyObjC_CheckNoKwnames (PyObjC_API->checknokwnames)
161
169
  #define PyObjCCreateOpaquePointerType (PyObjC_API->createopaquepointertype)
170
+ #define PyObjCRegister_FunctionCaller (PyObjC_API->register_functioncaller)
171
+ #define PyObjC_CreateRegisteredStruct (PyObjC_API->create_registered_struct)
162
172
 
163
173
  typedef void (*PyObjC_Function_Pointer)(void);
164
174
  typedef struct PyObjC_function_map {
@@ -178,21 +188,25 @@ static inline int
178
188
  PyObjC_ImportAPI(PyObject* calling_module)
179
189
  {
180
190
  PyObjC_API = (struct pyobjc_api*)PyCapsule_Import("objc." PYOBJC_API_NAME, 0);
181
- if (PyObjC_API == NULL) {
182
- return -1;
191
+ if (PyObjC_API == NULL) { // LCOV_BR_EXCL_LINE
192
+ return -1; // LCOV_EXCL_LINE
183
193
  }
184
- if (PyObjC_API->api_version != PYOBJC_API_VERSION) {
194
+ if (PyObjC_API->api_version != PYOBJC_API_VERSION) { // LCOV_BR_EXCL_LINE
195
+ // LCOV_EXCL_START
185
196
  PyErr_Format(PyExc_RuntimeError,
186
197
  "Wrong version of PyObjC C API (got %d, expected %d)",
187
198
  (int)PyObjC_API->api_version, (int)PYOBJC_API_VERSION);
188
199
  return -1;
200
+ // LCOV_EXCL_STOP
189
201
  }
190
202
 
191
- if (PyObjC_API->struct_len < PyObjC_EXPECTED_STRUCT_SIZE) {
203
+ if (PyObjC_API->struct_len < PyObjC_EXPECTED_STRUCT_SIZE) { // LCOV_EXCL_LINE
204
+ // LCOV_EXCL_START
192
205
  PyErr_Format(PyExc_RuntimeError,
193
206
  "Wrong struct-size of PyObjC C API (got %d, expected %d)",
194
207
  (int)PyObjC_API->struct_len, (int)sizeof(struct pyobjc_api));
195
208
  return -1;
209
+ // LCOV_EXCL_STOP
196
210
  }
197
211
 
198
212
  /* Current pyobjc implementation doesn't allow deregistering
@@ -167,24 +167,6 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
167
167
  PyGILState_Release(_GILState); \
168
168
  } while (0)
169
169
 
170
- #if PY_VERSION_HEX < 0x030a0000
171
-
172
- static inline PyObject*
173
- Py_NewRef(PyObject* o)
174
- {
175
- Py_INCREF(o);
176
- return o;
177
- }
178
-
179
- static inline PyObject*
180
- Py_XNewRef(PyObject* o)
181
- {
182
- Py_XINCREF(o);
183
- return o;
184
- }
185
-
186
- #endif /* PY_VERSION_HEX < 0x030a0000 */
187
-
188
170
  #if PY_VERSION_HEX < 0x030d0000
189
171
  #define Py_BEGIN_CRITICAL_SECTION(value) \
190
172
  { \
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-HealthKit
3
- Version: 12.2.1
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework HealthKit on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,21 +17,21 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
23
  Classifier: Programming Language :: Python :: 3.14
25
24
  Classifier: Programming Language :: Python :: 3.15
25
+ Classifier: Programming Language :: Python :: 3.16
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
28
  Classifier: Programming Language :: Objective C
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
- Requires-Python: >=3.10
31
+ Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.2.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
33
+ Requires-Dist: pyobjc-core>=13.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -3,7 +3,7 @@ import HealthKit
3
3
 
4
4
 
5
5
  class TestHKAppleSleepingBreathingDisturbancesClassification(TestCase):
6
- def test_constants(self):
6
+ def test_enums(self):
7
7
  self.assertIsEnumType(
8
8
  HealthKit.HKAppleSleepingBreathingDisturbancesClassification
9
9
  )
@@ -3,7 +3,7 @@ import HealthKit
3
3
 
4
4
 
5
5
  class TestHKAudiogramSensitivityTest(TestCase):
6
- def test_constants(self):
6
+ def test_enums(self):
7
7
  self.assertIsEnumType(HealthKit.HKAudiogramConductionType)
8
8
  self.assertEqual(HealthKit.HKAudiogramConductionTypeAir, 0)
9
9
 
@@ -3,7 +3,7 @@ import HealthKit
3
3
 
4
4
 
5
5
  class TestHKCategoryValues(TestCase):
6
- def test_constants(self):
6
+ def test_enums(self):
7
7
  self.assertIsEnumType(HealthKit.HKCategoryValue)
8
8
  self.assertEqual(HealthKit.HKCategoryValueNotApplicable, 0)
9
9
 
@@ -122,3 +122,8 @@ class TestHKCategoryValues(TestCase):
122
122
  self.assertEqual(HealthKit.HKCategoryValueVaginalBleedingMedium, 3)
123
123
  self.assertEqual(HealthKit.HKCategoryValueVaginalBleedingHeavy, 4)
124
124
  self.assertEqual(HealthKit.HKCategoryValueVaginalBleedingNone, 5)
125
+
126
+ self.assertIsEnumType(HealthKit.HKCategoryValueMenopausalState)
127
+ self.assertEqual(HealthKit.HKCategoryValueMenopausalStateMenopause, 1)
128
+ self.assertEqual(HealthKit.HKCategoryValueMenopausalStatePerimenopause, 2)
129
+ self.assertEqual(HealthKit.HKCategoryValueMenopausalStateNone, 3)
@@ -3,7 +3,7 @@ import HealthKit
3
3
 
4
4
 
5
5
  class TestHKCharacteristicValues(TestCase):
6
- def test_constants(self):
6
+ def test_enums(self):
7
7
  self.assertIsEnumType(HealthKit.HKActivityMoveMode)
8
8
  self.assertEqual(HealthKit.HKActivityMoveModeActiveEnergy, 1)
9
9
  self.assertEqual(HealthKit.HKActivityMoveModeAppleMoveTime, 2)
@@ -3,7 +3,7 @@ import HealthKit
3
3
 
4
4
 
5
5
  class TestHKDefines(TestCase):
6
- def test_constants(self):
6
+ def test_enums(self):
7
7
  self.assertIsEnumType(HealthKit.HKErrorCode)
8
8
  self.assertEqual(HealthKit.HKUnknownError, 0)
9
9
  self.assertEqual(HealthKit.HKNoError, HealthKit.HKUnknownError)
@@ -3,7 +3,7 @@ import HealthKit
3
3
 
4
4
 
5
5
  class TestHKElectrocardiogram(TestCase):
6
- def test_constants(self):
6
+ def test_enums(self):
7
7
  self.assertIsEnumType(HealthKit.HKElectrocardiogramLead)
8
8
  self.assertEqual(HealthKit.HKElectrocardiogramLeadAppleWatchSimilarToLeadI, 1)
9
9
 
@@ -32,6 +32,7 @@ class TestHKElectrocardiogram(TestCase):
32
32
  self.assertEqual(HealthKit.HKElectrocardiogramSymptomsStatusNone, 1)
33
33
  self.assertEqual(HealthKit.HKElectrocardiogramSymptomsStatusPresent, 2)
34
34
 
35
+ def test_constants(self):
35
36
  self.assertIsInstance(HealthKit.HKPredicateKeyPathAverageHeartRate, str)
36
37
  self.assertIsInstance(HealthKit.HKPredicateKeyPathECGClassification, str)
37
38
  self.assertIsInstance(HealthKit.HKPredicateKeyPathECGSymptomsStatus, str)
@@ -3,7 +3,7 @@ import HealthKit
3
3
 
4
4
 
5
5
  class TestHKGAD7Assessment(TestCase):
6
- def test_constants(self):
6
+ def test_enums(self):
7
7
  self.assertIsEnumType(HealthKit.HKGAD7AssessmentRisk)
8
8
  self.assertEqual(HealthKit.HKGAD7AssessmentRiskNoneToMinimal, 1)
9
9
  self.assertEqual(HealthKit.HKGAD7AssessmentRiskMild, 2)
@@ -129,3 +129,12 @@ class TestHKHealthStore(TestCase):
129
129
  3,
130
130
  b"vZ@",
131
131
  )
132
+
133
+ @min_os_level("27.0")
134
+ def test_methods27_0(self):
135
+ with self.subTest("getEarliestAuthorizedSampleDateForTypes"):
136
+ self.assertArgIsBlock(
137
+ HealthKit.HKHealthStore.getEarliestAuthorizedSampleDateForTypes_completion_,
138
+ 1,
139
+ b"v@@",
140
+ )
@@ -4,7 +4,7 @@ import HealthKit # noqa: F401
4
4
 
5
5
  class TestHKActivitySummary(TestCase):
6
6
  def test_protocols(self):
7
- self.assertProtocolExists("HKLiveWorkoutBuilderDelegate")
7
+ self.assertProtocolExists("HKLiveWorkoutBuilderDelegate", HealthKit)
8
8
 
9
9
  def test_methods(self):
10
10
  self.assertResultIsBOOL(
@@ -3,7 +3,7 @@ import HealthKit
3
3
 
4
4
 
5
5
  class TestHKMedicationDoseEvent(TestCase):
6
- def test_constants(self):
6
+ def test_enums(self):
7
7
  self.assertIsEnumType(HealthKit.HKMedicationDoseEventLogStatus)
8
8
  self.assertEqual(HealthKit.HKMedicationDoseEventLogStatusNotInteracted, 1)
9
9
  self.assertEqual(HealthKit.HKMedicationDoseEventLogStatusNotificationNotSent, 2)