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 41 forks source link

Advanced Register filtering based on the user selected location #3114

Open dubdabasoduba opened 4 months ago

dubdabasoduba commented 4 months ago

Describe the feature request.

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

dubdabasoduba commented 4 months ago

@ellykits I think we can also achieve the filtering by using cascading selectable dropdowns or checkboxes. This way we still reuse the Questionnaire approach in advanced filtering. What are your thoughts?

ellykits commented 4 months ago

If it is possible to render the UI via Questionnaire, then use the answers in data queries that should be an easier option.

pld commented 4 months ago

OK, then in that case would you define the UI via a content, and do we have a new config file for this?

dubdabasoduba commented 4 months ago

If it is possible to render the UI via Questionnaire, then use the answers in data queries that should be an easier option.

@ellykits what do you mean when you say the UI? Does it mean the location hierarchy select widget or does it mean the cascading dropdowns

ellykits commented 4 months ago

If it is possible to render the UI via Questionnaire, then use the answers in data queries that should be an easier option.

@ellykits what do you mean when you say the UI? Does it mean the location hierarchy select widget or does it mean the cascading dropdowns

@dubdabasoduba I meant the location hierarchy select widget. The default cascading dropdowns in Questionnaire can be used.

ellykits commented 4 months ago

OK, then in that case would you define the UI via a content, and do we have a new config file for this?

@pld Yes we have configurations for this.