Skip to main content

Lookups - Analytics API v1.4.13

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

The Lookups endpoint, /lookups/graphql, lists the values used for filtering in EWA Insight, such as organizations, stations and mission types. It is built for EWA Insight, and is not meant for your own integrations, see Configuration. To find ids and names in your own integrations, use the Clean layer.

All lookups read from the Clean layer, and leave out values that are deleted in EWA. The sk_* fields are the id or value itself, not the keys used in the Core layer.

Lists without paging​

These return the whole list, and take no arguments.

FieldReturnsLists
organizationssk_organization, organization_id, organization_nameOrganizations
urgency_levelssk_urgency_level, urgency_id, urgency_level_nameUrgency levels
mission_typessk_mission_type, mission_type_id, mission_type_nameMission types
resource_typessk_resource_type, resource_type_nameResource types
location_typessk_location_type, location_typeLocation types used in completed records
retts_priority_levelssk_retts_priority_level, id, colorRETTS priority levels
sats_priority_levelssk_sats_priority_level, id, colorSATS priority levels
transferred_locationssk_transferred_location, transferred_location_nameLocations patients were transferred from or to
circumstancessk_circumstance, circumstanceCircumstances registered in records
assistancesk_assistance, assistanceAssistance registered in records
accompanying_personnelsk_accompanying_personnel, accompanying_personnelAccompanying personnel registered in records
personnel_rolessk_personnel_role, personnel_role, sk_resource_type, resource_type_id, resource_type_namePersonnel roles, per resource type

Paged lists​

These are paged by page number and sorted by name, see Filtering and paging. keywords searches in the name.

FieldArgumentsReturns
stationskeywords, organization_ids, station_ids, page, page_sizesk_station, organization_id, station_id, station_name
personnelkeywords, user_ids, page, page_sizesk_personnel, user_id, full_name
resourcespaging, filters: { keywords, station_id, sk_resource_type }sk_resource, sk_resource_type, resource_id, resource_name, station_id, station_name
interventionspaging, filters: { keywords, sk_intervention_group }sk_intervention, sk_intervention_group, intervention, intervention_group
intervention_groupspaging, filters: { keywords }sk_intervention_group, intervention_group
chief_complaintspaging, filters: { keywords, sk_chief_complaint_group }sk_chief_complaint, sk_chief_complaint_group, chief_complaint, chief_complaint_group
chief_complaint_groupspaging, filters: { keywords }sk_chief_complaint_group, chief_complaint_group
location_countiespaging, filters: { keywords }county_id, county_name
location_municipalitiespaging, filters: { keywords, county_id }county_id, county_name, municipality_id, municipality_name
location_groupspaging, filters: { keywords, county_id, municipality_id }county_id, county_name, municipality_id, municipality_name, location_group_id, location_group_name
  • stations and personnel take page and page_size directly, and return page, page_size, total_pages, total_records and items.
  • The others take paging: { page, page_size }, and return paging_info { page page_size total_pages total_records } and items.
  • page defaults to 1 and page_size to 100.
  • personnel, interventions and chief_complaints also include values found in completed records.

Example: the first 20 stations in organization 1.

{
stations(organization_ids: [1], page: 1, page_size: 20) {
total_records
items { station_id station_name }
}
}