14 rows are stored for this page
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Scope |
| Field | String | facility |
| FieldType | String | FK → Facility |
| Notes | Text | <code>PROTECT</code>, nullable, <code>default=None</code>. Facility that owns the tag |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Scope |
| Field | String | facility_organization |
| FieldType | String | FK → FacilityOrganization |
| Notes | Text | <code>CASCADE</code>, nullable. Owning facility organization. Not allowed on instance-level (no-facility) tags |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Scope |
| Field | String | organization |
| FieldType | String | FK → Organization |
| Notes | Text | <code>CASCADE</code>, nullable. Owning instance-wide organization |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Display & classification |
| Field | String | display |
| FieldType | String | CharField(255) |
| Notes | Text | Human-readable label. Required in the spec |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Display & classification |
| Field | String | description |
| FieldType | String | TextField |
| Notes | Text | Nullable, blank-able. Required key in the base spec but accepts <code>null</code> |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Display & classification |
| Field | String | priority |
| FieldType | String | IntegerField |
| Notes | Text | <code>default=100</code>. Ordering weight |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Tree structure & caches |
| Field | String | parent |
| FieldType | String | FK → self |
| Notes | Text | <code>CASCADE</code>, nullable. <code>related_name="children"</code>. Null parent means a root tag |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Tree structure & caches |
| Field | String | root_tag_config |
| FieldType | String | FK → self |
| Notes | Text | <code>CASCADE</code>, nullable. <code>related_name="root"</code>. Top of the tree, derived on save |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Tree structure & caches |
| Field | String | has_children |
| FieldType | String | BooleanField |
| Notes | Text | <code>default=False</code>. Flipped to <code>True</code> on the parent when a child is created |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Tree structure & caches |
| Field | String | level_cache |
| FieldType | String | IntegerField |
| Notes | Text | <code>default=0</code>. Depth in the tree (<code>parent.level_cache + 1</code>) |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Tree structure & caches |
| Field | String | parent_cache |
| FieldType | String | ArrayField[int] |
| Notes | Text | <code>default=list</code>. Full ancestor id chain (<code>parent.parent_cache + [parent.id]</code>) |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | Tree structure & caches |
| Field | String | cached_parent_json |
| FieldType | String | JSONField |
| Notes | Text | <code>default=dict</code>. Materialized parent record with a <code>cache_expiry</code>; rebuilt after <code>cache_expiry_days</code> (15). Shape: <code>{ id, display, description, category, parent (nested same shape), level_cache, cache_expiry }</code> |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | TagConfigMetadata (shape of metadata) |
| Field | String | color |
| FieldType | String | str |
| Notes | Text | no |
| Field | Field type | Value |
|---|
| Model | String | Tagging |
| Section | String | TagConfigMetadata (shape of metadata) |
| Field | String | icon |
| FieldType | String | str |
| Notes | Text | no |
"Docs" values
1 row is stored for this page
| Field | Field type | Value |
|---|
| Title | String | Tagging |
| DocType | String | reference |
| Domain | String | platform |
| Summary | Text | |
| SidebarOrder | Integer | 6 |
| IntroducedIn | String | 3.0 |
| DeprecatedIn | String | |
| FHIRResource | String | |
| Model | String | Tagging |
| SourceFile | String | |
| Status | String | current |