17 rows are stored for this page
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Identity & scope |
| Field | String | facility |
| FieldType | String | FK → facility.Facility (PROTECT) |
| Notes | Text | yes |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Identity & scope |
| Field | String | patient |
| FieldType | String | FK → emr.Patient (PROTECT) |
| Notes | Text | yes |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Identity & scope |
| Field | String | name |
| FieldType | String | CharField(255) |
| Notes | Text | yes |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Identity & scope |
| Field | String | description |
| FieldType | String | TextField |
| Notes | Text | no |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Identity & scope |
| Field | String | primary_encounter |
| FieldType | String | FK → emr.Encounter (SET_NULL, nullable) |
| Notes | Text | no |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Status |
| Field | String | status |
| FieldType | String | CharField(255) |
| Notes | Text | yes |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Status |
| Field | String | billing_status |
| FieldType | String | CharField(255) |
| Notes | Text | yes |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Status |
| Field | String | service_period |
| FieldType | String | JSONField (default {}) |
| Notes | Text | yes (on spec) |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Balances & totals |
| Field | String | total_net |
| FieldType | String | DecimalField |
| Notes | Text | Net total before adjustments. Not populated — the <code>sync_account_items</code> logic is commented out, so it holds the default <code>0</code> |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Balances & totals |
| Field | String | total_gross |
| FieldType | String | DecimalField |
| Notes | Text | Sum of <code>total_price</code> over charge items in <code>paid</code> or <code>billed</code> status |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Balances & totals |
| Field | String | total_paid |
| FieldType | String | DecimalField |
| Notes | Text | Sum of <code>active</code>+<code>complete</code> payment reconciliations, minus credit-note reconciliations |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Balances & totals |
| Field | String | total_balance |
| FieldType | String | DecimalField |
| Notes | Text | <code>total_gross − total_paid</code> |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Balances & totals |
| Field | String | total_billable_charge_items |
| FieldType | String | DecimalField |
| Notes | Text | Sum of <code>total_price</code> over charge items in <code>billable</code> status |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Balances & totals |
| Field | String | cached_items |
| FieldType | String | JSONField (default {}) |
| Notes | Text | Denormalized snapshot of the account's charge items, serialized as a <code>list</code> on retrieve. Not populated — the sync logic is commented out |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Balances & totals |
| Field | String | calculated_at |
| FieldType | String | DateTimeField (nullable) |
| Notes | Text | When the balances were last computed; set to <code>care_now()</code> on each sync |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Tags & extensions |
| Field | String | tags |
| FieldType | String | ArrayField[int] (default []) |
| Notes | Text | Tag IDs applied to the account; rendered through <code>SingleFacilityTagManager</code> on read |
| Field | Field type | Value |
|---|
| Model | String | Account |
| Section | String | Tags & extensions |
| Field | String | extensions |
| FieldType | String | JSONField (default {}) |
| Notes | Text | Open bag for deployment-specific metadata. <code>ExtensionValidator</code> checks it against <code>ExtensionResource.account</code>; surfaced only on the retrieve spec |
"Docs" values
1 row is stored for this page
| Field | Field type | Value |
|---|
| Title | String | Account |
| DocType | String | reference |
| Domain | String | billing |
| Summary | Text | |
| SidebarOrder | Integer | 1 |
| IntroducedIn | String | 3.0 |
| DeprecatedIn | String | |
| FHIRResource | String | |
| Model | String | Account |
| SourceFile | String | |
| Status | String | current |