Skip to content

Add documentation for hierarchical mapping of districts, grama panchayats, and wards - #140

Open
sonzsara wants to merge 1 commit into
mainfrom
ENG-844
Open

Add documentation for hierarchical mapping of districts, grama panchayats, and wards#140
sonzsara wants to merge 1 commit into
mainfrom
ENG-844

Conversation

@sonzsara

@sonzsara sonzsara commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new query documentation page to describe and provide SQL for listing a government-organization location hierarchy (District → Grama Panchayat → Ward) for the KC context.

Changes:

  • Introduces a new Markdown query doc under Care/Organisation/.
  • Adds SQL to fetch district/grama-panchayat/ward mappings from emr_organization.
  • Documents assumptions/filters and last-updated date.
Suppressed comments (1)

Care/Organisation/districts_and_their_gramapanchayts_and_wards_kc.md:47

  • The nested bullet list under "Government subtype filtering" is indented with tabs. Tabs don’t reliably render as nested lists in Markdown; use spaces to ensure consistent rendering.
- Government subtype filtering is based on `metadata->>'govt_org_type'` values:
	- `grama_panchayat`
	- `ward`

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants