fix: Missing input validators + No patient update endpoint + Pagination inconsistencies + Missing list/get endpoints
This commit is contained in:
@@ -4,5 +4,6 @@ public interface IPatientService
|
||||
Task<PagedResult<Patient>> ListAsync(string? q, int page, int pageSize);
|
||||
Task<Patient> GetByIdAsync(Guid id);
|
||||
Task<Encounter> OpenEncounterAsync(Guid patientId, OpenEncounterRequest req);
|
||||
Task<Patient> UpdateAsync(Guid id, UpdatePatientRequest req);
|
||||
Task<Patient> RegisterOrUpdateByIdentifierAsync(FhirPatientUpsertRequest req);
|
||||
}
|
||||
@@ -2,4 +2,5 @@ public interface IQsofaService
|
||||
{
|
||||
Task<QsofaCurrentResponse> GetCurrentAsync(Guid encounterId);
|
||||
Task<int> GetActiveCriteriaCountAsync(Guid encounterId);
|
||||
Task<CursorPage<ClinicalAlert>> GetHistoryAsync(Guid encounterId, int limit, string? cursor);
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@ public interface ISepsisBundleService
|
||||
Guid encounterId, Guid triggeringAlertId, AlertType alertType, CancellationToken ct = default);
|
||||
Task<SepsisBundle?> GetCurrentByEncounterAsync(Guid encounterId);
|
||||
Task<SepsisBundle> GetByIdAsync(Guid id);
|
||||
Task<PagedResult<SepsisBundle>> ListAsync(SepsisBundleComplianceStatus? status, int page, int pageSize);
|
||||
Task OnOrderResultedAsync(Guid orderId, CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user