Claim Updated Event

Event emitted when a claim is updated (main life, covered life, or banking details change).

Event Lifecycle

Overview

The ClaimUpdatedEventV1 event is emitted by the ClaimsService when a claim’s state is modified. This is a general-purpose update event that covers multiple scenarios, differentiated by the detailType field.

When is this event emitted?

This event is published when:

  • A claim is updated for a main life deceased scenario (claimUpdatedMainLife)
  • A claim is updated for a covered life deceased scenario (claimUpdatedCoveredLife)
  • Banking details are updated on a claim (claimUpdatedBankDetails)

Key Information

The event payload includes:

  • Event Metadata: Event ID, correlation ID, noticed and effected timestamps
  • Claim Identification: Claim ID
  • Detail Type: Discriminator indicating which type of update occurred (claimUpdatedMainLife, claimUpdatedCoveredLife, claimUpdatedBankDetails)
  • Logical Clock: Event ordering via logical clock reading

Downstream Consumers

Systems that typically consume this event include:

  • BFF services (for real-time UI updates)
  • Reporting and analytics platforms
  • CRM integration services

Schemas

JSON Schema

7 properties

Event representing the update of a claim.

idstring<uuid>
required

Unique identifier for the event

correlationIdstring<uuid>
required

Correlation ID for tracking related events

noticedDateinteger
required

Timestamp (epoch millis) when the event was noticed

effectedDateinteger
required

Timestamp (epoch millis) when the event took effect

detailTypestring
required

Type of the update event

Allowed values: claimUpdatedMainLife claimUpdatedCoveredLife claimUpdatedBankDetails
logicalClockReadinginteger
required

Logical clock reading for event ordering

claimIdstring
required

The ID of the claim that was updated

Avro Schema

7 fields
Record:ClaimUpdatedEventV1(sft.pas.claims.domain.events.claimupdatedeventv1.avro)

Event representing the update of a claim.

idstring (uuid)

Unique identifier for the event (UUID as string)

correlationIdstring (uuid)

Correlation ID for tracking related events (UUID as string)

noticedDatelong (timestamp-millis)

Timestamp when the event was noticed

effectedDatelong (timestamp-millis)

Timestamp when the event took effect

detailTypestring

Type of the event (e.g., claimUpdated)

logicalClockReadingint

Logical clock reading for event ordering

claimIdstring

The ID of the claim that was approved.