Skip to main content

Serve Table Descriptions - Analytics API v1.4.13

(Last updated: 2026-10-12, Created: 2026-09-30)

The Serve layer is available at /serve/graphql. It holds ready-made data sets, built from the Clean and Core layers. For filtering and paging, see Filtering and paging.

Records​

records: one row per EWA record, with the most used information about the mission, triage, patient and treatment collected in one place. Built for exporting records to other systems.

warning

This data set contains personal data about patients, such as name, national identity number, date of birth and address. Handle it according to your organization's rules for patient data.

  • Includes records with every status (ongoing, aborted, deleted and completed). The status is not part of the output. Use ewa_clean.records if you need it.
  • Paged with a cursor and ordered by record_updated_at, see Serve: records.
  • Filters: updated_from and updated_to, each with a value in ISO 8601, on the time the record was last updated. Both ends are included.
  • Names are in English (en_GB).
Column NameData TypeDescription
record_idIntId of the record in EWA.
unique_idStringUnique id for this row, based on record_id.
start_time_stampStringStart time of the mission (the record's start_time), in ISO 8601.
organization_idIntId of the organization the record's station belongs to.
organization_nameStringName of the organization.
station_idIntId of the station registered in the record.
station_nameStringName of the station.
resource_idIntId of the resource registered in the record.
resource_nameStringName of the resource.
resource_type_nameStringName of the resource type.
emcc_mission_idStringEMCC mission id of the record's mission.
dispatch_codeStringDispatch code of the mission.
mission_type_nameStringName of the mission type.
urgency_level_nameStringName of the urgency level.
distanceFloatDistance of the mission in km.
minutes_in_ambulanceFloatWhole minutes from the start of the mission until it was completed, or until the resource was free.
retts_priority_colorStringPriority colour from the RETTS triage at arrival.
sats_priority_colorStringPriority colour from the SATS total score.
sats_total_scoreFloatLatest SATS total score.
news_total_scoreFloatLatest NEWS2 total score.
gcs_total_scoreFloatSum of all GCS scores registered in the record.
chief_complaint_groupStringChief complaint group.
chief_complaintStringChief complaint.
transferred_from_locationStringLocation the patient was transferred from.
transferred_to_locationStringLocation the patient was transferred to.
destination_place_municipality_idIntMunicipality of the destination. Matches location_municipalities in Lookups.
destination_place_location_group_idIntLocation group of the destination. Matches location_groups in Lookups.
start_place_municipality_idIntMunicipality of the start place.
start_place_location_group_idIntLocation group of the start place.
incident_place_municipality_idIntMunicipality of the incident place.
incident_place_location_group_idIntLocation group of the incident place.
via_place_municipality_idIntMunicipality of the via place.
via_place_location_group_idIntLocation group of the via place.
patient_nameStringFull name of the patient.
patient_date_of_birthStringDate of birth of the patient, as yyyy-mm-dd.
patient_genderStringGender of the patient.
patient_national_id_numberStringNational identity number of the patient.
patient_id_typeStringType of identification used for the patient.
patient_weightFloatWeight of the patient in kg.
patient_home_address_or_placeStringHome address or place of the patient.
patient_home_zipStringPostal code of the patient's home.
patient_home_cityStringCity of the patient's home.
patient_home_municipalityStringMunicipality of the patient's home.
drugsStringNames of the drugs given, separated by commas.
interventionsStringNames of the interventions performed, separated by commas.
personnelStringFull names of the personnel on the record, separated by commas.
record_updated_atStringTime the record was last updated in EWA, in ISO 8601.
metadata_inserted_atStringTime the row was first inserted in the Analytics database.
metadata_updated_atStringTime the row was last updated in the Analytics database.

Form Response Score Summary​

form_response_score_summary: the total score of each form response. Queried like a Clean or Core table, see Filtering and paging.

Column NameData TypeDescription
idStringUnique id for this row.
response_idStringId of the form response.
form_idStringId of the form.
parent_form_idStringId of the form this form was copied from, if any.
form_nameStringName of the form.
record_idIntId of the record the response belongs to.
total_response_scoreIntSum of the scores of the selected options in the response.
metadata_inserted_atDateTimeTime the row was first inserted in the Analytics database.
metadata_updated_atDateTimeTime the row was last updated in the Analytics database.