using adas_core.Domain.Models; using adas_core.Domain.Models.Filter; using adas_core.Domain.Models.Responses; using MongoDB.Bson; namespace adas_core.Application.Services.Interfaces; public interface IMedicineService { Task GetByCode(string code); Task> GetByCodeOrNote(List codeNote); Task GetByName(string name); Task> GetMedicinesOfTreatments(IEnumerable treatments); Task> GetActiveMedicinesByPatient(ObjectId patientId); Task> GetPaginatedMedicines(PaginationFilter filter); Task> GetAll(); Task GetMedicineById(ObjectId medicineId); Task PostMedicine(Medicine medicine); Task UpdateMedicine(Medicine medicine); Task DeleteMedicineById(ObjectId medicineId); Task> GetAllTypes(); Task> GetAllGroups(); Task> GetAllNames(); Task> GetAllCodes(); }