"Docs" values
1 row is stored for this page
| Field | Field type | Value |
|---|
| Title | String | Healthcare Service |
| DocType | String | reference |
| Domain | String | facility |
| Summary | Text | |
| SidebarOrder | Integer | 6 |
| IntroducedIn | String | 3.0 |
| DeprecatedIn | String | |
| FHIRResource | String | |
| Model | String | HealthcareService |
| SourceFile | String | |
| Status | String | current |
8 rows are stored for this page
| Field | Field type | Value |
|---|
| Model | String | HealthcareService |
| Section | String | Identity & classification |
| Field | String | name |
| FieldType | String | CharField(1024) |
| Notes | Text | Display name. Required on write; no default |
| Field | Field type | Value |
|---|
| Model | String | HealthcareService |
| Section | String | Identity & classification |
| Field | String | service_type |
| FieldType | String | JSONField → Coding |
| Notes | Text | Holds one FHIR-style <code>Coding</code> object, not a string. Defaults to <code>{}</code>. In the API it is a <code>ValueSetBoundCoding</code> bound to the '''Healthcare Service Type Code''' value set (below). Optional (<code>None</code>) |
| Field | Field type | Value |
|---|
| Model | String | HealthcareService |
| Section | String | Identity & classification |
| Field | String | internal_type |
| FieldType | String | CharField(255) |
| Notes | Text | Nullable, default <code>None</code>. The API constrains it to the <code>HealthcareServiceInternalType</code> enum (<code>pharmacy</code> / <code>lab</code> / <code>scheduling</code> / <code>store</code>); the column does not |
| Field | Field type | Value |
|---|
| Model | String | HealthcareService |
| Section | String | Identity & classification |
| Field | String | extra_details |
| FieldType | String | TextField |
| Notes | Text | Free text. Not nullable and no DB default, so write specs require a value — an empty string counts |
| Field | Field type | Value |
|---|
| Model | String | HealthcareService |
| Section | String | Scope & placement |
| Field | String | facility |
| FieldType | String | FK → facility.Facility |
| Notes | Text | <code>PROTECT</code>; nullable (<code>default=None</code>, <code>blank=True</code>). Excluded from every spec (<code>__exclude__ = ["facility"]</code>) and set server-side from the URL context — never from the request body |
| Field | Field type | Value |
|---|
| Model | String | HealthcareService |
| Section | String | Scope & placement |
| Field | String | locations |
| FieldType | String | ArrayField[int] |
| Notes | Text | Defaults to <code>[]</code>. Holds <code>FacilityLocation</code> '''primary-key integers''', not FK rows. Write specs take location <code>external_id</code>s (UUIDs); retrieve specs return serialized location objects |
| Field | Field type | Value |
|---|
| Model | String | HealthcareService |
| Section | String | Scope & placement |
| Field | String | managing_organization |
| FieldType | String | FK → emr.FacilityOrganization |
| Notes | Text | <code>PROTECT</code>; nullable. The facility-scoped org (department/team) responsible for the service. Write specs take its <code>external_id</code> (UUID), resolved server-side |
| Field | Field type | Value |
|---|
| Model | String | HealthcareService |
| Section | String | Presentation |
| Field | String | styling_metadata |
| FieldType | String | JSONField → dict |
| Notes | Text | Nullable in the DB; defaults to <code>{}</code> in the specs. An open JSON bag of UI hints (colors, icons) with no backend semantics |