# Incidents

How Ella PSAP groups calls, callbacks, texts and locations into incidents.

## What an incident holds

An incident is one emergency, and the call taker works from its page.

|  | Held by the incident |
| --- | --- |
| Calls | The emergency calls, each with its locations. |
| Callbacks | The calls the call takers placed to the caller. |
| Texts | The texts from the phone, and the replies. |
| Handset location | The AML reports of the phones of the incident, sent while it is open. |
| Type | The nature of the emergency. |
| Emergency location | Where responders go, as the call taker recorded it. |
| Notes | What the call takers learned, each with its author and time. |
| Disposition | How the incident ended, given at close. |
| History | Every change to the type and emergency location, and every close, reopen and merge, with who made it and when. |

## Type and disposition

NENA recommends documenting the nature of the emergency, and a disposition for a call that needed no service; Ella PSAP asks for both on every incident.

|  | Why |
| --- | --- |
| Incident types | The common list of NENA's Emergency Incident Data Object (EIDO), adopted from APCO, so other agencies read the same code. |
| Dispositions | A short list of how a call taker ends an incident. The APCO list is mostly field outcomes, such as an arrest, set by responders, so each disposition carries the closest APCO code for other agencies. |
| Disposition required to close | Every incident ends with a disposition. The type and emergency location are not required, because abandoned and silent calls often have neither. |
| Open incidents only | The type is changed on an open incident, so that a later change follows a visible reopen. |
| Reopen | The incident keeps its type and disposition. The disposition is asked again at the next close. |
| Merge | The older incident keeps its type. When it has none, it takes the newer one's, and the history records it. |

## Emergency location

The emergency is not always where the caller is: a driver reports a crash they passed, a neighbour a fire across the street. NENA asks the call taker to record where the emergency actually is, so Ella PSAP keeps it apart from the caller's location.

|  | Why |
| --- | --- |
| Verified | NENA asks the call taker to verify every location, and counts a location as verified once the caller has repeated or confirmed it back. |
| Source | NENA asks that the source of a location be identified: typed in, or copied from a call or a handset report. |
| Every change kept | NENA asks that a record, once written, be kept, and every change logged. A change or a clear is added, never written over. |
| Open incidents only | A closed incident is reopened first, so that a later change is visible. |
| Merge | The older incident keeps its emergency location. When it has none, it takes the newer one's. |

## History

NENA asks that a record, once written, be kept, and every change logged with its time and author. The history of an incident sits among its notes, in time order. Nothing in it is changed, and it is deleted only with its incident.

## Notes

Notes hold what calls and texts don't show, such as what the caller said and what was done. As NENA asks, a note is never changed or deleted; a correction is a new note. Notes can be added after close, for example with the outcome of a callback.

## Where a call or text goes

Each call or text joins one incident, following NENA i3.

|  | Joins |
| --- | --- |
| Emergency call | A new incident, or the incident whose ID the network sends with the call, reopened if it was closed. |
| Text from a phone | The open incident with texts from that phone, else a new incident. |
| Callback, call or text from a call taker | The incident the call taker places it from. |
| Incident created by a call taker | A new incident, with the number of the person to call or text. |

## Merging and closing

The call taker decides when two incidents are one emergency, and when an emergency is over.

|  | Effect |
| --- | --- |
| Merge | Two incidents become one, under the ID of the older one, as NENA i3 asks. The calls, texts and notes of the newer one move to the older one. The newer one points to it, and is deleted with it. |
| Close | The incident stops taking calls and texts. The next contact from the caller opens a new incident. |
| Reopen | A closed incident that was not merged takes calls and texts again. |

A call taker can merge an open incident with any other open incident. The incidents of the same caller come first in the list.

## Incident ID

Each incident has one ID, which other agencies can use too.

|  | ID |
| --- | --- |
| Form | `urn:emergency:uid:incidentid:<unique>:<element ID>`, where the element ID is [`element_id`](<https://docs.ellanetworks.com/psap/reference/config_file/index.md>). |
| Shown | The last 8 characters of the unique part. The copy button copies the whole ID. |

## Sharing with other agencies

Dispatch systems and other agencies read an incident from Ella PSAP in NENA's Emergency Incident Data Object (EIDO), the format NG9-1-1 uses to hand an incident from one system to another.

|  | Why |
| --- | --- |
| Current state only | NENA defines an EIDO as the incident as it stands now. The history of changes stays in Ella PSAP. |
| Type required | An EIDO carries its incident details only with an incident type, so an incident without one is shared without its type, status and disposition. |
| Dispositions | Each disposition carries the closest common disposition code, so that other agencies read the same code. |
| Texts | An EIDO has no place for a text conversation. Each phone that texted is shared as a caller, with its number, but not the messages. |
| Agency and call takers | Other agencies identify the agency by its domain name, and each call taker as a user of that domain. |
| Who can read it | A dispatch system has its own user and API token, which can only read incidents, so a leaked token cannot change an emergency. |

## Retention

Ella PSAP deletes closed incidents after the retention, with their calls and texts, and keeps open incidents.
