withTransaction

abstract suspend fun withTransaction(block: suspend FhirEngine.() -> Unit)

Adds support for performing actions on FhirEngine as a single atomic transaction where the entire set of changes succeed or fail as a single entity