Source code for src.model.quantity_types

"""Quantity Type model classes.

Provides HKQuantityTypeIdentifierRegistry to public API.
"""

from types import MappingProxyType
from typing import Any

from .base import HK_GROUPS, HKQuantityTypeIdentifier


[docs] class HKQuantityTypeIdentifierBodyMassIndex( HKQuantityTypeIdentifier, HK_GROUPS["BodyMeasurements"] ): pass
[docs] class HKQuantityTypeIdentifierBodyFatPercentage( HKQuantityTypeIdentifier, HK_GROUPS["BodyMeasurements"] ): pass
[docs] class HKQuantityTypeIdentifierHeight( HKQuantityTypeIdentifier, HK_GROUPS["BodyMeasurements"] ): pass
[docs] class HKQuantityTypeIdentifierBodyMass( HKQuantityTypeIdentifier, HK_GROUPS["BodyMeasurements"] ): pass
[docs] class HKQuantityTypeIdentifierLeanBodyMass( HKQuantityTypeIdentifier, HK_GROUPS["BodyMeasurements"] ): pass
[docs] class HKQuantityTypeIdentifierWaistCircumference( HKQuantityTypeIdentifier, HK_GROUPS["BodyMeasurements"] ): pass
[docs] class HKQuantityTypeIdentifierStepCount(HKQuantityTypeIdentifier, HK_GROUPS["Fitness"]): pass
[docs] class HKQuantityTypeIdentifierDistanceWalkingRunning( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierDistanceCycling( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierDistanceWheelchair( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierDistanceSwimming( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierDistanceDownhillSnowSports( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierDistanceCrossCountrySkiing( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierDistancePaddleSports( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierDistanceRowing( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierDistanceSkatingSports( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierFlightsClimbed( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierNikeFuel(HKQuantityTypeIdentifier, HK_GROUPS["Fitness"]): pass
[docs] class HKQuantityTypeIdentifierPushCount(HKQuantityTypeIdentifier, HK_GROUPS["Fitness"]): pass
[docs] class HKQuantityTypeIdentifierSwimmingStrokeCount( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierBasalEnergyBurned( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierActiveEnergyBurned( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierAppleExerciseTime( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierAppleMoveTime( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierAppleStandTime( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierVO2Max(HKQuantityTypeIdentifier, HK_GROUPS["Fitness"]): pass
[docs] class HKQuantityTypeIdentifierRunningSpeed( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierRunningPower( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierRunningGroundContactTime( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierRunningStrideLength( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierRunningVerticalOscillation( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierCyclingSpeed( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierCyclingPower( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierCyclingCadence( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierCyclingFunctionalThresholdPower( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierCrossCountrySkiingSpeed( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierPaddleSportsSpeed( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierRowingSpeed( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierPhysicalEffort( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierWorkoutEffortScore( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierEstimatedWorkoutEffortScore( HKQuantityTypeIdentifier, HK_GROUPS["Fitness"] ): pass
[docs] class HKQuantityTypeIdentifierBasalBodyTemperature( HKQuantityTypeIdentifier, HK_GROUPS["ReproductiveHealth"] ): pass
[docs] class HKQuantityTypeIdentifierEnvironmentalAudioExposure( HKQuantityTypeIdentifier, HK_GROUPS["Hearing"] ): pass
[docs] class HKQuantityTypeIdentifierHeadphoneAudioExposure( HKQuantityTypeIdentifier, HK_GROUPS["Hearing"] ): pass
[docs] class HKQuantityTypeIdentifierEnvironmentalSoundReduction( HKQuantityTypeIdentifier, HK_GROUPS["Hearing"] ): pass
[docs] class HKQuantityTypeIdentifierHeartRate( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierRestingHeartRate( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierWalkingHeartRateAverage( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierHeartRateVariabilitySdnn( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierHeartRateRecoveryOneMinute( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierHeartRateVariabilitySDNN( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierAtrialFibrillationBurden( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierOxygenSaturation( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierBloodPressureSystolic( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierBloodPressureDiastolic( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierRespiratoryRate( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierBodyTemperature( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierAppleSleepingWristTemperature( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances( HKQuantityTypeIdentifier, HK_GROUPS["VitalSigns"] ): pass
[docs] class HKQuantityTypeIdentifierBloodGlucose( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierBloodAlcoholContent( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierPeripheralPerfusionIndex( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierForcedVitalCapacity( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierForcedExpiratoryVolume1( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierPeakExpiratoryFlowRate( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierInhalerUsage( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierNumberOfTimesFallen( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierElectrodermalActivity( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierInsulinDelivery( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierNumberOfAlcoholicBeverages( HKQuantityTypeIdentifier, HK_GROUPS["LabTestResults"] ): pass
[docs] class HKQuantityTypeIdentifierWalkingSpeed( HKQuantityTypeIdentifier, HK_GROUPS["Mobility"] ): pass
[docs] class HKQuantityTypeIdentifierWalkingStepLength( HKQuantityTypeIdentifier, HK_GROUPS["Mobility"] ): pass
[docs] class HKQuantityTypeIdentifierWalkingAsymmetryPercentage( HKQuantityTypeIdentifier, HK_GROUPS["Mobility"] ): pass
[docs] class HKQuantityTypeIdentifierWalkingDoubleSupportPercentage( HKQuantityTypeIdentifier, HK_GROUPS["Mobility"] ): pass
[docs] class HKQuantityTypeIdentifierAppleWalkingSteadiness( HKQuantityTypeIdentifier, HK_GROUPS["Mobility"] ): pass
[docs] class HKQuantityTypeIdentifierSixMinuteWalkTestDistance( HKQuantityTypeIdentifier, HK_GROUPS["Mobility"] ): pass
[docs] class HKQuantityTypeIdentifierStairAscentSpeed( HKQuantityTypeIdentifier, HK_GROUPS["Mobility"] ): pass
[docs] class HKQuantityTypeIdentifierStairDescentSpeed( HKQuantityTypeIdentifier, HK_GROUPS["Mobility"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryEnergyConsumed( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryFatTotal( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryFatPolyunsaturated( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryFatMonounsaturated( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryFatSaturated( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryCholesterol( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietarySodium( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryCarbohydrates( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryFiber( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietarySugar( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryProtein( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryVitaminA( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryVitaminB6( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryVitaminB12( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryVitaminC( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryVitaminD( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryVitaminE( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryVitaminK( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryCalcium( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryIron( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryThiamin( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryRiboflavin( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryNiacin( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryFolate( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryBiotin( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryPantothenicAcid( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryPhosphorus( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryIodine( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryMagnesium( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryZinc( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietarySelenium( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryCopper( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryManganese( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryChromium( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryMolybdenum( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryChloride( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryPotassium( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryCaffeine( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierDietaryWater( HKQuantityTypeIdentifier, HK_GROUPS["Nutrition"] ): pass
[docs] class HKQuantityTypeIdentifierUVExposure( HKQuantityTypeIdentifier, HK_GROUPS["UVExposure"] ): pass
[docs] class HKQuantityTypeIdentifierUnderwaterDepth( HKQuantityTypeIdentifier, HK_GROUPS["Diving"] ): pass
[docs] class HKQuantityTypeIdentifierWaterTemperature( HKQuantityTypeIdentifier, HK_GROUPS["Diving"] ): pass
[docs] class HKQuantityTypeIdentifierTimeInDaylight( HKQuantityTypeIdentifier, HK_GROUPS["Mindfulness"] ): pass
# --------------------------------------------------------------------------- # Registry # --------------------------------------------------------------------------- HKQuantityTypeIdentifierRegistry: MappingProxyType[str, Any] = MappingProxyType( {subcls.__name__: subcls for subcls in HKQuantityTypeIdentifier.__subclasses__()} )