22 rows are stored for this page
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Core |
| Field | String | template |
| FieldType | String | FK → Template (PROTECT) |
| Notes | Text | Template the report was generated from. The template cannot be deleted while reports reference it |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Core |
| Field | String | name |
| FieldType | String | CharField(2000) |
| Notes | Text | Display name of the report. Required in every spec |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Core |
| Field | String | associating_id |
| FieldType | String | CharField(100) |
| Notes | Text | Non-null. Free-form identifier linking the report to its subject resource (e.g. an encounter) |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Core |
| Field | String | upload_completed |
| FieldType | String | BooleanField |
| Notes | Text | Default <code>False</code>. Flips to <code>True</code> once the file upload to storage finishes |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Core |
| Field | String | report_type |
| FieldType | String | CharField(50) |
| Notes | Text | File/content type of the report; also exposed via the <code>file_type</code> property for <code>S3FilesManager</code> |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Archival |
| Field | String | is_archived |
| FieldType | String | BooleanField |
| Notes | Text | Default <code>False</code> |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Archival |
| Field | String | archive_reason |
| FieldType | String | TextField |
| Notes | Text | Blank allowed |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Archival |
| Field | String | archived_datetime |
| FieldType | String | DateTimeField |
| Notes | Text | Nullable; set when the report is archived |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Archival |
| Field | String | archived_by |
| FieldType | String | FK → User (PROTECT) |
| Notes | Text | Nullable. <code>related_name="archived_reports"</code> |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Inherited / metadata |
| Field | String | meta |
| FieldType | String | JSONField (default {}) |
| Notes | Text | Inherited from <code>EMRBaseModel</code>. Holds <code>mime_type</code> (surfaced by specs as <code>mime_type</code>) and other free-form metadata |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Inherited / metadata |
| Field | String | history |
| FieldType | String | JSONField (default {}) |
| Notes | Text | Inherited audit history |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Inherited / metadata |
| Field | String | created_by / updated_by |
| FieldType | String | FK → User (SET_NULL) |
| Notes | Text | Inherited audit FKs; serialized as <code>created_by</code>/<code>updated_by</code> <code>UserSpec</code> |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | facility |
| FieldType | String | FK → Facility (PROTECT, nullable) |
| Notes | Text | <code>UUID4 |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | slug |
| FieldType | String | CharField(255) |
| Notes | Text | written via <code>slug_value: SlugType</code>; read as <code>slug</code> + parsed <code>slug_config</code> |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | name |
| FieldType | String | CharField(255) |
| Notes | Text | <code>str</code>, required |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | status |
| FieldType | String | CharField(255) |
| Notes | Text | <code>TemplateStatusOptions</code> enum |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | template_data |
| FieldType | String | TextField |
| Notes | Text | <code>str</code>, required (write) |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | template_type |
| FieldType | String | CharField(255) |
| Notes | Text | <code>str</code>, validated against <code>ReportTypeRegistry</code> |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | default_format |
| FieldType | String | CharField(255) |
| Notes | Text | <code>TemplateFormatOptions</code> enum |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | context |
| FieldType | String | CharField(100) (default "encounter_base") |
| Notes | Text | <code>str</code>, validated against <code>DataPointRegistry</code> |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | description |
| FieldType | String | TextField (blank, default "") |
| Notes | Text | <code>str = ""</code> |
| Field | Field type | Value |
|---|
| Model | String | Report&Templates |
| Section | String | Template fields |
| Field | String | options |
| FieldType | String | JSONField (default {}) |
| Notes | Text | <code>dict = {}</code>, validated against the format generator's <code>options_model</code> |
"Docs" values
1 row is stored for this page
| Field | Field type | Value |
|---|
| Title | String | Report & Templates |
| DocType | String | reference |
| Domain | String | platform |
| Summary | Text | |
| SidebarOrder | Integer | 3 |
| IntroducedIn | String | 3.0 |
| DeprecatedIn | String | |
| FHIRResource | String | |
| Model | String | Report&Templates |
| SourceFile | String | |
| Status | String | current |