Predicate Format Strings

No overview available.

Topics

Object Keys

let HKPredicateKeyPathUUID: String

The key path for accessing the object’s UUID inside a predicate format string.

let HKPredicateKeyPathMetadata: String

The key path for accessing the object’s metadata dictionary inside a predicate format string.

let HKPredicateKeyPathSum: String

The key path for accessing the sum of a quantity series inside a predicate format string.

Quantity Sample Keys

let HKPredicateKeyPathQuantity: String

The key path to the sample’s quantity.

Category Sample Keys

let HKPredicateKeyPathCategoryValue: String

The key path for the category sample’s value.

Correlation Sample Keys

let HKPredicateKeyPathCorrelation: String

The key path for accessing the object’s correlation inside a predicate format string.

Device and Source Keys

let HKPredicateKeyPathDevice: String

The key path for accessing the object’s device inside a predicate format string.

let HKPredicateKeyPathSource: String

The key path for accessing the object’s source inside a predicate format string.

let HKPredicateKeyPathSourceRevision: String

The key path for accessing the object’s source revision inside a predicate format string.

Start and End Date Keys

let HKPredicateKeyPathStartDate: String

The key path for the sample’s start date.

let HKPredicateKeyPathEndDate: String

The key path for the sample’s end date.

Activity Summary Keys

let HKPredicateKeyPathDateComponents: String

A key path for an activity summary’s date components.

Document Keys

let HKPredicateKeyPathCDAAuthorName: String

The key path for accessing the author’s name inside a predicate format string.

let HKPredicateKeyPathCDACustodianName: String

The key path for accessing the custodian’s name inside a predicate format string.

let HKPredicateKeyPathCDAPatientName: String

The key path for accessing the patient’s name inside a predicate format string.

let HKPredicateKeyPathCDATitle: String

The key path for accessing the document’s title inside a predicate format string.

Clinical Record Keys

let HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier: String

The key path for accessing the clinical record’s Fast Healthcare Interoperability Resources (FHIR) identifier.

let HKPredicateKeyPathClinicalRecordFHIRResourceType: String

The key path for accessing the resource type of a Fast Healthcare Interoperability Resources (FHIR) record.

Workout Keys

let HKPredicateKeyPathWorkout: String

The key path for accessing the object’s workout inside a predicate format string.

let HKPredicateKeyPathWorkoutType: String

The key path for the workout’s type.

let HKPredicateKeyPathWorkoutDuration: String

The key path for the workout’s duration.

let HKPredicateKeyPathWorkoutTotalDistance: String

The key path for the workout’s total distance.

let HKPredicateKeyPathWorkoutTotalEnergyBurned: String

The key path for the workout’s total energy burned.

let HKPredicateKeyPathWorkoutTotalFlightsClimbed: String

The key path for the total number of flights of stairs climbed during the workout.