Core Table Descriptions
(Last updated: 2026-01-08, Created: 2026-01-08)
Note: The Core layer is out in an early release and bigger changes can happen in the future
Dim Form Configurations
ewa_core.dim_form_configurations: Dimension table containing metadata about form configurations.
| Column Name | Data Type | Description |
|---|---|---|
| sk_form | String | Surrogate key for the form dimension. |
| form_id | String | Form Configuration Id from source, unique id for each form. |
| parent_form_id | String | Parent Form Configuration Id from source, unique id for the parent form if applicable. |
| form_name | String | Name of the form as defined by the user. |
| form_state | Int | State of the form (0 = non-completed, 1 = completed). |
| metadata_inserted_at | DateTime | Timestamp for when the row was first inserted. |
| metadata_updated_at | DateTime | Timestamp for the last update of the row. |
Dim Form Sections
ewa_core.dim_form_sections: Dimension table for form sections, linked to dim_form.
| Column Name | Data Type | Description |
|---|---|---|
| sk_section | String | Surrogate key for the section dimension. |
| section_id | String | Unique identifier for the section, used in form responses. |
| section_title | String | Title or heading of the section. |
| section_description | String | Optional description or help text for the section. |
| metadata_inserted_at | DateTime | Timestamp for when the row was first inserted. |
| metadata_updated_at | DateTime | Timestamp for the last update of the row. |
Dim Form Elements
ewa_core.dim_form_elements: Dimension table for form elements/questions.
| Column Name | Data Type | Description |
|---|---|---|
| sk_element | String | Surrogate key for the element dimension. |
| section_id | String | Foreign key reference to the section the element belongs to. |
| element_id | String | Unique identifier for the element, used in form responses. |
| element_field_type | String | Type of the element (e.g., text input, dropdown, checkbox). |
| element_label | String | Label shown to the user for the element/question. |
| element_description | String | Optional description or help text for the element. |
| metadata_inserted_at | DateTime | Timestamp for when the row was first inserted. |
| metadata_updated_at | DateTime | Timestamp for the last update of the row. |
Dim Form Options
ewa_core.dim_form_options: Dimension table for selectable options within form elements.
| Column Name | Data Type | Description |
|---|---|---|
| sk_option | String | Surrogate key for the option dimension. |
| section_id | String | Key reference to the section containing the element. |
| option_id | String | Key reference to the option. |
| element_id | String | Key reference to the element the option belongs to. |
| option_value | String | Display value shown to the user (e.g., "Yes", "No"). |
| option_score | Int | Numeric score associated with the option, used for calculations. |
| metadata_inserted_at | DateTime | Timestamp for when the row was first inserted. |
| metadata_updated_at | DateTime | Timestamp for the last update of the row. |
Fact Form Responses
ewa_core.fact_form_responses: Fact table capturing individual responses to form elements.
| Column Name | Data Type | Description |
|---|---|---|
| sk_response | String | Surrogate key for this response record. |
| sk_form | String | Foreign key reference to the form configuration. |
| sk_section | String | Foreign key reference to the section containing the element. |
| sk_element | String | Foreign key reference to the question or form element. |
| sk_option | String | Foreign key reference to the selected option (if applicable). |
| response_id | String | Unique ID representing a specific form response. |
| form_id | String | Foreign key reference to the form being responded to. |
| section_id | String | Foreign key reference to the section containing the element. |
| element_id | String | Foreign key reference to the question or form element. |
| option_id | String | Foreign key reference to the selected option (if applicable). |
| element_response_value | String | The raw value entered or selected by the user. |
| element_response_type | String | The input type of the element (e.g., text, number, multiple_choice). |
| response_score | Int | Score calculated for this response (option-based or parsed from input). |
| record_id | Int | Foreign key to the record/context where the form was submitted. |
| metadata_inserted_at | DateTime | Timestamp for when the row was first inserted. |
| metadata_updated_at | DateTime | Timestamp for the last update of the row. |
Bridge Accompanying Personnel
ewa_core.bridge_accompanying_personnel: Bridge table used to connect fact_records together with dim_accompanying_personnel.
| Column Name | Data Type | Description |
|---|---|---|
| record_id | Int | The unique identifier for a record. |
| sk_accompanying_personnel | String | Surrogate key generated for each unique accompanying personnel entry. |
| record_updated_at | DateTime | The timestamp when the record was last updated in EWA. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Bridge Assistance
ewa_core.bridge_assistance: Bridge table used to connect fact_records together with dim_assistance.
| Column Name | Data Type | Description |
|---|---|---|
| record_id | Int | The unique identifier for a record. |
| sk_assistance | String | Surrogate key generated for each unique assistance entry. |
| record_updated_at | DateTime | The timestamp when the record was last updated in EWA. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Bridge Circumstances
ewa_core.bridge_circumstances: Bridge table used to connect fact_records together with dim_circumstances.
| Column Name | Data Type | Description |
|---|---|---|
| record_id | Int | The unique identifier for a record. |
| sk_circumstance | String | Surrogate key generated for each unique circumstance entry. |
| record_updated_at | DateTime | The timestamp when the record was last updated in EWA. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Bridge Drugs
ewa_core.bridge_drugs: Bridge table used to connect fact_records together with dim_drugs and dim_personnel.
| Column Name | Data Type | Description |
|---|---|---|
| record_id | Int | The unique identifier for a record. |
| sk_drug | String | Surrogate key generated for each unique drug entry. |
| dose | String | The dose of the drug administered. |
| unit | String | The unit of the drug dose, such as mg, stk, etc. |
| record_updated_at | DateTime | The timestamp when the record was last updated in EWA. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Bridge Interventions
ewa_core.bridge_interventions: Bridge table used to connect fact_records together with dim_interventions and dim_personnel.
| Column Name | Data Type | Description |
|---|---|---|
| record_id | Int | The unique identifier for a record. |
| sk_intervention | String | Surrogate key generated for each unique intervention based on name and intervention group. |
| record_updated_at | DateTime | The timestamp when the record was last updated in EWA. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Bridge Locations
ewa_core.bridge_locations: Bridge table used to connect fact_records together with dim_locations and dim_location_types.
| Column Name | Data Type | Description |
|---|---|---|
| record_id | Int | The unique identifier for a record. |
| sk_location | String | Surrogate key generated for each unique location based on location GUID. |
| sk_location_type | String | Surrogate key generated for each unique location type (incident, via, start, destination). |
| zip | String | The ZIP code of the location, if available. |
| city | String | The city where the location is situated. |
| latitude | String | The latitude coordinate of the location, if available. |
| longitude | String | The longitude coordinate of the location, if available. |
| description | String | A description of the location or its purpose. |
| address | String | The full address of the location, if available. |
| record_updated_at | DateTime | The timestamp when the record was last updated in EWA. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Bridge Personnel
ewa_core.bridge_personnel: Bridge table used to connect fact_records together with dim_personnel and dim_personnel_roles.
| Column Name | Data Type | Description |
|---|---|---|
| record_id | Int | The unique identifier for a record. |
| sk_personnel_role | String | Surrogate key generated for each unique personnel role. Combines crew role type and resource type for configurable crew roles, or just crew role type for standard personnel records. |
| sk_personnel | String | Surrogate key generated for each unique personnel member based on user ID and full name. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Bridge Times
ewa_core.bridge_times: Bridge table used to connect fact_records together with dim_time_types.
| Column Name | Data Type | Description |
|---|---|---|
| record_id | Int | The unique identifier for a record. |
| time_id | DateTime | The actual timestamp when the event occurred. |
| sk_time_type | String | Surrogate key generated for each unique time type (e.g., arrival, departure, treatment start). |
| record_updated_at | DateTime | The timestamp when the record was last updated in EWA. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Dim Accompanying Personnel
ewa_core.dim_accompanying_personnel: Dimension table containing unique accompanying personnel entries.
| Column Name | Data Type | Description |
|---|---|---|
| sk_accompanying_personnel | String | Surrogate key generated for each unique accompanying personnel entry. |
| accompanying_personnel | String | The name or identifier of the accompanying personnel. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Dim Assistance
ewa_core.dim_assistance: Dimension table containing unique assistance entries.
| Column Name | Data Type | Description |
|---|---|---|
| sk_assistance | String | Surrogate key generated for each unique assistance entry. |
| assistance | String | The type of assistance provided. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Dim Chief Complaints
ewa_core.dim_chief_complaints: Dimension table containing unique chief complaint entries.
| Column Name | Data Type | Description |
|---|---|---|
| sk_chief_complaint | String | Surrogate key generated for each unique chief complaint based on group and complaint. |
| sk_chief_complaint_group | String | Surrogate key generated for each unique chief complaint group. |
| chief_complaint_group | String | The group or category of the chief complaint. |
| chief_complaint | String | Specific chief complaint recorded in the record. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Dim Circumstances
ewa_core.dim_circumstances: Dimension table containing unique circumstance entries.
| Column Name | Data Type | Description |
|---|---|---|
| sk_circumstance | String | Surrogate key generated for each unique circumstance entry. |
| circumstance | String | The specific circumstance recorded for the medical record. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Dim Contagions
ewa_core.dim_contagions: Dimension table containing unique contagion risk entries.
| Column Name | Data Type | Description |
|---|---|---|
| sk_contagion | String | Surrogate key generated for each unique contagion risk entry. |
| risk_text | String | Description text for the contagion risk. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Dim Drugs
ewa_core.dim_drugs: Dimension table containing unique drug entries.
| Column Name | Data Type | Description |
|---|---|---|
| sk_drug | String | Surrogate key generated for each unique drug entry. |
| drug_name | String | The name of the drug administered. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Dim Interventions
ewa_core.dim_interventions: Dimension table containing unique intervention entries.
| Column Name | Data Type | Description |
|---|---|---|
| sk_intervention | String | Surrogate key generated for each unique intervention based on name and intervention group. |
| sk_intervention_group | String | Surrogate key generated for each unique intervention group. |
| intervention | String | The name of the intervention performed. |
| intervention_group | String | The group or category of the intervention. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Dim Location Types
ewa_core.dim_location_types: Dimension table containing unique location type entries.
| Column Name | Data Type | Description |
|---|---|---|
| sk_location_type | String | Surrogate key generated for each unique location type. |
| location_type | String | The type of location, indicating whether it is an incident, via, start, or destination place. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |