Type Method

predicateForClinicalRecordsFromSource:FHIRResourceType:identifier:

Returns a predicate for a specific FHIR resource.

Declaration

+ (NSPredicate *)predicateForClinicalRecordsFromSource:(HKSource *)source FHIRResourceType:(HKFHIRResourceType)resourceType identifier:(NSString *)identifier;

Discussion

The FHIR resource identifier is only unique for a particular resource type from a given source. To uniquely identify a FHIR resource, you must compare the identifier, the resource type, and the source.

See Also

Creating Clinical Record Predicates

+ predicateForClinicalRecordsWithFHIRResourceType:

Returns a predicate for a specific FHIR type.