"Docs" values
1 row is stored for this page
| Field | Field type | Value |
|---|
| Title | String | File Upload |
| DocType | String | reference |
| Domain | String | platform |
| Summary | Text | |
| SidebarOrder | Integer | 1 |
| IntroducedIn | String | 3.0 |
| DeprecatedIn | String | |
| FHIRResource | String | |
| Model | String | FileUpload |
| SourceFile | String | |
| Status | String | current |
8 rows are stored for this page
| Field | Field type | Value |
|---|
| Model | String | FileUpload |
| Section | String | File metadata |
| Field | String | name |
| FieldType | String | CharField(2000) |
| Notes | Text | User-facing file name. Required on the API (<code>FileUploadBaseSpec.name</code>) |
| Field | Field type | Value |
|---|
| Model | String | FileUpload |
| Section | String | File metadata |
| Field | String | internal_name |
| FieldType | String | CharField(2000) |
| Notes | Text | Storage object key. Set server-side from <code>original_name</code> on create, then a random key is generated on <code>save()</code>. Never set by clients |
| Field | Field type | Value |
|---|
| Model | String | FileUpload |
| Section | String | File metadata |
| Field | String | associating_id |
| FieldType | String | CharField(100) |
| Notes | Text | The <code>external_id</code> of the owning resource. Required (<code>blank=False, null=False</code>). There's no DB <code>ForeignKey</code> — integrity is enforced in the app layer |
| Field | Field type | Value |
|---|
| Model | String | FileUpload |
| Section | String | File metadata |
| Field | String | upload_completed |
| FieldType | String | BooleanField |
| Notes | Text | Default <code>False</code>. Flips to <code>True</code> once the client finishes the direct-to-S3 upload — or immediately, on the inline <code>upload-file</code> path |
| Field | Field type | Value |
|---|
| Model | String | FileUpload |
| Section | String | Archival |
| Field | String | is_archived |
| FieldType | String | BooleanField |
| Notes | Text | Default <code>False</code> |
| Field | Field type | Value |
|---|
| Model | String | FileUpload |
| Section | String | Archival |
| Field | String | archive_reason |
| FieldType | String | TextField |
| Notes | Text | Blank-able; set when archiving (required in the <code>archive</code> action body) |
| Field | Field type | Value |
|---|
| Model | String | FileUpload |
| Section | String | Archival |
| Field | String | archived_datetime |
| FieldType | String | DateTimeField |
| Notes | Text | Nullable; set to <code>timezone.now()</code> when archived |
| Field | Field type | Value |
|---|
| Model | String | FileUpload |
| Section | String | Archival |
| Field | String | archived_by |
| FieldType | String | FK → User (PROTECT) |
| Notes | Text | Nullable; <code>related_name="archived_files"</code> |