public record LocalIngestResult(bool IsDuplicate, LocalObservation Observation, LocalClinicalAlert? Alert)
{
    public static LocalIngestResult Created(LocalObservation o, LocalClinicalAlert? a) =>
        new(false, o, a);
    public static LocalIngestResult Duplicate(LocalObservation o) =>
        new(true, o, null);
}