android-fhir
android-fhir copied to clipboard
FhirEngine instance creation should be decoupled from Database instance
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.
Would you like to work on the issue?
@aditya-07 Discussion with @jingtang10 lead me to modify the issue. I think this is more urgent. PTAL.