Skip to content
Edit this page View source of this page

DiGA AbEM

If your app qualifies as a DiGA (Digitale Gesundheits App), you are required to perform application-accopanying performance measurements ("anwendungsbegleitende Erfolgsmessung", or AbEM).

To use TelemetryDeck for AbEM, first contact support to enable the DiGA AbEM feature for your organization, then send the correct events via the SDK.

// Patient has signed up for treatment
await TelemetryDeck.event("TelemetryDeck.DIGA.Treatment.started")

// Patient has entirely finished treatment successfully
await TelemetryDeck.event("TelemetryDeck.DIGA.Treatment.finished")

// Patient has started a therapeutic session
await TelemetryDeck.startHeartbeatEvents(.minute)

// Patient has finished a therapeutic session
await TelemetryDeck.stopHeartbeatEvents()

Required Events

You'll need to send these types of events to TelemetryDeck to correctly perform the performance measurements:

  1. TelemetryDeck.DIGA.Treatment.started when a user signs up for treatment
  2. TelemetryDeck.DIGA.Treatment.finished when a user successfully finishes treatment
  3. Heartbeat events for every minute of actual therapeutic sessions

Note that you need to send all three types to perform a good measurement according to the AbEM regulations. Read on for details on how to implement them.

In this context, a treatment is defined as the entire period where the app is paid for by the health provider, not one session. The average user will have one treatment, not multiple.

Treatment started and finished events

You'll need to let TelemetryDeck know that a user has started their treatment by sending a TelemetryDeck.DIGA.Treatment.started event once they have entered the treatment. This lets TelemetryDeck categorize users into clear cohorts, and distinguish the rare cases of multiple treatments per user.

If the user cancels or abandons their treatment, you don't need to send any more events. TelemetryDeck will notice the absence of events for this user automatically through the absence of heartbeat events.

If the user successfully finishes their treatment, send a TelemetryDeck.DIGA.Treatment.finished event. This will let TelemetryDeck know to count the user as successfully treated instead of an abandonment.

Heartbeat events

DiGA AbEM is based on how many minutes an application is actually used, and to accurately measure this on devices where the application could be forced to quit at any moment, we use individual heartbeat events. These heartbeats need to be sent at the beginning of every minute of actual therapeutic sessions. Use the SDK's convenience methods to send heartbeats.