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

initial commit

parent ee6dd8d6
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ProviderAvailability
{
/// <summary>
/// The coupon.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the dictionaries.
/// </summary>
/// <value>
/// The dictionaries.
/// </value>
public List<ProviderScheduleModel> Dictionaries { get; set; }
}
/// <summary>
///
/// </summary>
public class ProviderScheduleModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderScheduleId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public string Expiry { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Batch { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Gst { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string GstValue { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string HsnCode { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mfg { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mrp { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Packing { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Product { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Qty { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Value { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Purchase { get; set; }
}
}

namespace Hims.Shared.UserModels.ProviderAvailability
{
using System.Collections.Generic;
/// <summary>
/// The coupon.
/// </summary>
public class ModifyAvailabilityModel
{
/// <summary>
/// Gets or sets the admission id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
/// <value>
/// The date.
/// </value>
public string? FullName { get; set; }
/// <summary>
/// Gets or sets the slot tat.
/// </summary>
public string? SlotTat { get; set; }
/// <summary>
/// Gets or sets the slot duration.
/// </summary>
public int? SlotDuration { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public bool? AppointmentStatus { get; set; }
/// <summary>
/// Gets or sets the availability.
/// </summary>
public string? Availability { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string? AvailableDays { get; set; }
/// <summary>
/// Gets or sets the charges.
/// </summary>
public List<ProviderAvailabilityCharges> Charges { get; set; }
/// <summary>
/// Gets or sets the consultationId.
/// </summary>
public int? ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string? CreatedByName { get; set; }
/// <summary>
/// Gets or sets the Duration
/// </summary>
public List<ProviderAvailabilityDuration> Duration { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public string? FromDate { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? LeaveFromDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? LeaveToDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool IsLeave { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the on checked all day.
/// </summary>
public bool OnCheckedAllDay { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the slot timings
/// </summary>
public List<ProviderAvailabilitySlotsModel> SlotTimings { get; set; }
/// <summary>
/// Gets or sets the slots.
/// </summary>
public string? Slots { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public string? ToDate { get; set; }
/// <summary>
/// Getes or sets the doctorweekId.
/// </summary>
public int? DoctorWeekId { get; set; }
}
/// <summary>
/// The duration.
/// </summary>
public class ProviderAvailabilityDuration
{
/// <summary>
/// Gets or sets the type id.
/// </summary>
public int? Id { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public int? Value { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string? Name { get; set; }
}
/// <summary>
/// The duration.
/// </summary>
public class ProviderAvailabilityCharges
{
/// <summary>
/// Gets or sets the type id.
/// </summary>
public int? Id { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public int? Value { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string? Name { get; set; }
}
/// <summary>
/// Gets or sets the provider availability slots model.
/// </summary>
public class ProviderAvailabilitySlotsModel
{
/// <summary>
/// Gets or sets the admission id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the consultationId.
/// </summary>
public int? ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the location name.
/// </summary>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the slot timings
/// </summary>
public List<SlotTimingsLocationWise> SlotTimingsLocationWise { get; set; }
/// <summary>
/// Gets or sets the slot timings
/// </summary>
public List<BreakTimingsLocationWise> SlotBreaksLocationWise { get; set; }
/// <summary>
/// Gets or sets the from time.
/// </summary>
public string FromTime { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the to time.
/// </summary>
public string ToTime { get; set; } = string.Empty;
///// <summary>
///// Gets or sets the followup days
///// </summary>
//public int? FollowUpDays { get; set; }
///// <summary>
///// Gets or sets the follow up days limit.
///// </summary>
//public int? FollowUpDaysLimit { get; set; }
///// <summary>
///// Gets or sets the specializations.
///// </summary>
//public List<int> SpecializationIds { get; set; }
/// <summary>
/// Gets or sets the specializations.
/// </summary>
public int? SpecializationIds { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? NoOfNewPatient { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? NoOfOfflinePatient { get; set; }
}
/// <summary>
/// Gets or sets the slot timings location wise model.
/// </summary>
public class SlotTimingsLocationWise
{
/// <summary>
/// Gets or sets the consultationId.
/// </summary>
public int? ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the from time.
/// </summary>
public string FromTime { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the general slots.
/// </summary>
public int GeneralSlots { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? NoOfNewPatient { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int NoOfNewPatientSlots{ get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? NoOfOfflinePatient { get; set; }
/// <summary>
/// Gets or sets the no of new patient.
/// </summary>
public int? NoOfOfflinePatientSlots { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the specializations.
/// </summary>
public int? SpecializationDuration { get; set; }
/// <summary>
/// Gets or sets the specializations.
/// </summary>
public int? SpecializationIds { get; set; }
/// <summary>
/// Gets or sets the to time.
/// </summary>
public string ToTime { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int TotalSlots { get; set; }
}
/// <summary>
/// Gets or sets the slot timings location wise model.
/// </summary>
public class BreakTimingsLocationWise
{
/// <summary>
/// Gets or sets the break from time.
/// </summary>
public string BreakFromTime { get; set; }
/// <summary>
/// Gets or sets the break to time.
/// </summary>
public string BreakToTime { get; set; }
/// <summary>
/// Gets or sets the break specialization id.
/// </summary>
public int? BreakSpecializationId { get; set; }
/// <summary>
/// Gets or sets break consultation type id.
/// </summary>
public int? BreakConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the Break Provider Availability Id.
/// </summary>
public int? ProviderBreakId { get; set;}
/// <summary>
/// Gets or sets the Break Type.
/// </summary>
public string? BreakType { get; set; }
/// <summary>
/// Gets or sets the Break Block.
/// </summary>
public string? BreakBlock { get; set; }
}
}

namespace Hims.Shared.UserModels.ProviderAvailability
{
/// <summary>
/// The coupon.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderScheduleId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public string Expiry { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Batch { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Gst { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string GstValue { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string HsnCode { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mfg { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mrp { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Packing { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Product { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Qty { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Value { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Purchase { get; set; }
}
}
namespace Hims.Shared.UserModels.ProviderAvailability
{
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public int[] AvailableDays { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public int Day { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string FromTime { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string ToTime { get; set; }
/// <summary>
/// Gets or sets the department name.
/// </summary>
public string DepartmentName { get; set; }
/// <summary>
/// gets or sets slot tat.
/// </summary>
public int SlotTat { get; set; }
/// <summary>
/// Gets or sets the slot duration.
/// </summary>
public string SlotDuration { get; set; }
/// <summary>
/// Gets or sets the minutes.
/// </summary>
public int AsofText { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ProviderLeave
{
/// <summary>
/// The visit type filter model.
/// </summary>
public class CancelModel
{
/// <summary>
/// Gets or sets the provider leave id.
/// </summary>
public int? ProviderLeaveId { get; set; }
/// <summary>
/// Gets or sets the provider leave id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the provider leave id.
/// </summary>
public int? ProviderBreakId { get; set; }
/// <summary>
/// Gets or Sets the modified By Name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the scan machine availabilty id.
/// </summary>
public int? ScanMachineAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public string FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public string ToDate { get; set; }
}
}
namespace Hims.Shared.UserModels.ProviderLeave
{
/// <summary>
/// The visit type filter model.
/// </summary>
public class DeleteModel
{
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int VitalTypeId { get; set; }
/// <summary>
/// Gets or sets the modifies by.
/// </summary>
public int ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
}
}
#nullable enable
using System;
namespace Hims.Shared.UserModels.ProviderLeave
{
/// <summary>
/// The visit type filter model.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the provider leave id.
/// </summary>
public long ProviderLeaveId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the leave date.
/// </summary>
public DateTime LeaveDate { get; set; }
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
public int? ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string Reason { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int PageSize { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ProviderLeave
{
/// <summary>
/// The visit type filter model.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the provider leave id.
/// </summary>
public long ProviderLeaveId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the leave date.
/// </summary>
public DateTime? LeaveDate { get; set; }
/// <summary>
/// Gets or sets the leave dates.
/// </summary>
public string LeaveDates { get; set; }
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
public int? ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string Reason { get; set; }
/// <summary>
/// Gets or Sets the modified By Name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LeaveLocationId { get; set; }
/// <summary>
/// Get or sets the leave from date.
/// </summary>
public string? LeaveFromDate { get; set; }
/// <summary>
/// Gets or sets the provider leave end time.
/// </summary>
public string? ProviderLeaveEndTime { get; set; }
/// <summary>
/// Gets or sets the provider leave start time.
/// </summary>
public string ? ProviderLeaveStartTime {get; set;}
}
}
using System;
namespace Hims.Shared.UserModels.ProviderLeave
{
/// <summary>
/// The visit type filter model.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the provider leave id.
/// </summary>
public long ProviderLeaveId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the leave date.
/// </summary>
public DateTime LeaveDate { get; set; }
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
public int? ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the leave dates.
/// </summary>
public string LeaveDates { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string Reason { get; set; }
/// <summary>
/// Gets or Sets the modified By Name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LeaveLocationId { get; set; }
/// <summary>
/// Get or sets the leave from date.
/// </summary>
public string? LeaveFromDate { get; set; }
/// <summary>
/// Gets or sets the provider leave end time.
/// </summary>
public string? ProviderLeaveEndTime { get; set; }
/// <summary>
/// Gets or sets the provider leave start time.
/// </summary>
public string? ProviderLeaveStartTime { get; set; }
}
}
namespace Hims.Shared.UserModels.ProviderLeave
{
using System;
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the provider leave id.
/// </summary>
public long ProviderLeaveId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the leave date.
/// </summary>
public DateTime LeaveDate { get; set; }
/// <summary>
/// Gets or sets the provider location id.
/// </summary>
public int? ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string Reason { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
}
}
namespace Hims.Shared.UserModels.ProviderMedication
{
using System;
using System.Collections.Generic;
/// <summary>
/// The provider medication group model.
/// </summary>
public class ProviderMedicationGroupModel
{
/// <summary>
/// Gets or sets the provider medication group identifier.
/// </summary>
/// <value>
/// The provider medication group identifier.
/// </value>
public int ProviderMedicationGroupId { get; set; }
/// <summary>
/// Gets or sets the name of the tag.
/// </summary>
/// <value>
/// The name of the tag.
/// </value>
public string TagName { get; set; }
/// <summary>
/// Gets or sets the provider ids.
/// </summary>
/// <value>
/// The provider ids.
/// </value>
public string ProviderIds { get; set; }
/// <summary>
/// Gets or sets the specialization identifier.
/// </summary>
/// <value>
/// The specialization identifier.
/// </value>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the name of the specialization.
/// </summary>
/// <value>
/// The name of the specialization.
/// </value>
public string SpecializationName { get; set; }
/// <summary>
/// Gets or sets the medicines.
/// </summary>
/// <value>
/// The medicines.
/// </value>
public List<ProviderMedicationMasterModel> Medicines { get; set; }
/// <summary>
/// Gets or sets the login role identifier.
/// </summary>
/// <value>
/// The login role identifier.
/// </value>
public short? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
}
}
namespace Hims.Shared.UserModels.ProviderMedication
{
using System.Collections.Generic;
/// <summary>
/// The provider medication master model.
/// </summary>
public class ProviderMedicationMasterModel
{
/// <summary>
/// Gets or sets the provider medication master identifier.
/// </summary>
/// <value>
/// The provider medication master identifier.
/// </value>
public int? ProviderMedicationMasterId { get; set; }
/// <summary>
/// Gets or sets the appointment identifier.
/// </summary>
/// <value>
/// The appointment identifier.
/// </value>
public int? AppointmentId { get; set; }
/// <summary>
/// Gets or sets the provider medication group identifier.
/// </summary>
/// <value>
/// The provider medication group identifier.
/// </value>
public int? ProviderMedicationGroupId { get; set; }
/// <summary>
/// Gets or sets the pharmacy product identifier.
/// </summary>
/// <value>
/// The pharmacy product identifier.
/// </value>
public int PharmacyProductId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
/// <value>
/// The duration.
/// </value>
public int Duration { get; set; }
/// <summary>
/// Gets or sets the dosage.
/// </summary>
/// <value>
/// The dosage.
/// </value>
public int Dosage { get; set; }
/// <summary>
/// Gets or sets the type of the duration.
/// </summary>
/// <value>
/// The type of the duration.
/// </value>
public string DurationType { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is morning.
/// </summary>
/// <value>
/// <c>true</c> if this instance is morning; otherwise, <c>false</c>.
/// </value>
public bool IsMorning { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is afternoon.
/// </summary>
/// <value>
/// <c>true</c> if this instance is afternoon; otherwise, <c>false</c>.
/// </value>
public bool IsAfternoon { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is night.
/// </summary>
/// <value>
/// <c>true</c> if this instance is night; otherwise, <c>false</c>.
/// </value>
public bool IsNight { get; set; }
/// <summary>
/// Gets or sets the morning dosage.
/// </summary>
/// <value>
/// The morning dosage.
/// </value>
public string MorningDosage { get; set; }
/// <summary>
/// Gets or sets the afternoon dosage.
/// </summary>
/// <value>
/// The afternoon dosage.
/// </value>
public string AfternoonDosage { get; set; }
/// <summary>
/// Gets or sets the night dosage.
/// </summary>
/// <value>
/// The night dosage.
/// </value>
public string NightDosage { get; set; }
/// <summary>
/// Gets or sets the instruction.
/// </summary>
/// <value>
/// The instruction.
/// </value>
public string Instruction { get; set; }
/// <summary>
/// Gets or sets the name of the product.
/// </summary>
/// <value>
/// The name of the product.
/// </value>
public string ProductName { get; set; }
/// <summary>
/// Gets or sets the name of the generic.
/// </summary>
/// <value>
/// The name of the generic.
/// </value>
public string GenericName { get; set; }
/// <summary>
/// Gets or sets the company identifier.
/// </summary>
/// <value>
/// The company identifier.
/// </value>
public int CompanyId { get; set; }
/// <summary>
/// Gets or sets the category identifier.
/// </summary>
/// <value>
/// The category identifier.
/// </value>
public int CategoryId { get; set; }
/// <summary>
/// Gets or sets the name of the company.
/// </summary>
/// <value>
/// The name of the company.
/// </value>
public string CompanyName { get; set; }
/// <summary>
/// Gets or sets the name of the category.
/// </summary>
/// <value>
/// The name of the category.
/// </value>
public string CategoryName { get; set; }
/// <summary>
/// Gets or sets the name of the tag.
/// </summary>
/// <value>
/// The name of the tag.
/// </value>
public string TagName { get; set; }
/// <summary>
/// Gets or sets the name of the specialization.
/// </summary>
/// <value>
/// The name of the specialization.
/// </value>
public string SpecializationName { get; set; }
/// <summary>
/// Gets or sets the specialization identifier.
/// </summary>
/// <value>
/// The specialization identifier.
/// </value>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the providers.
/// </summary>
/// <value>
/// The providers.
/// </value>
public List<ProviderList> Providers { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>
/// The size of the page.
/// </value>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the index of the page.
/// </summary>
/// <value>
/// The index of the page.
/// </value>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
/// <value>
/// The total items.
/// </value>
public int TotalItems { get; set; }
/// <summary>
/// Gets or Sets the modified By Name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
}
/// <summary>
/// The provider list.
/// </summary>
public class ProviderList
{
/// <summary>
/// Gets or sets the provider identifier.
/// </summary>
/// <value>
/// The provider identifier.
/// </value>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
/// <value>
/// The full name.
/// </value>
public string FullName { get; set; }
}
}
namespace Hims.Shared.UserModels.ProviderSchedule
{
/// <summary>
/// The coupon.
/// </summary>
public class DeleteModel
{
/// <summary>
/// Gets or sets the progress report assessments id.
/// </summary>
public int ProviderScheduleId { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ProviderSchedule
{
/// <summary>
/// The coupon.
/// </summary>
public class EventViewModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int AppointmentId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string CheckedIn { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string CheckedOut { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public string AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the appointment date time.
/// </summary>
public string AppointmentStartDateTime { get; set; }
/// <summary>
/// Gets or sets the appointment date time.
/// </summary>
public string AppointmentEndDateTime { get; set; }
/// <summary>
/// Gets or sets the department id.
/// </summary>
public int DepartmentId { get; set; }
/// <summary>
/// Gets or sets the token number.
/// </summary>
public int TokenNumber { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
public DateTime AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the appointment type name.
/// </summary>
public string AppointmentTypeName { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public char Status { get; set; }
/// <summary>
/// Gets or sets the doctor name.
/// </summary>
public string DoctorName { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string Gender { get; set; }
/// <summary>
/// Gets or sets the age.
/// </summary>
public int PatientAge { get; set; }
/// <summary>
/// Gets or sets the father or husband.
/// </summary>
public string FatherOrHusband { get; set; }
/// <summary>
/// Gets or sets the mobile
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets referredbyname
/// </summary>
public string ReferredByName { get; set; }
// <summary>
/// Gets or sets UMRNo
/// </summary>
public string UMRNo { get; set; }
// <summary>
/// Gets or sets DepartmentName
/// </summary>
public string DepartmentName { get; set; }
// <summary>
/// Gets or sets discount
/// </summary>
public int? Discount { get; set; }
// <summary>
/// Gets or sets total
/// </summary>
public int? Total { get; set; }
// <summary>
/// Gets or sets amount
/// </summary>
public int? Amount { get; set; }
// <summary>
/// Gets or sets ChargeType
/// </summary>
public string ChargeType { get; set; }
// <summary>
/// Gets or sets Street Addrtess
/// </summary>
public string StreetAddress { get; set; }
// <summary>
/// Gets or sets AddressLine
/// </summary>
public string AddressLine2 { get; set; }
// <summary>
/// Gets or sets City
/// </summary>
public string City { get; set; }
// <summary>
/// Gets or sets State
/// </summary>
public string State { get; set; }
// <summary>
/// Gets or sets Zipcode
/// </summary>
public string Zipcode { get; set; }
// <summary>
/// Gets or sets AppointmentNo
/// </summary>
public string AppointmentNo { get; set; }
// <summary>
/// Gets or sets chargename
/// </summary>
public string ChargeName { get; set; }
// <summary>
/// Gets or sets paytypename
/// </summary>
public string PayTypeName { get; set; }
/// <summary>
/// Gets or sets the date.
/// </summary>
public string Date { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the paymentnumber
/// </summary>
public string? PaymentNumber { get; set; }
/// <summary>
/// Gets or sets the AppointmentDateTime
/// </summary>
public string? AppointmentDateTime { get; set; }
/// <summary>
/// Gets or sets the id proof id.
/// </summary>
public int? IdProofId { get; set; }
/// <summary>
/// Gets or sets the idproof value.
/// </summary>
public string? IdProofValue { get; set; }
/// <summary>
/// Gets or sets the id proof name.
/// </summary>
public string? IdProofName { get; set; }
/// <summary>
/// Gets or sets the SpecializationId.
/// </summary>
public int SpecializationId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the row colow.
/// </summary>
public string RowColor { get; set; }
/// <summary>
/// Gets or sets the charge types id.
/// </summary>
public int? ChargeTypesId { get; set; }
/// <summary>
/// Gets or sets the encoounter type
/// </summary>
public string? EncounterType { get; set; }
/// <summary>
/// Gets or sets the payment status.
/// </summary>
public bool? PaymentStatus { get; set; }
/// <summary>
/// Gets or sets the is salucro appointment.
/// </summary>
public bool IsSalucroAppointment { get; set; }
/// <summary>
/// Gets or sets the provider break id.
/// </summary>
public int? ProviderBreakId { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndDate { get; set; }
/// <summary>
/// Gets or sets the break day.
/// </summary>
public string? BreakDay { get; set; }
/// <summary>
/// Gets or sets the start time.
/// </summary>
public string? StartTime { get; set; }
/// <summary>
/// Gets or sets the end time.
/// </summary>
public string? EndTime { get; set; }
/// <summary>
/// Gets or sets the break date.
/// </summary>
public string? BreakDate { set; get; }
/// <summary>
/// Gets or sets the break type.
/// </summary>
public string? BreakType { set; get; }
/// <summary>
/// Gets or sets the break block.
/// </summary>
public string? BreakBlock { get; set; }
/// <summary>
/// Gets or sets the break dates.
/// </summary>
public string? BreakDates { get; set; }
/// <summary>
/// Gets or sets the availability type.
/// </summary>
public string? AvailabilityType { get; set; }
/// <summary>
/// Get or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created by role.
/// </summary>
public string CreatedByRole { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by role.
/// </summary>
public string ModifiedByRole { get; set; }
public string PaymentType { get; set; }
public bool Active { get; set; }
}
}

namespace Hims.Shared.UserModels.ProviderSchedule
{
using System;
using System.Collections.Generic;
/// <summary>
/// The coupon.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the admission id.
/// </summary>
public string? ProviderId { get; set; }
/// <summary>
/// gets or sets the specialization Id.
/// </summary>
public string? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the consultation type id.
/// </summary>
public int? ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int? VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
/// <value>
/// The date.
/// </value>
public string? FullName { get; set; }
/// <summary>
/// Gets or sets the slot tat.
/// </summary>
public string? SlotTat { get; set; }
/// <summary>
/// Gets or sets the slot duration.
/// </summary>
public int? SlotDuration { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public bool? AppointmentStatus { get; set; }
/// <summary>
/// Gets or sets the appointment Date.
/// </summary>
public string AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the appointment End Date;
/// </summary>
public string? AppointmentEndDate { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndDate { get; set; }
/// <summary>
/// Gets or sets the calendar view.
/// </summary>
public string? CalendarView { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
public List<AppFilterModel> Filter { get; set; }
}
/// <summary>
/// The appointment filter model.
/// </summary>
public class AppFilterModel
{
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public char? Gender { get; set; }
/// <summary>
/// Gets or sets the Visit type.
/// </summary>
public int? VisitType { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public string FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public string ToDate { get; set; }
/// <summary>
/// Gets or sets the appointment no.
/// </summary>
public string? AppointmentNo { get; set; }
/// <summary>
/// Gets or sets the country id.
/// </summary>
public int? CountryId { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string? Status { get; set; }
/// <summary>
/// Gets or sets the department id.
/// </summary>
public int? DepartmentId { get; set; }
/// <summary>
/// Gets or sets the umr no.
/// </summary>
public string? UMRNo { get; set; }
/// <summary>
/// Gets or sets the is follow up appointment.
/// </summary>
public string? IsFollowUpAppointment { get; set; }
/// <summary>
/// Gets or sets the queue status.
/// </summary>
/// <value>
/// The queue status.
/// </value>
public int QueueStatusId { get; set; }
/// <summary>
/// Gets or sets the age
/// </summary>
/// <value>
/// The age status.
/// </value>
public int? Age { get; set; }
/// <summary>
/// Gets or sets the mobile
/// </summary>
/// <value>
/// The Mobile Number.
/// </value>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or setst the specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the consultation type id.
/// </summary>
public int? ConsultationTypeId { get; set; }
/// <summary>
/// Get or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created by role.
/// </summary>
public string CreatedByRole { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by role.
/// </summary>
public string ModifiedByRole { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ProviderSchedule
{
/// <summary>
/// The coupon.
/// </summary>
public class FilterViewModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the Department Id.
/// </summary>
public int DepartmentId { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public int[] AvailableDays { get; set; }
/// <summary>
/// Gets or sets the available date.
/// </summary>
public string AvailableDate { get; set; }
/// <summary>
/// Gets or sets the department name.
/// </summary>
public string DepartmentName { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public string Duration { get; set; }
/// <summary>
/// Gets or sets the availability
/// </summary>
public string Availability { get; set; }
/// <summary>
/// Gets or sets specializationId
/// </summary>
public int SpecializationId { get; set; }
/// <summary>
/// Gets or sets the specialization name.
/// </summary>
public string SpecializationName {get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the availability
/// </summary>
public string StartDate { get; set; }
/// <summary>
/// Gets or sets the availability
/// </summary>
public string EndDate { get; set; }
/// <summary>
/// Gets or sets the availability
/// </summary>
public string StartTime { get; set; }
/// <summary>
/// Gets or sets the availability
/// </summary>
public string EndTime { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int ProviderAvailabilitySlotId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int FreeFollowUpDays { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int FreeFollowUpDaysLimit { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the available day.
/// </summary>
public string AvailableDay { get; set; }
/// <summary>
/// Gets or sets the availability duration.
/// </summary>
public int AvailabilityDuration { get; set; }
}
/// <summary>
/// The duration.
/// </summary>
public class Duration
{
/// <summary>
/// Gets or sets the type id.
/// </summary>
public int TypeId { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public int Value { get; set; }
}
/// <summary>
/// The availability.
/// </summary>
public class Availability
{
/// <summary>
/// Gets or sets the day.
/// </summary>
public int Day { get; set; }
/// <summary>
/// Gets or sets the slots.
/// </summary>
public List<Slots> Slots { get; set; }
/// <summary>
/// Gets or sets the charge type.
/// </summary>
public List<ChargeType> ChargeType { get; set; }
}
/// <summary>
/// The slots.
/// </summary>
public class Slots
{
/// <summary>
/// Gets or sets the from time.
/// </summary>
public string FromTime { get; set; }
/// <summary>
/// Gets or sets the from time.
/// </summary>
public string ToTime { get; set; }
}
/// <summary>
/// The charge type.
/// </summary>
public class ChargeType
{
/// <summary>
/// Gets or sets the type id.
/// </summary>
public int TypeId { get; set; }
/// <summary>
/// Gets or sets name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public int Value { get; set; }
}
}
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ProviderSchedule
{
/// <summary>
/// The coupon.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the dictionaries.
/// </summary>
/// <value>
/// The dictionaries.
/// </value>
public List<ProviderScheduleModel> Dictionaries { get; set; }
}
/// <summary>
///
/// </summary>
public class ProviderScheduleModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderScheduleId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public string Expiry { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Batch { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Gst { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string GstValue { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string HsnCode { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mfg { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mrp { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Packing { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Product { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Qty { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Value { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Purchase { get; set; }
}
}

namespace Hims.Shared.UserModels.ProviderSchedule
{
/// <summary>
/// The coupon.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderScheduleId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public string Expiry { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Batch { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Gst { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string GstValue { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string HsnCode { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mfg { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mrp { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Packing { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Product { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Qty { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Value { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Purchase { get; set; }
}
}
namespace Hims.Shared.UserModels.ProviderSchedule
{
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderLocationId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public int[] AvailableDays { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public int Day { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string FromTime { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string ToTime { get; set; }
/// <summary>
/// Gets or sets the department name.
/// </summary>
public string DepartmentName { get; set; }
/// <summary>
/// gets or sets slot tat.
/// </summary>
public int SlotTat { get; set; }
/// <summary>
/// Gets or sets the slot duration.
/// </summary>
public string SlotDuration { get; set; }
/// <summary>
/// Gets or sets the minutes.
/// </summary>
public int AsofText { get; set; }
}
}
namespace Hims.Shared.UserModels.ProviderScheduleCharges
{
/// <summary>
/// The coupon.
/// </summary>
public class ChargeTypeViewModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int? ProviderScheduleChargeId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public int SpecializationId { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string SpecializationName { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the department name.
/// </summary>
public string DepartmentName { get; set; }
/// <summary>
/// gets or sets slot tat.
/// </summary>
public int ChargeTypesId { get; set; }
/// <summary>
/// Gets or sets the charge type charge.
/// </summary>
public int Charge { get; set; }
/// <summary>
/// Gets or sets the slot duration.
/// </summary>
public string SpecializationCharge { get; set; }
/// <summary>
/// Gets or sets the minutes.
/// </summary>
public int VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the visit type duration.
/// </summary>
public string VisitTypeDuration { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int TotalItems { get; set; }
public int? ProviderAvailabilitySlotId { get; set; }
public int? ProviderAvailabilityChargeTypeId { get; set; }
public int? ProviderAvailabilityId { get; set; }
public string? AvailableDay { get; set; }
public string? StartTime { get; set; }
public string? EndTime { get; set; }
public string StartDate { get; set; }
public string EndDate { get; set; }
public string ChargeName { get; set; }
}
}
namespace Hims.Shared.UserModels.ProviderScheduleCharges
{
/// <summary>
/// The coupon.
/// </summary>
public class DeleteModel
{
/// <summary>
/// Gets or sets the progress report assessments id.
/// </summary>
public int ProviderScheduleChargesId { get; set; }
}
}

namespace Hims.Shared.UserModels.ProviderScheduleCharges
{
using System;
using System.Collections.Generic;
/// <summary>
/// The coupon.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the admission id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// gets or sets the specialization Id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
/// <value>
/// The date.
/// </value>
public string? FullName { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int PageSize { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int PageIndex { get; set; }
/// <summary>
///
/// </summary>
public int? CurrentItems { get; set; }
/// <summary>
///
/// </summary>
public int? CurrentPage { get; set; }
/// <summary>
/// Gets or sets the department id.
/// </summary>
public int? DepartmentId { get; set; }
/// <summary>
/// Gets or sets he disable pagination.
/// </summary>
public bool? DisablePagination { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int? TotalItems { get; set; }
/// <summary>
/// Gets or sets the total pages.
/// </summary>
public int? TotalPages { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public DateTime? EndDate { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public DateTime? StartDate { get; set; }
public int? ConsultationTypeId { get; set; }
public bool Active { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public string? FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public string? ToDate { get; set; }
}
}

using System;
using System.Collections.Generic;
namespace Hims.Shared.UserModels.ProviderScheduleCharges
{
/// <summary>
/// The coupon.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the provider schedule charge id.
/// </summary>
public int ProviderAvailabilityChargeTypeId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the Active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the followup days
/// </summary>
public int? FollowUpDays { get; set; }
/// <summary>
/// Gets or sets the follow up days limit.
/// </summary>
public int? FollowUpDaysLimit { get; set; }
/// <summary>
/// Gets or sets the charges.
/// </summary>
public List<ProviderAvailabilityCharges> Charges { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string? ModifiedByName { get; set; }
// <summary>
/// Gets or sets the parts of day id.
/// </summary>
public int? PartsOfDayId { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndDate { get; set; }
/// <summary>
/// Gets or sets the consultation type id.
/// </summary>
public int ConsultationTypeId { get; set; }
public string SchedulerTypeId { get; set; }
}
/// <summary>
/// The duration.
/// </summary>
public class ProviderAvailabilityCharges
{
/// <summary>
/// Gets or sets the type id.
/// </summary>
public int Id { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public int Value { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the provider availability charge type id.
/// </summary>
public int ProviderAvailabilityChargeTypeId { get; set; }
}
}

namespace Hims.Shared.UserModels.ProviderScheduleCharges
{
/// <summary>
/// The coupon.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int ProviderScheduleId { get; set; }
/// <summary>
/// Gets or sets the expiry.
/// </summary>
public string Expiry { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Batch { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Gst { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string GstValue { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string HsnCode { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mfg { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Mrp { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Packing { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Product { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Qty { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Value { get; set; }
/// <summary>
/// Gets or sets the free.
/// </summary>
public string Purchase { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.ProviderScheduleCharges
{
/// <summary>
/// The coupon.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the coupon code.
/// </summary>
public int? ProviderScheduleChargeId { get; set; }
/// <summary>
/// Gets or sets the provider availability charge type id.
/// </summary>
public int ProviderAvailabilityChargeTypeId { get; set; }
/// <summary>
/// Gets or sets the parts of day id.
/// </summary>
public int? PartsOfDayId { get; set; }
/// <summary>
/// Gets or sets the consultation type id.
/// </summary>
public int? ConsultationTypeId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>
public int? Id { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the consultation name.
/// </summary>
public string ConsultationName { get; set; }
/// <summary>
/// Gets or sets the provider name.
/// </summary>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the charge names.
/// </summary>
public string ChargeNames { get; set; }
/// <summary>
/// Gets or sets the created by names.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public string CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public string ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the specialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the specialization name.
/// </summary>
public string SpecializationName { get; set; }
/// <summary>
/// Gets or sets the location name.
/// </summary>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the department name.
/// </summary>
public string DepartmentName { get; set; }
/// <summary>
/// gets or sets charge types id.
/// </summary>
public int ChargeTypesId { get; set; }
/// <summary>
/// Gets or sets the charge.
/// </summary>
public int Charge { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public int Value { get; set; }
/// <summary>
/// Gets or sets the Specialization Charge.
/// </summary>
public string SpecializationCharge { get; set; }
/// <summary>
/// Gets or sets the Visit Type Id.
/// </summary>
public int VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the visit type duration.
/// </summary>
public string VisitTypeDuration { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int TotalItems { get; set; }
/// <summary>
/// Gets or sets the provider available solt id.
/// </summary>
public int? ProviderAvailabilitySlotId { get; set; }
/// <summary>
/// Gets or sets the provider availability id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the available day.
/// </summary>
public string? AvailableDay { get; set; }
/// <summary>
/// Gets or sets the start time.
/// </summary>
public string? StartTime { get; set; }
/// <summary>
/// Gets or sets the end time.
/// </summary>
public string? EndTime { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public DateTime StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public DateTime EndDate { get; set; }
/// <summary>
/// Gets or sets the charge name.
/// </summary>
public string ChargeName { get; set; }
public Boolean Active { get; set; }
public string SchedulerTypeId { get; set; }
public string FullName { get; set; }
/// <summary>
/// Gets or sets the followup days
/// </summary>
public int? FollowUpDays { get; set; }
/// <summary>
/// Gets or sets the follow up days limit.
/// </summary>
public int? FollowUpDaysLimit { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.ProviderScheduleVisits
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider location.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the Provider Availability Visit Id
/// </summary>
public int ProviderAvailabilityVisitTypeId { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int PageSize { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int? VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int? Duration { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the sepecialization id.
/// </summary>
public int? SpecializationId { get; set; }
/// <summary>
/// Gets or sets the location iud.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the encrypted provider id.
/// </summary>
public string? EncryptedProviderId { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.ProviderScheduleVisits
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider location.
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the Provider Availability Visit Id
/// </summary>
public int ProviderAvailabilityVisitTypeId { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int? VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int? Duration { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
public int? ProviderId { get; set; }
public int? SpecializationId { get; set; }
public int? LocationId { get; set; }
public string ModifiedByName { get; set; }
public string SchedulerTypeId { get; set; }
public List<ProviderAvailabilityVisits> Visits { get; set; }
}
public class ProviderAvailabilityVisits
{
/// <summary>
/// Gets or sets the type id.
/// </summary>
public int Id { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public int Value { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the provider availability charge type id.
/// </summary>
public int ProviderAvailabilityVisitTypeId { get; set; }
public int? ProviderId { get; set; }
public int? SpecializationId { get; set; }
public int? LocationId { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.ProviderScheduleVisits
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider location.
/// </summary>
public class UpdateModel
{
/// <summary>
/// Gets or sets the Provider Availability Visit Id
/// </summary>
public int ProviderAvailabilityVisitTypeId { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int? VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int? Duration { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
public int? ProviderId { get; set; }
public int? SpecializationId { get; set; }
public int? LocationId { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.ProviderScheduleVisits
{
using System;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The provider location.
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the Provider Availability Visit Id
/// </summary>
public int ProviderAvailabilityVisitTypeId { get; set; }
/// <summary>
/// Gets or sets the visit type id.
/// </summary>
public int? VisitTypeId { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int? Duration { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
public int? ProviderId { get; set; }
public int? SpecializationId { get; set; }
public int? LocationId { get; set; }
public string LocationName { get; set; }
public string VisitNames { get; set; }
public string ProviderName { get; set; }
public string SpecializationName { get; set; }
public string CreatedByName { get; set; }
public string ModifiedByName { get; set; }
public int id { get; set; }
public string Name { get; set; }
public int TotalItems { get; set; }
public int Value { get; set; }
public string SchedulerTypeId { get; set; }
public string FullName { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
public class ActionModel
{
public int? CallingAppointmentId { get; set; }
public int AppointmentId { get; set; }
public int? TokenNumber { get; set; }
public string PatientName { get; set; }
public string ActionType { get; set; }
public int? CreatedBy { get; set; }
public int? UserId { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
public class AppointmentActionModel
{
public int ProviderId { get; set; }
public int LocationId { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
public class AppointmentStatusModel
{
public int AppointmentId { get; set; }
public int PatientId { get; set; }
public int? TokenNumber { get; set; }
public int? LocationId { get; set; }
public int? QueueStatusId { get; set; }
public int? CubicleId { get; set; }
public int? WaitingPriority { get; set; }
public int? WaitingCount { get; set; }
public int ProviderId { get; set; }
public string PatientName { get; set; }
public string QueueStatus { get; set; }
public string CubicleName { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
public class QueueStatusModel
{
/// <summary>
/// Gets or sets the cubicle identifier.
/// </summary>
/// <value>
/// The cubicle identifier.
/// </value>
public int? CubicleId { get; set; }
/// <summary>
/// Gets or sets the queue status identifier.
/// </summary>
/// <value>
/// The queue status identifier.
/// </value>
public int? QueueStatusId { get; set; }
/// <summary>
/// Gets or sets the name of the cubicle.
/// </summary>
/// <value>
/// The name of the cubicle.
/// </value>
public string CubicleName { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
using System.Collections.Generic;
/// <summary>
/// The doctor model
/// </summary>
public class DoctorModel
{
/// <summary>
/// Gets or sets the provider identifier.
/// </summary>
/// <value>
/// The provider identifier.
/// </value>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
/// <value>
/// The full name.
/// </value>
public string FullName { get; set; }
/// <summary>
/// Gets or sets the specialization name.
/// </summary>
/// <value>
/// The full name.
/// </value>
public string SpecializationNames { get; set; }
/// <summary>
/// Gets or sets the name of the department.
/// </summary>
/// <value>
/// The name of the department.
/// </value>
public string DepartmentName { get; set; }
/// <summary>
/// Gets or sets the thumbnail URL.
/// </summary>
/// <value>
/// The thumbnail URL.
/// </value>
public string ThumbnailUrl { get; set; }
/// <summary>
/// Gets or sets the patients.
/// </summary>
/// <value>
/// The patients.
/// </value>
public List<PatientModel> Patients { get; set; }
/// <summary>
/// Gets or sets the name of the room.
/// </summary>
/// <value>
/// The name of the room.
/// </value>
public string RoomName { get; set; }
/// <summary>
/// Gets or sets the name of the ward.
/// </summary>
/// <value>
/// The name of the ward.
/// </value>
public string WardName { get; set; }
/// <summary>
/// Gets or sets the name of the floor.
/// </summary>
/// <value>
/// The name of the floor.
/// </value>
public string FloorName { get; set; }
/// <summary>
/// Gets or sets the specialization.
/// </summary>
/// <value>
/// The specialization.
/// </value>
public string? Specialization { get; set; }
/// <summary>
/// Gets or sets the specializations.
/// </summary>
/// <value>
/// The specializations.
/// </value>
public int[]? Specializations { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
public class DurationModel
{
public int TypeId { get; set; }
public int Value { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Queue.HelperModels
{
public class CallNextAnonmousModel
{
public int? ProviderId { get; set; }
public string? Ip { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
public class MetaInfoModel
{
public int AppointmentId { get; set; }
public string QueueStatus { get; set; }
public int TokenNumber { get; set; }
public string PatientName { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Queue
{
public class MobileFetchModel
{
public int ProviderId { get; set; }
public string FullName { get; set; }
public string DepartmentName { get; set; }
public TimeSpan AppointmentTime { get; set; }
public string AppointmentTimeString { get; set; }
public string ThumbnailUrl { get; set; }
public string QueueStatus { get; set; }
public int QueueStatusId { get; set; }
public int TokenNumber { get; set; }
public int? WaitingCount { get; set; }
public int? PatientsWaitingCount { get; set; }
public int? LocationId { get; set; }
public int? WaitingPerPersonInMinutes { get; set; }
public double? TotalWaitingTime { get; set; }
public int? TotalWaitingCount { get; set; }
public int? CurrentTokenNumber { get; set; }
public int? SpecializationId { get; set; }
public int? VisitTypeId { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
public class MobileRequestFetchModel
{
public int PatientId { get; set; }
public int LocationId { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Queue
{
public class PatientModel
{
public int ProviderId { get; set; }
public int PatientId { get; set; }
public TimeSpan AppointmentTime { get; set; }
public TimeSpan AppointmentEndTime { get; set; }
public string StartDate { get; set; }
public string AppointmentTimeString { get; set; }
public int AppointmentId { get; set; }
public string FullName { get; set; }
public string Gender { get; set; }
public string UmrNo { get; set; }
public string QueueStatus { get; set; }
public int QueueStatusId { get; set; }
public string ThumbnailUrl { get; set; }
public int TokenNumber { get; set; }
public string CubicleName { get; set; }
public int? WaitingCount { get; set; }
public double? TotalWaitingTime { get; set; }
public int? TotalWaitingCount { get; set; }
public int? WaitingPriority { get; set; }
public bool? IgnoreForQueue { get; set; }
public string CompleteDate { get; set; }
}
}
using System;
namespace Hims.Shared.UserModels.Queue
{
public class QueueReceiveModel
{
public TimeSpan StartTime { get; set; }
public TimeSpan EndTime { get; set; }
public bool? IsMetaInfoOnly { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Queue
{
public class RequestFetchModel
{
public int? ProviderId { get; set; }
public List<int>? AppointmentIds { get; set; }
public bool? IsMetaInfoOnly { get; set; }
public string? Ip { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
public class ShortAppointmentModel
{
public int? TokenNumber { get; set; }
public string FullName { get; set; }
public int? LocationId { get; set; }
public int ProviderId { get; set; }
public int? QueueStatusId { get; set; }
}
}
namespace Hims.Shared.UserModels.Queue
{
public class WebTokenModel
{
public int Id { get; set; }
public string Token { get; set; }
}
}
namespace Hims.Shared.UserModels.Receipt
{
/// <summary>
/// The receipt model
/// </summary>
public class CostViewModel
{
/// <summary>
/// Gets or sets the total.
/// </summary>
/// <value>
/// The total.
/// </value>
public double Total { get; set; }
/// <summary>
/// Gets or sets the GST.
/// </summary>
/// <value>
/// The GST.
/// </value>
public double Gst { get; set; }
/// <summary>
/// Gets or sets the discount.
/// </summary>
/// <value>
/// The discount.
/// </value>
public double Discount { get; set; }
/// <summary>
/// Gets or sets the netamount.
/// </summary>
/// <value>
/// The netamount.
/// </value>
public double NetAmount { get; set; }
}
}
namespace Hims.Shared.UserModels.Receipt
{
/// <summary>
/// The receipt model
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int AdmissionId { get; set; }
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>
/// The identifier.
/// </value>
public string Id { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is admission.
/// </summary>
/// <value>
/// <c>true</c> if this instance is admission; otherwise, <c>false</c>.
/// </value>
public bool IsAdmission { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [active only].
/// </summary>
/// <value>
/// <c>true</c> if [active only]; otherwise, <c>false</c>.
/// </value>
public bool ActiveOnly { get; set; }
/// <summary>
/// Gets or sets the receipt identifier.
/// </summary>
/// <value>
/// The receipt identifier.
/// </value>
public int? ReceiptId { get; set; }
}
}
using Hims.Domain.Entities.Enums;
namespace Hims.Shared.UserModels.Receipt
{
using System;
using System.Collections.Generic;
/// <summary>
/// The receipt model
/// </summary>
public class GlobalViewModel
{
/// <summary>
/// Gets or sets the records.
/// </summary>
/// <value>
/// The records.
/// </value>
public IEnumerable<ViewModel> Records { get; set; }
/// <summary>
/// Gets or sets the sub records.
/// </summary>
/// <value>
/// The sub records.
/// </value>
public List<SubViewModel> SubRecords { get; set; }
/// <summary>
/// Gets or sets the cost view model.
/// </summary>
/// <value>
/// The cost view model.
/// </value>
public CostViewModel CostViewModel { get; set; }
}
}
using Hims.Domain.Entities.Enums;
namespace Hims.Shared.UserModels.Receipt
{
using System;
/// <summary>
/// The receipt model
/// </summary>
public class InsertModel
{
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public string Id { get; set; }
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int AdmissionId { get; set; }
/// <summary>
/// Gets or sets the cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Cost { get; set; }
/// <summary>
/// Gets or sets the receipt type identifier.
/// </summary>
/// <value>
/// The receipt type identifier.
/// </value>
public ReceiptType ReceiptTypeId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Receipt"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is advance.
/// </summary>
/// <value>
/// <c>true</c> if this instance is advance; otherwise, <c>false</c>.
/// </value>
public bool IsAdvance { get; set; }
/// <summary>
/// Gets or sets the is refunded.
/// </summary>
/// <value>
/// The is refunded.
/// </value>
public bool? IsRefunded { get; set; }
/// <summary>
/// Gets or sets the pay type identifier.
/// </summary>
/// <value>
/// The pay type identifier.
/// </value>
public int PayTypeId { get; set; }
/// <summary>
/// Gets or sets the payment details.
/// </summary>
/// <value>
/// The payment details.
/// </value>
public string PaymentDetails { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is admission.
/// </summary>
/// <value>
/// <c>true</c> if this instance is admission; otherwise, <c>false</c>.
/// </value>
public bool IsAdmission { get; set; }
/// <summary>
/// Gets or sets the RoleId.
/// </summary>
public short? RoleId { get; set; }
/// <summary>
/// Gets or sets the RollName.
/// </summary>
public string? RollName { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string? CreatedByName { get; set; }
/// <summary>
/// Gets or sets the receipt identifier.
/// </summary>
/// <value>
/// The receipt identifier.
/// </value>
public int ReceiptId { get; set; }
// <summary>
/// Gets or sets the full name.
/// </summary>
/// <value>
/// The full name.
/// </value>
public string FullName { get; set; } = null;
/// <summary>
/// Gets or sets the receipt area type identifier.
/// </summary>
/// <value>
/// The receipt area type identifier.
/// </value>
public ReceiptAreaType? ReceiptAreaTypeId { get; set; }
/// <summary>
/// Gets or sets the receipt area main identifier.
/// </summary>
/// <value>
/// The receipt area main identifier.
/// </value>
public int? ReceiptAreaMainId { get; set; }
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string TransactionId { get; set; }
/// <summary>
/// Gets or sets the transaction.
/// </summary>
public string Transaction { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public int? SalucroStatusCode { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string SalucroTransactionId { get; set; }
/// <summary>
/// Gets or sets the is salucro appointment.
/// </summary>
public bool IsSalucroAdmissionReceipt { get; set; }
/// <summary>
/// Gets or sets the is salucro appointment.
/// </summary>
public int PatientId { get; set; }
}
}
namespace Hims.Shared.UserModels.Receipt.ReceiptTypePayload
{
using System;
/// <summary>
/// The receipt model
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the receipt type identifier.
/// </summary>
/// <value>
/// The receipt type identifier.
/// </value>
public int ReceiptTypeId { get; set; }
/// <summary>
/// Gets or sets the name of the receipt type.
/// </summary>
/// <value>
/// The name of the receipt type.
/// </value>
public string ReceiptTypeName { get; set; }
}
}
namespace Hims.Shared.UserModels.Receipt
{
/// <summary>
/// The receipt model
/// </summary>
public class SubViewModel
{
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Cost { get; set; }
/// <summary>
/// Gets or sets the unit.
/// </summary>
/// <value>
/// The unit.
/// </value>
public int Unit { get; set; }
/// <summary>
/// Gets or sets the total amount.
/// </summary>
/// <value>
/// The total amount.
/// </value>
public double TotalAmount { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
/// <value>
/// The discount percentage.
/// </value>
public double DiscountPercentage { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
/// <value>
/// The discount amount.
/// </value>
public double DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the discount percentage.
/// </summary>
/// <value>
/// The discount percentage.
/// </value>
public double GstPercentage { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
/// <value>
/// The discount amount.
/// </value>
public double GstAmount { get; set; }
/// <summary>
/// Gets or sets the net amount.
/// </summary>
/// <value>
/// The net amount.
/// </value>
public double NetAmount { get; set; }
}
}
using System.Text.Json.Serialization;
using Hims.Domain.Entities.Enums;
namespace Hims.Shared.UserModels.Receipt
{
using System;
/// <summary>
/// The receipt model
/// </summary>
public class ViewModel
{
/// <summary>
/// Gets or sets the admission identifier.
/// </summary>
/// <value>
/// The admission identifier.
/// </value>
public int AdmissionId { get; set; }
/// <summary>
/// Gets or sets the receipt identifier.
/// </summary>
/// <value>
/// The receipt identifier.
/// </value>
public int ReceiptId { get; set; }
/// <summary>
/// Gets or sets the cost.
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Cost { get; set; }
/// <summary>
/// Gets or sets the receipt type identifier.
/// </summary>
/// <value>
/// The receipt type identifier.
/// </value>
public string ReceiptTypeName { get; set; }
/// <summary>
/// Gets or sets the receipt type identifier.
/// </summary>
/// <value>
/// The receipt type identifier.
/// </value>
public int ReceiptTypeId { get; set; }
/// <summary>
/// Gets or sets the pay type identifier.
/// </summary>
/// <value>
/// The pay type identifier.
/// </value>
public int PayTypeId { get; set; }
/// <summary>
/// Gets or sets the payment details.
/// </summary>
/// <value>
/// The payment details.
/// </value>
public string PaymentDetails { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Receipt"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is advance.
/// </summary>
/// <value>
/// <c>true</c> if this instance is advance; otherwise, <c>false</c>.
/// </value>
public bool IsAdvance { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is dicharged.
/// </summary>
/// <value>
/// <c>true</c> if this instance is dicharged; otherwise, <c>false</c>.
/// </value>
public bool IsDischarged { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is refunded.
/// </summary>
/// <value>
/// <c>true</c> if this instance is refunded; otherwise, <c>false</c>.
/// </value>
public bool IsRefunded { get; set; }
/// <summary>
/// Gets or sets the name of the created by.
/// </summary>
/// <value>
/// The name of the created by.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the created by role.
/// </summary>
/// <value>
/// The created by role.
/// </value>
public string CreatedByRole { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the name of the modified by.
/// </summary>
/// <value>
/// The name of the modified by.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by role.
/// </summary>
/// <value>
/// The modified by role.
/// </value>
public string ModifiedByRole { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the full name.
/// </summary>
/// <value>
/// The full name.
/// </value>
public string FullName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is appointment receipt.
/// </summary>
/// <value>
/// <c>true</c> if this instance is appointment receipt; otherwise, <c>false</c>.
/// </value>
public bool IsAppointmentReceipt { get; set; }
/// <summary>
/// Gets or sets the receipt area type identifier.
/// </summary>
/// <value>
/// The receipt area type identifier.
/// </value>
public ReceiptAreaType? ReceiptAreaTypeId { get; set; }
/// <summary>
/// Gets or sets the receipt area main identifier.
/// </summary>
/// <value>
/// The receipt area main identifier.
/// </value>
public int? ReceiptAreaMainId { get; set; }
/// <summary>
/// Gets or sets the pay type name.
/// </summary>
public string PayTypeName { get; set; }
/// <summary>
/// Gets or sets the pay type name.
/// </summary>
public bool IsSalucroAdmissionReceipt { get; set; }
}
}
namespace Hims.Shared.UserModels.Reports
{
using System;
/// <summary>
/// The receipt model
/// </summary>
public class AdmissionDepartmentModel
{
/// <summary>
/// Gets or sets the Provider name.
/// </summary>
/// <value>
/// The bill number.
/// </value>
public string DepartmentName { get; set; }
/// <summary>
/// Gets or sets the provider id
/// </summary>
/// <value>
/// The cost.
/// </value>
public int DepartmentId { get; set; }
public int count { get; set; }
}
}
namespace Hims.Shared.UserModels.Reports
{
using System;
/// <summary>
/// The receipt model
/// </summary>
public class BillDiscountModel
{
/// <summary>
/// Gets or sets the Provider name.
/// </summary>
/// <value>
/// The bill number.
/// </value>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the provider id
/// </summary>
/// <value>
/// The cost.
/// </value>
public double? Cost { get; set; }
public string UMRNo { get; set; }
public int? ReceiptAreaTypeId { get; set; }
public string Type { get; set; }
public double? Discount { get; set; }
public double? Total { get; set; }
public int? CreatedBy { get; set; }
public DateTime? CreatedDate { get; set; }
public string BilledBy { get; set; }
public int? LocationId { get; set; }
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public string FromDate { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the optional text 2.
/// </summary>
public string ToDate { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the location
/// </summary>
public int? ModuleId { get; set; }
public string Authority { get; set; }
public string Reason { get; set; }
}
}
namespace Hims.Shared.UserModels.Reports
{
using System;
/// <summary>
/// The receipt model
/// </summary>
public class DoctorDetailReportModel
{
/// <summary>
/// Gets or sets the Provider name.
/// </summary>
/// <value>
/// The bill number.
/// </value>
public string ProviderName { get; set; }
/// <summary>
/// Gets or sets the provider id
/// </summary>
/// <value>
/// The cost.
/// </value>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the Provider name.
/// </summary>
/// <value>
/// The bill number.
/// </value>
public string DepartmentName { get; set; }
/// <summary>
/// Gets or sets the OPCount .
/// </summary>
/// <value>
/// The bill number.
/// </value>
public double OPCount { get; set; }
/// <summary>
/// Gets or sets the ip count
/// </summary>
/// <value>
/// The cost.
/// </value>
public double IPCount { get; set; }
/// <summary>
/// Gets or sets the total Count
/// </summary>
/// <value>
/// The cost.
/// </value>
public double TotalCount { get; set; }
/// <summary>
/// Gets or sets the op revenue
/// </summary>
/// <value>
/// The cost.
/// </value>
public double OPRevenue { get; set; }
/// <summary>
/// Gets or sets the ip revenue
/// </summary>
/// <value>
/// The cost.
/// </value>
public double IPRevenue { get; set; }
/// <summary>
/// Gets or sets the total revenue
/// </summary>
/// <value>
/// The cost.
/// </value>
public double TotalRevenue { get; set; }
/// <summary>
/// Gets or sets the lab investigation
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Lab_Investigations { get; set; }
/// <summary>
/// Gets or sets the scan or radiology
/// </summary>
/// <value>
/// The cost.
/// </value>
public double Radiology { get; set; }
public bool IsHealthCard { get; set; }
}
}
namespace Hims.Shared.UserModels.Reports
{
using System;
/// <summary>
/// The receipt model
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the patient identifier.
/// </summary>
/// <value>
/// The patient identifier.
/// </value>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public string FromDate { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the to date.
/// </summary>
public string ToDate { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the location
/// </summary>
public int? LocationId { get; set; }
}
}
namespace Hims.Shared.UserModels.RequestSupplier
{
using System;
using System.Collections.Generic;
/// <summary>
/// The request indent header model.
/// </summary>
public class RequestSupplierHeaderModel
{
/// <summary>
/// Gets or sets the request indent header id.
/// </summary>
public int RequestSupplierHeaderId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the request indent status id.
/// </summary>
public int RequestIndentStatusId { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the request indent type id.
/// </summary>
public int RequestIndentTypeId { get; set; }
/// <summary>
/// Gets or sets the payment no of days.
/// </summary>
public int PaymentNoOfDays { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public string? FromDate { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public string? ToDate { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime? ApprovedDate { get; set; }
/// <summary>
/// Gets or sets the required date.
/// </summary>
public DateTime RequiredDate { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the comments.
/// </summary>
public string Comments { get; set; }
/// <summary>
/// Gets or sets the request number.
/// </summary>
public string RequestNumber { get; set; }
/// <summary>
/// Gets or sets the request number.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the request number.
/// </summary>
public string CreatedByRole { get; set; }
/// <summary>
/// Gets or sets the request number.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the request number.
/// </summary>
public string ModifiedByRole { get; set; }
/// <summary>
/// Gets or sets the request number.
/// </summary>
public string IndentType { get; set; }
/// <summary>
/// Gets or sets the request number.
/// </summary>
public string IndentStatus { get; set; }
/// <summary>
/// Gets or sets the quotation count.
/// </summary>
/// <value>
/// The quotation count.
/// </value>
public int QuotationCount { get; set; }
/// <summary>
/// Gets or sets the name of the approved by.
/// </summary>
/// <value>
/// The name of the approved by.
/// </value>
public string ApprovedByName { get; set; }
/// <summary>
/// Gets or sets the approved by role.
/// </summary>
/// <value>
/// The approved by role.
/// </value>
public string ApprovedByRole { get; set; }
/// <summary>
///
/// </summary>
public string DetailApprovedByName { get; set; }
/// <summary>
/// gets or sets the detail approved by name.
/// </summary>
public string DetailApprovedBy { get; set; }
/// <summary>
/// gets or sets the detail approved date.
/// </summary>
public DateTime? DetailApprovedDate { get; set; }
/// <summary>
/// gets or sets the detail approved by role
/// </summary>
public string DetailApprovedByRole { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<RequestSupplierProductModel> Products { get; set; }
/// <summary>
/// Gets or sets the pharmacy request indent header id.
/// </summary>
/// <value>
/// The pharmacy request indent header id.
/// </value>
public int PharmacyRequestIndentHeaderId { get; set; }
/// <summary>
/// Gets or sets the indent number.
/// </summary>
/// <value>
/// The indent number.
/// </value>
public string IndentNumber { get; set; }
/// <summary>
/// Gets or sets the indent number.
/// </summary>
/// <value>
/// The Product.
/// </value>
public string Product { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>
/// The status.
/// </value>
public string Status { get; set; }
/// <summary>
/// Gets or sets the detail status.
/// </summary>
public string DetailStatus { get; set; }
}
/// <summary>
/// The request indent product model.
/// </summary>
public class RequestSupplierProductModel
{
}
}
using System;
namespace Hims.Shared.UserModels.Scan.ScanAppointment
{
/// <summary>
/// The book scan appointment.
/// </summary>
public class FetchBookScanAppointment
{
/// <summary>
/// Gets or sets the book scan appointment id.
/// </summary>
public int BookScanAppointmentId { get; set; }
/// <summary>
/// Gets or sets the book scan appointment id.
/// </summary>
public string ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the book scan appointment id.
/// </summary>
public int ScanMachineMasterIds { get; set; }
/// <summary>
/// Gets or sets the charge Category id.
/// </summary>
public int chargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the calendar view
/// </summary>
public string? EncryptedPatientId { get; set; }
/// <summary>
/// Gets or sets the book scan test master id.
/// </summary>
public string ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int? PatientId { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int? ProviderId { get; set; }
/// <summary>
/// Gets or sets the payment status.
/// </summary>
public bool? PaymentStatus { get; set; }
/// <summary>
/// Gets or sets the PndtReport status.
/// </summary>
public bool PndtReport { get; set; }
/// <summary>
/// Gets or sets the ScanScrollResult.
/// </summary>
public string ScanScrollResult { get; set; }
/// <summary>
/// Gets or sets the patient payment status.
/// </summary>
public bool PatientPaymentStatus { get; set; }
/// <summary>
/// Gets or sets the is new patient.
/// </summary>
public bool? IsNewPatient { get; set; }
/// <summary>
/// Gets or sets the pay type id.
/// </summary>
public int? PayTypeId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the location name.
/// </summary>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the machine name.
/// </summary>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string Mobile { get; set; }
/// <summary>
/// Gets or sets the appointment date time.
/// </summary>
public string AppointmentStartDateTime { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public string AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the umr no.
/// </summary>
public string UMRNO { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public string AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public string AppointmentEndTime { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public string Gender { get; set; }
/// <summary>
/// Gets or sets the FatherOrHusband name.
/// </summary>
public string FatherOrHusband { get; set; }
/// <summary>
/// Gets or sets the Full Address of patient.
/// </summary>
public string FullAddress { get; set; }
/// <summary>
/// Gets or sets the slot duration.
/// </summary>
public int SlotDuration { get; set; }
/// <summary>
/// Gets or sets the age.
/// </summary>
public int Age { get; set; }
/// <summary>
/// Gets or sets the appointment date time.
/// </summary>
public string AppointmentEndDateTime { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string Status { get; set; }
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string Reason { get; set; }
/// <summary>
/// Gets or sets the pay type name.
/// </summary>
public string PayTypeName { get; set; }
/// <summary>
/// Gets or sets the from date .
/// </summary>
public string? FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public string? ToDate { get; set; }
/// <summary>
/// Gets or sets the AppointmentTimeString
/// </summary>
public string? AppointmentTimeString { get; set; }
/// <summary>
/// Gets or sets the Charge Category Name.
/// </summary>
public string ChargeCategoryName { get; set; }
/// <summary>
/// Gets or sets the Amount.
/// </summary>
public double? Amount { get; set; }
/// <summary>
/// Gets or sets the actual paid Amount.
/// </summary>
public double? PaidAmount { get; set; }
/// <summary>
/// Gets or sets the refund of actual paid Amount.
/// </summary>
public double? RefundAmount { get; set; }
/// <summary>
/// Gets or sets the today;s paid Amount.
/// </summary>
public double? PaidAmt { get; set; }
/// <summary>
/// Gets or sets the patient registration Amount.
/// </summary>
public double? RegCharges { get; set; }
/// <summary>
/// Gets or sets the Scan Amount.
/// </summary>
public double? ScanAmount { get; set; }
/// <summary>
/// Gets or sets the Scan Net Amount.
/// </summary>
public double? NetAmount { get; set; }
/// <summary>
/// Gets or sets the Total scan and patient Discount.
/// </summary>
public double? TotalDiscount { get; set; }
/// <summary>
/// Gets or sets the discount amount.
/// </summary>
public double? DiscountAmount { get; set; }
/// <summary>
/// Gets or sets the is salucro appointment.
/// </summary>
public bool IsSalucroAppointment { get; set; }
/// <summary>
/// Gets or sets the requisition number.
/// </summary>
public string RequisitionNumber { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int? TotalItems { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int PageSize { get; set; }
/// <summary>
/// Gets or sets the insurance id.
/// </summary>
public char? TypeOfPayment { get; set; }
/// <summary>
/// Gets or sets the Scan Appointment Type.
/// </summary>
public string ScanAppointmentType { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double? ActualAmount { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double? Amt { get; set; }
/// <summary>
/// Gets or sets the Registration Discount In Rupees.
/// </summary>
public double? RegDiscountInRupees { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public bool IsDispatched { get; set; }
public string Gravida { get; set; }
public string PeriodOfGestation { get; set; }
public DateTime? EDD { get; set; }
public string PaymentType { get; set; }
public int? ReceiptId { get; set; }
public int? ScanDocumentId { get; set; }
public int? HWCPatientId { get; set; }
public string Type { get; set; }
/// <summary>
/// Gets or sets the provider Name.
/// </summary>
public string ProviderName { get; set; }
public string BackgroundColor { get; set; }
public string Indication { get; set; }
public bool IsPatRegPaid { get; set; }
public double PaidScanAmount { get; set; }
}
/// <summary>
/// The book scan appointment response.
/// </summary>
public class FetchBookScanAppointmentResponse
{
/// <summary>
/// Gets or sets the response.
/// </summary>
public int Response { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string PatientName { get; set; }
}
public class FetchPatientFutureAppointment
{
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
public string AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public string AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the location name.
/// </summary>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the scan machine name.
/// </summary>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the provider name.
/// </summary>
public string ProviderName { get; set; }
}
}
\ No newline at end of file
using Hims.Shared.UserModels.PatientExcel;
using System;
namespace Hims.Shared.UserModels.Scan.ScanAppointment
{
/// <summary>
/// The book scan appointment.
/// </summary>
public class InsertBookScanAppointment
{
/// <summary>
/// Gets or sets the book scan appointment id.
/// </summary>
public int? BookScanAppointmentId { get; set; }
/// <summary>
/// Gets or sets the json patient Details.
/// </summary>
public string? patientDetails { get; set; }
///// <summary>
///// Gets or sets the json patient Details.
///// </summary>
//public ModifyPatientRequest? patientJsonDetails { get; set; }
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the payment status.
/// </summary>
public bool PaymentStatus { get; set; }
/// <summary>
/// Gets or sets the pay type id.
/// </summary>
public int? PayTypeId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the location name.
/// </summary>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
public DateTime AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public string AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string? PatientName { get; set; }
/// <summary>
/// Gets or sets the payment number.
/// </summary>
public string? PaymentNumber { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the charge category id.
/// </summary>
public int? ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string? Status { get; set; } = "B";
/// <summary>
/// Gets or sets the booked status.
/// </summary>
public string? BookedStatus { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public char? Gender { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public string? Reason { get; set; }
/// <summary>
/// Gets or sets the appointment end time.
/// </summary>
public string AppointmentEndTime { get; set; }
/// <summary>
/// Gets or sets the log from.
/// </summary>
public int? LogFrom { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the paid amount.
/// </summary>
public double? PaidAmount { get; set; }
/// <summary>
/// Gets or sets the partially paid amount.
/// </summary>
public double? PartialAmount { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public decimal? Charges { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double? TotalAmt { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public double? Total { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string? TransactionId { get; set; }
/// <summary>
/// Gets or sets the transaction.
/// </summary>
public string? Transaction { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public int? SalucroStatusCode { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string? SalucroTransactionId { get; set; }
/// <summary>
/// Gets or sets the is salucro appointment.
/// </summary>
public bool IsSalucroAppointment { get; set; }
/// <summary>
/// Gets or sets the name of the machine.
/// </summary>
/// <value>
/// The name of the machine.
/// </value>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the name of the scan test.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string? Mobile { get; set; } = string.Empty;
///// <summary>
///// Gets or sets the full name.
///// </summary>
//public string? FullName { get; set; }
/// <summary>
/// Gets or sets the first name.
/// </summary>
public string FirstName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the last name.
/// </summary>
public string LastName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the address.
/// </summary>
public string? Address { get; set; }
/// <summary>
/// Gets or sets the Age.
/// </summary>
public int? Age { get; set; }
/// <summary>
/// Gets or sets the RelationType.
/// </summary>
public string? RelationType { get; set; }
/// <summary>
/// Gets or sets the RelativeMobile.
/// </summary>
public string? RelativeMobile { get; set; }
/// <summary>
/// Gets or sets the RelativeName.
/// </summary>
public string? RelativeName { get; set; }
/// <summary>
/// Gets or sets the RelativeName.
/// </summary>
public string ApptDate { get; set; }
/// <summary>
/// Gets or sets the Category.
/// </summary>
public string Category { get; set; }
/// <summary>
/// Gets or sets the Indication.
/// </summary>
public string Indication { get; set; }
/// <summary>
/// Gets or sets the authorityId.
/// </summary>
public int? AuthorityId { get; set; }
/// <summary>
/// Gets or sets the reasonId.
/// </summary>
public int? ReasonId { get; set; }
/// <summary>
/// Gets or sets the discountPerItem.
/// </summary>
public int? DiscountPerItem { get; set; }
/// <summary>
/// Gets or sets the discountPerItemInRupees.
/// </summary>
public double? DiscountPerItemInRupees { get; set; }
/// <summary>
/// Gets or sets the total amount.
/// </summary>
/// <value>
/// The total amount.
/// </value>
public double? TotalAmount { get; set; }
/// <summary>
/// Gets or sets the insurance id.
/// </summary>
public string TypeOfPayment { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double AmountCharges { get; set; }
/// <summary>
/// Gets or sets the Pndt Report.
/// </summary>
public bool PndtReport { get; set; }
/// <summary>
/// Gets or sets the Scan Scroll Result id.
/// </summary>
public int? ScanScrollResult { get; set; }
/// <summary>
/// Gets or sets the Gravida.
/// </summary>
public string Gravida { get; set; }
/// <summary>
/// Gets or sets the Period Of Gestation.
/// </summary>
public string PeriodOfGestation { get; set; }
/// <summary>
/// Gets or sets the Obstetric.
/// </summary>
public bool? Obstetric { get; set; }
/// <summary>
/// Gets or sets the EDD.
/// </summary>
public DateTime? EDD { get; set; }
/// <summary>
/// Gets or sets the AccompaniedBy.
/// </summary>
public string AccompaniedBy { get; set; }
/// <summary>
/// Gets or sets the Findings.
/// </summary>
public string Findings { get; set; }
/// <summary>
/// Gets or sets the Remarks.
/// </summary>
public string Remarks { get; set; }
/// <summary>
/// Gets or sets the Reasons.
/// </summary>
public string Reasons { get; set; }
/// <summary>
/// Gets or sets the Dispatched.
/// </summary>
public string Dispatched { get; set; }
/// <summary>
/// Gets or sets the BabyDetails.
/// </summary>
public string BabyDetails { get; set; }
/// <summary>
/// Gets or sets the is dispatched value.
/// </summary>
public bool IsDispatched { get; set; }
/// <summary>
/// Gets or sets the provider id.
/// </summary>
public int ProviderId { get; set; }
/// <summary>
/// Gets or sets the patient discount in percentage.
/// </summary>
public decimal? PatientDiscountInPercentage { get; set; }
/// <summary>
/// Gets or sets the patient discount in rupees.
/// </summary>
public decimal? PatientDiscountInRupees { get; set; }
/// <summary>
/// Gets or sets the patient total.
/// </summary>
public decimal? PatientTotal { get; set; }
/// <summary>
/// Gets or sets the appointment discount in percentage.
/// </summary>
public decimal? AppointmentDiscountInPercentage { get; set; }
/// <summary>
/// Gets or sets the appointment discount in rupees.
/// </summary>
public decimal? AppointmentDiscountInRupees { get; set; }
/// <summary>
/// Gets or sets the appointment total.
/// </summary>
public decimal? AppointmentTotal { get; set; }
/// <summary>
/// Gets or sets the after discount amount.
/// </summary>
public decimal? AfterDiscount { get; set; }
}
}
using Hims.Shared.EntityModels;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Scan.BookAppointment
{
/// <summary>
/// The modify patient request.
/// </summary>
public class ModifyPatientDetails
{
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the salutation.
/// </summary>
public string? Salutation { get; set; }
/// <summary>
/// Gets or sets the first name.
/// </summary>
public string FirstName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the middle name.
/// </summary>
public string? MiddleName { get; set; }
/// <summary>
/// Gets or sets the last name.
/// </summary>
public string LastName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the father or husband.
/// </summary>
public string FatherOrHusband { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the full name.
/// </summary>
public string FullName { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the full name.
/// </summary>
public string AadharNo { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the date of birth.
/// </summary>
public DateTime? DateOfBirth { get; set; }
/// <summary>
/// Gets or sets the age.
/// </summary>
public short? Age { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
public char? Gender { get; set; }
/// <summary>
/// Gets or sets the email.
/// </summary>
public string Email { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the mobile.
/// </summary>
public string Mobile { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the street address.
/// </summary>
public string? StreetAddress { get; set; }
/// <summary>
/// Gets or sets the address line 2.
/// </summary>
public string? AddressLine2 { get; set; }
/// <summary>
/// Gets or sets the city.
/// </summary>
public string? City { get; set; }
/// <summary>
/// Gets or sets the state.
/// </summary>
public string? State { get; set; }
/// <summary>
/// Gets or sets the Zipcode.
/// </summary>
public string? Zipcode { get; set; }
/// <summary>
/// Gets or sets the country id.
/// </summary>
/// public int CountryId { get; set; }
public int? CountryId { get; set; }
/// <summary>
/// Gets or sets the profile image url.
/// </summary>
public string? ProfileImageUrl { get; set; }
/// <summary>
/// Gets or sets the thumbnail url.
/// </summary>
public string? ThumbnailUrl { get; set; }
/// <summary>
/// Gets or sets the base 64 profile image.
/// </summary>
public string? Base64ProfileImage { get; set; }
/// <summary>
/// Gets or sets the password.
/// </summary>
public string? Password { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the emergency contacts.
/// </summary>
public List<PatientEmergencyModel>? EmergencyContacts { get; set; }
/// <summary>
/// Gets or sets the insurances.
/// </summary>
public List<PatientInsuranceModel>? Insurances { get; set; }
/// <summary>
/// Gets or sets the relative details.
/// </summary>
public List<PatientFamilyModel>? RelativeDetails { get; set; }
/// <summary>
/// Gets or sets the referral code.
/// </summary>
public string? ReferralCode { get; set; }
/// <summary>
/// Gets or sets the referral code.
/// </summary>
public int? ReferralBy { get; set; }
/// <summary>
/// Gets or sets the RoleId.
/// </summary>
public short? RoleId { get; set; }
/// <summary>
/// Gets or sets the Created by name.
/// </summary>
public string? CreatedByName { get; set; }
/// <summary>
/// Gets or sets the Created by name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the Referred by.
/// </summary>
public string? ReferredBy { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? ReferredByName { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
/// <value>
/// The location identifier.
/// </value>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the HWC patient identifier.
/// </summary>
/// <value>
/// The HWC patient identifier.
/// </value>
public int? HWCPatientId { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? Education { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? Occupation { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public char? MaritalStatus { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? Religion { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? Nationality { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? RelationName { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? RelativeMobile { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? RelativeOccupation { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? RealtiveEducation { get; set; }
/// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? RelativeDateOfBirth { get; set; }
// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? RelativeGender { get; set; }
// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? Relation { get; set; }
// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public int? PatientReferredById { get; set; }
// <summary>
/// Gets or sets the Referred by name.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Gets or sets the id proof id identifier.
/// </summary>
/// <value>
/// The id proof id identifier.
/// </value>
public int? IdProofId { get; set; }
/// <summary>
/// Gets or sets the id proof value.
/// </summary>
public string? IdProofValue { get; set; }
/// <summary>
/// Gets or sets the Blood group
/// </summary>
public string? BloodGroup { get; set; }
/// <summary>
/// Gets or sets payment status.
/// </summary>
public bool? PaymentStatus { get; set; }
/// <summary>
/// Gets or sets payment number.
/// </summary>
public string? PaymentNumber { get; set; }
/// <summary>
/// Gets or sets the Pay type id from payType masters.
/// </summary>
public int? PayTypeId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public decimal? Charges { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public decimal? Amount { get; set; }
/// <summary>
/// Gets or sets the id proof Number.
/// </summary>
public string? IdProofNo { get; set; }
/// <summary>
/// Gets or sets the id proof id identifier.
/// </summary>
/// <value>
/// The id proof id identifier.
/// </value>
public int? HowDidYouKnowId { get; set; }
/// <summary>
/// Gets or sets the id proof id identifier.
/// </summary>
/// <value>
/// The id proof id identifier.
/// </value>
public int? EducationId { get; set; }
/// <summary>
/// Gets or sets the id proof id identifier.
/// </summary>
/// <value>
/// The id proof id identifier.
/// </value>
public int? OccupationId { get; set; }
/// <summary>
/// Gets or sets the birthMark1.
/// </summary>
public string? BirthMark1 { get; set; }
/// <summary>
/// Gets or sets the birthMark1.
/// </summary>
public string? BirthMark2 { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string? TransactionId { get; set; }
/// <summary>
/// Gets or sets the transaction.
/// </summary>
public string? Transaction { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public int? SalucroStatusCode { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public string? SalucroTransactionId { get; set; }
/// <summary>
/// Gets or sets the total.
/// </summary>
public decimal? TotalAmount { get; set; }
/// <summary>
/// Gets or sets payment status.
/// </summary>
public bool? IsUnidentified { get; set; }
/// <summary>
/// Gets or sets the type of the relation.
/// </summary>
/// <value>
/// The type of the relation.
/// </value>
public string? RelationType { get; set; }
/// <summary>
/// Gets or sets the occupation detail.
/// </summary>
/// <value>
/// The occupation detail.
/// </value>
public string? OccupationDetail { get; set; }
/// <summary>
/// Gets or sets the transaction id.
/// </summary>
public int? PaymentInitiationLogId { get; set; }
/// <summary>
/// Gets or sets payment status.
/// </summary>
public bool? SaveRelativeAsPatient { get; set; }
/// <summary>
/// Gets or sets payment status.
/// </summary>
public string? Relative { get; set; }
/// <summary>
/// Gets or sets TypeOfPayment.
/// </summary>
public string TypeOfPayment { get; set; }
/// <summary>
/// Gets or sets the patient discount in percentage.
/// </summary>
public decimal? PatientDiscountInPercentage { get; set; }
/// <summary>
/// Gets or sets the patient discount in rupees.
/// </summary>
public decimal? PatientDiscountInRupees { get; set; }
/// <summary>
/// Gets or sets the patient total.
/// </summary>
public decimal? PatientTotal { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels.Scan.ScanAppointment
{
using Hims.Shared.UserModels.NurseShift;
using System;
using System.Reflection;
/// <summary>
/// The reschedule appointment request.
/// </summary>
public class RescheduleScanAppointmentRequest
{
/// <summary>
/// Gets or sets the appointment id.
/// </summary>
public int BookScanAppointmentId { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
public DateTime AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the AppointmentDateModel.
/// </summary>
public DateModel AppointmentDateModel { get; set; }
/// <summary>
/// Gets or sets the appointment notes.
/// </summary>
public string? AppointmentNotes { get; set; }
/// <summary>
/// Gets or sets the reschedule reason.
/// </summary>
public string? RescheduleReason { get; set; }
/// <summary>
/// Gets or sets the cancel reason.
/// </summary>
public string? Reason { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string? CreatedByName { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string? PatientName { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public string AppointmentTime { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public short LogFrom { get; set; }
/// <summary>
/// Gets or sets the location identifier.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the appointment time.
/// </summary>
public string AppointmentEndTime { get; set; } = string.Empty;
/// <summary>
/// /Gets or sets the scan machine master id.
/// </summary>
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the name of the machine.
/// </summary>
public string? MachineName { get; set; }
/// <summary>
/// Gets or sets the appointment ids.
/// </summary>
public string? AppointmentIds { get; set; }
/// <summary>
/// Gets or sets the ApptDate.
/// </summary>
public string? ApptDate { get; set; }
}
public class RescheduleScanAppointmentDetails
{
/// <summary>
/// Gets or sets the patient id.
/// </summary>
public int PatientId { get; set; }
/// <summary>
/// Gets or sets the patient name.
/// </summary>
public string? PatientName { get; set; }
/// <summary>
/// Gets or sets the patient requisition number.
/// </summary>
public string? RequisitionNumber { get; set; }
/// <summary>
/// Gets or sets the patient Mobile.
/// </summary>
public string? Mobile { get; set; }
/// <summary>
/// Gets or sets the scan appointment payment status.
/// </summary>
public bool? PaymentStatus { get; set; }
/// <summary>
/// Gets or sets the scan machine name.
/// </summary>
public string? MachineName { get; set; }
/// <summary>
/// Gets or sets the scan appointment date.
/// </summary>
public DateTime AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the scan appointment time.
/// </summary>
public string? AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the scan location identifier.
/// </summary>
public int? LocationId { get; set; }
}
}
using System;
using System.Collections.Generic;
namespace Hims.Shared.UserModels.Scan.ScanAppointment
{
/// <summary>
/// The book scan appointment.
/// </summary>
public class FilterModel
{
/// <summary>
/// Gets or sets the book scan appointment id.
/// </summary>
public string ScanMachineMasterIds { get; set; }
/// <summary>
/// Gets or sets the book scan appointment id.
/// </summary>
public string? ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public string? ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the book scan appointment id.
/// </summary>
public int? BookScanAppointmentId { get; set; }
/// <summary>
/// Gets or sets the slot duration.
/// </summary>
public int? SlotDuration { get; set; }
/// <summary>
/// Gets or sets the slot duration.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? AppointmentEndDate { get; set; }
/// <summary>
/// Gets or sets the calendar view
/// </summary>
public string? CalendarView { get; set; }
/// <summary>
/// Gets or sets the calendar view
/// </summary>
public string? EncryptedAppointmentId { get; set; }
/// <summary>
/// Gets or sets the calendar view
/// </summary>
public string? EncryptedPatientId { get; set; }
/// <summary>
/// Gets or sets the appointment status.
/// </summary>
public bool AppointmentStatus { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
public List<AppFilterModel> Filter { get; set; }
}
/// <summary>
/// The App filter model.
/// </summary>
public class AppFilterModel
{
/// <summary>
/// Gets or sets the from date.
/// </summary>
public string FromDate { get; set; }
}
}
namespace Hims.Shared.UserModels.Scan.ScanClassification
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The Id Proof Identifier
/// </summary>
#pragma warning disable S101 // Types should be named in PascalCase
public class FetchModel
#pragma warning restore S101 // Types should be named in PascalCase
{
/// <summary>
/// Gets or sets the scan classification id.
/// </summary>
/// <value>
/// The Id proof identifier.
/// </value>
public int ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the name of the scan classification.
/// </summary>
/// <value>
/// The name of the scan classification.
/// </value>
public string ScanClassificationName { get; set; }
/// <summary>
/// Gets or sets the name of the modify name.
/// </summary>
/// <value>
/// The name of the modify name.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the name of the created by name.
/// </summary>
/// <value>
/// The name of the modify name.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ScanClassification"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int PageSize { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public int TotalItems { get; set; }
}
}
namespace Hims.Shared.UserModels.Scan.ScanClassification
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The Id Proof Identifier
/// </summary>
#pragma warning disable S101 // Types should be named in PascalCase
public class InsertModel
#pragma warning restore S101 // Types should be named in PascalCase
{
/// <summary>
/// Gets or sets the scan classification id.
/// </summary>
/// <value>
/// The Id proof identifier.
/// </value>
public int ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the name of the scan classification.
/// </summary>
/// <value>
/// The name of the scan classification.
/// </value>
public string ScanClassificationName { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the name of the modify name.
/// </summary>
/// <value>
/// The name of the modify name.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ScanClassification"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the login Role value id.
/// </summary>
public int? LoginRoleId { get; set; }
}
}
namespace Hims.Shared.UserModels.Scan.ScanMachine
{
using Hims.Shared.UserModels.Scan.ScanTest;
using System;
using System.Collections.Generic;
/// <summary>
/// The scan machine.
/// </summary>
public class MachineImportModel
{
/// <summary>
/// Gets or sets the list of Tests.
/// </summary>
public List<MachineMapModel> Machines { get; set; }
/// <summary>
/// Gets or sets the machine name.
/// </summary>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the display name.
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the scan machine test map id.
/// </summary>
public int ScanMachineTestMapId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the allowed account identifier.
/// </summary>
/// <value>
/// The allowed account identifier.
/// </value>
public string PerformedTestId { get; set; }
}
public class MachineMapModel
{
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public string ScanTestMasterId { get; set; }
}
}
namespace Hims.Shared.UserModels.Scan.ScanMachine
{
using System;
using System.Collections.Generic;
/// <summary>
/// The coupon.
/// </summary>
public class ScanMachineFetchModel
{
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the machine name.
/// </summary>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the display name.
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the scan machine test map id.
/// </summary>
public int? ScanMachineTestMapId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public string ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int? ScanTestId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public string LocationNames { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public int? TotalItems { get; set; }
}
}
namespace Hims.Shared.UserModels.Scan.ScanMachine
{
using System;
using System.Collections.Generic;
/// <summary>
/// The scan machine.
/// </summary>
public class ScanMachineInsertModel
{
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the machine name.
/// </summary>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the display name.
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the scan machine test map id.
/// </summary>
public int ScanMachineTestMapId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public string ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the location ids.
/// </summary>
/// <value>
/// The location ids.
/// </value>
public string LocationIds { get; set; }
/// <summary>
/// Gets or sets the allowed account identifier.
/// </summary>
/// <value>
/// The allowed account identifier.
/// </value>
public string PerformedTestId { get; set; }
}
}
using Hims.Shared.UserModels.Slots;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Scan.ScanMachineAvailability
{
public class ScanMachineAvailabilityBasedOnDaysModel
{
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int? ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the count.
/// </summary>
public int? Count { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string? ScanTestName { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public int? Duration { get; set; }
/// <summary>
/// Gets or sets the machine name.
/// </summary>
public string? MachineName { get; set; }
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int? ScanMachineMasterId { get; set;}
/// <summary>
/// Gets or sets location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the appointment date.
/// </summary>
public DateTime? AppointmentDate { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public string? FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public string? ToDate { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
public string Type { get; set; }
}
public class ScanSlotModel
{
/// <summary>
/// Gets or sets the slot value.
/// </summary>
public string SlotValue { get; set; }
/// <summary>
/// Gets or sets the slot time.
/// </summary>
public TimeSpan SlotTime { get; set; }
/// <summary>
/// Gets or sets the slot name.
/// </summary>
public string SlotName { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
public SlotStatus Status { get; set; }
/// <summary>
/// Gets or sets the token number.
/// </summary>
/// <value>
/// The token number.
/// </value>
public int TokenNumber { get; set; }
/// <summary>
/// Gets or sets the charge.
/// </summary>
public int? Charge { get; set; }
/// <summary>
/// Gets or sets the duration
/// </summary>
public int? Duration { get; set; }
/// <summary>
/// Gets or sets or sets the provider Availbaility id.
/// </summary>
public int? ProviderAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the provider availability chargeType id
/// </summary>
public int? DoctorSpecializationChargeModuleDetailsId { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
public string? Value { get; set; }
/// <summary>
/// Gets or sets the SlotValue24HoursEnd.
/// </summary>
public string SlotValue24HoursEnd { get; set; }
/// <summary>
/// Gets or sets the slot name.
/// </summary>
public string SlotName12HoursEnd { get; set; }
/// <summary>
/// Gets or sets the available date.
/// </summary>
public string? AvailableDate { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>
public string? Id { get; set; }
/// <summary>
/// Gets or sets the slot type.
/// </summary>
public SlotType SlotType { get; set; }
/// <summary>
/// Gets or sets the machine master id.
/// </summary>
public int? ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the end time.
/// </summary>
public string? EndTime { get; set; }
}
public class MachineSlots
{
/// <summary>
/// Gets or sets the machine name.
/// </summary>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the list of scan time slots.
/// </summary>
public List<ScanSlotModel> ScanTimeSlot { get; set; }
/// <summary>
/// Gets or sets the message.
/// </summary>
public string? Meassage { get; set; }
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int? ScanMachineMasterId { get; set; }
}
public class DateWiseMachines
{
/// <summary>
/// Gets or sets the dates.
/// </summary>
public string Dates { get; set; }
/// <summary>
/// Gets or sets list of machine slots.
/// </summary>
public List<MachineSlots> MachineSlots { get; set; }
/// <summary>
/// Gets or sets availability meassage.
/// </summary>
public string? AvailabilityMessage { get; set; }
}
public class AppointmentTimings
{
/// <summary>
/// Gets or sets the start time.
/// </summary>
public TimeSpan AppointmentTime { get; set; }
/// <summary>
/// Gets or sets the end time.
/// </summary>
public TimeSpan AppointmentEndTime { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Scan.ScanMachineAvailability
{
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public class ScanMachineAvailabilityFetchModel
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
{
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public string? ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public string? ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string? StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string? EndDate { get; set; }
/// <summary>
/// Gets or sets the calendar view
/// </summary>
public string? CalendarView { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Scan.ScanMachineAvailability
{
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public class ScanMachineAvailabilityFilterModel
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
{
/// <summary>
/// Gets or sets the scan machine availability id.
/// </summary>
public int? ScanMachineAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the slots duration.
/// </summary>
public int? SlotDuration { get; set; }
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int? ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the to time.
/// </summary>
public string ToTime { get; set; }
/// <summary>
/// Gets or sets the display name.
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the from time.
/// </summary>
public string FromTime { get; set; }
/// <summary>
/// Gets or sets the room name.
/// </summary>
public string RoomName { get; set; }
/// <summary>
/// Gets or sets the machine name.
/// </summary>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string AvailableDays { get; set; }
/// <summary>
/// Gets or sets the Availability.
/// </summary>
public string Availability { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime? CreatedDate { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public DateTime? FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public DateTime? ToDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the role id.
/// </summary>
public int? RoleId { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the start date.
/// </summary>
public string StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
public string EndDate { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the scan machine test map id.
/// </summary>
public int? ScanMachineTestMapId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int? ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the scan test code.
/// </summary>
public string ScanTestCode { get; set; }
/// <summary>
/// Gets or sets the reference break id.
/// </summary>
public int? ScanAvailabilityStatus { get; set; }
/// <summary>
/// Gets or sets the reference block id.
/// </summary>
public int? ScanAvailabilityReason { get; set; }
/// <summary>
/// Gets or sets the scan availability status name.
/// </summary>
public string ScanAvailabilityStatusName { get; set; }
/// <summary>
/// Gets or sets the scan availablity reason name.
/// </summary>
public string ScanAvailabilityReasonName { get; set; }
/// <summary>
/// Gets or sets the ScanAvailabilityReasonColor .
/// </summary>
public string? ScanAvailabilityReasonColor { get; set; }
/// <summary>
/// Gets or sets the scan week id.
/// </summary>
public int? ScanWeekId { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Hims.Shared.UserModels.Scan.ScanMachineAvailability
{
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public class ScanMachineAvailabilityInsertModel
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
{
/// <summary>
/// Gets or sets the scan machine availability id.
/// </summary>
public int ScanMachineAvailabilityId { get; set; }
/// <summary>
/// Gets or sets the scan machine master id.
/// </summary>
public int ScanMachineMasterId { get; set; }
/// <summary>
/// Gets or sets the available days.
/// </summary>
public string AvailableDays { get; set; }
/// <summary>
/// Gets or sets the machine name.
/// </summary>
public string MachineName { get; set; }
/// <summary>
/// Gets or sets the Availability.
/// </summary>
public string Availability { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the from date.
/// </summary>
public DateTime FromDate { get; set; }
/// <summary>
/// Gets or sets the to date.
/// </summary>
public DateTime ToDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the from time.
/// </summary>
public string Slots { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the scan week id.
/// </summary>
public int? ScanWeekId { get; set; }
}
}
/// <summary>
/// The SLot Model Test.
/// </summary>
public class SlotModelTest
{
/// <summary>
/// Gets or sets the from time
/// </summary>
public string FromTime { get; set; }
/// <summary>
/// Gets or sets the to time.
/// </summary>
public string ToTime { get; set; }
/// <summary>
/// Gets or sets the created by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the reference break id.
/// </summary>
public int? ScanAvailabilityStatus { get; set; }
/// <summary>
/// Gets or sets the reference block id.
/// </summary>
public int? ScanAvailabilityReason { get; set; }
}
namespace Hims.Shared.UserModels.Scan.ScanSubClassification
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The Id Proof Identifier
/// </summary>
#pragma warning disable S101 // Types should be named in PascalCase
public class FetchModel
#pragma warning restore S101 // Types should be named in PascalCase
{
/// <summary>
/// Gets or sets the scan classification id.
/// </summary>
/// <value>
/// The Id proof identifier.
/// </value>
public int? ScanSubClassificationId { get; set; }
/// <summary>
/// Gets or sets the name of the scan classification.
/// </summary>
/// <value>
/// The name of the scan classification.
/// </value>
public string ScanSubClassificationName { get; set; }
/// <summary>
/// Gets or sets the scan classification id.
/// </summary>
/// <value>
/// The Id proof identifier.
/// </value>
public int ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the name of the scan classification.
/// </summary>
/// <value>
/// The name of the scan classification.
/// </value>
public string ScanClassificationName { get; set; }
/// <summary>
/// Gets or sets the name of the modify name.
/// </summary>
/// <value>
/// The name of the modify name.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the name of the created by name.
/// </summary>
/// <value>
/// The name of the modify name.
/// </value>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ScanClassification"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int PageIndex { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int? TotalItems { get; set; }
}
}
namespace Hims.Shared.UserModels.Scan.ScanSubClassification
{
using Hims.Shared.Dapper.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// The Id Proof Identifier
/// </summary>
#pragma warning disable S101 // Types should be named in PascalCase
public class InsertModel
#pragma warning restore S101 // Types should be named in PascalCase
{
/// <summary>
/// Gets or sets the scan classification id.
/// </summary>
/// <value>
/// The Id proof identifier.
/// </value>
public int ScanSubClassificationId { get; set; }
/// <summary>
/// Gets or sets the scan classification id.
/// </summary>
/// <value>
/// The Id proof identifier.
/// </value>
public int ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the name of the scan classification.
/// </summary>
/// <value>
/// The name of the scan classification.
/// </value>
public string ScanSubClassificationName { get; set; }
/// <summary>
/// Gets or sets the name of the modify name.
/// </summary>
/// <value>
/// The name of the modify name.
/// </value>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ScanClassification"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the login Role value id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public DateTime? ModifiedDate { get; set; }
public List<DetailModel> Details { get; set; }
}
public class DetailModel
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The modified date.
/// </value>
public string ScanSubClassificationName { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
/// <value>
/// The modified by.
/// </value>
public int? ScanSubClassificationId { get; set; }
/// <summary>
/// Gets or sets the scan classification id.
/// </summary>
/// <value>
/// The Id proof identifier.
/// </value>
public int ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="ScanClassification"/> is active.
/// </summary>
/// <value>
/// <c>true</c> if active; otherwise, <c>false</c>.
/// </value>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
/// <value>
/// The created by.
/// </value>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
/// <value>
/// The created date.
/// </value>
public DateTime CreatedDate { get; set; }
}
}
namespace Hims.Shared.UserModels.Scan.ScanTest
{
using System;
using System.Collections.Generic;
/// <summary>
/// The request indent header model.
/// </summary>
public class ScanTestInsertModel
{
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the scan test code.
/// </summary>
public string ScanTestCode { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public decimal Duration { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int CreatedBy { get; set; }
/// <summary>
/// Gets or sets the login role id.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the location ids.
/// </summary>
/// <value>
/// The location ids.
/// </value>
public string LocationIds { get; set; }
/// <summary>
/// Gets or sets the name of the location.
/// </summary>
/// <value>
/// The name of the location.
/// </value>
public string? LocationNames { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
public string Type { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the Scan Sub Classification Id.
/// </summary>
public int? ScanSubClassificationId { get; set; }
/// <summary>
/// Gets or sets the test sub category.
/// </summary>
public int? ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the products.
/// </summary>
/// <value>
/// The products.
/// </value>
public List<ScanChargesModel> Charges { get; set; }
}
/// <summary>
/// The request indent product model.
/// </summary>
public class ScanChargesModel
{
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the location ids.
/// </summary>
/// <value>
/// The location ids.
/// </value>
public string LocationId { get; set; }
/// <summary>
/// Gets or sets the charge types id.
/// </summary>
public int ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the charge category name.
/// </summary>
public string ChargeCategoryName { get; set; }
}
}
#nullable enable
namespace Hims.Shared.UserModels
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Shared.Dapper.Attributes;
/// <summary>
/// The encounter.
/// </summary>
public class ScanTestMasterModel
{
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int? ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int? LocationScanTestMasterMapId { get; set; }
/// <summary>
/// Gets or sets the scan test name.
/// </summary>
public string ScanTestName { get; set; }
/// <summary>
/// Gets or sets the scan test code.
/// </summary>
public string ScanTestCode { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets or sets the ScanClassificationName.
/// </summary>
public string ScanClassificationName { get; set; }
/// <summary>
/// Gets or sets the Scan Sub Classification Name.
/// </summary>
public string ScanSubClassificationName { get; set; }
/// <summary>
/// Gets or sets the duration.
/// </summary>
public decimal Duration { get; set; }
/// <summary>
/// Gets or sets a value indicating whether active.
/// </summary>
public bool? Active { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? CreatedBy { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? ScanClassificationId { get; set; }
/// <summary>
/// Gets or sets the Scan Sub Classification Id.
/// </summary>
public int? ScanSubClassificationId { get; set; }
/// <summary>
/// Gets or sets the created by.
/// </summary>
public int? LoginRoleId { get; set; }
/// <summary>
/// Gets or sets the created date.
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// Gets or sets the modified by.
/// </summary>
public int? ModifiedBy { get; set; }
/// <summary>
/// Gets or sets the modified date.
/// </summary>
public DateTime? ModifiedDate { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string? ModifiedByName { get; set; }
/// <summary>
/// Gets or sets the modified by name.
/// </summary>
public string CreatedByName { get; set; }
/// <summary>
/// Gets or sets the location ids.
/// </summary>
/// <value>
/// The location ids.
/// </value>
public string LocationIds { get; set; }
/// <summary>
/// Gets or sets the name of the location.
/// </summary>
/// <value>
/// The name of the location.
/// </value>
public string? LocationNames { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the charge category name.
/// </summary>
public string ChargeCategoryName { get; set; }
/// <summary>
/// Gets or sets the location name.
/// </summary>
public string LocationName { get; set; }
/// <summary>
/// Gets or sets the Charge Category id.
/// </summary>
public int? ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int? LocationId { get; set; }
/// <summary>
/// Gets or sets the page size.
/// </summary>
public int? PageSize { get; set; }
/// <summary>
/// Gets or sets the page index.
/// </summary>
public int? PageIndex { get; set; }
/// <summary>
/// Gets or sets the total items.
/// </summary>
public int? TotalItems { get; set; }
/// <summary>
/// Gets or sets test category.
/// </summary>
public int? TestCategory { get; set; }
/// <summary>
/// Gets or sets test sub category.
/// </summary>
public int? TestSubCategory { get; set; }
/// <summary>
/// Gets or sets the term.
/// </summary>
/// <value>
/// The term.
/// </value>
public string? Term { get; set; }
/// <summary>
/// Gets or sets the charges.
/// </summary>
/// <value>
/// The charges.
/// </value>
public List<TestChargeModel> Charges { get; set; }
}
public class TestChargeModel
{
/// <summary>
/// Gets or sets the scan test master id.
/// </summary>
public int ScanTestMasterId { get; set; }
/// <summary>
/// Gets or sets the amount.
/// </summary>
public double Amount { get; set; }
/// <summary>
/// Gets or sets the Charge Category id.
/// </summary>
public int ChargeCategoryId { get; set; }
/// <summary>
/// Gets or sets the location id.
/// </summary>
public int LocationId { get; set; }
/// <summary>
/// Gets or sets the charge category name.
/// </summary>
public string ChargeCategoryName { get; set; }
}
}
\ No newline at end of file
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