finalizare 1.0

This commit is contained in:
andrei-mihnea-cerbu
2024-05-21 12:10:53 +03:00
parent f7795f7519
commit 1cc1d34003
11268 changed files with 2102399 additions and 10909 deletions
@@ -0,0 +1,22 @@
using HealthcareManagerUiWebAssem.Entities;
using HealthcareManagerUiWebAssem.Models;
namespace HealthcareManagerUiWebAssem.Services.DoctorManagement;
public interface IDoctorManagementService
{
Task<Doctor> GetDoctorProfileAsync(Guid doctorId);
Task<bool> UpdateDoctorProfileAsync(Doctor doctor);
Task<bool> DeleteDoctorProfileAsync(Guid doctorId);
Task<List<Appointment>> GetAppointmentsAsync(Guid doctorId);
Task<bool> CancelAppointmentAsync(Guid doctorId, Guid patientId, DateTime appointmentDate);
Task<MedicalHistory?> GetMedicalHistoryAsync(Guid userId);
Task<List<Patient>> GetAllPatientsAsync();
Task<bool> SendMessageAsync(Guid senderId, Guid receiverId, string message);
Task<Chat> GetConversationAsync(Guid userId1, Guid userId2);
Task<byte[]> DownloadMedicalHistoryAsync(Guid patientId);
Task<bool> CheckForAccessAsync(Guid medicalRecordId, Guid doctorId);
Task<ApiResponse<List<PredictionResult>>> GetSicknessPrediction(string text);
}