Configurable Hierarchies

Organizing people and places, and their relationship to one-another

The Core Framework requires a hierarchy to organize the information in the app. It is often based on the hierarchy of a health system within a particular geographic region.

Large deployment sites often need three or more levels of place hierarchy, while some small sites need fewer than three levels. For this reason, the Core Framework’s information hierarchies are configurable to meet a users needs.

A user logging into their app will see a custom set of people, tasks, reports, and analytics based on the hierarchy level that they belong to. This allows appropriate data sharing based on the role of the user in the health system.

The information hierarchy is configured in the administration console. The hierarchy levels can be given different titles depending on a particular health system’s program or reporting structures.

See Also: Defining Hierarchy

Places

This is an example of a simple hierarchy that includes a CHW Supervisor area, CHW area, and families as levels which serve as “places” or units of organizing people.

flowchart TB
linkStyle default stroke-width:1px,stroke:lightgrey

classDef none fill:none,stroke:none

super_area_a[<img src&#61;&#39;health-center.svg&#39; width&#61;&#39;30&#39; />\nCHW Supervisor Area A]:::none
chw_area_a[<img src&#61;&#39;chw-area.svg&#39; width&#61;&#39;30&#39; />\nCHW CHW Area A]:::none
chw_area_b[<img src&#61;&#39;chw-area.svg&#39; width&#61;&#39;30&#39; />\nCHW CHW Area B]:::none
chw_area_c[<img src&#61;&#39;chw-area.svg&#39; width&#61;&#39;30&#39; />\nCHW CHW Area C]:::none
family_a[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily A]:::none
family_b[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily B]:::none
family_c[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily C]:::none
family_d[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily D]:::none
family_e[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily E]:::none
family_f[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily F]:::none

super_area_a --- chw_area_a & chw_area_b & chw_area_c
chw_area_a --- family_a & family_b
chw_area_b --- family_c & family_d
chw_area_c --- family_e & family_f

User roles can be assigned to log in at any of these levels. For example, it would be customary for a CHW to log in at the CHW Area level and view the families, and below that the people, i.e. patients or family members, who belong there.

People

The hierarchy can be modeled after the health system, health program and/or the community. All people are associated with a place and these places can be associated to each other.

For example, a Family Member is part of a Family. A Family and CHWs are part of a CHW Area. A Family Member, a Family, and CHWs are part of a CHW Supervisor Area.

%%{init: { "flowchart": { "rankSpacing": 20, "nodeSpacing": 10 } } }%%
flowchart TB
linkStyle default stroke-width:1px,stroke:lightgrey

classDef node fill:none,stroke:none
classDef cluster fill:none,stroke:#ccc

subgraph district[ ]
  admin[<img src&#61;&#39;district-hospital.svg&#39; width&#61;&#39;30&#39; />\nAdmin]:::none
  officer[<img src&#61;&#39;officer.svg&#39; width&#61;&#39;30&#39; />\nProgram Officer]:::none
  admin --- officer
end
district:::none

subgraph supervision[ ]
  super_area_a[<img src&#61;&#39;health-center.svg&#39; width&#61;&#39;30&#39; />\nCHW Supervisor\nArea A]:::none
  super_a[<img src&#61;&#39;supervisor.svg&#39; width&#61;&#39;30&#39; />\nCHW Supervisor A]:::none
  super_area_a --- super_a
end
supervision:::none

subgraph chw_group_a[ ]
  chw_area_a[<img src&#61;&#39;chw-area.svg&#39; width&#61;&#39;30&#39; />\nCHW\nArea A]:::none
  chw_a[<img src&#61;&#39;chw.svg&#39; width&#61;&#39;30&#39; />\nCHW]:::none
  chw_area_a --- chw_a
end
chw_group_a:::none

subgraph chw_group_b[ ]
  chw_area_b[<img src&#61;&#39;chw-area.svg&#39; width&#61;&#39;30&#39; />\nCHW\nArea B]:::none
  chw_b[<img src&#61;&#39;chw.svg&#39; width&#61;&#39;30&#39; />\nCHW]:::none
  chw_area_b --- chw_b
end
chw_group_b:::none

family_a[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily\nA]:::none
family_b[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily\nB]:::none
family_c[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily\nC]:::none
family_d[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily\nD]:::none
family_e[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily\nE]:::none
family_f[<img src&#61;&#39;family.svg&#39; width&#61;&#39;30&#39; />\nFamily\nF]:::none
person_a_b[<img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; /><img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; />\nFamily\nMembers\nA and B]:::none
person_c[<img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; />\nFamily\nMember\nC]:::none
person_d[<img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; />\nFamily\nMember\nD]:::none
person_e_f[<img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; /><img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; />\nFamily\nMembers\nE and F]:::none
person_g[<img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; />\nFamily\nMember\nG]:::none
person_h_i_j[<img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; /><img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; /><img src&#61;&#39;person.svg&#39; width&#61;&#39;30&#39; />\nFamily Members\nH, I, and J]:::none

district --- supervision
supervision --- chw_group_a & chw_group_b 
supervision ----  family_e & family_f
chw_group_a --- family_a & family_b
chw_group_b --- family_c & family_d
family_a --- person_a_b
family_b --- person_c
family_c --- person_d
family_d --- person_e_f
family_e --- person_g
family_f --- person_h_i_j

Additional hierarchy levels may be added as needed and each section of the hierarchy is configurable. For instance, many large projects have unbalanced hierarchies, which is to say, some parts of the hierarchy have more or different layers than others. The Admin level operates outside of the hierarchy structure and enables access to all levels and people within the hierarchy.


CHT Applications > Reference > app_settings.json > .contact_types

Hierarchy: Setting the types of places and people in the hierarchy