ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
treatment_dimension_changed_event Struct Referencefinal

Domain event indicating that treatment dimension data has changed. More...

#include <treatment_dimension_changed_event.hpp>

Collaboration diagram for treatment_dimension_changed_event:
Collaboration graph

Public Attributes

std::chrono::system_clock::time_point timestamp
 The timestamp of when the change occurred (in UTC).
 
std::vector< std::string > codes
 Codes of treatment dimensions that changed.
 

Detailed Description

Domain event indicating that treatment dimension data has changed.

This event is published when any treatment_dimension entity is created, updated, or deleted in the database. Subscribers can use the timestamp to query for changes since that point.

Member Data Documentation

◆ timestamp

std::chrono::system_clock::time_point timestamp

The timestamp of when the change occurred (in UTC).

Clients can use this timestamp to query the database for entities that have changed since this point.

◆ codes

std::vector<std::string> codes

Codes of treatment dimensions that changed.

Contains the codes of treatment dimensions that were created, updated, or deleted. May contain multiple codes for batch operations.