The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
Describe the Issue
I think there is a possibility of someone wanting to re-initialize FhirEngine instance while still maintaining the same database. Few reasons:-
library enforced API changes in FhirEngineConfiguration. Application is forced to re-initialize the FhirEngine.
Application wants to sync to a different server. Application wants to re-initialize here.
But above or any changes in the FhirEngineConfiguration API will most likely lead to backward incompatibility.
We would need to do versioning to solve for this.
So that this does not become a breaking change in future, when FhirEngineConfiguration API is modified, we should decouple database instance from the FhirEngine instance creation.
Describe the Issue I think there is a possibility of someone wanting to re-initialize FhirEngine instance while still maintaining the same database. Few reasons:-
FhirEngineConfiguration
. Application is forced to re-initialize the FhirEngine.But above or any changes in the FhirEngineConfiguration API will most likely lead to backward incompatibility. We would need to do versioning to solve for this.
So that this does not become a breaking change in future, when FhirEngineConfiguration API is modified, we should decouple database instance from the FhirEngine instance creation.
Would you like to work on the issue?