Package com. google. android. fhir. sync
Types
FhirEngine depends on the developer app to handle user's authentication. The developer application may provide the implementation during the FhirEngine initial setup to obtain authToken to the engine for successful calls.
The criteria for FhirSyncWorker failure retry based on androidx.work.WorkRequest.Builder.setBackoffCriteria
Manager that generates the FHIR requests and handles the FHIR responses of a download job.
A WorkManager Worker that handles periodic sync.
Class that holds what type of resources we need to synchronise and what are the parameters of that type. e.g. we only want to synchronise patients that live in United States ResourceSyncParams(ResourceType.Patient, mapOf("address-country" to "United States")
Configuration for period synchronisation
Configuration for synchronization retry
Defines different types of synchronisation workers: download and upload