opensrp / fhircore

FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
https://smartregister.org
Apache License 2.0
53 stars 41 forks source link

Add the `syncLocation` request params to all GET requests when using the sync by `Related Entity Location -> User Selected Location` sync strategy #3067

Open dubdabasoduba opened 6 months ago

dubdabasoduba commented 6 months ago

Keyword Definition

Context

Technical Description of enhancement

Acceptance criteria

Implementation plan (For Engineers) The plan for implementing the solution e.g. via a description or a check list for the various ordered tasks that will need to be completed. i.e. Describe how you intend to solve the problem

pld commented 6 months ago

Client Location seems misleading as the sync strategy, because if ClientLocation.userAssignedLocation == false then isn't your' sync strategy not the client location?

But instead, more generally, the strategy is by location? And, even if it isn't true, can we still send the syncLocation param, but have it be the logged in users assigned location, to match how it works now?