Package com.google.android.fhir

Types

Link copied to clipboard
object ContentTypes
Link copied to clipboard
enum DatabaseErrorStrategy : Enum<DatabaseErrorStrategy>
Link copied to clipboard
class DatastoreUtil(context: <ERROR CLASS>)
Link copied to clipboard
object DateProvider

The DateProvider Instance FhirEngine uses for date/time related operations.

Link copied to clipboard
interface FhirEngine

The FHIR Engine interface that handles the local storage of FHIR resources.

Link copied to clipboard
data class FhirEngineConfiguration(enableEncryptionIfSupported: Boolean, databaseErrorStrategy: DatabaseErrorStrategy, serverConfiguration: ServerConfiguration?)

A configuration which describes the database setup and error recovery.

Link copied to clipboard
object FhirEngineProvider

The builder for FhirEngine instance

Link copied to clipboard
object MediaTypes
Link copied to clipboard
class OffsetDateTimeTypeAdapter
Link copied to clipboard
data class ServerConfiguration(baseUrl: String, authenticator: Authenticator?)

A configuration to provide the remote FHIR server url and an Authenticator for supplying any auth token that may be necessary to communicate with the server.

Link copied to clipboard
interface SyncDownloadContext

Functions

Link copied to clipboard
inline suspend fun <R> FhirEngine.delete(id: String)

Deletes a FHIR resource of type R with id from the local storage.

Link copied to clipboard
inline suspend fun <R> FhirEngine.get(id: String): R

Returns a FHIR resource of type R with id from the local storage.

Link copied to clipboard
fun <ERROR CLASS>.isUploadSuccess(): Boolean

Determines if the upload operation was successful or not.

Properties

Link copied to clipboard
val <ERROR CLASS>.dataStore: <ERROR CLASS><<ERROR CLASS>>
Link copied to clipboard
val <ERROR CLASS>.logicalId: String

The logical (unqualified) part of the ID. For example, if the ID is "http://example.com/fhir/Patient/123/_history/456", then this value would be "123".

Link copied to clipboard
const val ucumUrl: String

Url for the UCUM system of measures.