Open dubdabasoduba opened 3 years ago
Hi @dubdabasoduba , Can you please share an end-point for investigation of this enhancement?
Hi @dubdabasoduba , Can you please share an end-point for investigation of this enhancement?
https://opensrp-stage.smartregister.org/opensrp/rest/location/hierarchy/
@dubdabasoduba @rehammuzzamil I think it was agreed to drop this feature
@dubdabasoduba @rehammuzzamil I think it was agreed to drop this feature
Okay, noted.
Currently, structures are not added as part of the hierarchy. We would like to add these structures as part of the hierarchy.
[ ] Update the functions loading the hierarchy to always find the lowest jurisdiction of the hierarchy. After this then search for all structures that are tied to this location.
[ ] Make sure the default functionality is that we do not show the structures. We have a
boolean
param with a default offalse
(meaning do not show structures). When this is set totrue
then we fetch the structures as mentioned above.The assumption is the structures are always assigned to the lowest Jurisdictions in the hierarchy.