Columns
| Column | Type | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|
| company_id | int8 |
|
|
The company ID. E.g. 456. |
|||
| membership_id | int4 |
|
|
The ID of the membership associated with this visit. E.g. 12345. |
|||
| visit_id | int8 |
|
|
The unique identifier for the visit. E.g. 40558182. |
|||
| community_names | text |
|
|
The names of the communities associated with this visit. E.g. “Anita,Clients,Wellbeing Team”. |
|||
| chsp_outlet_name | varchar |
|
|
The name of the CHSP outlet where the service was provided. E.g. “Community Health Centre”. |
|||
| chsp_service_type_id | text |
|
|
The ID of the CHSP service provided during this visit. E.g. 84. |
|||
| chsp_service_type_name | text |
|
|
The name of the CHSP service provided during this visit. E.g. “Assistance with Daily Living”. |
|||
| visit_state | varchar |
|
|
The current state of the visit. E.g. “completed”. “scheduled”. |
|||
| visit_link | text |
|
|
A link to the visit details, e.g. https:// |
|||
| is_service_mapped_to_new_codes | bool |
|
|
||||
| visit_start_time_in_company_tz | timestamp |
|
|
The date and time of the visit (in the company’s local timezone). E.g. 2021-03-02 10:00:00. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| fct_chsp_service_visits_pkey | Primary key | Asc | visit_id |
| fct_chsp_service_visits_chsp_service_type_id_idx | Performance | Asc | chsp_service_type_id |
| fct_chsp_service_visits_community_names_idx | Performance | Asc | community_names |
| fct_chsp_service_visits_company_id_idx | Performance | Asc | company_id |