<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ohcnwiki.tellmey.fyi/index.php?action=history&amp;feed=atom&amp;title=Concepts%2FOrganization</id>
	<title>Concepts/Organization - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ohcnwiki.tellmey.fyi/index.php?action=history&amp;feed=atom&amp;title=Concepts%2FOrganization"/>
	<link rel="alternate" type="text/html" href="https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Organization&amp;action=history"/>
	<updated>2026-07-06T05:20:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Organization&amp;diff=405&amp;oldid=prev</id>
		<title>Admin: Automated edit (via update-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Organization&amp;diff=405&amp;oldid=prev"/>
		<updated>2026-07-06T04:02:50Z</updated>

		<summary type="html">&lt;p&gt;Automated edit (via update-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:32, 6 July 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 101:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 101:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Admin (role org), Manager (role org)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Admin (role org), Manager (role org)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Navbox access governance}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Related}}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Related}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Organization&amp;diff=85&amp;oldid=prev</id>
		<title>Admin: OHC identity seed</title>
		<link rel="alternate" type="text/html" href="https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Organization&amp;diff=85&amp;oldid=prev"/>
		<updated>2026-07-04T22:42:59Z</updated>

		<summary type="html">&lt;p&gt;OHC identity seed&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Doc header&lt;br /&gt;
