feature: Observation Ingest, Synchronous Alert Detection, and Alert Lifecycle
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
public record IngestResult(Observation Observation, ClinicalAlert? AlertCreated, bool IsDuplicate = false)
|
||||
{
|
||||
public static IngestResult Created(Observation obs, ClinicalAlert? alert) =>
|
||||
new(obs, alert, false);
|
||||
|
||||
public static IngestResult Duplicate(Observation obs) =>
|
||||
new(obs, null, true);
|
||||
}
|
||||
Reference in New Issue
Block a user