Commit bb60a83e authored by Sandeep Sagar Panjala's avatar Sandeep Sagar Panjala

initial commit

parent d66408ab
namespace Hims.Domain.Services
{
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.Library;
using Shared.Library.Enums;
using Shared.UserModels;
using Hims.Shared.Library.Helpers;
/// <summary>
/// The InternalMedicineService interface.
/// </summary>
public interface IInternalMedicineService
{
/// <summary>
/// Finds the asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<InternalMedicineModel> FindAsync(int appointmentId, bool isAdmission);
/// <summary>
/// Finds the dashboard asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="type">The type.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<EncounterResource> FindDashboardAsync(int appointmentId, InternalMedicine type, bool isAdmission);
/// <summary>
/// The add internal medicine async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(EncounterModifyModel model);
/// <summary>
/// The add alt async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<CommonResponse> AddAltAsync(EncounterModifyModel model);
/// <summary>
/// The update internal medicine async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(EncounterModifyModel model);
/// <summary>
/// The update alt async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<CommonResponse> UpdateAltAsync(EncounterModifyModel model);
/// <summary>
/// The find prescription async.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<InternalMedicinePrescriptionModel> FindPrescriptionAsync(int appointmentId);
/// <summary>
/// The find full transcript async.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<InternalMedicineFullTranscriptModel> FindFullTranscriptAsync(int appointmentId);
/// <summary>
/// Gets the account based on appointment identifier.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<AppointmentModel> GetAccountBasedOnAppointmentId(long appointmentId, bool isAdmission);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels.Filters;
/// <summary>
/// The AuditLogService interface.
/// </summary>
public interface IInventoryLogService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<InventoryLogModel>> FetchAsync(InventoryLogFilterModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task LogAsync(InventoryLogModel model);
}
}
This diff is collapsed.
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Domain.Entities;
using Hims.Shared.EntityModels;
using Hims.Shared.UserModels;
using Hims.Shared.UserModels.Inventory;
using Hims.Shared.UserModels.Pharmacy;
/// <summary>
/// The inventory store service interface.
/// </summary>
public interface IInventoryStoreService
{
/// <summary>
/// Inserts the inventory ware house.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> InsertInventoryWareHouse(InventoryWareHouseModel model);
/// <summary>
/// Updates the inventory ware house.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UpdateInventoryWareHouse(InventoryWareHouseModel model);
/// <summary>
/// Fetches all warehouses asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<InventoryWareHouseModel>> FetchAllWarehousesAsync(InventoryWareHouseModel model);
/// <summary>
/// Activates the or deactivate ware house.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ActivateOrDeactivateWareHouse(InventoryWareHouseModel model);
/// <summary>
/// Modifies the inventory department.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ModifyInventoryDepartment(PharmacyDepartmentModel model);
/// <summary>
/// Fetches the inventory department asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PharmacyDepartmentModel>> FetchInventoryDepartmentAsync(PharmacyDepartmentModel model);
/// <summary>
/// Fetches all warehouses based on user asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<InventoryWareHouseModel>> FetchAllWarehousesBasedOnUserAsync(InventoryWareHouseModel model);
/// <summary>
/// Fetches the inventory department based on user asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PharmacyDepartmentModel>> FetchInventoryDepartmentBasedOnUserAsync(PharmacyDepartmentModel model);
/// <summary>
/// Fetches the inventory departmental stock asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<InventoryDepartmentalStockModel>> FetchInventoryDepartmentalStockAsync(InventoryDepartmentalStockModel model);
/// <summary>
/// Adds the inventory product additional details asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddInventoryProductAdditionalDetailsAsync(InventoryProductDetailModel model);
/// <summary>
/// Fetches the rack department wise asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<InventoryProductRackModel>> FetchRackDepartmentWiseAsync(InventoryProductRackModel model);
/// <summary>
/// Adds the department stock consumption asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddDepartmentStockConsumptionAsync(InventoryDepartmentConsumptionModel model);
/// <summary>
/// Fetches the departmental consumption products asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<InventoryDepartmentConsumptionModel>> FetchDepartmentalConsumptionProductsAsync(InventoryDepartmentConsumptionModel model);
}
}
\ No newline at end of file
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Shared.UserModels;
using Hims.Shared.UserModels.Inventory;
using Hims.Shared.UserModels.Pharmacy;
using Shared.UserModels.OperationTheater;
/// <summary>
/// The IssueService interface.
/// </summary>
public interface IIssueService
{
/// <summary>
/// Approves the ot indents.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ApproveOTIndents(OTIssueModel model);
/// <summary>
/// Approves the pharmacy indents.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ApprovePharmacyIndents(OTIssueModel model);
/// <summary>
/// Fetches the data for issued stock acknowledgment.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PharmacyIssuedStockHeaderModel>> FetchDataForIssuedStockAcknowledgment(PharmacyIssuedStockHeaderModel model);
/// <summary>
/// Acknowledes the received products asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AcknowledeReceivedProductsAsync(PharmacyIssuedStockHeaderModel model);
/// <summary>
/// Approves the inventory indents.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ApproveInventoryIndents(OTIssueModel model);
/// <summary>
/// Fetches the data for inventory issued stock acknowledgment asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<InventoryIssuedStockHeaderModel>> FetchDataForInventoryIssuedStockAcknowledgmentAsync(InventoryIssuedStockHeaderModel model);
/// <summary>
/// Acknowledes the received products inventory asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AcknowledeReceivedProductsInventoryAsync(InventoryIssuedStockHeaderModel model);
/// <summary>
/// Retails the ware house link identifier asynchronous.
/// </summary>
/// <param name="wareHouseId">The ware house identifier.</param>
/// <param name="retailPharmacyId">The retail pharmacy identifier.</param>
/// <returns></returns>
Task<int> RetailWareHouseLinkIdAsync(int wareHouseId, int retailPharmacyId);
/// <summary>
/// Adds the retail store stock from excel sheet.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddRetailStoreStockFromExcelSheetAsync(PharmacyRetailStockModel model);
/// <summary>
/// Adds the stocks to retail via purchase bill asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddStocksToRetailViaPurchaseBillAsync(PharmacyPurchaseBill model);
}
}