|type=concept&lt;br /&gt;
|domain=access-governance&lt;br /&gt;
|title=Organization&lt;br /&gt;
|order=2&lt;br /&gt;
|introduced=3.0&lt;br /&gt;
|concept=Concepts/Facility&lt;br /&gt;
|reference=References/Organization&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
An &amp;#039;&amp;#039;&amp;#039;organization&amp;#039;&amp;#039;&amp;#039; is how Care groups people and permissions so that access is defined once and reused, instead of configured per person. Organizations form a tree, and a role granted on a parent flows down to everything beneath it — they are the backbone of who-can-do-what across a deployment. (FHIR calls this grouping primitive &amp;#039;&amp;#039;Organization&amp;#039;&amp;#039;; Care uses that term rather than &amp;amp;quot;group,&amp;amp;quot; which is ambiguous in a clinical setting.)&lt;br /&gt;
&lt;br /&gt;
== What it represents ==&lt;br /&gt;
&lt;br /&gt;
The job of an organization is to &amp;#039;&amp;#039;&amp;#039;group the permissions assigned to resources&amp;#039;&amp;#039;&amp;#039;. Rather than granting each new doctor a long list of permissions, you create a &amp;amp;quot;Doctors&amp;amp;quot; organization once, give it the access it should carry — hospital-wide questionnaires, say — and add doctors to it. A child &amp;amp;quot;Cardiology&amp;amp;quot; organization can layer on cardiology-specific forms while still inheriting everything from &amp;amp;quot;Doctors.&amp;amp;quot; The next doctor who arrives is simply added to the group; no permissions are defined by hand.&lt;br /&gt;
&lt;br /&gt;
An organization is not a facility. A facility is a physical place where care happens; an organization is an administrative grouping that lives instance-wide. The departments and teams &amp;#039;&amp;#039;inside&amp;#039;&amp;#039; a single hospital are modelled separately as [[Concepts/Facility Organization|facility organizations]] — this concept is the platform-wide tree above them.&lt;br /&gt;
&lt;br /&gt;
== Organization types ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;org_type&amp;lt;/code&amp;gt; says what kind of grouping a node is, and Care treats each differently — most visibly in who is allowed to manage it.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Type&lt;br /&gt;
! What it is&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;team&amp;lt;/code&amp;gt;&lt;br /&gt;
| A working grouping of people — the everyday default&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;govt&amp;lt;/code&amp;gt;&lt;br /&gt;
| A governance / governmental unit that mirrors a real administrative hierarchy&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;role&amp;lt;/code&amp;gt;&lt;br /&gt;
| A &amp;#039;&amp;#039;&amp;#039;user group&amp;#039;&amp;#039;&amp;#039;: a flat set of users grouped for a shared purpose (assigning questionnaires, and later prescribing and approvals)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;product_supplier&amp;lt;/code&amp;gt;&lt;br /&gt;
| A supplier organization that links into the [[Concepts/Product&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Government hierarchies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;govt&amp;lt;/code&amp;gt; organizations model real-world governance — a public-health administration laid out as &amp;lt;code&amp;gt;State → District → Block → Panchayat&amp;lt;/code&amp;gt;, for example. They are the geographic backbone a deployment hangs facilities and patients off: a facility&amp;#039;s governing organization and a patient&amp;#039;s administrative area both point into this tree. That is how a district health officer reaches every facility and patient beneath their district without being added to each one.&lt;br /&gt;
&lt;br /&gt;
Because governance structures have to be visible to coordinate across them, &amp;#039;&amp;#039;&amp;#039;anyone in Care may view &amp;lt;code&amp;gt;govt&amp;lt;/code&amp;gt; organizations&amp;#039;&amp;#039;&amp;#039;, but only a superadmin may create or edit them. Their names and shape are treated as fixed reference data, not something an individual facility can change.&lt;br /&gt;
&lt;br /&gt;
=== Role organizations (user groups) ===&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;code&amp;gt;role&amp;lt;/code&amp;gt; organization is a &amp;#039;&amp;#039;&amp;#039;user group&amp;#039;&amp;#039;&amp;#039; — a flat list of users grouped for a shared purpose rather than a place in a hierarchy. Care uses them to decide things like which users a questionnaire is assigned to, and they are built to extend to prescribing, approving requests, and similar group-driven workflows. A deployment defines the groups it needs — in palliative care these might be &amp;#039;&amp;#039;Volunteer&amp;#039;&amp;#039;, &amp;#039;&amp;#039;ASHA Worker&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;MLSP&amp;#039;&amp;#039; — and a user can be placed into them when their account is created. Unlike the governance and team trees, role organizations are flat and are managed by superadmins.&lt;br /&gt;
&lt;br /&gt;
{{Note|title=Role vs. role organization|1=A &amp;#039;&amp;#039;&amp;#039;role&amp;#039;&amp;#039;&amp;#039; is an arbitrary set of permissions — &amp;lt;code&amp;gt;Doctor&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Doctor (Read Only)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Doctor (Scheduler)&amp;lt;/code&amp;gt; — nothing more than a named bundle, never a job title. A &amp;#039;&amp;#039;&amp;#039;role organization&amp;#039;&amp;#039;&amp;#039; is a group of users. They are independent: you grant a role to a user &amp;#039;&amp;#039;within&amp;#039;&amp;#039; an organization. See [[Concepts/Roles &amp;amp;amp; Permissions|Roles &amp;amp;amp; permissions]].}}&lt;br /&gt;
&lt;br /&gt;
== How the tree works ==&lt;br /&gt;
&lt;br /&gt;
Organizations nest. A root sits at the top with no parent; every other node points to a single parent, forming chains like &amp;lt;code&amp;gt;Government → State Health Dept → District → Cardiology&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The defining behaviour is &amp;#039;&amp;#039;&amp;#039;inheritance&amp;#039;&amp;#039;&amp;#039;: a role granted on a parent applies implicitly to every descendant. Make someone an admin of a district and they can act across every team beneath it without being added to each. This is what makes the tree an access structure and not just a folder hierarchy.&lt;br /&gt;
&lt;br /&gt;
A few rules keep it consistent: siblings under the same root must have unique names; a parent cannot be deleted while it still has children; system-generated and &amp;lt;code&amp;gt;govt&amp;lt;/code&amp;gt; organizations cannot be edited; and a node&amp;#039;s parent is fixed once created — you move people, not the node.&lt;br /&gt;
&lt;br /&gt;
== Membership, roles &amp;amp;amp; responsibility ==&lt;br /&gt;
&lt;br /&gt;
People gain access by being added to an organization &amp;#039;&amp;#039;&amp;#039;with a role&amp;#039;&amp;#039;&amp;#039; — that triple of user + organization + role is what grants permission. Membership grants access &amp;#039;&amp;#039;through&amp;#039;&amp;#039; the organization, not &amp;#039;&amp;#039;to&amp;#039;&amp;#039; everything it touches: a user can act on the resources assigned to their organization (and, by inheritance, its descendants), always bounded by what their role allows. An organization &amp;amp;quot;for nurses with access to patients in wards Y and Z&amp;amp;quot; reaches exactly those patients — not every patient in the deployment.&lt;br /&gt;
&lt;br /&gt;
Care guards against privilege escalation right at the membership boundary: the role you assign to someone can be &amp;#039;&amp;#039;&amp;#039;at most the role you yourself hold&amp;#039;&amp;#039;&amp;#039; in that organization, and you can only remove members whose access sits below your own. No one can grant — or revoke — more than they have.&lt;br /&gt;
&lt;br /&gt;
Administering a &amp;#039;&amp;#039;user&amp;#039;&amp;#039; (resetting a password, editing details, changing group memberships) follows the same principle through a separate &amp;#039;&amp;#039;&amp;#039;management hierarchy&amp;#039;&amp;#039;&amp;#039;: a user can be administered only by someone in a managing organization above them, never by an arbitrary peer. That is how a governance admin can legitimately reset a password for someone beneath them, while no one can seize control of a user they don&amp;#039;t already oversee.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
Access to organizations is governed by the permissions below. Each lists the system roles that carry it by default.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Permission&lt;br /&gt;
! Description&lt;br /&gt;
! System Roles&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_create_organization&amp;lt;/code&amp;gt;&lt;br /&gt;
| Create a new organization under a parent the user can already manage (root, governance, and role organizations remain superadmin-only)&lt;br /&gt;
| Admin&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_view_organization&amp;lt;/code&amp;gt;&lt;br /&gt;
| View organizations and list/retrieve them through the accessible-organizations filter&lt;br /&gt;
| Facility Admin, Admin, Staff, Doctor, Administrator, Nurse, Volunteer, Pharmacist, Admin (role org), Manager (role org), Member (role org)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_manage_organization&amp;lt;/code&amp;gt;&lt;br /&gt;
| Update an organization&amp;#039;s name, description, and metadata, manage its connected role organizations, and delete it once it has no children&lt;br /&gt;
| Admin, Admin (role org)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_list_organization_users&amp;lt;/code&amp;gt;&lt;br /&gt;
| List the members of an organization&lt;br /&gt;
| Facility Admin, Admin, Staff, Doctor, Administrator, Nurse, Volunteer, Pharmacist, Admin (role org), Manager (role org)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_manage_organization_users&amp;lt;/code&amp;gt;&lt;br /&gt;
| Add, remove, and assign roles to members of an organization (bounded by the actor&amp;#039;s own role privileges)&lt;br /&gt;
| Admin, Administrator, Facility Admin, Admin (role org)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_manage_connected_role_organizations&amp;lt;/code&amp;gt;&lt;br /&gt;
| Add, remove, and assign roles to members of connected role organizations&lt;br /&gt;
| Admin (role org), Manager (role org)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Related}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>