Files
FACULTATE-HEALTHCARE_MANAGER/frontend/UI/Services/DoctorManagement/IDoctorManagementService.cs
T
2024-05-30 15:40:13 +03:00

22 lines
1004 B
C#

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);
}