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
50 stars 39 forks source link

Add Location Widget (a.k.a GPS picker) to FHIR Core #880

Closed f-odhiambo closed 3 months ago

f-odhiambo commented 2 years ago

What's the difference between a location widget and a Geo-widget? From a tech perspective, they are the same thing. They pick location GPS data but from a UI perspective, they are different. Geo Widget will use the map to pick the location data. Done is FHIR Core https://github.com/opensrp/fhircore/issues/1536

Location widget can have 2 variants

  1. Show a drop-down or location tree. This helps you select the locations already saved on the app. It mostly visualizes the location hierarchy on a form.
  2. This is an input field on a form that will pick the GPS coordinates and fill in LAT & LONG input fields in the form.|

Point 2 can be a simple button that gets the (Lat, Long) when clicked or be what Ona Data did here

Opened this ticket to track the SDK issue - https://github.com/google/android-fhir/issues/800

ageryck commented 4 months ago

This is fixed by this #3046