Commit 94ea8e58 authored by Sandeep Sagar Panjala's avatar Sandeep Sagar Panjala

initial commit

parent 2035908a
import { Time } from "@angular/common";
export class Session {
sessionId: number;
providerId: number;
fromDate: Date;
toDate: Date;
active: boolean;
createdBy: number;
modifiedBy: number;
createdDate: Date;
totalItems: number;
modifiedDate: Date;
createdByName: string;
modifiedByName: string;
slots: Array<SlotsDetail>;
startTime?: Time;
endTime?: Time;
startTimeString: string;
endTimeString: string;
sessionTypeName: string;
sessionTypeId: number;
doctorName: string;
date?: Date;
availabilityCount: number;
locationName: string;
locationId: number;
constructor() {
this.slots = new Array<SlotsDetail>();
}
}
export class SlotsDetail {
sessionTypeId: number;
fromTime: number;
toTime: number;
availabilityCount: number;
}
\ No newline at end of file
export class AmbulanceReceipt {
ambulanceRecieptId: number;
recieptNo: string;
ambulanceId: number;
driverDetailId: number;
patientName: string;
address: string;
patientMobile: string;
adharno: string;
amount: number;
fromLocation: string;
toLocation: string;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
ambulanceNo: string;
driverDetailName: string;
}
\ No newline at end of file
import { Time } from "@angular/common";
export class DriverDetails {
driverDetailId: number;
driverDetailName: string;
mobileNo: string;
aadharNo: string;
address: string;
fromTime: Time;
toTime: Time;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
}
\ No newline at end of file
import { RoleBasedDiscount } from "./role-based-discounts.entity";
export class DiscountModule {
discountModuleId: number;
createdBy: number;
moduleName: string;
icon: string;
roles: string;
createdByName: string;
modifiedByName: string;
modifiedByRole: string;
roleDiscounts: Array<RoleBasedDiscount>;
allowedRoles: Array<any>;
createdDate:Date;
modifiedDate: Date;
active: boolean;
constructor() {
this.roleDiscounts = new Array<RoleBasedDiscount>();
this.allowedRoles = new Array<any>();
}
}
\ No newline at end of file
export * from "./discount-modules.entity";
export * from "./role-based-discounts.entity";
\ No newline at end of file
export class RoleBasedDiscount {
discountsPerModuleId: number;
discountModuleId: number;
allowedPercentage: number;
createdBy: number;
roleId: number;
}
\ No newline at end of file

