Table of Contents

Namespace adas_core.Infrastructure.Utils

Classes

CacheHostBuilderExtension

Provides extension methods for configuring or building cache host instances.

CustomPointOfCareConverter

Provides a custom JSON conversion implementation for point of care data, extending the base Newtonsoft.Json.JsonConverter functionality.

MongoDbHostBuilderExtension

Provides extension methods for configuring MongoDB integration on a host builder.

MongoUtils

Provides utility methods for interacting with MongoDB.

PatientObservationAlarmConverter

Converts PatientObservationAlarm instances to and from JSON representation.

PatientObservationConverter

Provides conversion logic for PatientObservation values, supporting JSON serialization through Newtonsoft.Json.JsonConverter<T> and BSON serialization through MongoDB.Bson.Serialization.IBsonSerializer.

PatientPumpObservationConverter

Provides JSON conversion for PumpObservation instances and supports BSON serialization through the MongoDB.Bson.Serialization.IBsonSerializer interface.

PersonConverter

Provides JSON conversion for the Person type via Newtonsoft.Json.JsonConverter<T> and also implements BSON serialization through MongoDB.Bson.Serialization.IBsonSerializer.

RabbitConsumerErrorHandler

Handles errors that occur during RabbitMQ message consumption and publishes them using the configured publisher service.

RabbitIErrorMessageSerializer

Provides an implementation of IErrorMessageSerializer tailored for use with RabbitMQ, responsible for serializing error messages into a format suitable for transport over RabbitMQ.

TypesUtils

Provides static utility methods for working with types.