You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenSRP web creates locations in a hierarchy perspective i.e. locations have parent and children nodes. It's somewhat complicated to fetch the locations at a certain level without having to build the location hierarchy and then traverse it.
We would like to introduce the concept of an administrative level for each location in the hierarchy.
The Root location would always have level 0 then all the children would have level parent_level + 1
Issue Implemetation details?
Add an administrative level for every location resource created on OpenSRP web. If a location does not have a parent selected then the administrative level will be 0. All the children in the hierarchy will have an administrative level of parent_level + 1
This level is to be added to the type property of the Location resource.
The CodeSystems to be used should have the following properties
For consistency patterns I think we should set the system url to http://smartregister.org/CodeSystem/administrative-level. As it currently is for service point types, of-course it is something we can always review and change later. cc @dubdabasoduba@ciremusyoka
Issue Context?
0
then all the children would have levelparent_level + 1
Issue Implemetation details?
0
. All the children in the hierarchy will have an administrative level ofparent_level + 1
type
property of the Location resource.system
: - https://smartregister.org/codes/administrative-levelcode
: - administrative level e.g0
,1
,2
Display
: - The text "Level" + the administrative level e.g.Level 0
,Level 1
Issue Acceptance criteria?
FHIR resources to be used?
No response
Relevant Information
Sample Codes
The text was updated successfully, but these errors were encountered: