v2.0.1 Table descriptions
(Last updated: 2025-09-24, Created: 2025-06-27)
This documentation will include the documentation for v2.0.1
Form Configurations
ewa_clean.form_configurations: This table contains information about the content of a form and how it is configured.
| Column Name | Data Type | Description |
|---|---|---|
| unique_id | String | Unique id for this table, only based on form_id. |
| form_id | String | Form Configuration Id from source, unique id for each form. |
| form_name | String | Name of the form created in EWA. |
| form_state | Int | State of the form, 0 = draft, 1 = published. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Form Configuration Sections
ewa_clean.form_configuration_sections: This table contains information about the content of a section in a form and how it is configured.
| Column Name | Data Type | Description |
|---|---|---|
| unique_id | String | Unique id for this table, only based on section_id. |
| section_id | String | Form Configuration Section Id from source, unique id for each section in a form. |
| form_id | String | Form Configuration Id from source, unique id for each form. |
| section_title | String | Title of the section. |
| section_description | String | Description of the section. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Form Configuration Elements
ewa_clean.form_configuration_elements: This table contains information about elements and element options in a form section.
| Column Name | Data Type | Description |
|---|---|---|
| unique_id | String | Unique id for this table, based on element_id, section_id and option_id. |
| element_id | String | Form Configuration Element Id from source, unique id for each element in a form section. |
| section_id | String | Form Configuration Section Id from source, unique id for each section in a form. |
| option_id | String | Form Configuration Option Id from source, unique id for each option in a form element. |
| element_field_type | String | Field type of the element. |
| element_label | String | Label of the element. |
| element_description | String | Description of the element. |
| option_value | String | Value of the option. |
| option_score | Int | Score assigned to the option. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Form Responses
ewa_clean.form_responses: This table contains information about responses to a form.
| Column Name | Data Type | Description |
|---|---|---|
| unique_id | String | Unique id for this table, only based on response_id. |
| response_id | String | Form Response Id from source, unique id for each response to a form. |
| form_id | String | Form Configuration Id from source, unique id for each form. |
| response_state | Int | State of the response, 0 = started, 1 = finished. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Form Response Elements
ewa_clean.form_response_elements: This table contains information about responses to elements in a form section.
| Column Name | Data Type | Description |
|---|---|---|
| unique_id | String | Unique id for this table. |
| response_section_id | String | Form Response Section Id from source, unique id for each response to a section in a form. |
| section_id | String | Form Configuration Section Id from source, unique id for each section in a form. |
| element_id | String | Form Configuration Element Id from source, unique id for each element in a form section. |
| option_id | String | Form Configuration Option Id from source, unique id for each option in a form element. |
| element_response_value | String | Response value provided for the element. |
| element_response_type | String | Response type provided for the element. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Records Forms
ewa_clean.records_forms: Bridge table to connect records to form responses.
| Column Name | Data Type | Description |
|---|---|---|
| unique_id | String | Unique id for this table, based on response_id and record_id. |
| response_id | String | Form Response Id from source, unique id for each response to a form. |
| record_id | Int | Record Id from source, unique id for each record. Used to connect to the records table. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Cardiac Arrest Forms
ewa_clean.cardiac_arrest_forms: The ewa_clean__cardiac_arrest_forms table contains information about the information in a cardiac arrest forms.
| Column Name | Data Type | Description |
|---|---|---|
| id | Int | The unique identifier from EWA for each cardiac arrest form. |
| unique_id | String | A unique identifier in Analytics generated for each table. |
| record_id | Int | The unique identifier for a record. |
| form_status | String | The status of the cardiac arrest form, indicating if it's completed or ongoing. |
| emcc_alerted_time_known | String | Indicates if the time when the EMCC was alerted is known. |
| emcc_alerted_time_stamp | DateTime | Timestamp indicating when the EMCC was alerted. |
| event_time_known | String | Indicates if the time of the cardiac arrest is known. |
| event_time_stamp | DateTime | Timestamp of the cardiac arrest. |
| reported | String | Indicates if it was reported as a cardiac arrest. |
| ambulance_arrival_time_stamp | DateTime | Timestamp when the ambulance arrived at the scene. |
| cardiac_arrest_place | String | Location where the cardiac arrest took place. |
| collapse_seen | String | Indicator of whether the collapse was witnessed. |
| cardiac_arrest_cause | String | The cause of the cardiac arrest. |
| acute_breast_pain | String | Indicator if the patient experienced acute breast pain prior to the arrest. |
| cardiac_arrest_conjunction_exercise | String | Indicates whether the cardiac arrest occurred during exercise. |
| cpr_performed_bystanders | String | Indicates if CPR was performed by bystanders. |
| cpr_method | String | The method of CPR performed. |
| cpr_performed_first_responder | String | Indicator of whether the first responder performed CPR. |
| cpr_method_first_respondent | String | The method of CPR used by the first respondent. |
| aed_connected | String | Indicates if an AED was connected. |
| shocks_administered | String | Indicates if an AED did shock administration. |
| first_shock_time_stamp | DateTime | Timestamp indicating when the first shock was given. |
| first_heart_rhythm | String | The patient's initial heart rhythm at first contact. |
| cpr_performed_paramedics | String | Indicates if CPR was performed by paramedics. |
| cpr_not_started | String | Reason why CPR was not initiated, if applicable. |
| cpr_started_time_stamp | DateTime | Timestamp indicating when CPR was initiated. |
| defibrillation_paramedics | String | Indicates if defibrillation was performed by paramedics. |
| number_shocks | String | Total number of shocks. |
| airways_management | String | Details about airway management procedures performed. |
| capnography | String | Use of capnography during resuscitation. |
| adrenalin | String | Indicates if adrenalin was administered. |
| amiodarone | String | Indicates if amiodarone was administered. |
| prehospital_thrombolysis | String | Indicates if prehospital thrombolysis was done. |
| chest_compression_machine | String | Indicates if a chest compression machine was used. |
| chest_compression_machine_time_stamp | DateTime | Timestamp indicating when the chest compression machine was initiated. |
| cpr_was_stopped | String | Indicator if CPR was stopped. |
| cpr_stopped_time_stamp | DateTime | Timestamp indicating when CPR was stopped. |
| cpr_stop_cause | String | Reason for stopping CPR. |
| rosc_achieved | String | Indicator if ROSC was achieved. |
| continuous_rosc_achieved | String | Indicator if continuous ROSC was achieved. |
| continuous_rosc_time_stamp | DateTime | Timestamp indicating when continuous ROSC was achieved. |
| active_cooling_started | String | Indicator if active cooling treatment was started. |
| active_cooling_started_time_stamp | DateTime | Timestamp indicating when active cooling was initiated. |
| twelve_lead_ecg | String | Indicates if a 12-lead ECG was performed. |
| patient_transported_hospital | String | Indicates if the patient was transported to a hospital. |
| direct_transport_hospital | String | Indicates if direct transport to a hospital with Angio/PCI-lab occurred. |
| direct_transport_pci | String | Indicates if direct transport to a PCI-lab occurred. |
| status_at_hospital_arrival | String | Patient's status at arrival at the hospital. |
| hospital_arrival_time_known | String | Indicates if the time when the patient arrived at the hospital is known. |
| hospital_arrival_time_stamp | DateTime | Timestamp indicating when the patient arrived at the hospital. |
| delivery_hospital | String | The hospital to which the patient was delivered. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Checklist Configuration Items
ewa_clean.checklist_configuration_items: The checklist_configuration_items table defines the items in a checklist and holds information about that specific checklist.
| Column Name | Data Type | Description |
|---|---|---|
| id | String | Unique identifier for the checklist configuration item. Based on the id and the item_number. |
| unique_id | String | A unique identifier in Analytics generated for each table. |
| checklist_configuration_id | Int | Identifier for the checklist configuration. |
| checklist_guid | String | Globally unique identifier (GUID) for the checklist. |
| checklist_name | String | Name of the checklist. |
| item_number | String | The item number within the checklist. |
| item_description | String | Description of the checklist item. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Checklist Response Items
ewa_clean.checklist_response_items: The checklist_responses table contains records of individual checklist responses, including responses to specific checklist items.
| Column Name | Data Type | Description |
|---|---|---|
| unique_id | String | A unique identifier in Analytics generated for each table. |
| checklist_configuration_item_id | String | Identifier for the checklist item associated with the response. |
| record_id | Int | The unique identifier for a record. |
| completed_time_stamp | DateTime | Timestamp when the checklist was completed. |
| item_number | String | The item number within the checklist. |
| item_response_is_selected | String | Indicates whether the checklist item was selected as a response (true/false). |
| item_response_text | String | Text response provided for the checklist item. |
| item_response_value | String | Value associated with the checklist item's response. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Configurable Mission Types
ewa_clean.configurable_mission_types: This model unpacks and transforms data related to configurable mission types, with multilingual support for names.
| Column Name | Data Type | Description |
|---|---|---|
| id | String | The unique identifier from EWA for each configurable mission type. |
| unique_id | String | A unique identifier in Analytics generated for each table. |
| name | String | The default name of the configurable mission type. |
| name_en_US | String | The name of the mission type in US English (en-US). |
| name_en_GB | String | The name of the mission type in British English (en-GB). |
| name_da_DK | String | The name of the mission type in Danish (da-DK). |
| name_fr_FR | String | The name of the mission type in French (fr-FR). |
| name_de_DE | String | The name of the mission type in German (de-DE). |
| name_nb_NO | String | The name of the mission type in Norwegian (nb-NO). |
| name_sv_SE | String | The name of the mission type in Swedish (sv-SE). |
| priority_level | Int | The priority level associated with the mission type. |
| is_system_mission_type | String | Indicates whether the mission type is a system-defined type. |
| predecessor | String | The predecessor mission type id, if applicable. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Emcc Tickets
ewa_clean.emcc_tickets: The emcc_tickets table contains ticket data related to EMCC missions, including mission IDs, urgency levels, and dispatch code information.
| Column Name | Data Type | Description |
|---|---|---|
| id | String | Unique identifier from EWA for each emcc ticket. |
| unique_id | String | A unique identifier in Analytics generated for each table. |
| full_emcc_mission_id | String | The mission identifier in the EMCC system including the resource assigned to the mission. |
| emcc_mission_id | String | The mission identifier in the EMCC system. |
| mission_resource_id | String | The identifier for the resource assigned to the mission. |
| full_emcc_mission_id_updated_at | DateTime | Timestamp of the last update to the full mission ID. |
| emcc_alerted_time_stamp | DateTime | Timestamp when the EMCC was alerted. |
| emcc_alerted_time_stamp_updated_at | DateTime | Timestamp of the last update to the alerted timestamp. |
| dispatch_code | String | The dispatch code associated with the emcc ticket. |
| dispatch_code_updated_at | DateTime | Timestamp of the last update to the dispatch code. |
| dispatch_code_description | String | Description of the dispatch code. |
| dispatch_code_description_updated_at | DateTime | Timestamp of the last update to the dispatch code description. |
| urgency_level | String | The urgency level of the emcc ticket. |
| urgency_level_updated_at | DateTime | Timestamp of the last update to the urgency level. |
| problem_description | String | A description of the problem associated with the emcc ticket. |
| updated_at | DateTime | Updated at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Locations
ewa_clean.locations: Locations registered in EWA with their associated metadata and a tag id.
| Column Name | Data Type | Description |
|---|---|---|
| id | Int | The unique identifier from EWA for each location. |
| unique_id | String | A unique identifier in Analytics generated for each table. |
| location_name | String | The name of the location. |
| tag_id | String | The tag id for the location id, used to connect to the tag table. |
| location_guid | String | The location guid. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |
Organizations
ewa_clean.organizations: The ewa_clean__organizations table contains details about organizations, including related record information and metadata timestamps. One organization is also referred to as a health trust.
| Column Name | Data Type | Description |
|---|---|---|
| id | Int | Unique identifier from EWA for each organization. |
| unique_id | String | A unique identifier in Analytics generated for each table. |
| name | String | Name of the organization. |
| organization_reference | String | Reference number or name for the organization. |
| updated_at | DateTime | Updated at timestamp. |
| created_at | DateTime | Created at timestamp. |
| deleted_at | DateTime | Deleted at timestamp. |
| metadata_inserted_at | DateTime | Row inserted at timestamp. |
| metadata_updated_at | DateTime | Row updated at timestamp. |