namespace Hims.Domain.Services
{
using Hims.Domain.Entities;
using Hims.Shared.EntityModels;
using Hims.Shared.Library;
using Hims.Shared.Library.Enums;
using Hims.Shared.Library.Helpers;
using Hims.Shared.UserModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// The iivf encounter services
/// </summary>
public interface IIvfEncounterServices
{
/// <summary>
/// The add ivf encounter async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<CommonResponse> AddAsync(IvfEncounterModifyModel model);
/// <summary>
/// The add ivf encounter async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<CommonResponse> UpdateAsync(IvfEncounterModifyModel model);
/// <summary>
/// Finds the asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<IvfEncounter> FindAsync(int appointmentId, bool isAdmission);
/// <summary>
/// Finds the dashboard asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="type">The type.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<IvfEncounterResource> FindDashboardAsync(int appointmentId, IvfEncounterType type, bool isAdmission);
/// <summary>
/// The find full transcript async.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
Task<IvfEncounterFullTranscriptModel> FindFullTranscriptAsync(int appointmentId);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels.Laboratory;
/// <summary>
/// The lab department service interface.
/// </summary>
public interface ILabDepartmentService
{
/// <summary>
/// Modifies the department asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ModifyDepartmentAsync(LabDepartmentModel model);
/// <summary>
/// Fetches all department asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabDepartmentModel>> FetchAllDepartmentAsync(LabDepartmentModel model);
/// <summary>
/// Modifies the lab status.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ModifyLabStatus(LabDepartmentModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels.Filters;
/// <summary>
/// The PharmacyLogService interface.
/// </summary>
public interface ILabLogService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<LabLogModel>> FetchAsync(LabLogFilterModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task LogAsync(LabLogModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Hims.Shared.UserModels.Filters;
/// <summary>
/// The ILabOrderValue Service interface.
/// </summary>
public interface ILabOrderService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<LabOrderModel>> FetchAsync(LabOrderFilterModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(LabOrderModel model);
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(LabOrderModel model);
/// <summary>
/// The get delete async.
/// </summary>
/// <param name="labOrderId">
/// The generalAdvice id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteAsync(int labOrderId);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Hims.Shared.UserModels.Filters;
/// <summary>
/// The ILabOrderValue Service interface.
/// </summary>
public interface ILabOrderValueService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<LabOrderValueModel>> FetchAsync(LabOrderValueFilterModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(LabOrderValueModel model);
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(LabOrderValueModel model);
/// <summary>
/// The get delete async.
/// </summary>
/// <param name="labOrderValueId">
/// The generalAdvice id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteAsync(int labOrderValueId);
/// <summary>
/// The get delete async in provider encounter.
/// </summary>
/// <param name="labOrderValueId">
/// The generalAdvice id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> updateProviderEncounterAsync(int labOrderValueId);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Domain.Entities.Labs;
using Hims.Shared.UserModels.ServiceOrder;
using Shared.EntityModels;
using Shared.UserModels.Labs;
/// <summary>
/// The lab transaction service interface.
/// </summary>
public interface ILabTransactionService
{
/// <summary>
/// Adds the lab bill asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <param name="labServicesFromServiceOrder">The lab services from service order.</param>
/// <returns></returns>
Task<int> AddLabBillAsync(LabBookingModel model, List<InsertLabServiceHelperModel> labServicesFromServiceOrder);
/// <summary>
/// Fetches the added lab bill asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabBookingModel>> FetchAddedLabBillAsync(LabBookingModel model);
/// <summary>
/// Fetches the labs for sample collection asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabSampleHandlerModel>> FetchLabsForSampleCollectionAsync(LabSampleHandlerModel model);
/// <summary>
/// Collects the sample and generate barcode asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> CollectSampleAndGenerateBarcodeAsync(LabSampleHandlerModel model, int locationId);
/// <summary>
/// Transfers the collected sample asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> TransferCollectedSampleAsync(LabTransferModel model);
/// <summary>
/// Fetches the transfered labs asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabTransferModel>> FetchTransferedLabsAsync(LabTransferModel model);
/// <summary>
/// Fetches the lab receive sample asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabReceiveModel>> FetchLabReceiveSampleAsync(LabReceiveModel model);
/// <summary>
/// Called when receive sample asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> OnReceiveSampleAsync(LabTransferModel model);
/// <summary>
/// Fetches the parameters required for input asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<LabParameterInputModel> FetchParametersRequiredForInputAsync(LabTransferModel model);
/// <summary>
/// Adds the parameters to labs.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddParametersToLabs(InputObservedValueModel model);
/// <summary>
/// Adds the template details to labs.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddTemplateDetailsToLabs(TemplateInputModel model);
/// <summary>
/// Fetches the lab status timeline.
/// </summary>
/// <param name="newLabBookingHeaderId">The new lab booking header identifier.</param>
/// <param name="newLabBookingDetailId">The new lab booking detail identifier.</param>
/// <returns></returns>
Task<IEnumerable<LabBookingStatusModel>> FetchLabStatusTimeline(int? newLabBookingHeaderId, int? newLabBookingDetailId);
/// <summary>
/// Collects the sample and generate barcode asynchronous new.
/// </summary>
/// <param name="model">The model.</param>
/// <param name="locationId">The location identifier.</param>
/// <returns></returns>
Task<int> CollectSampleAndGenerateBarcodeAsyncNew(List<LabSampleHandlerModel> model, int locationId);
/// <summary>
/// Fetches the transfered labs asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabTransferModel>> FetchTransferedTrackRecords(LabTransferModel model);
/// <summary>
/// Fetches the patient lab bill asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PatientLabBillModel>> FetchPatientLabBillAsync(PatientLabBillModel model);
/// <summary>
/// Uploads the lab report asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UploadLabReportAsync(NewLabBookingDetailModel model);
/// <summary>
/// Fetches the new lab booking detail asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<NewLabBookingDetailModel> FetchNewLabBookingDetailAsync(NewLabBookingDetailModel model);
/// <summary>
/// Fetches the transfer header.
/// </summary>
/// <param name="transferHaderId">The transfer hader identifier.</param>
/// <returns></returns>
Task<LabTransferHeader> FetchTransferHeader(int transferHaderId);
/// <summary>
/// Fetches the labs for sample transfer asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabSampleHandlerModel>> FetchLabsForSampleTransferAsync(LabSampleHandlerModel model);
/// <summary>
/// Fetches the new lab booking detail.
/// </summary>
/// <param name="NewLabBookingDetailId">The new lab booking detail identifier.</param>
/// <returns></returns>
Task<NewLabBookingDetail> FetchNewLabBookingDetail(int NewLabBookingDetailId);
/// <summary>
/// Adds the technician verification asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddTechnicianVerificationAsync(LabTechnicianVerificationModel model);
/// <summary>
/// Fetches the labs for technician and doctor asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabTransferModel>> FetchLabsForTechnicianAndDoctorAsync(LabSampleHandlerModel model);
/// <summary>
/// Fetches the previous transfer details asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<CheckTransferLocationModel>> FetchPreviousTransferDetailsAsync(CheckTransferLocationModel model);
/// <summary>
/// Uploads the lab consent form asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <param name="locationId">The location identifier.</param>
/// <returns></returns>
Task<int> UploadLabConsentFormAsync(LabSampleHandlerModel model,int locationId);
/// <summary>
/// Fetches the labs without cancelled asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabSampleHandlerModel>> FetchLabsWithoutCancelledAsync(LabSampleHandlerModel model);
/// <summary>
/// Called when [receive sample new asynchronous].
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> OnReceiveSampleNewAsync(SampleReceiveNewUserModel model);
/// <summary>
/// Ons the department accept asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> onDepartmentAcceptAsync(LabTransferModel model);
/// <summary>
/// Transfers the collected external sample asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> TransferCollectedExternalSampleAsync(ExternalLabTransferUserModel model);
/// <summary>
/// Fetches the external transfered labs asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<FetchExternalLabTransferUserModel>> FetchExternalTransferedLabsAsync(FetchExternalLabTransferUserModel model);
}
}
using Hims.Shared.UserModels.Laboratory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hims.Domain.Services
{
public interface ILabVacutainerService
{
/// <summary>
/// The modify async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> ModifyLabVacutainer(LabVacutainerModel model);
/// <summary>
/// The fetchall async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<LabVacutainerModel>> FetchAllVacutainerAsync(LabVacutainerModel model);
/// <summary>
/// Modifies the lab status.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ModifyLabVacutainerStatus(LabVacutainerModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Shared.UserModels.Laboratory;
using Shared.EntityModels;
using Shared.UserModels.Filters;
/// <summary>
/// The laboratory dashboard.
/// </summary>
public interface ILaboratoryDashboardService
{
/// <summary>
/// The fetch all labs async.
/// </summary>
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<LabHeaderModel>> FetchLabs();
/// <summary>
/// The fetch all labs async.
/// </summary>
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<LabsDashboardRevenueModel>> FetchLabRevenueGraphReport(LabsDashboardModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels.Laboratory;
/// <summary>
/// The laboratory service package interface.
/// </summary>
public interface ILaboratoryPackageService
{
/// <summary>
/// The modify lab package.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> ModifyLabPackage(AddBooking model);
/// <summary>
/// The fetch all lab packages.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<IEnumerable<LabPackageModel>> FetchAllLabPackages(LabPackageModel model);
/// <summary>
/// The fetch all lab packages.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<IEnumerable<LabPackageModel>> FetchImportLabPackages(LabPackageModel model);
/// <summary>
/// The fetch lab package details.
/// </summary>
/// <param name="labPackageId">
/// The lab package id.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<IEnumerable<LabPackageDetailModel>> FetchLabPackageDetails(int labPackageId);
/// <summary>
/// The delete lab package async.
/// </summary>
/// <param name="labPackageId">
/// The lab package id.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> DeleteLabPackageAsync(int labPackageId, int? locationId);
/// <summary>
/// The fetch lab booking package async.
/// </summary>
/// <param name="labBookingHeaderId">
/// The lab booking header id.
/// </param>
/// <param name="labBookingDetailId">
/// The lab booking detail id.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<IEnumerable<LabBookingDetailModel>> FetchLabBookingPackageAsync(int labBookingHeaderId, int? labBookingDetailId);
/// <summary>
/// The fetch labs inside package booking async.
/// </summary>
/// <param name="labBookingDetailId">
/// The lab booking detail id.
/// </param>
/// <param name="labBookingPackageDetailId">
/// The lab booking package detail id.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<IEnumerable<BookingPackageLaboratoryModel>> FetchLabsInsidePackageBookingAsync(int labBookingDetailId, int? labBookingPackageDetailId);
///// <summary>
///// The update lab booking status for sample.
///// </summary>
///// <param name="model">
///// The model
///// </param>
///// <returns>
///// The <see cref="Task"/>
///// </returns>
//Task<int> UpdateLabBookingStatusForSample(RequestLaboratory model);
///// <summary>
///// The update lab booking package status for sample.
///// </summary>
///// <param name="model">
///// The model
///// </param>
///// <returns>
///// The <see cref="Task"/>
///// </returns>
//Task<int> UpdateLabBookingPackageStatusForSample(RequestLaboratory model);
/// <summary>
/// The fetch lab result report parameter package async.
/// </summary>
/// <param name="labBookingDetailId">
/// The lab booking detail id.
/// </param>
/// <param name="labBookingPackageDetailId">
/// The lab booking package detail id.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<IEnumerable<LabReportParamModel>> FetchLabResultReportParameterPackageAsync(int labBookingDetailId, int labBookingPackageDetailId);
/// <summary>
/// The verify lab booking package async.
/// </summary>
/// <param name="verifiedBy">
/// The verified by.
/// </param>
/// <param name="labBookingDetailId">
/// The lab booking detail id.
/// </param>
/// <param name="labBookingPackageDetailId">
/// The lab booking package detail id.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> VerifyLabBookingPackageAsync(int verifiedBy, int? labBookingDetailId, int? labBookingPackageDetailId);
/// <summary>
/// The update booking lab detail status.
/// </summary>
/// <param name="model">
/// The model
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> UpdateSelectedLab(LabSample model);
/// <summary>
/// The modify lab package.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> ModifyImportPackage(PackageImportModel model);
///// <summary>
///// The update barcode for package's sample.
///// </summary>
///// <param name="model">
///// The model
///// </param>
///// <returns>
///// The <see cref="Task"/>
///// </returns>
//Task<int> UpdatePackageLabForBarcodeAsync(RequestLaboratory model);
///// <summary>
///// The update booking lab detail status.
///// </summary>
///// <param name="loginId">
///// The id.
///// </param>
///// <param>
///// <param name="labBookingPackageDetailId">
///// The id.
///// </param>
///// <returns>
///// The <see cref="Task"/>
///// </returns>
//Task<int> UpdateSampleReceivedStatus(int loginId, int labBookingPackageDetailId);
}
}
This diff is collapsed.
This diff is collapsed.
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Hims.Shared.UserModels.Filters;
/// <summary>
/// The ICDCode Service interface.
/// </summary>
public interface ILanguageService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<LanguageModel>> FetchAsync(LanguageFilterModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(LanguageModel model);
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(LanguageModel model);
/// <summary>
/// The get delete async.
/// </summary>
/// <param name="languageId">
/// The icd Code Id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteAsync(int languageId);
}
}
using Hims.Shared.EntityModels;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Hims.Domain.Services
{
/// <summary>
/// The leave type Service interface.
/// </summary>
public interface ILeaveTypeService
{
/// <summary>
/// The add leave types async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(EmployeeShiftModel model);
/// <summary>
/// The update leave types async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(EmployeeShiftModel model);
/// <summary>
/// The change leave types status async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> ChangeStatusAsync(EmployeeShiftModel model);
/// <summary>
/// The fetch leave types async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<EmployeeShiftModel>> FetchAsync(EmployeeShiftFilterModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels;
/// <summary>
/// The Machine Service interface.
/// </summary>
public interface IMachineService
{
/// <summary>
/// Inserts the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> InsertAsync(MachineModel model);
/// <summary>
/// Fetches all asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<MachineModel>> FetchAllAsync(MachineModel model);
///// <summary>
///// Fetches all asynchronous.
///// </summary>
///// <param name="model">The model.</param>
///// <returns></returns>
//Task<IEnumerable<MachineModel>> FetchActiveAllAsync(MachineModel model);
/// <summary>
/// Updates the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UpdateAsync(MachineModel model);
/// <summary>
/// Activates the or deactivate the machine
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ActivateOrDeactivateMachine(MachineModel model);
}
}
using System.Collections.Generic;
namespace Hims.Domain.Services
{
using System.Threading.Tasks;
using Shared.UserModels.MasterBill;
/// <summary>
/// The CompanyService interface.
/// </summary>
public interface IMasterBillService
{
///// <summary>
///// The insert company async.
///// </summary>
///// <param name="model">
///// The model.
///// </param>
///// <returns>
///// The <see cref="Task"/>.
///// </returns>
//Task<int> InsertAsync(InsertModel model);
///// <summary>
///// Updates the asynchronous.
///// </summary>
///// <param name="model">The model.</param>
///// <returns></returns>
//Task<int> UpdateAsync(InsertModel model);
/// <summary>
/// Fetches the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<InsertModel>> FetchAsync(InsertModel model);
/// <summary>
/// Fetches the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<FetchModel>> FetchPatientDueAsync(FilterModel model);
/// <summary>
/// Fetches the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<InsertModel>> FetchPackagesAsync(InsertModel model);
/// <summary>
/// Fetches the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<FetchModel>> FetchExcelAsync(FilterModel model);
}
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Shared.UserModels.MealType;
namespace Hims.Domain.Services
{
/// <summary>
/// The Coupon Service interface.
/// </summary>
public interface IMealTypesService
{
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(InsertModel model);
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<ViewModel>> FetchAsync(ViewModel model);
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<ViewModel>> FetchActiveMealTypes(ViewModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(UpdateModel model);
/// <summary>
/// The delete retail store async.
/// </summary>
/// <param name="mealTypeId">
/// The retail pharmacy id.
/// </param>
/// <param name="modifiedBy">Index of the page.</param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> ModifyMealStatusAsync(UpdateModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.UserModels.Menu;
using Relationship = Shared.UserModels.Menu.Relationship;
using Access = Shared.UserModels.Menu.Access;
using Button = Shared.UserModels.Menu.Button;
/// <summary>
/// The Coupon Service interface.
/// </summary>
public interface IMenuService
{
Task<IEnumerable<Button.ViewModel>> FetchMenuButtonsAsync(Relationship.FilterModel model);
Task<int> AddButtonAsync(Button.InsertModel model);
/// <summary>
/// Updates the relationships asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UpdateRelationshipsAsync(Relationship.UpdateModel model);
/// <summary>
/// Gets the menu access asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<Access.ViewModel> GetMenuAccessAsync(Relationship.FilterModel model);
/// <summary>
/// Frees the fetch asynchronous.
/// </summary>
/// <returns></returns>
Task<IEnumerable<string>> FreeFetchAsync();
/// <summary>
/// Fetches the relationship asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<Relationship.ViewModel>> FetchRelationshipAsync(Relationship.FilterModel model);
/// <summary>
/// Fetches the roles asynchronous.
/// </summary>
/// <returns></returns>
Task<IEnumerable<Relationship.RoleViewModel>> FetchRolesAsync();
/// <summary>
/// Fetches the asynchronous.
/// </summary>
/// <returns></returns>
Task<IEnumerable<ViewModel>> FetchAsync();
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(List<InsertModel> model);
/// <summary>
/// Updates the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UpdateAsync(UpdateModel model);
/// <summary>
/// finds the name by role id.
/// </summary>
/// <param name="roleId"></param>
/// <returns></returns>
Task<string> FindNameByRoleId(int roleId);
/// <summary>
/// Adds the only asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddOnlyAsync(InsertModel model);
/// <summary>
/// Removes the only asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> RemoveOnlyAsync(InsertModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
/// <summary>
/// The MessageService interface.
/// </summary>
public interface IMessageService
{
/// <summary>
/// The create message async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> CreateMessageAsync(MessageModel model);
/// <summary>
/// The fetch messages async.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<MessageModel> FetchMessagesAsync(int appointmentId);
/// <summary>
/// The update message async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateMessageAsync(MessageModel model);
/// <summary>
/// The change read status.
/// </summary>
/// <param name="messageId">
/// The message id.
/// </param>
/// <param name="from">
/// The from.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> ChangeReadStatus(long messageId, string from);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Hims.Shared.UserModels;
/// <summary>
/// The discount management service interface.
/// </summary>
public interface IModulesMasterService
{
// FetchModules UpdateModule DeleteModule AddModule
/// <summary>
/// The add module.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> AddModule(ModulesMasterModel model);
/// <summary>
/// The update module.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> UpdateModule(ModulesMasterModel model);
/// <summary>
/// Fetches the modules.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<ModulesMasterModel>> FetchModules(ModulesMasterModel model);
/// <summary>
/// The delete module.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> DeleteModule(ModulesMasterModel model);
}
}

namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Domain.Entities;
using Hims.Shared.EntityModels;
using Hims.Shared.Library.Enums;
using Hims.Shared.Library.Helpers;
using Hims.Shared.UserModels.NeonatalIPEncounter;
//using Ob = Hims.Shared.UserModels.OBEncounter;
using neonatal = Shared.UserModels.NeonatalIPEncounter;
using neonatalIPEncounter = Shared.UserModels.NeonatalIPEncounter;
/// The InternalMedicineService interface.
/// </summary>
public interface INeonatalIPEncounterService
{
/// <summary>
/// Finds the asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<NeonatalIPEncounterModel> FindAsync(int appointmentId, bool isAdmission);
/// <summary>
/// The add ob encounter async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<CommonResponse> AddAsync(neonatal.InsertModel model);
/// <summary>
/// The update alt async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<CommonResponse> UpdateAsync(neonatal.InsertModel model);
/// <summary>
/// Finds the dashboard asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="type">The type.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<neonatal.NeonatalIPEncounterResource> FindDashboardAsync(int appointmentId,NeonatalEncounterType type, bool isAdmission);
/// <summary>
/// The find full transcript async.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
// Task<PediatricEncounterFullTranscriptModel> FindFullTranscriptAsync(int appointmentId);
/// <summary>
/// The find full transcript async.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
// Task<PediatricEncounterFullTranscriptModel> FindFullTranscriptAsync(int appointmentId);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Shared.UserModels;
using Hims.Shared.UserModels.Common;
using Hims.Shared.UserModels.NurseShift.BedView;
using Hims.Shared.UserModels.NurseShift.Module;
using Hims.Shared.UserModels.NurseShift.Shift;
using Shared.EntityModels;
/// <summary>
/// The Nurse Module Service interface.
/// </summary>
public interface INurseModuleService
{
Task<IEnumerable<AvailableNurseModel>> GetAvailableNurseAsync(AvailableNursePayloadModel model);
Task<IEnumerable<ShiftsBasicsModel>> FetchShiftsBasicsAsync();
Task<IEnumerable<BedViewFetchModel>> FetchBedWiseAsync(BedViewFilterModel model);
/// <summary>
/// Fetches the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<NurseModel>> FetchAsync(NurseFilterModel model);
/// <summary>
/// The fetch slots async.
/// </summary>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<ShiftSlotModel>> FetchSlotsAsync();
/// <summary>
/// The insert slots async.
/// </summary>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> InsertSlotsAsync(ShiftSlotModel model);
/// <summary>
/// The insert shift async.
/// </summary>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<GenericResponse> InsertShiftAsync(ShiftModel model);
/// <summary>
/// The insert shift async.
/// </summary>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<GenericResponse> UpdateShiftAsync(ShiftModel model);
/// <summary>
/// The fetch shifts async.
/// </summary>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<ShiftsModel>> FetchShiftAsync(ShiftsFilterModel model);
/// <summary>
/// The insert slots async.
/// </summary>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> ModifyStatusAsync(ShiftModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.UserModels.NurseNote;
/// <summary>
/// The AccountSessionService interface.
/// </summary>
public interface INurseNoteService
{
Task<IEnumerable<FetchModel>> FetchAsync(FetchPayload model);
Task<int> InsertAsync(InsertModel model);
}
}
\ No newline at end of file
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Shared.UserModels.NurseShift;
using Hims.Shared.UserModels.NurseShift.Bed;
/// <summary>
/// The Coupon Service interface.
/// </summary>
public interface INurseShiftService
{
Task<string> CopyShiftsAsync(CopyPayload model);
/// <summary>
/// Fetches the moves asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<MoveViewModel>> FetchMovesAsync(GetPayload model);
/// <summary>
/// Moves the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> MoveAsync(MoveModel model);
/// <summary>
/// Fetches the beds basic asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<BasicBedModel>> FetchBedsBasicAsync(GetPayload model);
/// <summary>
/// Fetches the beds asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<BedModel>> FetchBedsAsync(BedFilterModel model);
/// <summary>
/// Gets the nurse asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<NurseDetailsModel> GetNurseAsync(GetPayload model);
/// <summary>
/// Inserts the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> InsertAsync(InsertModel model);
/// <summary>
/// Fetches the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<ViewModel>> FetchAsync(GetPayload model);
/// <summary>
/// Updates the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UpdateAsync(UpdateModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Domain.Entities;
using Hims.Shared.EntityModels;
using Hims.Shared.Library.Enums;
using Hims.Shared.Library.Helpers;
using Hims.Shared.UserModels;
using Hims.Shared.UserModels.Labs;
using Hims.Shared.UserModels.OBEncounter;
//using Ob = Hims.Shared.UserModels.OBEncounter;
using ob = Shared.UserModels.OBEncounter;
using obEncounter = Shared.UserModels.OBEncounter;
/// <summary>
/// The InternalMedicineService interface.
/// </summary>
public interface IOBEncounterService
{
/// <summary>
/// Finds the asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<ObEncounterModel> FindAsync(int appointmentId, bool isAdmission);
/// <summary>
/// The add ob encounter async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<CommonResponse> AddAsync(ob.InsertModel model);
/// <summary>
/// The update alt async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<CommonResponse> UpdateAsync(ob.InsertModel model);
/// <summary>
/// Finds the dashboard asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="type">The type.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<obEncounter.ObEncounterResource> FindDashboardAsync(int appointmentId, OBEncounterType type, bool isAdmission);
/// <summary>
/// The find full transcript async.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<ObEncounterFullTranscriptModel> FindFullTranscriptAsync(int appointmentId);
/// <summary>
/// The find full transcript async.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<ObEncounterFullTranscriptModel> FindPrescriptionAsync(int appointmentId);
/// <summary>
/// The add anc card.
/// </summary>
/// <param name="model">
/// The anc model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAncAsync(ANCCardGenerationModel model, string locationId);
/// <summary>
/// The fetch anc card.
/// </summary>
/// <param name="patientId">
/// The patient id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<ANCCardGenerationModel> FetchAncCardAsync(ANCCardGenerationModel model);
Task<ANCCardGenerationModel> FetchPatientAncCardAsync(ANCCardGenerationModel model);
Task<int> ModifyStatusAsync(int patientId);
/// <summary>
/// The fetch anc card.
/// </summary>
/// <param name="patientId">
/// The patient id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<OrderPrescriptions>> FetchOrderPrescription(int patientId, string encounterType);
/// <summary>
/// The modify status.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
Task<int> ModifyEncounterStatus(int appointmentId);
/// <summary>
/// The fetch icd values.
/// </summary>
Task<IEnumerable<ICDValuesModel>> FetchICDValues(ICDValuesModel model);
/// <summary>
/// Finds the asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<ObEncounterResource> FindOb(int appointmentId, OBEncounterType type, bool isAdmission);
/// <summary>
/// The find the appointment exist in obencounter.
/// </summary>
Task<int> getApppointmentId(int appointmentId, bool isAdmission);
/// <summary>
/// The fetch cross consulation.
/// </summary>
Task<IEnumerable<ReferralFormModel>> FetchCrossConsultation(ReferralFormModel model);
/// <summary>
/// The fetch lab booking header.
/// </summary>
Task<IEnumerable<LabBookingModel>> fetchlabBookingHeader(int patientId);
/// <summary>
/// The fetch visit number of patient.
/// </summary>
Task<int> FetchVisitNoAsync(int patientId);
Task<int> InsertReferralForm(ReferralFormModel model);
/// <summary>
/// The fetch anc card.
/// </summary>
/// <param name="patientId">
/// The patient id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<ObEncounterModel>> FetchFullTrascriptList(int patientId);
/// <summary>
/// The fetch lab parameters.
/// </summary>
Task<IEnumerable<LabParameters>> FetchLabParameters(int labMainDetailId);
/// <summary>
/// Finds the asynchronous.
/// </summary>
/// <param name="appointmentId">The appointment identifier.</param>
/// <param name="isAdmission">if set to <c>true</c> [is admission].</param>
/// <returns></returns>
Task<ObEncounterModel> FindEncounterDataAsync(int appointmentId, bool isAdmission);
}
}
namespace Hims.Domain.Services
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Shared.UserModels;
using Hims.Shared.UserModels.OperationTheater;
using Shared.EntityModels;
using Shared.UserModels;
/// <summary>
/// The id proof Service interface.
/// </summary>
public interface IOTRegisterService
{
/// <summary>
/// Inserts the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> InsertAsync(OTRegisterInsertModel model);
/// <summary>
/// Inserts the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> CancelAsync(OTRegisterInsertModel model);
/// <summary>
/// reschedule the appointment.
/// </summary>
/// <param name="otRegisterId">The model.</param>
/// <param name="modifiedBy">Modified By Name.</param>
/// <param name="appointmentDate">Appointment Date.</param>
/// <param name="appointmentTime">Appointment Start Time.</param>
/// <param name="appointmentEndTime">Appointment End Time.</param>
/// <returns></returns>
Task<int> RescheduleAsync(int otRegisterId, int modifiedBy, DateTime appointmentDate, DateTime appointmentEndTime, int scanMachineMasterId);
/// <summary>
/// Fetches all asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<OTRegisterFilterModel>> FetchAllAsync(OTRegisterFilterModel model);
/// <summary>
/// Fetches all asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<string> FetchAltAsync(int Id);
/// <summary>
/// Updates the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UpdateAsync(OTRegisterInsertModel model);
/// <summary>
/// Activates the or deactivate ware house.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ActivateOrDeactivateTest(OTRegisterInsertModel model);
/// <summary>
/// The get delete async.
/// </summary>
/// <param name="ScanMachineAvailabilityId">
/// The scan availability.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteAsync(int? scanMachineAvailabilityId);
/// <summary>
/// Fetches all asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<OTRegisterFilterModel>> FetchFilterEvent(OTFilterModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Shared.UserModels;
using Shared.EntityModels;
using Shared.UserModels;
using Hims.Shared.UserModels.Slots;
/// <summary>
/// The id proof Service interface.
/// </summary>
public interface IOTRoomAvailabilityService {
/// <summary>
/// Inserts the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> InsertAsync(OTRoomAvailabilityInsertModel model);
/// <summary>
/// Fetches all asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<OTRoomAvailabilityFilterModel>> FetchAllAsync(OTRoomAvailabilityFilterModel model);
/// <summary>
/// Fetches all asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<OTRoomAvailabilityFilterModel>> FetchAltAsync(OTRoomAvailabilityFetchModel model);
/// <summary>
/// Fetches all asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<OTRoomAvailabilityFilterModel>> FetchFilterMachineAvailabilityAsync(OTRoomAvailabilityFetchModel model);
/// <summary>
/// Updates the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UpdateAsync(OTRoomAvailabilityInsertModel model);
/// <summary>
/// Activates the or deactivate ware house.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ActivateOrDeactivateTest(OTRoomAvailabilityInsertModel model);
/// <summary>
/// The get delete async.
/// </summary>
/// <param name="ScanMachineAvailabilityId">
/// The scan availability.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteAsync(int? scanMachineAvailabilityId);
/// <summary>
/// Fetches the new slots.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<List<MultipleDays>> FetchSlotsForMultipleDays(SlotRequest model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels;
using Shared.UserModels.OperationTheater;
/// <summary>
/// The operation Service interface.
/// </summary>
public interface IOperationService
{
/// <summary>
/// Raises the ot indent.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> RaiseOTIndent(OTRaiseIndentModel model);
/// <summary>
/// Fetches the raised indents.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<OTIndentModel>> FetchRaisedIndents(OTIndentModel model);
/// <summary>
/// Fetches the indent details.
/// </summary>
/// <param name="headerId">The header identifier.</param>
/// <returns></returns>
Task<IEnumerable<ProductModel>> FetchIndentDetails(int headerId);
/// <summary>
/// Gets the pending indent count.
/// </summary>
/// <param name="type">The type.</param>
/// <returns></returns>
Task<int> GetPendingIndentCount(string type);
/// <summary>
/// Fetches the operation stocks.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PharmacyStockModel>> FetchOperationStocks(PharmacyStockModel model);
/// <summary>
/// Inserts the surgery asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> InsertSurgeryAsync(SurgeryModel model);
/// <summary>
/// Inserts the surgery asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UpdateSurgeryAsync(SurgeryModel model);
/// <summary>
/// Fetches all surgery asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<SurgeryModel>> FetchAllSurgeryAsync(SurgeryModel model);
/// <summary>
/// Activates the or deactivate ware house.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ActivateOrDeactivateTest(SurgeryModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Domain.Entities;
using Hims.Shared.UserModels;
using Hims.Shared.UserModels.OrderPrescription;
using Shared.EntityModels;
using Shared.UserModels.Filters;
/// <summary>
/// The Coupon Service interface.
/// </summary>
public interface IOrderPrescriptionService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<ViewModel>> FetchAsync(ViewModel model);
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<ViewModel>> FetchTypesAsync(ViewModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(ViewModel model);
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
///
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(ViewModel model);
/// <summary>
/// The get delete async.
/// </summary>
/// <param name="wardId">
/// The specialization id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteAsync(int valueId);
/// <summary>
/// The get provider availability async.
/// </summary>
/// <param name="wardId">
/// The provider id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<string> FindNameByValueId(int valueId);
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<ViewModel>> FetchOrderAsync(ViewModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddOrderMaster(OrderPrescriptionMasterModel model);
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
///
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateOrderMaster(OrderPrescriptionMasterModel model);
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<OrderPrescriptionMasterModel>> FetchOrderMaster(OrderPrescriptionMasterModel model);
/// <summary>
/// The get delete async.
/// </summary>
/// <param name="wardId">
/// The specialization id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteOrderMaster(int valueId);
/// <summary>
/// The add encounter order templates
/// </summary>
/// <param name="model">
/// the model
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddEncounterOrderTemplates(EncounterOrderTemplatesModel model);
/// <summary>
/// The get encounter order templates
/// </summary>
/// <param name="model">
/// the model
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<EncounterOrderTemplatesModel>> GetEncounterOrderTemplates(EncounterOrderTemplatesModel model);
/// <summary>
/// The update encounter order templates
/// </summary>
/// <param name="model">
/// the model
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateEncounterOrderTemplates(EncounterOrderTemplatesModel model);
/// <summary>
/// The get change encounter order template status
/// </summary>
/// <param name="model">
/// the model
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> ChangeEncounterOrderTemplateStatus(EncounterOrderTemplatesModel model);
}
}
using Hims.Domain.Entities;
using Hims.Shared.EntityModels;
using Hims.Shared.Library;
using Hims.Shared.UserModels.Common;
using Hims.Shared.UserModels.PackageModule;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Hims.Domain.Services
{
public interface IPackageModuleService
{
Task<decimal> GetCounsellingTotalAsync(int counsellingId);
Task<IEnumerable<PackageModuleDetail>> FetchPackageDetails(StringIdRequest model);
Task<IEnumerable<Resource>> FetchLocationsAsync();
Task<IEnumerable<ModuleModel>> FetchModulesAsync(int chargeModuleTemplateId);
Task<IEnumerable<ModuleChargeModel>> FetchModuleChargesAsync(string modulesMasterIds, int locationId);
Task<IEnumerable<Resource>> FetchChargeCategoriesAsync(int chargeModuleTemplateId);
Task<IEnumerable<Resource>> FetchChargeCategoriesWithTotalAsync(int packageModuleId, int chargeModuleTemplateId, int locationId);
Task<IEnumerable<ChargeModuleDetailsModel>> FetchChargeModuleDetailsAsync(ChargeModuleDetailsRequestModel request);
Task<IEnumerable<PackageModuleModel>> FetchAsync(PackageModuleFilterModel model);
Task<PackageModuleViewModel> ViewAsync(int packageModuleId);
Task<int> AddAsync(PackageModuleModel model, List<PackageModuleDetailModel> packageModuleDetails);
Task<int> UpdateAsync(PackageModuleModel model, List<PackageModuleDetailModel> packageModuleDetails);
Task<int> DeleteAsync(int packageModuleId);
Task<int> DisableAsync(int packageModuleId, int createdBy);
Task<int> EnableAsync(int packageModuleId, int createdBy);
Task<Tuple<decimal, string, decimal>> GetChargeCategoryTotalAsync(int chargeCategoryId, int packageModuleId, int locationId, int chargeModuleTemplateId, string modulesMasterIds);
Task<IEnumerable<int>> AddPackageDocumentAsync(IEnumerable<PackageDocumentModel> model);
Task<IEnumerable<PackageDocumentModel>> FetchPackageDocuments(int PackageModuleId);
}
}
\ No newline at end of file
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Shared.UserModels.Package;
using Product = Hims.Shared.UserModels.Package.Product;
using Surgery = Hims.Shared.UserModels.Package.Surgery;
using MetaData = Hims.Shared.UserModels.Package.MetaData;
namespace Hims.Domain.Services
{
/// <summary> The ChatService interface.</summary>
public interface IPackageService
{
/// <summary>
/// Deletes the package charge asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> DeletePackageChargeAsync(DeleteModel model);
/// <summary>
/// Updates the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> UpdateAsync(UpdateModel model);
/// <summary>
/// Deletes the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> DeleteAsync(MetaData.FilterModel model);
/// <summary>
/// Fetches the meta data asynchronous.
/// </summary>
/// <param name="packageId">The package identifier.</param>
/// <param name="locationId"></param>
/// <returns></returns>
Task<MetaData.ViewModel> FetchMetaDataAsync(int packageId, int locationId);
/// <summary>
/// Fetches the surgery kits asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<Surgery.ViewModel>> FetchSurgeryKitsAsync(Surgery.FilterModel model);
/// <summary>
/// Fetches the surgery masters asynchronous.
/// </summary>
/// <returns></returns>
Task<IEnumerable<Surgery.BasicViewModel>> FetchSurgeryMastersAsync();
/// <summary>
/// Fetches the product masters asynchronous.
/// </summary>
/// <returns></returns>
Task<IEnumerable<Product.BasicViewModel>> FetchProductMastersAsync();
/// <summary>
/// Fetches the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<Product.ViewModel>> FetchProductsAsync(Product.FilterModel model);
/// <summary>
/// Inserts the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> InsertAsync(InsertModel model);
/// <summary>
/// Fetches the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<ViewModel>> FetchAsync(FilterModel model);
/// <summary>
/// The get provider availability async.
/// </summary>
/// <param name="model">The model.</param>">
/// The provider id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<string> FindNameByPackageId(int packageId);
}
}

namespace Hims.Domain.Services
{
using Hims.Shared.EntityModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// The patient chat box interface.
/// </summary>
public interface IPatientChatBoxService
{
/// <summary>
/// Inserts the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> InsertAsync(PatientChatBoxModel model);
/// <summary>
/// Fetches all asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PatientChatBoxModel>> FetchAsync(PatientChatBoxModel model);
// /// <summary>
// /// Updates the asynchronous.
// /// </summary>
// /// <param name="model">The model.</param>
// /// <returns></returns>
// Task<int> UpdateAsync(PatientChatBoxModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
/// <summary>
/// The PatientDeviceDetailsService interface.
/// </summary>
public interface IPatientDeviceDetailsService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="appointmentId">
/// The appointment id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<PatientDeviceDetailsModel>> FetchAsync(int appointmentId);
/// <summary>
/// The insert async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> InsertAsync(PatientDeviceDetailsModel model);
}
}
\ No newline at end of file
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels;
using Shared.UserModels.Filters;
/// <summary>
/// The Patient Document Service interface.
/// </summary>
public interface IPatientDocumentService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The filter model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<PatientDocumentModel>> FetchAsync(PatientDocumentFilterModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<int>> AddAsync(IEnumerable<PatientDocumentModel> model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(PatientDocumentModel model);
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(PatientDocumentModel model);
/// <summary>
/// The delete async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<DeleteDocumentModel> DeleteAsync(ModifyPatientDocumentModel model);
/// <summary>
/// The modify read async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> ModifyReadAsync(ModifyPatientDocumentModel model);
/// <summary>
/// The get async.
/// </summary>
/// <param name="id">
/// The id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<PatientDocumentModel> GetAsync(int id);
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The filter model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<PatientDocumentModel>> DownloadFetchFileFTP(PatientDocumentFilterModel model);
/// <summary>
/// Gets the patient document on identifier asynchronous.
/// </summary>
/// <param name="id">The identifier.</param>
/// <returns></returns>
Task<PatientDocumentModel> GetPatientDocumentOnIdAsync(int id);
/// <summary>
/// Gets the patient scan document on identifier asynchronous.
/// </summary>
/// <param name="id">The identifier.</param>
/// <returns></returns>
Task<ScanDocumentModel> GetScanDocumentOnIdAsync(int id);
/// <summary>
/// Gets the patient scan document on identifier asynchronous.
/// </summary>
/// <param name="id">The identifier.</param>
/// <returns></returns>
Task<PackageDocumentModel> GetPackageDocument(int id);
}
}
\ No newline at end of file
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
/// <summary>
/// The Patient Emergency Service interface.
/// </summary>
public interface IPatientEmergencyService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="patientId">
/// The patient id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<PatientEmergencyModel>> FetchAsync(int patientId);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(PatientEmergencyModel model);
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(PatientEmergencyModel model);
/// <summary>
/// The delete async.
/// </summary>
/// <param name="patientEmergencyId">
/// The patient emergency id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteAsync(int patientEmergencyId);
}
}
\ No newline at end of file
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels.PatientMedication;
using Shared.UserModels.Laboratory;
using Shared.UserModels.Labs;
/// <summary>
/// The patient medication service interface.
/// </summary>
public interface IPatientEncounterService
{
/// <summary>
/// Adds the patient medication asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddPatientMedicationAsync(PatientMedicationHeaderModel model);
/// <summary>
/// Fetches the patient medication.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PatientMedicationHeaderModel>> FetchPatientMedication(PatientMedicationHeaderModel model);
/// <summary>
/// Deletes the single medication asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> DeleteSingleMedicationAsync(PatientMedicationDetailModel model);
/// <summary>
/// Adds the patient lab asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddPatientLabAsync(AddBooking model);
/// <summary>
/// Fetches the patient labs asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PatientMedicationHeaderModel>> FetchPatientLabsAsync(PatientMedicationHeaderModel model);
/// <summary>
/// Deletes the single lab asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> DeleteSingleLabAsync(PatientMedicationDetailModel model);
/// <summary>
/// Verifies the lab report without package asynchronous.
/// </summary>
/// <param name="labBookingDetailId">The lab booking detail identifier.</param>
/// <param name="verifiedBy">The verified by.</param>
/// <returns></returns>
Task<int> VerifyLabReportWithoutPackageAsync(int labBookingDetailId, int verifiedBy);
/// <summary>
/// Verifies the lab booking package asynchronous.
/// </summary>
/// <param name="verifiedBy">The verified by.</param>
/// <param name="labBookingDetailId">The lab booking detail identifier.</param>
/// <param name="labBookingPackageDetailId">The lab booking package detail identifier.</param>
/// <returns></returns>
Task<int> VerifyLabBookingPackageAsync(int verifiedBy, int? labBookingDetailId, int? labBookingPackageDetailId);
/// <summary>
/// Fetches the frequently used labs asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<LabMainDetailModel>> FetchFrequentlyUsedLabsAsync(LabMainDetailModel model);
/// <summary>
/// Fetches the frequently used medications.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PatientMedicationDetailModel>> FetchFrequentlyUsedMedications(PatientMedicationDetailModel model);
}
}
namespace Hims.Domain.Services
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Hims.Shared.UserModels.PatientExcel;
using Shared.EntityModels;
using Shared.UserModels.UserExcel;
/// <summary>
/// The user excel upload history service interface.
/// </summary>
public interface IPatientExcelHistoryService
{
/// <summary>
/// The modify excel upload async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<int> ModifyExcelUploadAsync(PatientExcelHistoryModel model);
/// <summary>
/// The fetch all async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<IEnumerable<PatientExcelHistoryModel>> FetchAllAsync(PatientExcelHistoryModel model);
/// <summary>
/// The get single excel history.
/// </summary>
/// <param name="userExcelHistoryId">
/// The excel upload history id.
/// </param>
/// <returns>
/// The <see cref="Task"/>
/// </returns>
Task<PatientExcelHistoryModel> GetSingleExcelHistory(int userExcelHistoryId);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
/// <summary>
/// The Patient Insurance Service interface.
/// </summary>
public interface IPatientInsuranceService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="patientId">
/// The patient id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<PatientInsuranceModel>> FetchAsync(int patientId);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(PatientInsuranceModel model);
/// <summary>
/// The update async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> UpdateAsync(PatientInsuranceModel model);
/// <summary>
/// The delete async.
/// </summary>
/// <param name="patientInsuranceId">
/// The patient insurance id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteAsync(int patientInsuranceId);
}
}
\ No newline at end of file
This diff is collapsed.
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels.Filters;
/// <summary>
/// The Coupon Service interface.
/// </summary>
public interface IPayCategoryService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<PayCategoryModel>> FetchAsync(PayCategoryModel model);
/// <summary>
/// The modify async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> ActivateOrDeactivatePayType(PayCategoryModel model);
/// <summary>
/// The insert async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> InsertAsync(PayCategoryModel model);
/// <summary>
/// The insert async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
Task<int> UpdateAsync(PayCategoryModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels.Filters;
/// <summary>
/// The Coupon Service interface.
/// </summary>
public interface IPayTypeService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<PayTypeModel>> FetchAsync(PayTypeModel model);
/// <summary>
/// The modify async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> ActivateOrDeactivatePayType(PayTypeModel model);
/// <summary>
/// The insert async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> InsertAsync(PayTypeModel model);
/// <summary>
/// The insert async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
Task<int> UpdateAsync(PayTypeModel model);
}
}
namespace Hims.Domain.Services
{
using System.Threading.Tasks;
using Shared.EntityModels;
/// <summary>
/// The payU service interface
/// </summary>
public interface IPayUService
{
/// <summary>
/// The add refund async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddRefundAsync(RefundModel model);
/// <summary>
/// The add web hook async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddWebHookAsync(WebHookModel model);
}
}
namespace Hims.Domain.Services
{
using System.Threading.Tasks;
using Shared.EntityModels;
/// <summary>
/// The Appointment log Service interface.
/// </summary>
public interface IPaymentInitiationLogService
{
/// <summary>
/// The find async.
/// </summary>
/// <param name="paymentInitiationLogId">
/// The appointment log id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<PaymentInitiationLogModel> FindAsync(int paymentInitiationLogId);
/// <summary>
/// The modify async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> AddAsync(PaymentInitiationLogModel model);
/// <summary>
/// The delete async.
/// </summary>
/// <param name="paymentInitiationLogId">
/// The appointment log Id.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<int> DeleteAsync(int paymentInitiationLogId);
}
}
\ No newline at end of file
using Hims.Shared.EntityModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Hims.Domain.Services
{
/// <summary>
/// The IPaymentMapHelperService.
/// </summary>
public interface IPaymentMapHelperService
{
/// <summary>
/// Finds the asynchronous.
/// </summary>
/// <param name="PaymentInitiationLogId">The payment initiation log identifier.</param>
/// <returns></returns>
Task<PaymentMapHelperModel> FindAsync(int PaymentInitiationLogId);
/// <summary>
/// Adds the asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> AddAsync(PaymentMapHelperModel model);
}
}
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Hims.Shared.UserModels.PediatricGraphs;
/// <summary>
/// The Pediatric Chart Service interface.
/// </summary>
public interface IPediatricChartService
{
/// <summary>
/// Modifies the pediatric authority.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ModifyPediatricAuthority(PediatricChartAuthorityModel model);
/// <summary>
/// Fetches the authority asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PediatricChartAuthorityModel>> FetchAuthorityAsync(PediatricChartAuthorityModel model);
/// <summary>
/// Changes the authority status asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<int> ChangeAuthorityStatusAsync(PediatricChartAuthorityModel model);
/// <summary>
/// Fetches the type of the pediatric chart.
/// </summary>
/// <returns></returns>
Task<IEnumerable<PediatricChartTypeModel>> FetchPediatricChartType();
/// <summary>
/// Fetches the pediatric display asynchronous.
/// </summary>
/// <returns></returns>
Task<IEnumerable<PediatricBaseDisplayModel>> FetchPediatricDisplayAsync();
/// <summary>
/// Fetches the age wise data asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PediatricAgeWiseDataModel>> FetchAgeWiseDataAsync(PediatricAgeWiseDataModel model);
/// <summary>
/// Fetches the age wise data z score asynchronous.
/// </summary>
/// <param name="model">The model.</param>
/// <returns></returns>
Task<IEnumerable<PediatricAgeWiseDataZScoreModel>> FetchAgeWiseDataZScoreAsync(PediatricAgeWiseDataZScoreModel model);
}
}
This diff is collapsed.
This diff is collapsed.
namespace Hims.Domain.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.EntityModels;
using Shared.UserModels.Filters;
/// <summary>
/// The PharmacyLogService interface.
/// </summary>
public interface IPharmacyLogService
{
/// <summary>
/// The fetch async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task<IEnumerable<PharmacyLogModel>> FetchAsync(PharmacyLogFilterModel model);
/// <summary>
/// The add async.
/// </summary>
/// <param name="model">
/// The model.
/// </param>
/// <returns>
/// The <see cref="Task"/>.
/// </returns>
Task LogAsync(PharmacyLogModel model);
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment