google / android-fhir

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.
https://google.github.io/android-fhir/
Apache License 2.0
465 stars 246 forks source link

support for UploadRequestGeneratorMode.UrlRequest in UploadStrategy (?) to support OpenMRS as FHIR Backend #2539

Open icrc-fdeniger opened 1 month ago

icrc-fdeniger commented 1 month ago

@aditya-07 created a branch to demo OpenMRS integration: https://github.com/google/android-fhir/compare/master...openmrs

From what I understand the main part is here: engine/src/main/java/com/google/android/fhir/sync/FhirSyncWorker.kt But In the last version in the main it seems complicate to apply this change easily. It seems we should activate a new UploadStrategy using UrlRequest ( not totally sure). We can work on this but probably just need some hints to start :)

Thanks

cc @jingtang10

icrc-fdeniger commented 1 month ago

Thanks @aditya-07 for your inputs. Our Team could work on that point if possible. We would need some help if possible: