Clinical Sync Batch Engine: first commit
This commit is contained in:
@@ -11,4 +11,6 @@ public interface IAlertService
|
||||
Task<ClinicalAlert> AcknowledgeAsync(Guid id, AcknowledgeAlertRequest req);
|
||||
|
||||
Task<ClinicalAlert> ResolveAsync(Guid id);
|
||||
Task ApplySyncedAcknowledgmentAsync(Guid alertId, SyncedAlertAcknowledgment ack, CancellationToken ct);
|
||||
Task ApplySyncedResolutionAsync(Guid alertId, SyncedAlertResolution resolve, CancellationToken ct);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using VigilCare.ClinicalContracts.Sync;
|
||||
|
||||
public interface IClinicalSyncService
|
||||
{
|
||||
Task<ClinicalBatchUploadResponse> UploadBatchAsync(ClinicalSyncBatchRequest request, CancellationToken ct);
|
||||
Task<ClinicalBatchStatusResponse> GetBatchStatusAsync(Guid batchId, CancellationToken ct);
|
||||
Task<IReadOnlyList<ClinicalSyncHistoryItem>> GetSyncHistoryAsync(
|
||||
Guid siteId, Guid gatewayId, int limit, CancellationToken ct);
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
public interface IObservationService
|
||||
{
|
||||
Task<IngestResult> IngestAsync(Guid encounterId, IngestObservationRequest req);
|
||||
Task ApplySyncedObservationAsync(SyncedObservation obs, CancellationToken ct);
|
||||
}
|
||||
Reference in New Issue
Block a user