export class MasterBillModel {
billNumber: number;
billDate: Date;
createdDate: Date;
modifiedDate: Date;
createdByName: string;
modifiedByName: string;
deposit: number;//o/s amount
total: number;
netTotal: number;
discount: number;
tax: number;
refund: number;
rounding: number;
patientName: string;
moduleName: string;
name: string;
moduleId: number;
paymentIntiateUrl: string;
paidAmount: number;
pendingAmount: number;
umrNo: string;
mobile: string;
receiptSum: number;//deposit if not equal to bill amount
receipts_Cost: string;
receipts: string;
billStatusTypeId: number;
billStatus: string;
appointmentDate: Date;
appointmentNo: string;
patientId: number;
opConsultation: number;
scanConsultation: number;
lab: number;
pharmacy: number;
registrationCharges: number;
receiptAreaTypeId: number;
encryptedPatientId: string;
modulesName: string;
}
export class MealTypes {
mealTypeId: number;
mealType: string;
mealInstruction: string;
active: boolean;
totalItems: number;
modifiedByName: string;
createdBy: number;
createdByName: string;
loginRoleId: number;
isSelected: boolean;
endDate: Date;
isMorning: boolean;
isAfternoon: boolean;
isNight: boolean;
dietFrequency: Array<DietFrequency>;
locationIds: string;
}
export class DietFrequency {
dietInstructionTypeId: number;
dietInstructionDeepTypeId: number;
dietInstructionName: string;
progressReportdietFrequencyId: string;
dietDate: Date;
status: boolean
}
\ No newline at end of file
export class MedicationCount {
fromDate: Date;
toDate: Date;
pharmacyProductId?: number;
medicineCount?: number;
productName?: string;
rankNumber?: number;
}
\ No newline at end of file
export class Message {
messageId: number;
appointmentId: number;
providerId: number;
patientId: number;
messages: string;
active: boolean;
doctorMessageCount?: number;
patientMessageCount?: number;
}
\ No newline at end of file
export class ModuleMaster {
modulesMasterId: number;
moduleName: string;
moduleIcon: string;
moduleDescription: string;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate: Date;
createdByName: string;
modifiedByName: string;
packageType: string;
isChargeCategoryApplicable: boolean;
isDoctorChargeCategoryApplicable: boolean;
loginRoleId: number;
locationId: number;
}
export class ObEncounterFullTranscript {
appointmentId: number;
appointmentNo: string;
patientId: number;
obEncounterId: number;
encryptedPatientId: string;
encounterId?: number;
patientName: string;
patientAge?: number;
patientDateOfBirth?: Date;
patientGender: string;
patientMobile: string;
patientThumbnailUrl: string;
patientCountryCode: string;
appointmentDate: Date;
appointmentTime: object;
providerName: string;
appointmentTimeString: string;
problemList: string;
briefRos: string;
geneticScreening: string;
infectionHistory: string;
followUp: string;
medicationcomment: string;
notes: string;
vitals: string;
socialHistory: string;
breastExamination: string;
vaginalExamination: string;
ancCaredClosure: string;
ancCardGeneration: string;
medicationComment: string;
planOfManagement: string;
allergies: string;
umrNo: string;
patientNo: string;
medications: string;
signature: string;
clinicPicture: string;
practiceLocation: string;
practiceName: string;
specializationName: string;
providerNo: string;
educations: string;
complaints: string;
obstetricExamination: string;
vteRisk: string;
sgaScanning: string;
surgery: string;
orderPrescription: string;
drugHistory: string;
menstrualHistory: string;
procedureForm: string;
antinantalRisk: string;
otherDetail: string;
obBirthHistory: string;
measure: string;
generalExamination: string;
breech: string;
ancCard: string;
covid: string;
postnantalVisit: string;
vaccine: string;
anaesthesiaRecord: string;
prepregnancyCounseling: string;
partner: string;
email: string;
friendlyName: string;
isAppointmentClosed: boolean;
familyHistory: string;
outPatientManagement: string;
specialFeature: string;
prePregnancyPlan: string;
referralForm: string;
refferalOrder: string;
admissionSlip: string;
syndromes: string;
opManagement: string;
motherWithEpilepsy: string;
externalCephalicVersion: string;
dischargeSummary: string;
nurseAssessment: string;
scanAppointmentDetails: string;
outSideTests: string;
birthHistory: string;
surgeries: string;
}
\ No newline at end of file
export class OBPatientPrescription {
//appointmentId: number;
//patientId: number;
//patientName: string;
//encryptedPatientId: string;
//patientAge?: number;
//patientDateOfBirth?: Date;
//patientGender: string;
//patientMobile: string;
//patientThumbnailUrl: string;
//patientCountryCode: string;
//appointmentDate: Date;
//appointmentTime: object;
//appointmentTimeString: string;
//behavioralHealthId?: number;
//problemHistory: string;
//medicalHistory: string;
//currentSupport: string;
//currentLiving: string;
//educationalHistory: string;
//clientStrengths: string;
//outComeMeasures: string;
//substanceHistory: string;
//workHistory: string;
//abuseHistory: string;
//religionSpirituality: string;
//mentalStatus: string;
//familyRelationships: string;
//relapsePredictors: string;
//patientQuestionnaire: string;
//generalisedAnxietyDisorder: string;
//burnsDepression: string;
//aims: string;
//genogram: string;
//notes: string;
//vitals: string;
//referralProvider: string;
//followUp: string;
//medications: string;
//treatmentPlan: string;
//symptoms: string;
//medicationComment: string;
//generalAdvice: string;
appointmentId: number;
appointmentNo: string;
patientId: number;
patientName: string;
encryptedPatientId: string;
patientAge?: number;
patientDateOfBirth?: Date;
patientGender: string;
providerName: string;
patientMobile: string;
patientThumbnailUrl: string;
patientCountryCode: string;
appointmentDate: Date;
appointmentTime: object;
appointmentTimeString: string;
behavioralHealthId?: number;
problemHistory: string;
medicalHistory: string;
currentSupport: string;
currentLiving: string;
educationalHistory: string;
clientStrengths: string;
outComeMeasures: string;
substanceHistory: string;
workHistory: string;
abuseHistory: string;
religionSpirituality: string;
mentalStatus: string;
familyRelationships: string;
relapsePredictors: string;
patientQuestionnaire: string;
generalisedAnxietyDisorder: string;
burnsDepression: string;
aims: string;
genogram: string;
notes: string;
vitals: string;
referralProvider: string;
followUp: string;
medications: string;
treatmentPlan: string;
symptoms: string;
medicationComment: string;
signature: string;
clinicPicture: string;
practiceLocation: string;
practiceName: string;
specializationName: string;
providerNo: string;
educations: string;
generalAdvice: string;
umrNo: string;
ancNo: string;
}
\ No newline at end of file
export class OrderPrescription {
orderPrescriptionMasterId: number;
valueId: number;
valueName: string;
comments: any;
active: boolean;
createdBy: number;
createdDate: Date;
totalItems: number;
fullName: string;
modifiedDate: Date;
createdByName: string;
modifiedByName: string;
createdByRole: string;
modifiedByRole: string;
orderName: string;
orderData: Array<OrderModel>;
name: string;
encounterName: string;
providerName: string;
encounterTypeId: number;
providerId: number;
constructor() {
this.orderData = new Array<OrderModel>();
}
}
export class OrderModel {
comments: string;
orderName: string;
orderPrescriptionMasterId: number;
}
export class OTRegister {
patientId: number;
surgeryId: number;
providerId: number;
assitantId: number;
anaesthetistId: number;
anesthesiaId: number;
nurseId: number;
surgeryTypeId: number;
diagnosis: string;
remarks?: string;
orEntryDate: Date;
signInDate: Date;
signOutDate: Date;
shiftWardToDate: Date;
caseType: string;
anaesthesiaTypeId: number;
operationName?: string;
operationType?: string;
surgeon?: string;
patient?: string;
assistant?: string;
anaesthetist?: string;
nurse?: string;
createdByName?: string;
modifiedByName?: string;
otRegisterId: number;
createdBy: number;
loginRoleId?: number;
anaesthesiaType?: string;
otRoomId: number;
roomName: string;
locationId: number;
status: string;
}
\ No newline at end of file
export class OTRoomAvailability {
otRoomAvailabilityId: number;
otRoomId: number;
locationId: number;
roomName: string;
practiceName: string;
createdBy: number;
createdByName: string;
modifiedBy: number;
ModifiedByName: string;
availableDays: string;
availability: string;
machineName: string;
durations: Array<duration>;
duration: string;
fromDate: string;
toDate: string;
endDate: string;
startDate: string;
fromTime: any;
toTime: any;
scanAvailabilityStatus: number;
scanAvailabilityReason: number;
}
class duration {
typeId: number;
value: string;
}
\ No newline at end of file
export class OTRoomBooking {
providerLocationId: number;
providerName: string;
providerId: number;
availableDays: string;
day: string;
duration: string;
fromTime: string;
toTime: string;
fromDate: string;
toDate: string;
patientId: number;
patient: string;
checkedIn: string;
checkedOut: string;
departmentId: number;
departmentName: string;
slotTat: string;
slotDuration: string;
availability: string;
otRoomId: string;
roomName: string;
appointmentStartDateTime: string;
appointmentEndDateTime: string;
status: string;
umrno: string;
gender: string;
doctorName: string;
mobile: string;
fullAddress: string;
paymentNumber: string;
fatherOrHusband: string;
age: string;
appointmentDate: string;
payTypeName: string;
paymentType: string;
appointmentTime: string;
surgeryName: string;
createdDate: string;
createdByName: string;
displayName: string;
signInDate: string;
chargeCategoryName: string;
amount: number;
paymentStatus: boolean;
locationId: number;
}
\ No newline at end of file
export class OutPatient {
providerId: string;
departmentId: number;
fromDate: Date;
toDate: Date;
appointmentDate: Date;
appointmentTime: object;
appointmentTimeString: string;
visitType: string;
totalAppointments: number;
totalAmount: number;
appointmentNo: string;
departmentName: string;
patientId: number;
patientName: string;
patientAge: number;
patientGender: string;
providerAge: number;
providerName: string;
totalItems: number;
mobile: string;
followUpForAppointmentId: number;
appointmentType: string;
referredBy: string;
referredByName: string;
paymentType: string;
receiptCreatedByName: string;
receiptDate: Date;
receiptId: number;
receiptNo: string;
umrNo: string;
fullAddress: string;
streetAdress: string;
city: string;
state: string;
zipcode: string;
fatherOrHusband: string;
totAmt: number;
name: string;
appointmentTypeName: string;
paymentStatus: boolean;
EncounterType: string;
status: string;
locationName: string;
firstName: string;
middleName: string;
lastName: string;
dateOfBirth?: Date;
appointmentId: number;
total: number;
freeFollowUpDaysLimit: number;
freeFollowUpValidityDate: Date;
salucro: string;
encryptedAppointmentId?: string;
specializationName: string;
surgeryName: string;
surgeryId?: number;
visitTypeId?: number;
consultationTypeId?: number;
fullName: string;
encounterName: string;
encounterTypeId: number;
typeOfPayment: string;
admissionNo?: string;
admissionTime?: string;
admissionDate?: string;
isHealthCard?: boolean=false;
}
\ No newline at end of file
export class PatientDocument {
patientDocumentId: number;
patientId: number;
documentName: string;
documentType: string;
contentType: string;
size: number;
description?: string;
documentUrl: string;
thumbnailUrl: boolean;
uploadedDate: Date;
active: boolean;
isImage: boolean;
isVideo: boolean;
modifiedBy: number;
modifiedByName: string;
modifiedDate?: Date;
totalItems: number;
maxFileSize: string;
base64: string;
formedUrl: any;
}
export class PatientEmergency {
patientEmergencyId: number;
patientId: number;
fullName: string;
relation: string;
mobile: string;
address: string;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate?: Date;
}
export class PatientFamily {
patientFamilyId: number;
patientId: number;
fullName: string;
age: any;
relativeGender: string;
relation: string;
active: boolean;
patientName: string;
createdBy: number;
contactNo: string;
education: string;
occupation: string;
occupationDetails: string;
dob?: Date;
relativeBloodGroup: string;
}
\ No newline at end of file
export class PatientRawImport {
firstName: string;
middleName: string;
lastName: string;
email: string;
mobile: string;
gender: string;
dateOfBirth: string;
}
export class PateintImportHistory {
PatientExcelHistoryId: number;
uploadedBy: number;
createdDate: Date;
sheetName: string;
uploadedByName: string;
typeOf: string;
addedProducts: string;
sheetType: string;
productStatus: string;
locationName: string;
totalItems: number;
}
\ No newline at end of file
export class PatientRawImport {
firstName: string;
lastName: string;
email: string;
mobile: string;
gender: string;
dateOfBirth: string;
age: string;
address: string;
pincode: string;
relation: string;
relativeName: string;
relativeMobile: string;
salutation: string;
}
export class PatientInsurance {
patientInsuranceId: number;
patientId: number;
insuranceCompanyId: number;
insuranceTypeId: number;
validity?: Date;
cardNo: string;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate?: Date;
insuranceCompanyName: string;
}
export class PatientMedicationDetail {
patientMedicationDetailId: number;
patientMedicationHeaderId: number;
pharmacyProductId: number;
duration: number;
dosage: number;
categoryId: number;
companyId: number;
durationType: string;
morningDosage: string;
afternoonDosage: string;
nightDosage: string;
route: string;
instruction: string;
productName: string;
genericName: string;
companyName: string;
categoryName: string;
saleUnitName: string;
isMorning: boolean;
isAfternoon: boolean;
isNight: boolean;
}
export class PatientMedicationHeader {
patientMedicationHeaderId: number;
patientLabHeaderId: number;
appointmentId: number;
createdBy: number;
modifiedBy: number;
patientId: number;
patientAge: number;
createdDate: Date;
modifiedDate: Date;
encounterType: string;
createdByName: string;
modifiedByName: string;
appointmentNo: string;
appointmentDate: string;
appointmentTime: string;
patientName: string;
patientGender: string;
patientMobile: string;
providerName: string;
umrNo: string;
active: boolean;
providerId: number;
encryptedAppointmentId: string;
providerNo: string;
specializationName: string;
practiceName: string;
practiceLocation: string
medicines: Array<PatientMedicationDetail>;
labs: Array<any>;
IsBillingDone?: boolean;
billNumber: string;
requisitionNumber: string;
thumbnailUrl: string;
encryptedPatientId: string;
name: string;
streetAddress: string;
cityName?: string;
stateName?: string;
countryName?: string;
specializationId?: number;
constructor() {
this.medicines = new Array<PatientMedicationDetail>();
this.labs = new Array<any>();
}
}
\ No newline at end of file
export class PatientQueue {
patientQueueId: number;
appointmentId: number;
createdBy: number;
token: string;
status: string;
createdDate: Date;
providerName: string;
}
import { SafeUrl } from "@angular/platform-browser";
export class PatientDocumentView {
documentUrl?: string;
base64: SafeUrl;
file: File;
}
import { TimeModel } from "../models/time.model";
export class Patient {
patientId: number;
aadharNo: string;
encryptedPatientId: string;
salutation: string;
firstName: string;
middleName: string;
lastName: string;
fullName: string;
fatherOrHusband: string;
dateOfBirth?: Date;
age: any;
gender: string;
maritalStatus: string;
umrNo: string;
email: string;
mobile: string;
streetAddress: string;
addressLine2: string;
city: string;
state: string;
zipcode: string;
specialCategory: string;
countryId: number;
countryName: string;
countryCode: string;
isoCode: string;
profileImageUrl: string;
thumbnailUrl: string;
active: boolean;
isLocked: boolean;
otpVerified: boolean;
manualVerified: boolean;
createdBy: number;
createdByName: string;
createdDate: Date;
modifiedBy: number;
modifiedByName: string;
modifiedDate?: Date;
totalItems: number;
isCouponApplied: boolean;
isOnline: boolean;
isDischarged?: boolean;
admissionId?: number;
isActiveAppointmentExists?: boolean;
isActiveAdmissionExists?: boolean;
relationWithPatient: string;
referredBy: string;
referredByName: string;
referredByNameId: number;
breakfastTime: TimeModel;
lunchTime: TimeModel;
dinnerTime: TimeModel;
providerId: number;
providerName: string;
locationId: number;
locationName: string;
hwcPatientId?: number;
hwcName: string;
description: string;
rowColor: string;
education: string;
occupation: string;
religion: string;
nationality: string;
departmentId: number;
appointmentType: number;
patientReferredById: number;
name: string;
idProofId?: number;
idProofValue: string;
idProofName: string;
billNumber: string;
bloodGroup: string;
idProofNo: string;
appointmentDate?: Date;
paymentStatus?: boolean;
paymentNumber: string;
payTypeId: number;
amount: number;
howDidYouKnowId?: number;
educationId?: number;
occupationId?: number;
birthMark1?: string;
birthMark2?: string;
educationName: string;
occupationName: string;
howDidYouKnow: string;
errorMessage: string;
occupationDetail: string;
relationType: string;
area: string;
relativeName: string;
relation: string;
insuranceCompanyId: number;
otherRemarks: string;
appointmentId: number;
patientType: string;
appointmentNo: string;
appointmentTime: any;
appointmentNotes: string;
couponId: number;
discount: number;
total: number;
status: boolean;
patientFamilyId: number;
paymentType: string;
visitTypeId: number;
chargeTypesId: number;
appointmentTypeId: number;
tokenNumber: number;
specializationId: number;
providerAvailabilityId: number;
consultationTypeId: number;
doctorSpecializationChargeModuleDetailsId: number;
authorityMasterId: number;
reasonsId: number;
remarks: string;
appointmentPaymentStatus: boolean;
appointmentTypeValue: string;
appointmentAmount: number;
appointmentEndTime: any;
lastConsultedDate: Date;
lastConsultedTime: string;
lastConsultedDoctor: string;
lastPaidAmount: number;
nextAppointment: string;
moduleName?: string;
insuranceCompany: string;
relativeEducation: string;
relativeOccupation: string;
parentPatientId: number;
}
\ No newline at end of file
export class PayCategory {
payCategoryId: number;
payCategoryName: string;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
createdByName: string;
modifiedByName: string;
}
\ No newline at end of file
export class PaymentDocument {
paymentDocumentId: number;
providerId: number;
providerName: string;
uploadedBy: number;
uploadedByName: string;
uploadedByRole: string;
documentName: string;
documentType: string;
size: number;
description?: string;
documentUrl: string;
thumbnailUrl: string;
uploadedDate?: Date;
active: boolean;
totalItems: number;
month: string;
year: string;
contentType: string;
isImage: boolean;
isVideo: boolean;
}
\ No newline at end of file
export class PaymentMapHelper {
paymentMapHelperId: number;
paymentInitiationLogId: number;
billId: number;
}
\ No newline at end of file
export class PayTypes {
payTypeId: number;
payTypeName: string;
isActive: boolean;
payTypeValue: string;
salucroPayType: boolean;
createdBy: number;
loginRoleId: number;
createdByName: string;
modifiedBy: number;
modifiedByName: string;
}
\ No newline at end of file
export class pediatricEncounterFullTranscript {
appointmentId: number;
appointmentNo: string;
patientId: number;
encryptedPatientId: string;
encounterId?: number;
patientName: string;
patientAge?: number;
patientDateOfBirth?: Date;
patientGender: string;
patientMobile: string;
patientThumbnailUrl: string;
patientCountryCode: string;
appointmentDate: Date;
appointmentTime: object;
providerName: string;
appointmentTimeString: string;
problemList: string;
briefRos: string;
geneticScreening: string;
infectionHistory: string;
followUp: string;
medications: string;
notes: string;
pediatricEncounterId: number;
nextVisitOrder: string;
signature: string;
clinicPicture: string;
practiceLocation: string;
practiceName: string;
specializationName: string;
providerNo: string;
educations: string;
complaints: string;
encounterDate: Date;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate: Date;
measurements: string;
neonatalRisk: string;
pediatricRisk: string;
syndrome: string;
pediatricGuide: string;
clinicalExamination: string;
downSyndromeFollowUp: string;
highRiskIntial: string;
orderPrescription: string;
allergies: string;
refferalOrder: string;
specialFeatures: string;
umrNo: string;
email: string;
diagnosisOrder: string;
medicationComment: string;
birthHistory: string;
familyHistory: string;
mChat: string;
vaccineDetail: string;
}
\ No newline at end of file
export class PharmacyBillReport {
pharmacySaleHeaderId: number
billNumber: string
saleDate: Date | string;
patientName: number | string;
providerName: number | string;
totalAmount: number;
totalItems: number;
patientMobile: string;
umrNo: string;
saleType: string;
saleReturnHeaderId?: number;
paidVia: string;
patientId?: number;
overallTaxes: number;
dueDate: Date;
retailName: string;
paymentNumber: string;
typeOfPayment: string;
paidAmount: number;
receiptDate: Date | string;
}
\ No newline at end of file
export class PharmacyCategoryRevenueModel {
categoryId: number;
categoryName: string;
catPercentage: string;
}
\ No newline at end of file
export class PharmacyDoctorCollectionModel {
name: string;
collection: number;
}
export class PharmacyEmployeeCollectionModel {
name: string;
role: string;
collection: number;
}
export class PharmacyIndentDetail {
pharmacyIndentHeaderId: number;
pharmacyIndentDetailId: number;
otIndentHeaderId: number;
otIndentDetailId: number;
pharmacyProductId?: number;
quantity: number;
status: string;
productName: string;
pharmacyIssueHeaderId?: number;
approvedQuantity?: number;
total: number;
totalAmount: number;
retailName: string;
createdByName: string;
createdDate: Date;
}
\ No newline at end of file
export class PharmacyIndentHeader {
pharmacyIndentHeaderId: number;
indentDate?: Date;
departmentId: number;
departmentName: string;
requiredDate: Date;
reason: string;
admissionId: number;
approvedBy?: number;
approvedDate?: Date;
approvedByName: string;
createdBy: number;
createdDate: Date;
status: string;
createdByName: string;
patientName: string;
totalItems: number;
isShow: boolean; //
issueQuantity: number;
issueNetAmount: number;
issueProductName: string;
umrNo: string;
mobile: string;
genericName: string;
age: string;
fullName: string;
otIndentHeaderId: number;
numRequestedItems: any;
createdByRole: string;
approvedByRole: string;
isDeleting: boolean;
issueCategoryName: string;
pharmacyProductId: number;
quantity: number;
pharmacyIndentDetailId: number;
isRejectedProductsExists?: boolean;
isReceiptGenerated?: boolean;
indentStatusTypeId?: IndentStatusType;
receiptId?: number;
approvedByRoleName: string;
createdByRoleName: string;
retailName: string;
requestedDate: Date
pharmacyIssueDetailId: number;
returnQuantity: number;
}
export enum IndentStatusType {
Complete = 1,
NotComplete = 2
}
export enum ReceiptAreaType {
Pharmacy = 1,
General = 2
}
\ No newline at end of file
export class PharmacyLog {
pharmacyLogId: number;
logDescription: string;
logDate: string;
pharmacyLogTypeId: number;
logFrom:number;
logTypeName:string;
AccountId:number;
fullName:string;
roleName:string;
totalItems: number;
}
export class PharmacyProductRevenueModel {
pharmacyProductId: number;
productName: string;
prodPercentage: string;
categoryName: string;
}
export class PharmacyProduct {
inventoryProductId: number;
pharmacyProductId: number;
productName: string;
companyId: number;
categoryId: number;
supplierId: number;
taxId: number;
maxQuantity: number;
minQuantity: number;
reorderLevelQuantity: number;
rolQuantity: number;
rackId: number;
purchaseUnit: string;
purchaseQuantity: number;
purchaseUnitQty: number;
saleUnit: string;
saleQuantity: number;
saleUnitQty: number;
isBatchNumber: boolean;
isExpiry: boolean;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
company: string;
categoryName: string;
tax: string;
rack: string;
purchaseUnitName: string;
saleUnitName: string;
createdByName: string;
modifiedByName: string;
genericName: string;
barcode: string;
isProductExpire: boolean;
isAdded: boolean;
totalItems: number;
pharmacyStockId: number;
pharmacyRetailStockId: number;
quantityIn: number;
quantityOut: number;
availableQuantity: number;
batchNumber: string;
expiryDate?: Date;
purchaseRate: number;
mrp: number;
taxPercentage: number;
isGetProductId: boolean;
gst: string;
reorderQuantity: string;
barCode: string;
productExpire: string;
billNumber: string;
companyName: string;
category: string;
rackName: string;
purchaseUnitQuantity: number;
saleUnitQuantity: number;
}
\ No newline at end of file
export class PharmacyProfitReport {
supplierName: string;
retailName: string;
productName: string;
batchNumber: string;
quantityOut: number;
purchaseRate: number;
mrp: number;
calPurchaseTotal: number;
calMrpTotal: number;
calProfitLoss: number;
}
\ No newline at end of file
export class PharmacyPurchaseBill {
pharmacyPurchaseHeaderId: number;
productName: string;
billNumber: string;
batchNumber: string;
billDate?: Date | string;
//billDate: Date;
expiryDate?: Date;
billType: string;
supplierId: number;
supplierName: string;
roleName: string;
billAmount: number;
overallDiscount: number;
taxes: number;
totalNetAmount: number;
pharmacyPurchaseDetailId: number;
serialNum: number;
pharmacyProductId: number;
quantity: number;
returnQuantity: number;
free?: number;
purchaseRate: number;
purchaseType: number;
mrp: number;
total: number;
taxPerItem: number;
taxAmount: number;
discountPerItem: number;
discountAmount: number;
netAmount: number;
barcode: string;
pharmacyStockId: number;
createdBy: number;
createdByName: string;
fromDate: Date;
toDate: Date;
genericName: string;
categoryName: string;
companyName: string;
encryptedPharmacyStockId: string;
amount: number;
overallAmount: number;
paidVia: string;
paidType: string;
availableQuantity: number;
quantityIn: number;
quantityOut: number;
dueDate: Date;
dueDays: number;
isCreditClear: boolean;
wareHouseName: string;
returnDate: Date;
returnNetamount: number;
dueAmount: number;
purRateIncludeAll: number;
purRateIncludeAllUnit: number;
pharmacyWareHouseId?: number;
isIGST: boolean;
isSGST: boolean;
sgst?: number;
cgst?: number;
igst?: number;
}
\ No newline at end of file
export class PharmacyReport {
saleDate: Date | string;
totalAmount: number;
totalTaxes: number;
totalDiscount: number;
totalNetAmount: number;
paidVia: string;
cgst: number;
paymentNumber: string;
}
\ No newline at end of file
export class PharmacyRetailDetail {
pharmacyStockId: number;
pharmacyRetailStockId: number;
pharmacyProductId: number;
pharmacyIndentHeaderId: number;
pharmacyIndentDetailId: number;
pharmacyIssueHeaderId: number;
pharmacyIssueDetailId: number;
retailPharmacyId: number;
//quantityIn: number;
//quantityOut: number;
//availableQuantity: number;
batchNumber: string;
expiryDate?: Date;
total: number;
netAmount: number;
patientName: string;
admissionId: number;
indentDate: Date;
indentQty: number;
issueDate: Date;
issueQty: number;
requiredDate: Date;
retailName: string;
receiptNo: string;
receiptId: number;
}
\ No newline at end of file
export class PharmacyRetailStock {
pharmacyRetailStockId: number;
pharmacyProductId: number;
taxId: number;
quantityIn: number;
quantityOut: number;
pharmacyStockId?: number;
batchNumber: string;
barCode: string;
expiryDate?: Date;
purchaseRate: number;
mrp: number;
lossAmount: number;
createdBy: number;
updateType: string;
loginAccountId?: number;
loginRoleId?: number;
productName: string;
retailWareHouseLinkId?: number;
locationId?: number;
resultsType?: string;
fromDate?: Date;
toDate?: Date;
allLossAmount: number;
PharmacyWareHouseId: number;
filterHouse: string;
RetailPharmacyId: number;
}
\ No newline at end of file
export class PharmacySaleBill {
pharmacySaleDetailId: number;
pharmacySaleHeaderId: number;
pharmacyProductId: number;
serialNum: number;
taxId: number;
pharmacyRetailStockId: number;
quantity: number;
total: number;
totalAmount: number;
taxAmount: number;
mrp: number;
discountPerItem?: number;
discount?: number;
netAmount: number;
billType: string;
billNumber: string;
saleDate: Date | string;
patientId: number;
patientName: string;
patientMobile: string;
mobile: string;
admissionId: number;
providerName: string;
overallTotal: number;
overallDiscount?: number;
overallTaxes: number;
overallNetAmount: number;
productName: string;
expiryDate?: Date;
returnQuantity?: number;
batchNumber: string;
genericName: string;
categoryName: string;
companyName: string;
umrNo: string;
gender: string;
age: string;
createdDate: Date;
rowSpan: number;
paidVia: string;
taxPercentage: string;
sgst?: number;
cgst?: number;
igst?: number;
taxableAmount?: number;
paymentNumber: string;
hsnCode: string;
firstName: string;
middleName: string;
lastName: string;
dateOfBirth?: Date;
specializationName: string;
isIGST: boolean;
isSGST: boolean;
isSalucroBill: boolean;
scheduledDrug: string;
isGeneralItem: boolean;
locationId: number;
paidAmount?: number;
reasonForDiscount: string;
}
\ No newline at end of file
export class PharmacySaleReturn {
saleReturnHeaderId: number;
returnDate: Date;
createdDate: Date;
billType: string;
patientId?: number;
patientName: string;
overallTotal: number;
overallNetAmount: number;
createdBy: number;
pharmacySaleHeaderId: number;
saleReturnDetailId: number;
pharmacyProductId: number;
quantity: number;
total: number;
taxPercentage?: number;
taxAmount?: number;
discountPercentage?: number;
discountAmount?: number;
netAmount: number;
productName: string;
expiryDate?: Date;
mrp: number;
createdByName: string;
payTypeId: number;
paymentNumber: string;
}
\ No newline at end of file
export class PharmacyStockReport {
categoryName: string;
productName: string;
batchNumber: string;
expiryDate: Date;
purchaseQuantity: number;
avialableQuantity: number;
saleQuantity: number;
returnQuantity: number;
currentStock: number;
totalItems: number;
categoryId: number;
}
\ No newline at end of file
export class PharmacyStocks {
pharmacyStockId: number;
otStockId: number;
pharmacyRetailStockId: number;
pharmacyProductId: number;
taxId: number;
quantityIn: number;
quantityOut: number;
availableQuantity: number;
batchNumber: string;
expiryDate?: Date;
purchaseRate: number;
mrp: number;
taxPercentage: number;
barcode: string;
mrpChangeReason: string;
categoryName: string;
productName: string;
genericName: string;
totalItems: number;
encryptedPharmacyStockId: string;
currentMrpAvailability: number;
currentPurchaseAvailability: number;
lossAmount: number;
totalLossAmount: number;
indentDate: Date;
indentQty: number;
issueDate: Date;
issueQty: number;
requiredDate: Date;
retailName: string;
companyName: string;
operationStockId: number;
reqQuantity: number;
billNumber: string;
pharmacyProductDetailId?: number;
pharmacyProductRackId?: number;
roq?: number;
rol?: number;
rackName: string;
wareHouseName: string;
isIGST: boolean;
isSGST: boolean;
categoryId: number;
movedQuantity: number;
}
\ No newline at end of file
export class PharmacyTopProductsRevenueModel {
pharmacyProductId: number;
productName: string;
prodPercentage: string;
categoryName: string;
}
export class PracticeLocation {
practiceLocationId: number;
encryptedPracticeLocationId?: string;
encryptedPracticeId?: string;
practiceId: number;
practiceName: string;
practiceTIN: string;
practiceType: string;
fullName: string;
email: string;
phone: string;
extension: string;
streetAddress: string;
addressLine2: string;
city: number;
state: number;
zipcode: string;
countryId?: number;
countryCode: string;
active?: true;
createdBy?: number;
createdDate?: Date;
modifiedBy?: number;
modifiedDate?: Date;
totalItems: number;
locationId: number;
name?: string;
location: string;
nameLoc: string;
}
\ No newline at end of file
export class PreviousAppointmentMedications {
appointmentId: number;
appointmentDateTime: string;
encounterType: string;
medications?: string;
}
\ No newline at end of file
export class PreviousAppointment {
appointmentId: number;
providerName: string;
patientId: number;
appointmentDate: Date;
appointmentTime: object;
appointmentDateTime: string;
encounterType: string;
encryptedAppointmentId: string;
}
\ No newline at end of file
export class PrintSetting {
isPrintLogo: boolean;
isAppointment: boolean;
}
\ No newline at end of file
export class ProblemList {
totalItem?: number;
problemListId: number;
name: string;
description?: string;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate: Date;
}
\ No newline at end of file
export class ProviderAvailability {
providerId: number;
visitTypeId: number;
locationId: number;
specializationId: number;
specializationName: string;
locationName: string;
chargeTypesId: number;
ProviderName: string;
duration: number;
active: boolean;
chargeTypeCharge: string;
specializationCharge: number;
providerScheduleChargeId: number;
totalItems: number;
providerAvailabilityId: number;
proividerName: string;
consultationTypeId: number;
consultationTypeName: string;
startDate: string;
endDate: string;
providerAvailabilitySlotId: number;
availableDay: string;
startTime: string;
endTime: string;
providerAvailabilityVisitTypeId: number;
visitorName: string;
freeFollowUpDays: number;
freeFollowUpDaysLimit: number;
}
\ No newline at end of file
export class ProviderDocument {
providerDocumentId: number;
providerId: number;
documentName: string;
documentType: string;
contentType: string;
size: number;
description?: string;
documentUrl: string;
thumbnailUrl: boolean;
uploadedDate: Date;
active: boolean;
isImage: boolean;
modifiedBy: number;
modifiedByName: string;
modifiedDate?: Date;
totalItems: number;
providerName:string;
}
export class ProviderEncounter {
providerGeneralAdviceId?: number;
fullName?: string;
providerId: number;
generalAdviceIds?: string;
icdIds?: string;
labOrderValueIds?: string;
radiologyValueIds?: string;
allergyIds?: string;
reactionIds?: string;
hospitalizationIds?: string;
pCareIds?: string;
initialIds?: string;
siteIds?: string;
vaccineIds?: string;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
totalItems?: number;
}
export class ProviderLocation {
providerLocationId: number;
providerLocationOperationId: number;
providerId: number;
locationId: number;
practiceLocationName: string;
practiceId: number;
practiceName: string;
consultationDuration: number;
consultationCharges: number;
telemedicineDuration: number;
inPatientDuration: number;
outPatientDuration: number;
casualtyDuration: number;
followUpDays: number;
telemedicineCharges: number;
availableDays: string;
availability: string;
currencySymbol: string;
followUpDaysForIp: number;
durations: Array<duration>;
duration: string;
isTelemedicine: boolean;
isOnlineConsultation: boolean;
}
class duration {
typeId: number;
value: string;
}
\ No newline at end of file
export class ProviderMedications {
providerMedicationId: number;
providerId: number;
drugId: number;
medicineName: string;
providerName: string;
genericName: string;
medicineSearchType: string;
medicineType: string;
dosage: number;
duration: string;
durationType: string;
isMorning?: boolean;
morningDosage: string;
isAfternoon?: boolean;
afternoonDosage: string;
isNight?: boolean;
nightDosage: string;
instructions: string;
active: boolean;
createdBy: number;
createdByName: string;
createdDate: Date;
modifiedBy: number;
modifiedByName: string;
modifiedDate?: Date;
totalItems: number;
isSelected: boolean;
}
\ No newline at end of file
import { Provider } from "@shared/entities";
import { ProviderLocation } from "@shared/models";
class ProviderExperience {
id: number;
name: string;
fromYear: string;
toYear: string;
location: string;
}
class Education {
id: number;
name: string;
fromYear: number;
toYear: number;
location: string;
}
class Award {
id: number;
name: string;
year: number;
}
class Registration {
id: number;
name: string;
year: number;
}
class Membership {
id: number;
name: string;
}
export class BankDetails {
providerBankAccountId: number;
fullName: string;
accountNumber: string;
ifscCode: string;
percentage: number;
mobile: string;
email: string;
}
export class ProviderProfile {
provider: Provider;
bankDetails: BankDetails;
locations: Array<ProviderLocation>;
experiences: Array<ProviderExperience>;
educations: Array<Education>;
awardsHonors: Array<Award>;
registrations: Array<Registration>;
memberships: Array<Membership>;
constructor() {
this.provider = new Provider();
this.experiences = [];
this.educations = [];
this.awardsHonors = [];
this.registrations = [];
this.memberships = [];
}
}
\ No newline at end of file
export class ProviderScheduleCharges {
providerId?: number;
visitTypeId: number;
locationId: number;
specializationId?: number;
specializationName: string;
locationName: string;
chargeTypesId: number;
ProviderName: string;
visitTypeDuration: string;
active: boolean;
charge: number;
chargeName: string;
specializationCharge: number;
providerScheduleChargeId: number;
totalItems: number;
providerAvailabilitySlotId: number;
providerAvailabilityId: number;
availableDay: string;
startTime: string;
endTime: string;
startDate: Date;
endDate: Date;
createdByName: string;
modifiedByName: string;
createdDate: string;
modifiedDate: string;
providerAvailabilityChargeTypeId: number;
chargeNames: string;
partsOfDayId: number;
consultationName: string;
consultationTypeId: number;
schedulerTypeId: string;
name: string;
value: string;
id: number;
followUpDays: number;
followUpDaysLimit: number;
}
\ No newline at end of file
export class ProviderScheduleVisits {
providerId: number;
visitTypeId: number;
locationId: number;
specializationId: number;
specializationName: string;
locationName: string;
chargeTypesId: number;
ProviderName: string;
visitTypeDuration: string;
active: boolean;
charge: number;
chargeName: string;
specializationCharge: number;
providerScheduleChargeId: number;
totalItems: number;
providerAvailabilityId: number;
availableDay: string;
startTime: string;
endTime: string;
startDate: Date;
endDate: Date;
createdByName: string;
modifiedByName: string;
createdDate: string;
modifiedDate: string;
providerAvailabilityVisitTypeId: number;
chargeNames: string;
schedulerTypeId: string;
visitorName: string;
name: string;
value: string;
id: number;
}
\ No newline at end of file
export class ProviderSchedule {
appointmentId: number;
gender: string;
patientName: string;
doctorName: string;
appointmentDate: Date;
providerLocationId: number;
providerName: string;
departmentId: number;
departmentName: string;
providerId: number;
specializationId: number;
specializationName: string;
tokenNumber: number;
appointmentTypeName: string;
appointmentStartDateTime: string;
appointmentEndDateTime: string;
availability: string;
duration: string;
aadharNo: string;
status: string;
appointmentNo: number;
paymentType: string;
chargeTypesName: string;
patientMobile: number;
mobile: number;
appointmentTimeString: string;
followUpForAppointmentId: number;
followUpForAdmissionId: number;
paymentNumber: number;
umrNo: string;
fatherOrHusband: string;
patientAge: number;
age: number;
referredByName: string;
discount: number;
total: number;
amount: number;
fullAddress: string;
streetAddress: string;
city: string;
state: string;
zipcode: string;
chargeName: string;
payTypeName: string;
availableDays: string;
day: string;
fromTime: string;
toTime: string;
patientId: number;
checkedIn: string;
checkedOut: string;
slotTat: string;
slotDuration: string;
asofText: number;
slots: Array<any>;
rowColor: string;
//appointment
encryptedAppointmentId: string;
providerGender: string;
providerAge?: number;
providerThumbnailUrl: string;
practiceName: string;
providerLocation: string;
encryptedPatientId: string;
patientAccountId: number;
patientGender: string;
patientEmail: string;
patientThumbnailUrl: string;
patientCountryId: number;
patientCountryCode: string;
visitType?: string;
patientType?: string;
previousAppointmentNo: string;
previousAdmissionNo: string;
appointmentTime: object;
appointmentPreviousDate: Date;
appointmentPreviousTime: object;
previousAppointmentTimeString: string;
admissionDischargeDate: Date;
admissionDischargeTime: object;
previousAdmissionDischargeTimeString: string;
appointmentNotes: string;
couponId: number;
currencySymbol: string;
appCharges: number;
active: boolean;
expired: boolean;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate: Date;
totalItems: number;
encounterType: string;
isOnline: boolean;
reason: string;
patientMaritalStatus: string;
walletAmount: number;
chargeType?: string;
isActiveAdmissionExists?: boolean;
followUpDays: number;
appointmentType: string;
referredBy: string;
paymentStatus?: boolean;
isActive: boolean;
callType?: number;
isRequireEmergencyAppointment: boolean;
isCallInitiating: boolean;
isPatientWaiting: boolean;
activeUsers: string;
waiting: string;
enableMobileAudioCall: boolean;
isPrescriptionBlink: boolean;
telemedicineIds: string;
telemedicineList: Array<number>;
chargeTypeDb: string;
visitTypeDb: string;
visitTypeId: number;
admissionVisitTypeId: number;
chargeTypesId: number;
payType: number;
tat?: number;
queueNumber?: number;
queueStatus?: string;
isCheckingIn?: boolean;
isAccepting?: boolean;
isCompleting?: boolean;
isQueueCalling?: boolean;
isCancelling?: boolean;
date: string;
appointmentDateTime: string;
idProofId?: number;
idProofValue?: string;
idProofName?: string;
locationId?: number;
providerAvailabilityId: number;
consultationTypeId: number;
startDate: string;
endDate: string;
startTime: string;
endTime: string
providerAvailabilitySlotId: number;
availableDay: string;
freeFollowUpDays: number;
freeFollowUpDaysLimit: number;
availabilityDuration: any;
availableDate: string;
isSalucroAppointment: boolean;
providerAvailabilityChargeTypeId: number;
availabilityType: string;
breakType: string;
breakBlock: string;
providerBreakId: number;
doctorSpecializationChargeModuleDetailsId: number;
createdByName: string;
ModifiedByName: string;
}
\ No newline at end of file
export class ProviderSpecialization {
providerId?: any;
specializationId?: number;
specializationName: string;
fullName: string;
departmentId: number;
locationId: number;
departmentName: string;
providerLocationId: number;
providerAvailabilityId: number;
consultationTypeId: number;
providerSpecializationId: string;
}
\ No newline at end of file
export class Provider {
providerId: number;
encryptedProviderId?: string;
salutation: string;
firstName: string;
middleName?: string;
lastName: string;
fullName: string;
friendlyName: string;
dateOfBirth?: Date;
createdDate?: Date;
age?: number;
experience?: number;
gender?: string;
maritalStatus?: string;
email: string;
mobile?: string;
phone: string;
npi: string;
prescriberNo?: string;
providerNo?: string;
healthIdentifierNo?: string;
countryId: number;
departmentId: number;
countryName?: string;
countryCode?: string;
isoCode?: string;
profileImageUrl?: string;
profileThumbnailImageUrl?: string;
thumbnailUrl?: string;
services: any;
specializations: any;
serviceNames: any;
specializationNames: any;
awardsHonors: any;
educations: any;
memberships: any;
registrations: any;
experiences: any;
addressLine: string;
city: string;
state: string;
zipCode: string;
about: string;
consultationCharges: number;
telemedicineCharges: number;
telemedicineDuration: number;
consultationDuration: number;
providerLocationId: number;
percentage: number;
providerName: string;
currencySymbol: string;
practiceName: string;
languages: string;
theme: string;
enableEmailAlerts: boolean;
enableSMSAlerts: boolean;
enableDesktopNotifications: boolean;
enableMobileNotifications: boolean;
isCouponApplied: boolean;
isOnline: boolean;
signature: string;
clinicPicture: string;
practiceLocationId: number;
id: number;
value: string;
optionalText?: string;
locationName?: string;
locationId?: number;
locationIdentifiers: string;
userName: string;
salutationId: number;
salutationName: string;
panCardNo?: string;
employee?: string;
type?: string;
doctorType?: string;
locationIdentifierNames: string;
}
\ No newline at end of file
export class QuantityMeasure {
measureId: number;
measureName: string;
}
\ No newline at end of file
export class Radiology {
radiologyId: number;
name: string;
type: string;
createdDate: Date;
createdBy: number;
modifiedBy?: number;
modifiedDate?: Date;
totalItems?: number;
}
\ No newline at end of file
export class RadiologyValue {
radiologyValueId: number;
radiologyId: number;
name?: string;
orderCode?: string;
code?: string;
test?: string;
createdDate: Date;
createdBy: number;
modifiedBy?: number;
modifiedDate?: Date;
isAssignedRadiologyValue?: boolean;
totalItems?: number;
}
\ No newline at end of file
export class Reasons {
reasonsId: number;
reason: string;
createdByName: string;
createdDate: Date;
modifiedByName: string;
modifiedDate: Date;
active: boolean;
}
\ No newline at end of file
export class ReceiptReports {
receiptCreatedBy: string;
roleName: string;
receiptDate: Date;
receiptId: string;
admissionNo: string;
providerName: string;
patientName: string;
payTypeName: string;
paidAmount: number;
refundAmount: number;
balanceAmount: number;
admissionDate: Date;
appointmentDate: Date;
appointmentTime: string;
admissionTime: string;
appointmentNo: string;
appointmentId: string;
isAppointmentReceipt: string;
receiptNo: string;
followUpForAppointmentId: number;
departmentName: string;
areaType: string;
receiptTypeId: number;
ancCardGeneration: string;
totalItems: number;
finalrow: boolean;
createdDate?: Date;
createdByName: string;
receiptType: string;
receipt: string;
isHealthCard?: boolean = false;
refId?: string;
}
\ No newline at end of file
export class ReferenceTypes {
patientReferredById: number;
name: string;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
}
export class ReferralDoctor {
referralDoctorId: number;
salutation: string;
firstName: string;
lastName: string;
mobile: string;
email: string;
createdDate: Date;
createdBy: number;
active: boolean;
modifiedBy: number;
modifiedDate: Date;
locationId: string;
createdName: string;
modifiedName: string;
}
\ No newline at end of file
export class Refund {
appointmentTransactionId: number;
appointmentNo: string;
total: number;
transactionId: string;
patientName: string;
providerName: string;
totalItems: number;
refundAmount: number;
refundTransactionId: string;
refundCreatedDate: Date;
refundCompletedDate: Date;
refundStatus: string;
paymentId:number;
}
\ No newline at end of file
import { Time } from "@angular/common";
export class Report {
providerId: string;
departmentId: number;
fromDate: Date;
toDate: Date;
departmentName: string;
gender: number;
admissionId: string;
admissionNo: string;
admissionDate: Date | string;
admissionTime: Time;
patientName: string;
patientAge: number;
patientGender: string;
providerAge: number;
providerGender: string;
providerName: string;
wardName: string;
roomName: string;
bedNumber: string;
attendantName: string;
attendantRelationWithPatient: string;
attendantContactNo: string;
isDischarged: boolean;
dischargeDate: Date | string;
dischargeTime: Time;
dischargeStatus: string;
isMaternity: boolean;
encounterId: number;
surgeryName: string;
providerThumbnailUrl: string;
patientThumbnailUrl: string;
totalAdmissions: number;
totalItems: number;
totalAmount: number;
admissionTimeString: string;
patientMobile: string;
umrNo: string;
createdBy: string;
roleName: string;
referredBy: string;
referredByName: string;
salutation: string;
dateOfBirth: Date | string;
caseTypeName: string;
nationality: string;
city: string;
zipcode: string;
religion: string;
floorName: string;
relationMobile: string;
area: string;
address: string;
relativeDOB: Date | string;
referBy: string;
}
\ No newline at end of file
export class Roles {
roleId: number;
roleName: string;
active: boolean;
totalItems: number;
createdByName: string;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
}
\ No newline at end of file
export class RoomCharges {
chargeCategoryId: number;
roomChargeId: number;
LocationId: number;
createdBy: number;
createdDate: Date;
cost: number;
locationNames: string;
chargeCategoryName: string;
createdByName: string;
modifiedByName?: string;
modifiedBy?: number;
modifiedDate?: Date;
locationId: number;
active: boolean;
}
\ No newline at end of file
export class Salutation {
salutationId: number;
name: string;
locationId: number;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
totalItems: number;
}
\ No newline at end of file
export class ScanAppointmentNotices {
scanAppointmentNoticeId: number;
description: string;
machineId: number;
locationId: number;
fromDate: string;
toDate: string;
active: boolean;
machineName: string;
locationName: string;
availableDays: string;
}
\ No newline at end of file
export class ScanBooking {
providerLocationId: number;
providerName: string;
providerId: number;
availableDays: string;
day: string;
duration: string;
fromTime: string;
toTime: string;
fromDate: Date;
toDate: Date;
patientId: number;
encryptedPatientId: string;
patientName: string;
checkedIn: string;
checkedOut: string;
departmentId: number;
departmentName: string;
slotTat: string;
slotDuration: string;
availability: string;
scanMachineMasterId: string;
scanMachineMasterIds: string;
machineName: string;
bookScanAppointmentId: number;
appointmentStartDateTime: string;
appointmentEndDateTime: string;
status: string;
umrno: string;
gender: string;
doctorName: string;
mobile: string;
fullAddress: string;
paymentNumber: string;
fatherOrHusband: string;
age: string;
appointmentDate: string;
payTypeName: string;
paymentType: string;
appointmentTime: string;
scanTestName: string;
createdDate: string;
createdByName: string;
displayName: string;
appointmentTimeString: string;
scanTestMasterId: number;
scanMachineTestMapId: number;
scanTestCode: string;
chargeCategoryId: number;
chargeCategoryName: string;
amount: number;
discountAmount: number;
paymentStatus: boolean;
pndtReport: boolean;
isDispatched: boolean;
paidPendingStatus: string;
patientPaymentStatus: boolean;
payTypeId: number;
locationId: number;
locationName: string;
scanAvailabilityStatusName: string;
scanAvailabilityReasonName: string;
appointmentEndTime: string;
scanAvailabilityReasonColor: string;
isSalucroAppointment: boolean;
requisitionNumber: string;
isNewPatient: boolean;
totalItems: number;
ancNo: string;
appointmentNo: string;
indication: string;
typeOfPayment: string;
scanAppointmentType: string;
actualAmount: number;
gravida: string;
periodOfGestation: string;
edd: Date;
scanDocumentId: number;
hwcPatientId: number;
backgroundColor: string;
isSelected: boolean;
tokenNumber?: number;
isPatRegPaid: boolean;
regCharges: number;
paidAmount: number;
}
export class PatientFutureAppointment {
patientId: number;
appointmentDate: string;
appointmentTime: string;
acanTestName: string;
locationName: string;
machineName: string;
providerName: string;
}
\ No newline at end of file
export class ScanChargeModel {
scanChargeId: number;
scanTestMasterId: number;
chargeName: string;
amount: number;
active: boolean;
}

