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 Logging Config Enums #3122

Closed qiarie closed 3 months ago

qiarie commented 4 months ago

Add a list of enums to configure where location logging should be done. Every place that needs location logging will be identified by an enum type.

Example

enum class LocationLogArea { 
   QUESTIONNAIRE, 
   ANOTHER_PLACE,
   AND_ANOTHER_PLACE
}

ApplicationConfiguration

{
  "locationLogAreas" : [
     "QUESTIONNAIRE"
   ]
}

Suggest an appropriate name for the property/class.

_Originally posted by @ellykits in https://github.com/opensrp/fhircore/pull/2997#discussion_r1498862283_