finalizare 1.0
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using HealthcareManagerUiWebAssem.Entities;
|
||||
using HealthcareManagerUiWebAssem.Models;
|
||||
|
||||
namespace HealthcareManagerUiWebAssem.Services.PatientManagement;
|
||||
|
||||
public interface IPatientManagementService
|
||||
{
|
||||
Task<Patient> GetPatientProfileAsync(Guid patientId);
|
||||
Task<bool> UpdatePatientProfileAsync(Patient patient);
|
||||
Task<bool> DeletePatientProfileAsync(Guid patientId);
|
||||
|
||||
Task<List<Appointment>> GetAppointmentsAsync(Guid patientId);
|
||||
Task<ApiResponse<object>> BookAppointmentAsync(NewAppointmentModel newAppointment);
|
||||
Task<bool> CancelAppointmentAsync(Guid doctorId, Guid patientId, DateTime appointmentDate);
|
||||
|
||||
Task<MedicalHistory?> GetMedicalHistoryAsync(Guid userId);
|
||||
Task<ApiResponse<object>> UploadMedicalHistoryAsync(Guid userId, byte[] content);
|
||||
Task<bool> DeleteMedicalHistoryAsync(Guid fileId);
|
||||
Task<byte[]> DownloadMedicalHistoryAsync(Guid fileId);
|
||||
|
||||
|
||||
Task<List<Doctor>> GetAllDoctorsAsync();
|
||||
|
||||
Task<bool> CheckForAccessAsync(Guid medicalRecordId, Guid doctorId);
|
||||
Task<bool> GrantAccessAsync(Guid medicalRecordId, Guid doctorId);
|
||||
Task<bool> RevokeAccessAsync(Guid medicalRecordId, Guid doctorId);
|
||||
|
||||
Task<bool> SendMessageAsync(Guid senderId, Guid receiverId, string message);
|
||||
Task<Chat> GetConversationAsync(Guid userId1, Guid userId2);
|
||||
}
|
||||
Reference in New Issue
Block a user