export class ScanClassification {
scanClassificationId: number;
scanClassificationName: string;
active: boolean;
createdBy: number;
createdDate: Date;
totalItems: number;
modifiedByName: string;
modifiedDate: Date;
modifiedBy: number;
createdbyName: string;
}
export class ScanDocument {
scanDocumentId: number;
bookScanAppointmentId: number;
documentName: string;
contentType: string;
size: number;
description?: string;
documentUrl: string;
thumbnailUrl: boolean;
uploadedDate: Date;
active: boolean;
isImage: boolean;
isVideo: boolean;
modifiedBy: number;
modifiedByName: string;
modifiedDate?: Date;
totalItems: number;
maxFileSize: string;
base64: string;
formedUrl: any;
patientId?: number;
}
export class ScanLog {
scanLogId: number;
logDescription: string;
logDate: string;
scanLogTypeId: number;
logFrom:number;
logTypeName:string;
AccountId:number;
fullName:string;
roleName:string;
totalItems: number;
}
export class ScanMachineAvailability {
scanMachineAvailabilityId: number;
scanMachineMasterId: number;
locationId: number;
roomName: string;
practiceName: string;
createdBy: number;
createdByName: string;
modifiedBy: number;
ModifiedByName: string;
availableDays: string;
availability: string;
machineName: string;
displayName: string;
durations: Array<duration>;
duration: string;
fromDate: string;
toDate: string;
endDate: string;
startDate: string;
fromTime: any;
toTime: any;
scanAvailabilityStatus: number;
scanAvailabilityReason: number;
scanAvailabilityStatusName: string;
scanAvailabilityReasonName: string;
scanWeekId: number;
}
class duration {
typeId: number;
value: string;
}
\ No newline at end of file
export class ScanMachine {
scanMachineMasterId: number;
machineName: string;
displayName: string;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate: Date;
scanTestName: string;
performedTestId: string;
scanTestMasterId: string;
ScanTestId: number;
isSelected: boolean;
locationNames: string;
locationId: number;
locationIds: string;
}
\ No newline at end of file

