using System.Xml.Serialization;
using adas_core.Domain.Enums;
using MongoDB.Bson;
using Newtonsoft.Json;
namespace adas_core.Domain.Models.MongoModels;
///
/// Represents an observation or record related to configuration state.
///
///
/// This type is intended to capture configuration-related observation data within the application.
///
public class ConfigObservation
{
public Dictionary? Grouped;
public ObjectId Id { get; set; }
public string? Code { get; set; }
public string? CodingSystem { get; set; }
public string? OriginalName { get; set; }
public string? ParentCode { get; set; }
public string? ParentCodingSystem { get; set; }
public string? ParentName { get; set; }
public string? Name { get; set; }
public string? Units { get; set; }
public ObservationEnum.ArrowType ArrowType { get; set; } = ObservationEnum.ArrowType.Default;
public bool ShowArrow { get; set; } = true;
public bool ShowValue { get; set; } = true;
public bool ForceUnits { get; set; }
public double? MinAlert { get; set; }
public double? MaxAlert { get; set; }
public double? MaxWarn { get; set; }
public double? MinWarn { get; set; }
public string? WarnColor { get; set; }
public string? AlertColor { get; set; }
public List