Skip to main content

Locus Emergency

info

The new Locus Emergency integration is not yet deployed. This integration is to be able to test it and to be ready once it goes live.

Locus Emergency Integration is a connection point between EWA and the Norwegian Emergency Medical Communication Centre (AMK). Using the Locus Emergency Integration API, customers can send emergency medical data to EWA, allowing them to monitor and respond to medical emergencies more effectively.

With the integration of the Locus Emergency Integration API, communication between the emergency operations centers (EOC) and the ambulance is automated, allowing the tablet to receive information from the EOCs. This integration enhances the efficiency and accuracy of emergency medical data transmission, enabling faster and more effective response to medical emergencies.

Please note that the Locus Emergency Integration API serves as a connection point between EWA and customers such as AMK. It is designed to receive emergency medical data from customers and store it in EWA's database, but it does not provide access to EWA's functionality directly.

Changelogs

Integration API with new Locus Terminologies

The second version of the Integration API has been introduced to align with Locus Emergency terminologies regarding the variable naming.

info

Please note the new endpoint for Locus Emergency should be: {your-domain}/integration/api/v2/import.

 # Example uri: "https://dev.ewa.bliksund.com/integration/api/v2/import"

Here are the updated terminologies:

CurrentLocus terminologyExampleNorwegian
central-mission-idincident_id240518-598Hendelsesnummer
emcc_ideoc_idAMK1AMK
resource_idmission_id101Oppdragsnummer
emergency_codeurgencyVanligHastegrad
dt_place_incidentdt_at_sceneFremme hendelsessted
dt_left_place_incidentdt_depart_sceneAvreist hentested
dt_at_destinationdt_arrived_destinationFremme leveringssted

Handling of the Urgency Code

When an urgency code is sent from the EOC, it should be mapped to predefined values to match the commonly used terminology in EWA and Locus Emergency and enable multi-language support within our application. If no matching value is available, the original text of the urgency code sent from the EOC will be displayed as is. This ensures that the urgency codes are either presented in a familiar format or remain in their original form to avoid any misinterpretation or loss of critical information.

Support of the New EOC-ID Format

The format of the EOC-ID (from Emergency Operations Centers, previously Central-Mission-ID) has been updated to meet the requirements of the Locus Emergency integration, including a change in variable naming. Previously, the ID contained of the EMCC-ID and the Resource-ID, separated by a hyphen ("-"). But since yhe format of the EMCC-ID (for Emergency Medical Communication Centre, mostly used in Norway) has changed to incorporate the date and a sequential number for the day separated by another hyphen, the new integration needed to be adjusted. In this process, the EMCC-ID was also renamed into Incident-ID to reflect that it represents a specific event on that particular day. Additionally, the Resource-ID was renamed into Mission-ID to support one resource (like an ambulance) having multiple missions within a single incident. In conclusion, the format has changed as shown in the picture below.

Format change of the EOC-IDFormat change of the EOC-ID

To be able to parse the new EOC-ID into its segments, the logic in EWA was changed to treat the segment after the last hyphen as the new Mission-ID (previously Resource-ID) and the rest as the Incident-ID (previously EMCC-ID). This was implemented within a separate version of the EOC-Integration-API to support backward compatibility until all customers have transitioned to the new Locus Emergency version.

Distance

Distance (in kilometers) sent from Locus Emergency will be handled and distance tile in EWA will be updated. The data is also saved to the database and will be displayed where applicable.