<?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%2FTagging</id>
	<title>Concepts/Tagging - 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%2FTagging"/>
	<link rel="alternate" type="text/html" href="https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Tagging&amp;action=history"/>
	<updated>2026-07-06T05:20:11Z</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/Tagging&amp;diff=468&amp;oldid=prev</id>
		<title>Admin: Add Navbox platform (via update-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Tagging&amp;diff=468&amp;oldid=prev"/>
		<updated>2026-07-06T04:22:34Z</updated>

		<summary type="html">&lt;p&gt;Add Navbox platform (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:52, 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 73:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&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;Care&#039;s tagging is a platform extension rather than a single FHIR resource. It plays the role FHIR fills with coded &amp;lt;code&amp;gt;tag&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; elements on a resource&#039;s &amp;lt;code&amp;gt;meta&amp;lt;/code&amp;gt; — a controlled, hierarchical vocabulary applied to records for classification and filtering.&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;Care&#039;s tagging is a platform extension rather than a single FHIR resource. It plays the role FHIR fills with coded &amp;lt;code&amp;gt;tag&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; elements on a resource&#039;s &amp;lt;code&amp;gt;meta&amp;lt;/code&amp;gt; — a controlled, hierarchical vocabulary applied to records for classification and filtering.&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 platform}}&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/Tagging&amp;diff=118&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/Tagging&amp;diff=118&amp;oldid=prev"/>
		<updated>2026-07-04T22:43:36Z</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=platform&lt;br /&gt;
|title=Tagging&lt;br /&gt;
|order=1&lt;br /&gt;
|introduced=3.0&lt;br /&gt;
|concept=Concepts/Facility&lt;br /&gt;
|reference=References/Tagging&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;tag&amp;#039;&amp;#039;&amp;#039; in Care is a reusable label you attach to a record — a patient, an encounter, an order — to classify it and find it again later. Tagging is how a deployment layers its own vocabulary on top of Care&amp;#039;s clinical model: priority flags, dietary restrictions, drug categories, safety alerts, and any other grouping a workflow needs.&lt;br /&gt;
&lt;br /&gt;
== What it represents ==&lt;br /&gt;
&lt;br /&gt;
A tag is not free text typed onto a record. Each label is a controlled definition — the &amp;lt;code&amp;gt;TagConfig&amp;lt;/code&amp;gt; resource — created ahead of time, then reused across many records. That separation is the whole point: because every &amp;amp;quot;Penicillin Allergy&amp;amp;quot; tag traces back to one definition, you can filter, count, and report on it reliably instead of chasing a dozen spellings.&lt;br /&gt;
&lt;br /&gt;
A definition carries the things that make a label usable: a human-readable name and category (&amp;lt;code&amp;gt;diet&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;drug&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;lab&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;clinical&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;safety&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;advance_directive&amp;lt;/code&amp;gt;, and a few more), display hints like a color and icon, an ordering priority, the one resource type it targets, the owner that governs it, and its place in the tag tree. The sections below cover the three of those that shape how tags behave: target, ownership, and hierarchy.&lt;br /&gt;
&lt;br /&gt;
== How it connects ==&lt;br /&gt;
&lt;br /&gt;
A tag never lives inside the thing it labels. The definition is created once and then &amp;#039;&amp;#039;applied&amp;#039;&amp;#039; to records of its target type, and each tagged record simply stores which tags it carries:&lt;br /&gt;
&lt;br /&gt;
* A &amp;#039;&amp;#039;&amp;#039;patient&amp;#039;&amp;#039;&amp;#039; can carry instance-wide tags and facility-specific tags.&lt;br /&gt;
* An &amp;#039;&amp;#039;&amp;#039;encounter&amp;#039;&amp;#039;&amp;#039; carries its own set of tags.&lt;br /&gt;
* Orders and financial records — service requests, prescriptions, charge items, supply requests, accounts, and more — each accept tags scoped to their resource type.&lt;br /&gt;
&lt;br /&gt;
Because a definition declares exactly &amp;#039;&amp;#039;&amp;#039;one&amp;#039;&amp;#039;&amp;#039; target resource, a patient tag can never be applied to an encounter, and vice versa. This is a deliberate guardrail: it keeps each resource type&amp;#039;s vocabulary clean and stops one sprawling, mixed-up pile of labels from forming.&lt;br /&gt;
&lt;br /&gt;
Ownership works the same way — a tag belongs to exactly one scope: an instance-wide organization, a facility-scoped organization, or a single facility. Instance tags give a deployment shared vocabulary everywhere; facility-scoped tags let a site add labels that only make sense locally.&lt;br /&gt;
&lt;br /&gt;
== Tree structure ==&lt;br /&gt;
&lt;br /&gt;
Tags form a hierarchy, so a deployment can model a vocabulary from broad to narrow:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;Allergy → Drug Allergy → Penicillin Allergy&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A tag with no parent is a &amp;#039;&amp;#039;&amp;#039;root&amp;#039;&amp;#039;&amp;#039; — the top of a vocabulary. A &amp;#039;&amp;#039;&amp;#039;child&amp;#039;&amp;#039;&amp;#039; narrows its parent, and must target the &amp;#039;&amp;#039;&amp;#039;same resource type&amp;#039;&amp;#039;&amp;#039;, so a branch never mixes patient labels with encounter labels. The hierarchy lets you filter at any depth: ask for everything under &amp;amp;quot;Allergy,&amp;amp;quot; or drill into just &amp;amp;quot;Penicillin Allergy.&amp;amp;quot; You only choose each tag&amp;#039;s parent; the platform maintains the tree positions behind it.&lt;br /&gt;
&lt;br /&gt;
== Lifecycle ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;active → archived&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;active&amp;#039;&amp;#039;&amp;#039; — the tag can be applied to new records.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;archived&amp;#039;&amp;#039;&amp;#039; — the tag is retired from new use but kept for history, so records labelled in the past stay correctly classified and auditable.&lt;br /&gt;
&lt;br /&gt;
Archiving rather than deleting is what lets a vocabulary evolve without rewriting the past.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
Access to tags separates three actions: defining them, applying them, and reading them.&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_write_tag_config&amp;lt;/code&amp;gt;&lt;br /&gt;
| Create new tag definitions and edit existing ones within a facility (the viewset checks this for both create and update)&lt;br /&gt;
| Facility Admin, Admin&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_read_tag_config&amp;lt;/code&amp;gt;&lt;br /&gt;
| List and retrieve tag definitions in a facility&lt;br /&gt;
| Facility Admin, Administrator, Admin, Staff, Doctor, Nurse, Volunteer, Pharmacist&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_apply_tag_config&amp;lt;/code&amp;gt;&lt;br /&gt;
| Attach an existing tag to records of its target type (patients, encounters, and other resources)&lt;br /&gt;
| Facility Admin, Admin, Staff, Doctor, Nurse, Pharmacist&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Permissions cascade down the organization tree, so curating the shared vocabulary stays with administrators while frontline clinical staff can apply and read tags during care.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FHIR reference ==&lt;br /&gt;
&lt;br /&gt;
Care&amp;#039;s tagging is a platform extension rather than a single FHIR resource. It plays the role FHIR fills with coded &amp;lt;code&amp;gt;tag&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; elements on a resource&amp;#039;s &amp;lt;code&amp;gt;meta&amp;lt;/code&amp;gt; — a controlled, hierarchical vocabulary applied to records for classification and filtering.&lt;br /&gt;
&lt;br /&gt;
{{Related}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>