feature: Schema, Migrations, Core CRUD, and Redis Threshold Cache
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
public interface IAlertThresholdService
|
||||
{
|
||||
Task<AlertThreshold> CreateAsync(AlertThresholdRequest req);
|
||||
Task<List<AlertThreshold>> ListAsync();
|
||||
Task<AlertThreshold> GetByIdAsync(Guid id);
|
||||
Task<AlertThreshold> UpdateAsync(Guid id, AlertThresholdRequest req);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public interface IEncounterService
|
||||
{
|
||||
Task<Encounter> GetByIdAsync(Guid id);
|
||||
Task<EncounterStatusTransitionResult> TransitionStatusAsync(Guid encounterId, EncounterStatus targetStatus);
|
||||
Task<object> GetTimelineAsync(Guid encounterId);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public interface IPatientService
|
||||
{
|
||||
Task<Patient> RegisterAsync(RegisterPatientRequest req);
|
||||
Task<PagedResult<Patient>> ListAsync(string? q, int page, int pageSize);
|
||||
Task<Patient> GetByIdAsync(Guid id);
|
||||
Task<Encounter> OpenEncounterAsync(Guid patientId, OpenEncounterRequest req);
|
||||
}
|
||||
Reference in New Issue
Block a user