using adas_core.Domain.Models.MongoModels; namespace adas_core.Domain.Models.Responses; /// /// Encapsulates the outcome of a lookup, bundling the matched , the corresponding archived , the related , and flags that indicate archive status and result availability. /// /// public class PatientSearch( Patient? patient, Patient? archivePatient, Admission? admission, bool isArchived, bool hasResult) { public Patient? Patient { get; set; } = patient; public Patient? ArchivedPatient { get; set; } = archivePatient; public Admission? Admission { get; set; } = admission; public bool IsArchived { get; set; } = isArchived; public bool HasResult { get; set; } = hasResult; }