export class ScanSubClassification {
scanSubClassificationId: number;
scanClassificationId: number;
scanClassificationName: string;
scanSubClassificationName: string;
active: boolean;
createdBy: number;
createdDate: Date;
totalItems: number;
modifiedByName: string;
modifiedDate: Date;
modifiedBy: number;
createdbyName: string;
}

export class ScanTest {
scanTestMasterId: number;
scanTestName: string;
scanTestCode: string;
description: string;
duration: Date;
active: boolean;
createdBy: number;
createdDate: Date;
totalItems: number;
modifiedByName?: string;
modifiedDate?: Date;
locationIds: string;
locationId: number;
amount: number;
type: string;
chargeCategoryId: number;
chargeCategoryName: string;
LocationId: number;
locationNames: string;
modifiedBy: number;
createdbyName: string;
isAdded: boolean;
id: number;
value: string;
isSelected: boolean;
scanClassificationId: number;
scanClassificationName: string;
scanSubClassificationId: number;
scanSubClassificationName: string;
locationScanTestMasterMapId: number;
charges: Array<ChargeModel>;
}
export class ChargeModel {
chargeCategoryId: number;
chargeCategoryName: string;
amount: number;
}
\ No newline at end of file
export class Service {
serviceId: number;
serviceName: string;
active: boolean;
serviceIconId?: number;
specializationIconId?: number;
serviceJson: string;
createdDate: Date;
createdByName: string;
modifiedByName: string;
createdBy: number;
modifiedDate: Date;
modifiedBy: number;
totalItems: number;
url: string;
priority: number;
}
\ No newline at end of file
export class SessionType {
sessionTypeId: number;
name: string;
active: boolean;
createdBy: number;
modifiedBy: number;
createdDate: Date;
totalItems: number;
modifiedDate: Date;
createdByName: string;
modifiedByName: string;
}
\ No newline at end of file
export class Setting {
settingsId: number;
name: string;
active: boolean;
type: string;
description: string;
value: any;
///
imageUrl: string;
}
export class PatientSetting {
name: string;
active: boolean;
}
\ No newline at end of file
export class Settlement {
providerId: number;
providerName: string;
email: string;
noOfAppointments: number;
amount: number;
discount: number;
providerPercentage: number;
tDSAmount: number;
appCharges: number;
setteledAmount: number;
payout: number;
setteledByPayout: number;
refund: number;
moneySettled: number;
totallItems: number;
moneyWithPayU: number;
}
\ No newline at end of file
export class Specialization {
specializationId: number;
specializationIconId: number;
specializationName: string;
specializationDescription: string;
createdDate: Date;
createdBy: number;
active: boolean;
modifiedBy: number;
modifiedDate: Date;
url: string;
iconName: string;
priority: number;
locationIds: string;
locationNames: string;
encounterTypeId: number;
encounterName: string;
consultationTypeId?: number;
consultationTypeName: string;
}
\ No newline at end of file
export class Supplier {
supplierId: number;
address: string;
name: string;
mobile: string;
pinCode: string;
city: string;
supplierOf: string;
email: string;
createdDate: Date;
totalItems?: number;
supplierEncryptId?: string;
domain?: string;
link: string;
bankName: string;
ifscCode: string;
accountNumber: string;
accountHolderName: string;
emails: Array<any>;
supplierIds: string;
isLoading: boolean;
userId?: number;
dueDays?: number;
contactPersonName: string;
drugLicense: string;
gstNo: string;
pan: string;
deliverDays?: number;
}
\ No newline at end of file
export class TagDoctors {
tagDoctorId: number;
designation: string;
providerId: number;
doctorUnitMasterId: number;
providerName: string;
}
\ No newline at end of file
export class TemplateConfig {
dynamicTemplateConfigId: number;
reportName: string;
dynamicReportId: number;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate: Date;
templateName: string;
modifiedByName: string;
createdByName: string;
}
\ No newline at end of file
export class TicketCount {
total?: number;
inprogress?: number;
closed?: number;
open?: number;
pending?: number;
}
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment