Commit 01c1a395 authored by Sandeep Sagar Panjala's avatar Sandeep Sagar Panjala

initial commit

parent 94ea8e58
export * from "./insurance-admission.entity";
\ No newline at end of file
export class InsuranceAdmission {
insuranceForAdmissionId: number;
insuranceApprovalId: number;
patientInsuranceId: number;
insuranceCompanyId: number;
admissionId: number;
expectedAmount: number;
createdBy: number;
modifiedBy?: number;
expectedSettlementDate?: Date;
createdDate: Date;
modifiedDate?: Date;
insuranceCompanyName: string;
admissionNo: string;
patientName: string;
insuranceTypeName: string;
gender: string;
umrNo: string;
thumbnailUrl: string;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
age: number;
admissionDate: Date;
totalItems: number;
comment: string;
attachments: string;
files: Array<any>;
}
\ No newline at end of file
export * from "./inventory-raw-product.entity";
export * from "./inventory-raw-purchase.entity";
export * from "./inventory-warehouse-store.entity";
\ No newline at end of file
export class InventoryRawProduct {
productName: string;
company: string;
category: string;
rack: string;
purchaseQuantity: string;
purchaseUnit: string;
saleQuantity: string;
saleUnit: string;
gst: string;
minQuantity: string;
maxQuantity: string;
reorderQuantity: string;
batchNumberRequired: string;
productExpire: string;
billNumber: string;
}
\ No newline at end of file
export class InventoryRawPurchase {
productName: string;
supplierName: string;
billNumber: string;
purchaseRate: string;
quantity: string;
batchNumber: string;
expiryDate: string;
}
\ No newline at end of file
export class InventoryWareHouse {
inventoryWareHouseId: number;
name: string;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
createdBy: number;
modifiedBy?: number
createdDate: Date;
modifiedDate?: Date;
allowedAccountId: string;
users: Array<AllowedAccounts>;
active: boolean;
locationId?: number;
constructor() {
this.users = new Array<AllowedAccounts>();
}
}
export class AllowedAccounts {
moduleDepartmentUserId: number;
accountId: number;
inventoryWareHouseId: number;
fullName: string;
roleName: string;
}
import { BookingLabDetail } from "./booking-lab-detail.entity";
export class BookingLabHeader {
labBookingHeaderId: number;
patientType: string;
billNumber: string;
patientId?: number;
patientName: string;
mobile: string;
doctorName: string;
netAmount: number;
paidVia: string;
createdBy: number;
createdDate: Date;
bookingDate: Date;
createdByName: string;
isShow: boolean;
overallDiscount: number;
labDetail: Array<BookingLabDetail>;
noOfTest: number;
totalItems: number;
umrNo: string;
gender: string;
age: number;
totalAmount: number;
limit?: number;
totalElements?: number;
isLabPackage: boolean;
isLabService: boolean;
thumbnailUrl: string;
admissionId?: number;
appointmentId?: number;
otBookingDetailId?: number;
appointmentNo: string;
admissionNo: string;
locationName: string;
isSelected: boolean;
collectedFlag = true;
barcodeGeneratedName: string;
barcodeGeneratedDate: Date;
constructor() {
this.labDetail = new Array<BookingLabDetail>();
}
}
\ No newline at end of file
import { LabInPackageBooking } from "./lab-in-package-booking.entity";
export class BookingLabDetail {
labBookingDetailId: number;
labBookingHeaderId: number;
labHeaderId?: number;
labPackageId?: number;
discountAmount: number;
amount: number;
status: string;
labName: string;
packageName: string;
isReportGenerated?: boolean;
reportDate?: Date;
netAmount: number;
discountPercentage?: number;
labsInPackage: Array<LabInPackageBooking>;
isSampleCollected?: boolean;
sampleDate?: Date;
typedByName: string;
verifiedByName: string;
billNumber: string;
createdByName: string;
isSendingSMS: boolean;
isDeleteEligible: boolean;
patientId:number;
patientName: string;
doctorName: string;
totalItems: number;
umrNo: string;
barcode: string;
departmentName: string;
isSelected: boolean;
collectedSampleReceivedBy: string;
sampleReceivedDate: Date;
verifiedByDoctorName: string
constructor() {
this.labsInPackage = new Array<LabInPackageBooking>();
}
}
\ No newline at end of file
export * from "./lab-header.entity";
export * from "./lab-detail.entity";
export * from "./boking-lab-header.entity";
export * from "./booking-lab-detail.entity";
export * from "./lab-report-main.entity";
export * from "./lab-report-parameter.entity";
export * from "./lab-report-daily.entity";
export * from "./lab-package.entity";
export * from "./lab-in-package-booking.entity";
export * from "./lab-location-charges.entity";
export * from "./lab-department.entity";
\ No newline at end of file
export class LabDepartment {
labDepartmentId: number;
departmentName: string;
description: string;
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 LabDetail {
labHeaderId: number;
labDetailId: number;
testParameter: string;
referenceRange: string;
refrenceRangeUnit: number
active: boolean;
name: string;
}
\ No newline at end of file
export class LabHeaders {
labHeaderId: number;
labCode: string;
signature: string;
labName: string;
charge: number;
active: boolean;
createdBy: number;
createdDate: Date;
noOfParameter: number;
createdByName: string;
totalItems: number
inPatientCharge: number;
modifiedBy?: number;
modifiedDate?: Date;
modifiedByName: string;
isSelected: boolean;
discountPercentage?: number;
discountAmount?: number;
netAmount: number;
//Modified
labPackageDetailId: number;
labPackageId: number;
testParameter: string;
labData: Array<string>;
status: boolean;
deleting: boolean;
unit: number;
departmentName: string;
locationName: string;
labDepartmentId: number;
patientLabDetailId?: number;
}
\ No newline at end of file
import { LabReportParameter } from "./lab-report-parameter.entity";
export class LabInPackageBooking {
labBookingDetailId: number;
labBookingHeaderId: number;
labBookingPackageDetailId: number;
labHeaderId: number;
status: string;
labName: string;
labCode: string;
isReportGenerated?: boolean;
reportDate?: Date;
typedBy?: number;
verifiedBy?: number;
isSampleCollected?: boolean;
sampleDate?: Date;
typedDate?: Date;
typedByName: string;
verifiedByName: string;
labsParameters: Array<LabReportParameter>;
barcode: string;
isSelected = false;
collectedSampleReceivedBy: string;
verifiedByDoctorName: string;
sampleReceivedDate: Date;
constructor() {
this.labsParameters = new Array<LabReportParameter>();
}
}
\ No newline at end of file
export class LabLocationCharges {
locationLabHeaderMapId: number;
locationId: number;
locationName: string;
testCharge: number;
inPatientCharge: number;
active: boolean;
labHeaderId: number;
charge: number;
createdBy: number;
createdDate: string;
modifiedBy: number;
modifiedDate: number;
}
\ No newline at end of file
export class LabPackage {
labPackageId: number;
name: string; //
amount: number;
createdBy: number;
noOfLabs: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
active: boolean;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
totalItems: number;
isEditing: boolean;
isDeleting: boolean;
isSelected: boolean;
accountId: number;
}
\ No newline at end of file
export class LabReportDaily {
labName: string;
patientName: string;
umrNo: string;
mobile: string;
amount: number;
grandTotal: number;
doctorName: string;
labBookingHeaderId: number;
patientId: number;
createdBy: number;
billNumber: string;
createdByName: string;
createdDate: Date | string;
bookingDate: Date;
discountPercentage?: number;
netAmount: number;
discountAmount?: number;
overallDiscountAmount?: number;
overallNetAmount: number;
labPackageId?: number | string;
age?: number | string;
gender?: string;
paidVia: string;
accountId: number;
payTypeName: string;
paymentNumber: string;
providerId: number;
requisitionNumber: string;
overallTotalAmount: number;
totalAmount: number;
}
\ No newline at end of file
export class LabReportMain {
labBookingDetailId: number;
labBookingHeaderId: number;
labHeaderId: number;
patientId: number;
amount: number;
status: string;
isReportGenerated?: boolean;
reportDate?: Date;
labCode: string;
signature: string;
labName: string;
patientType: string;
billNumber: string;
patientName: string;
mobile: string;
doctorName: string;
paidVia: string;
createdBy: number;
createdByName: string;
netAmount: number;
createdDate: Date;
umrNo: string;
age: number;
gender: string;
isSampleCollected?: boolean;
sampleDate?: Date;
}
\ No newline at end of file
export class LabReportParameter {
labPatientParameterId: number;
labHeaderId: number;
labDetailId: number;
refrenceRangeUnit: number;
testParameter: string;
referenceRange: string;
refrenceRangeUnitName: string;
testParamResult: string;
typedBy?: number;
typedDate?: Date;
typedByName: string;
verifiedByName: string;
labBookingPackageDetailId?: number;
verifiedByDoctorId?: number;
verifiedByDoctorName: string;
verifiedByDoctorSignature: string;
}
\ No newline at end of file
export class LabVacutainer {
labVacutainerId: number;
labVacutainerName?: string = null;
active: boolean = null;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
createdByName: string;
modifiedByName: string;
totalItems: number;
}
\ No newline at end of file
export class Machine {
machineId: number;
machineCode: string;
machineName: string;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
active: boolean;
modifiedByRole: string;
createdByRole: string;
locationId: number;
createdByName: string;
modifiedByName: string;
}
\ No newline at end of file
export * from "./notification.entity";
\ No newline at end of file
export class Notification {
webNotificationId: number;
webNotificationPriorityId: number;
webNotificationLogTypeId: number;
patientId?: number;
referenceId?: number;
patientAge?: number;
message: string;
redirectionLink: string;
allowedRoles: string;
allowedAccounts: string;
priority: string;
logType: string;
patientName: string;
patientGender: string;
umrNo: string;
patientThumbnailUrl: string;
encryptedReferenceId: string;
encryptedPatientId: string;
patientMobile: string;
createdDate: Date;
isRead: boolean;
webNotificationTypeId: number;
moduleType: string;
totalItems: number;
total: number;
Amount: number;
modifiedBy: number;
appointmentId: number;
paymentNumber: string;
appointmentTimeString: string;
appointmentDate: Date;
appointmentTime: object;
tokenNumber?: number;
specializationName: string;
departmentId: string;
departmentName: string;
providerId: number;
providerName: string;
specializationId: number;
appointmentNo: string;
patientPaymentStatus?: boolean;
practiceName: string;
providerLocation: string;
nextAppointment: string;
lastConsultedDate: Date;
lastConsultedTime: string;
lastConsultedDoctor: string;
lastPaidAmount: number;
paymentStatus?: boolean;
active?: boolean;
hide: boolean;
}
\ No newline at end of file
export class NurseShiftMap {
nurseShiftMapId: number;
date: Date;
shiftId: number;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate: Date;
nurseAccountId: number;
nurseShiftStatusTypeId: number;
}
\ No newline at end of file
export class Nurses {
nurseName: string;
nurseShiftMapId: number;
dates: Array<Dates>
}
export class Dates {
date: string;
shifts: Array<Shifts>;
}
export class Shifts {
shiftName: string;
beds: Array<Beds>;
}
export class Beds {
bedId: number;
gender: string;
bedNumber: string;
patientId: number;
admissionId: number;
admissionNo: string;
patientName: string;
providerName: string;
bedStatusName: string;
expectedDichargeDate: string;
}
\ No newline at end of file
export * from "./pediatric-age-wise.entity";
export * from "./pediatric-age-wise-z-score.entity";
export * from "./pediatric-authority.entity";
export * from "./pediatric-chart-type.entity";
export * from "./pediatric-patient-measurement.entity";
\ No newline at end of file
export class PediatricAgeWiseZScoreDataModel {
pediatricAgeWiseDataId: number;
pediatricChartAuthorityId: number | null;
pediatricChartTypeId: number | null;
gender: string;
ageInMonth: number;
createdBy: number;
createdDate: Date;
modifiedBy: number | null;
modifiedDate: Date | null;
active: boolean | null;
authorityName: string;
typeName: string;
l: number | null;
m: number | null;
sd: number | null;
s: number | null;
minus3SD: number | null;
minus2SD: number | null;
minus1SD: number | null;
median: number | null;
oneSD: number | null;
twoSD: number | null;
threeSD: number | null;
}
\ No newline at end of file
export class PediatricAgeWiseDataModel {
pediatricAgeWiseDataId: number;
pediatricChartAuthorityId: number;
pediatricChartTypeId: number;
gender: string;
authorityName: string;
typeName: string;
ageInMonth: number;
sd?: number;
p1: number;
p3: number;
p5: number;
p15: number;
p25: number;
p50: number;
p75: number;
p85: number;
p95: number;
p97: number;
p99: number;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
active?: boolean;
l?: number;
m?: number;
p999?: number;
p01?: number;
p10?: number;
p90?: number;
}
\ No newline at end of file
export class PediatricChartAuthorityModel {
pediatricChartAuthorityId: number;
authorityName: string;
createdBy: number;
createdDate: Date;
modifiedBy: number | null;
modifiedDate: Date | null;
active: boolean | null;
createdByName: string;
modifiedByName: string;
}
\ No newline at end of file
export class PediatricChartTypeModel {
pediatricChartTypeId: number;
typeName: string;
active: boolean;
}
\ No newline at end of file
export class PediatricPatientMeasurementHistoryModel {
createdDate: Date;
createdBy: number;
measurements: string;
createdByName: string;
realData: any;
monthAtMeasurement: number;
}
export class DepartmentalStock {
pharmacyDepartmentId: number;
pharmacyDepartmentalStockId: number;
inventoryDepartmentId: number;
inventoryDepartmentalStockId: number;
pharmacyProductId: number;
inventoryProductId: number;
taxId: number;
quantityIn: number;
quantityOut: number;
purchaseRate: number;
mrp: number;
roq: number;
rol: number;
availableQuantity: number;
taxPercentage: number;
totalItems: number;
pharmacyStockId?: number;
pharmacyRetailStockId?: number;
pharmacyProductDetailId?: number;
inventoryProductDetailId?: number;
barcode: string;
batchNumber: string;
productName: string;
categoryName: string;
genericName: string;
rackName: string;
departmentName: string;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
createdBy: number;
modifiedBy?: number
createdDate: Date;
modifiedDate?: Date;
expiryDate?: Date;
}
export * from "./pharmacy-raw-product.entity";
export * from "./pharmacy-raw-purchase.entity";
export * from "./retail-store.entity";
export * from "./pharmacy-retail.entity";
export * from "./warehouse-store.entity";
export * from "./pharma-purchase-bill.entity";
export * from "./module-department.entity";
export * from "./departmental-stock.entity";
export * from "./issue-stock.entity";
export * from "./pharmacy-rack.entity";
export * from "./pharmacy-product-type.entity";
export * from "./pharmacy-product-sub-type.entity";
export * from "./purchase-order-header.entity";
export * from "./purchase-order-detail.entity";
export * from "./pharmacy-in-patient-return.entity";
\ No newline at end of file
export class IssueStockHeader {
totalItems: number;
pharmacyIssuedStockHeaderId: number;
inventoryIssuedStockHeaderId: number;
issuedBy: number;
handOverTo?: number;
retailWareHouseLinkId?: number;
pharmacyDepartmentId?: number;
receivedBy?: number;
issueHeaderId: number;
issuedDate: Date;
indentCreatedDate: Date;
receivedDate?: Date;
comment: string;
issueNumber: string;
indentRaisedByName: string;
handOverName: string;
raisedFromLocation: string;
raisedForRetail: string;
approvedFromWareHouse: string;
reasonForRequirement: string;
raisedForDepartment: string;
receivedByName: string;
issuedByName: string;
products: Array<IssueStockDetail>;
constructor() {
this.products = new Array<IssueStockDetail>();
}
}
export class IssueStockDetail {
pharmacyIssuedStockDetailId: number;
pharmacyIssuedStockHeaderId: number;
inventoryIssuedStockDetailId: number;
inventoryIssuedStockHeaderId: number;
pharmacyProductId: number;
inventoryProductId: number;
taxId: number;
quantityIn: number;
pharmacyStockId: number;
inventoryStockId: number;
barcode: string;
batchNumber: string;
productName: string;
genericName: string;
category: string;
taxPercentage: string;
expiryDate?: Date;
purchaseRate: number;
mrp: number;
}
import { AllowedAccount } from "./warehouse-store.entity";
export class ModuleDepartment {
pharmacyDepartmentId: number;
inventoryDepartmentId: number;
name: string;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
createdBy: number;
modifiedBy?: number
createdDate: Date;
modifiedDate?: Date;
users: Array<AllowedAccount>;
active: boolean;
locationId: number;
isUploaded: boolean;
locationName: string;
constructor() {
this.users = new Array<AllowedAccount>();
}
}
export class PharmaPurchaseBill {
pharmacyProductId: number;
billNumber: string;
billType: string;
productName: string;
genericName: string;
batchNumber: string;
barcode: string;
createdDate: Date;
billDate: Date;
categoryName: string;
companyName: string;
supplierId: number;
supplierName: string;
quantity: number;
free: number;
mrp: number;
purchaseRate: number;
total: number;
taxAmount: number;
discountAmount: number;
netAmount: number;
billTotal: number;
billTaxes: number;
billDiscount: number;
billNetAmount: number;
returnQuantity: number;
returnDate: number;
returnTotal: number;
returnNetAmount: number;
overallBillAmount: number;
overallTaxes: number;
overallDiscount: number;
overallNetamount: number;
}
\ No newline at end of file
export class PharmacyInPatientReturnModel {
pharmacyInPatientReturnId: number;
pharmacyIssueDetailId: number;
returnQuantity: number;
createdBy: number;
createdDate: Date;
acceptedBy: number | null;
acceptedDate: Date | null;
createdByName: string;
acceptedByName: string;
pharmacyProductId: number | null;
retailStockId: number | null;
productName: string;
genericName: string;
patientName: string;
mobile: string;
umrNo: string;
}

export class PharmacyProductSubType {
pharmacyProductSubTypeId: number;
subTypeName: string;
pharmacyProductTypeId: number;
typeName: string;
active: boolean;
isGeneralItem: boolean;
createdBy: number;
createdByName: string;
createdDate: Date;
modifiedBy: number | null;
modifiedByName: string;
modifiedDate: Date | null;
}
\ No newline at end of file

export class PharmacyProductType {
pharmacyProductTypeId: number;
typeName: string;
active: boolean;
isGeneralItem: boolean;
createdBy: number;
createdByName: string;
createdDate: Date;
modifiedBy: number | null;
modifiedByName: string;
modifiedDate: Date | null;
}
\ No newline at end of file
export class PharmacyRack {
pharmacyProductRackId: number;
inventoryProductRackId: number;
createdBy: number;
retailPharmacyId: number;
pharmacyDepartmentId: number;
inventoryDepartmentId: number;
inventoryWareHouseId: number;
rackName: string;
}
export class PharmacyRawProduct{
productName: string;
genericName: string;
company: string;
category: string;
rack: string;
purchaseQuantity: string;
purchaseUnit: string;
saleQuantity: string;
saleUnit: string;
gst: string;
hsnCode: string;
minQuantity: string;
maxQuantity: string;
reorderQuantity: string;
barCode: string;
productExpire: string;
billNumber: string;
batchNumberRequired: string;
rolQuantity: string;
purchaseQty: string;
categoryName: string;
}
\ No newline at end of file
export class PharmacyRawPurchase {
productName: string;
barcode: string;
supplierName: string;
billNumber: string;
purchaseRate: string;
mrp: string;
quantity: string;
free: string;
batchNumber: string;
expiryDate: string;
sgst: string;
igst: string;
}
\ No newline at end of file
export class PharmacyStore {
pharmacyStoreId: number;
createdBy: number;
name: string;
hospitalName: string;
location: string;
pinCode: string;
gstNumber: string;
createdByName: string;
createdDate: Date;
}
\ No newline at end of file
export class PurchaseOrderDetail {
purchaseOrderDetailId: number;
purchaseOrderHeaderId: number;
pharmacyProductApprovalId: number;
pharmacyProductId: number;
quantity: number;
amount: number;
taxAmount: number;
netAmount: number;
mrp: number;
purchaseRate: number;
productName: string;
genericName: string;
isGeneralItem: boolean;
companyId: number;
categoryId: number;
taxId: number;
tax: number;
categoryName: string;
companyName: string;
typeName: string;
subTypeName: string;
purchaseUnitQty: number;
saleUnitQty: number;
purchaseUnitName: string;
saleUnitName: string;
status: string;
isExpiry: boolean;
feededQuantity: number | null;
feedTotal: number | null;
free: number | null;
feedPurchaseRate: number | null;
feedMrp: number | null;
taxPerItem: number | null;
feedTaxAmount: number | null;
discountPerItem: number | null;
discountAmount: number | null;
feedNetAmount: number | null;
batchNumber: string;
expiryDate: Date | null;
pharmacyPurchaseDetailId: number | null;
pharmacyPurchaseHeaderId: number | null;
barcode: string;
purchaseFree?: number;
}
\ No newline at end of file
import { PurchaseOrderDetail } from "./purchase-order-detail.entity";
export class PurchaseOrderHeader {
purchaseOrderHeaderId: number;
poNumber: string;
poRaiseDate: string;
estimatedDeliveryDate: Date | null;
createdBy: number;
createdDate: Date;
tenderStatusId: number;
totalAmount: number;
totalTax: number;
totalNetAmount: number;
supplierId: number;
pharmacyWareHouseId: number;
dueDays: number | null;
locationId: number | null;
centralWarehouseLocationId: number | null;
supplierName: string;
wareHouseName: string;
locationName: string;
createdByName: string;
status: string;
billNumber: string;
billType: string;
billDate: Date | null;
dueDate: Date | null;
billAmount: number | null;
discount: number | null;
taxes: number | null;
netamount: number | null;
pharmacyPurchaseHeaderId: number | null;
supplier: any;
poDetail: Array<PurchaseOrderDetail>;
constructor() { this.poDetail = new Array<PurchaseOrderDetail>(); }
}
\ No newline at end of file
export class RetailStore {
retailPharmacyId: number;
retailName: string;
allowedUser: string;
userNames: string;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
createdByName: string;
modifiedByName: string;
allowedAccountId: string;
active: boolean;
wareHouseNames: string;
pharmacyWareHouseIds: string;
pharmacyWareHouse: string;
retailWareHouseLinkIdIds: string;
fullName: string;
wareHouseName: string;
locationName: string;
}
\ No newline at end of file
import { RetailStore } from "./retail-store.entity";
export class WareHouseStore {
pharmacyWareHouseId: number;
wareHouseName: string;
createdByName: string;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
createdBy: number;
modifiedBy?: number
createdDate: Date;
modifiedDate?: Date;
allowedAccountId: string;
allowedUsers: Array<AllowedAccount>;
active: boolean;
retailStoreCount: number;
locationId?: number;
centralWarehouseLocationId?: number;
centralWarehouseLocation: string;
retailStore: Array<RetailStore>;
inventoryWareHouseId: number;
name: string;
locationName: string;
isUploaded: boolean;
constructor() {
this.allowedUsers = new Array<AllowedAccount>();
this.retailStore = new Array<RetailStore>();
}
}
export class AllowedAccount {
moduleDepartmentUserId: number;
accountId: number;
pharmacyWareHouseId: number;
fullName: string;
roleName: string;
pharmacyDepartmentUserId: number;
pharmacyDepartmentId: number;
}
export * from "./provider-medication-group.entity";
export * from "./provider-medication-master.entity";
export * from "./provider-medication-map.entity";
\ No newline at end of file
export class ProviderMedicationGroup {
providerMedicationGroupId: number;
specializationId?: number;
createdBy: number;
modifiedBy?: number;
createdDate: Date;
modifiedDate?: Date;
tagName: string;
}
export class ProviderMedicationMap {
providerMedicationMapId: number;
providerId: number;
createdBy: number;
modifiedBy?: number;
createdDate: Date;
modifiedDate?: Date;
active: boolean;
}
\ No newline at end of file
export class ProviderMedicationMaster {
providerMedicationMasterId: number;
providerMedicationGroupId: number;
pharmacyProductId: number;
duration: number;
dosage: number;
categoryId: number;
companyId: number;
durationType: string;
morningDosage: string;
afternoonDosage: string;
nightDosage: string;
instruction: string;
productName: string;
genericName: string;
companyName: string;
categoryName: string;
isMorning: boolean;
isAfternoon: boolean;
isNight: boolean;
tagName: string;
specializationName: string;
specializationId?: number;
providers: Array<ProviderList>;
isAdded: boolean;
isSaved: boolean;
constructor() {
this.providers = new Array<ProviderList>();
}
}
export class ProviderList {
providerId: number;
fullName: string;
}
export class DoctorDetailReport {
providerId: number;
providerName: string;
departmentName: string;
opCount: number;
ipcount: number;
totalCount: number;
opRevenue: number;
iprevenue: number;
totalRevenue: number;
labs_investigations: number;
radiology: number;
}
\ No newline at end of file
export * from "./doctor-detail-report.entity";
\ No newline at end of file
export class Relations {
relationsId: number;
relationName: string;
ro: 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 enum ActiveStatus {
Active = 1,
InActive = 2
}
\ No newline at end of file
export enum BehavioralHealthType {
ProblemHistory,
MedicalHistory,
CurrentSupport,
CurrentLiving,
EducationalHistory,
ClientStrengths,
OutComeMeasures,
SubstanceHistory,
WorkHistory,
AbuseHistory,
ReligionSpirituality,
MentalStatus,
FamilyRelationships,
RelapsePredictors,
PatientQuestionnaire,
GeneralizedAnxietyDisorder,
BurnsDepression,
Aims,
Genogram,
Notes,
Vitals,
ReferralProvider,
FollowUp,
Medications,
TreatmentPlan,
MedicationComments,
GeneralAdvice
}
\ No newline at end of file
export enum ChargeType {
Special = 1,
Covid = 2
}
\ No newline at end of file
export enum CommunicationType {
Call = 1,
Notify = 2,
Reject = 3,
CloseAll = 4,
Join = 5,
Close = 6,
AppointmentRefresh = 7,
AppointmentAddRefresh = 8,
MessageRefresh = 9,
Cancel = 10,
Initiate = 11
}
export enum ControlType {
Text = 1,
Date = 2,
Number = 3,
Boolean = 4
}
\ No newline at end of file
export enum DentalEncounterType {
ChiefComplaints=1,
MedicalHistory,
DentalHistory,
FamilyHistory,
PersonalHabits,
OralHygiene,
ClinicalFindings,
Diagnosis,
Medications,
MedicationComments,
GeneralAdvice
}
\ No newline at end of file
export enum DeviceType {
Web = 1,
A = 2,
// ReSharper disable once InconsistentNaming
IOS = 3
}
\ No newline at end of file
export enum DietEncounterType {
dietPlanPrescribed = 1,
opNutritionScreeningForm,
opNutritionalAssessmentForm,
ipNutritionalScreeningForm,
pediatricCDCScreeningForm,
dietGuideLines,
syndromesFormP,
ordersPrescription,
referralForm,
speacialFeature
}
\ No newline at end of file
export enum EmergencyType {
EmergencyTriage = 1,
NursingERForm
}
\ No newline at end of file
export enum ExportType { XLS, XLSX, CSV, TSV}
\ No newline at end of file
export enum GYNType {
Abdomen = 1,
AdditionalLabs,
BirthControl,
Breast,
BreastScreening,
CancerHistory,
Cardiovascular,
GynHistory,
GynLabs,
GynUltraSound,
Heent,
LastBreastUltraSound,
LastDexaScan,
LastMammogram,
LastPelvicUltraSound,
Lymphatic,
MenopausalHistory,
MensutralHistory,
Musculoskeletal,
PatientDeferred,
Pelvic,
PhysicalExam,
Respiratory,
Skin,
Vitals,
GyneacCard,
GynaecOrders,
GynIUI,
GynaecVisit,
Procedure,
GyneacPartner,
ProformaForOasi,
familyHistory,
ProblemList,
surgeries, birthHistory,
Allergies,
OrderPrescription,
GyneacAdmissionSheet,
GyneacSurgery,
GyneacDiscargeSummary,
Colposcopic,
Ectopic,
SpeacialFeature,
ReferralForm,
Measure,
RefferalOrder,
MeasureCommonData,
ScanAppointmentDetails
}
\ No newline at end of file
export enum HomeopathyType {
Confidential = 1,
CCAndOC,
AdditionalComplaints,
PastIllness,
FamilyIllness,
SpouseAndChildren,
PersonalHistory,
PersonalHabits,
AppetiteAndThirst,
BowelMovements,
Urination,
SweatFeverChill,
ChestHeartColdCough,
SexualSphere,
GeneralComplaints,
AffectedFactors,
EmotionalNature,
SleepAndDreams,
Children,
ChiefComplaints,
Medications,
MedicationComments,
FollowUp,
GeneralAdvice
}
\ No newline at end of file
export * from "./modal-type.enum";
export * from "./device-type.enum";
export * from "./sinch-status-type.enum";
export * from "./lookup-type.enum";
export * from "./record-status.enum";
export * from "./role.enum";
export * from "./internal-medicine-type.enum";
export * from "./communication-type.enum";
export * from "./homeopathy-type.enum";
export * from "./dental-encounter-type.enum";
export * from "./behavioral-health-type.enum";
export * from "./menu-type.enum";
export * from "./charge-type.enum";
export * from "./export-type.enum";
export * from "./control-type.enum";
export * from "./receipt-type.enum";
export * from "./widget-type.enum";
export * from "./gyn-type.enum";
export * from "./ob-encounter.enum";
export * from "./active-status.enum";
export * from "./payment-module.enum";
export * from "./diet-encounter.enum";
export * from "./emergency-type.enum";
\ No newline at end of file
export enum InternalMedicineType {
ProblemList = 1,
CheifComplaints,
FollowUp,
Medications,
Notes,
Vitals,
SocialHistory,
FamilyMedicalHistory,
Diagnosis,
GeneralAdvice,
Heent,
Skin,
Abdomen,
Musculoskeletal,
Neurology,
Extremities,
Respiratory,
Ekg,
CardioVascular,
Allergies,
Hospitalization,
PreventiveCare,
Immunizations,
MedicationProblems,
CurrentMedications,
ReviewOfSystems,
MedicationComments,
dietGuidlines
}
\ No newline at end of file
export enum IvfEncounterType {
EmbryoFreezing = 1,
MarriedLifeHistory,
BirthControl,
ContraceptionHistory,
MenstrualHistoryPresent,
AddIUIData,
DualTriggerInjection,
GynHistory,
IUISummary,
Laproscopy,
Hysteroscopy,
Fertilization,
EmbryoQuality,
StimulationChart,
OtherInvestigationHistory,
PersonalHistory,
FamilyHistory,
MensutralHistory,
PhysicalGyecologicalHistory,
IvfSummary,
CoitalHistory,
PreviousObstetricHistory,
PreviousInfertilityTreatmentHistory,
MedicalAndSurgicalHistory,
IvfData,
SingleTriggerInjection,
IvfDualTriggerInjection,
GynIUI,
Fet,
IvfSimulationScan,
EmbryoThawing,
Aspiration,
CryoPreservation,
OocytCryoPreservation,
EmbyologyDetail,
ObservationInfertility,
InfertilityHistory,
IUIStimulationScan,
ordersPrescription,
}
export enum LookupType {
ProblemList = 24,
PlStatus = 43,
Ppd = 52,
Relation = 44,
Health = 34,
Allergies = 9,
Reactions = 46,
Hospitalization = 10,
PCare = 41,
Initial = 51,
Site = 5,
Vaccine = 22,
gynLabs=33
}
\ No newline at end of file
export enum MenuType {
MainMenu = 1,
SubMenu = 2,
NestedMenu = 3,
HiddenMenu = 4,
InPageMenu = 5,
CategoryMenu = 6
}
export enum AllowType
{
Allowed = 1,
NotAllowed = 2,
BreakIt = 3,
Redirect = 4
}
\ No newline at end of file
export enum ModalType {
Add,
Edit,
View,
Url,
Reject,
Export
}
\ No newline at end of file
export enum OBEncounterType {
ProblemList = 1,
Vitals,
BriefRos,
GeneticScreening,
InfectionHistory,
ANCCaredClosure,
BreastExamination,
AncCardGeneration,
Complaints,
OrderPrescription,
ObstetricExamination,
VaginalExamination,
PlanOfManagement,
DrugHistory,
MenstrualHistory,
OtherDetail,
vteRisk,
birthHistory,
procedureForm,
sgaScanning,
surgeries,
antinantalRisk,
vaccine,
PostnanatalVisit,
Measure,
GeneralExamination,
Breech,
AncCards,
Covid,
AnaesthesiaRecord,
PrePregnancyCounseling,
Allergies,
familyHistory,
outPatientManagement,
PrePregnancyPlan,
SpeacialFeature,
ReferralForm,
RefferalOrder,
AdmissionSlip,
MotherWithEpilepsy,
ExternalCephalicVersion,
DischargeSummary,
Syndromes,
OPManagement,
NurseAssessment,
OutSideTests,
MeasureCommonData,
AncCardCloseCommonData,
NeonatalAssessmentForm,
ScanAppointmentDetails
}
export enum PaymentModule {
Patient = 1,
Appointment,
Pharmacy,
Labs,
ScanAppointment,
Admission,
ViewMachine,
Services
}
\ No newline at end of file
export enum PayType {
Cash = 1,
Card = 2,
Cheque = 3,
DD = 4,
UPI = 5
}
\ No newline at end of file
export enum PediatricEncounterType {
Measurements = 1,
NeonatalRisk,
PediatricRisk,
Syndrome,
ClinicalExamination,
DownSyndromeFollowUp,
HighRiskIntial,
PediatricGuide,
OrderPrescription,
Allergies,
RefferalOrder,
VaccineDetail,
MChat,
FamilyHistory,
BirthHistory,
specialFeature,
DiagnosisOrder,
NextVisitOrder
}
\ No newline at end of file
export enum ReceiptType {
Cash = 1,
Refund = 2
}
\ No newline at end of file
export enum RecordStatus {
Add,
Edit,
Delete
}
\ No newline at end of file
export enum Role {
SuperAdmin = 1,
Administrator,
Provider,
Patient,
Admin,
Support,
Nurse,
Receptionist,
Accountant,
SymptomCreator,
SymptomManager
}
export enum SinchStatusType {
IsInCall = 1,
OutOfCall = 2,
Fetching = 3,
Initiating = 4,
Ringing = 5,
Answered = 6,
Hangup = 7
}
\ No newline at end of file
export enum WidgetType {
Count = 1,
Chart = 2,
TotalRevenue = 3,
PharmacyDashboard =4,
TableView = 5
}
\ No newline at end of file
import { Injectable } from "@angular/core";
import { NgbDateParserFormatter, NgbDateStruct, NgbDateAdapter } from "@ng-bootstrap/ng-bootstrap";
import { isNumber, padNumber, toInteger, DateHelper } from "@shared/helpers/date.helper";
@Injectable()
export class DateParserFormatter extends NgbDateParserFormatter {
parse(value: string): NgbDateStruct {
if (value) {
const dateParts = value.trim().split("/");
if (dateParts.length === 1 && isNumber(dateParts[0])) {
return { year: toInteger(dateParts[0]), month: null, day: null };
} else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) {
return { year: toInteger(dateParts[1]), month: toInteger(dateParts[0]), day: null };
} else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) {
return { year: toInteger(dateParts[2]), month: toInteger(dateParts[1]), day: toInteger(dateParts[0]) };
}
}
return null;
}
format(date: NgbDateStruct): string {
let stringDate = "";
if (date) {
stringDate += isNumber(date.month) ? padNumber(date.month) + "/" : "";
stringDate += isNumber(date.day) ? padNumber(date.day) + "/" : "";
stringDate += date.year;
}
return stringDate;
}
}
@Injectable()
export class NgbUTCStringAdapter extends NgbDateAdapter<string> {
fromModel(date: string): NgbDateStruct {
return DateHelper.toNgbDateStruct(date);
}
toModel(date: NgbDateStruct): string {
return DateHelper.toString(date);
}
}
\ No newline at end of file
export * from "./date-parser-formatter";
\ No newline at end of file
import { Injectable } from "@angular/core";
import { CanActivate, Router } from "@angular/router";
import { Observable, of } from "rxjs";
import { catchError, map } from "rxjs/operators";
import { IdentityService, MenuService } from "@shared/services";
@Injectable()
export class AccessGuard implements CanActivate {
constructor(
private readonly router: Router,
private readonly identityService: IdentityService,
private readonly menuService: MenuService
) { }
canActivate(): Observable<boolean> | boolean {
const userAccountReq = this.identityService.status();
return userAccountReq
.pipe(
map((roleId: number) => {
if (roleId) {
this.router.navigate([this.menuService.getDefaultRoute]);
return false;
} else {
return true;
}
}),
catchError(() => {
return of(true);
})
);
}
canActivateChild(): Observable<boolean> | Promise<boolean> | boolean {
return this.canActivate();
}
}
\ No newline at end of file
import { Injectable } from "@angular/core";
import { CanActivate, CanActivateChild, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from "@angular/router";
import { Observable } from "rxjs";
import { MenuService } from "../services";
import { AllowType } from "../enums";
@Injectable()
export class AuthGuard implements CanActivate, CanActivateChild {
constructor(
private readonly menuService: MenuService,
private readonly router: Router
) {
}
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot):
Observable<boolean> | Promise<boolean> | boolean {
return this.activateHelper(route, state);
}
activateHelper = (_route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {
const allowType = this.menuService.isAllowed(state.url, true);
if (typeof allowType === 'string') {
this.router.navigateByUrl(allowType);
return false;
} else {
switch (allowType as AllowType) {
case AllowType.Allowed:
return true;
case AllowType.NotAllowed:
return false;
case AllowType.BreakIt:
this.router.navigateByUrl("login");
return false;
default:
return false;
}
}
}
canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot):
Observable<boolean> | Promise<boolean> | boolean {
return this.activateHelper(route, state);
}
}
////import { Injectable } from "@angular/core";
////import { CanActivate, CanActivateChild, Router } from "@angular/router";
////import { Observable, of } from "rxjs";
////import { catchError, map } from "rxjs/operators";
////import { IdentityService, appUrls } from "@shared/services";
////@Injectable()
////export class AuthGuard implements CanActivate, CanActivateChild {
//// constructor(
//// private readonly identityService: IdentityService,
//// private readonly router: Router
//// ) {
//// }
//// canActivate(): Observable<boolean> | Promise<boolean> | boolean {
//// const userAccountReq = this.identityService.status();
//// return userAccountReq
//// .pipe(
//// map((roleId: number) => {
//// if (roleId) {
//// return true;
//// }
//// this.router.navigateByUrl(appUrls.login);
//// return false;
//// }),
//// catchError(() => {
//// return of(false);
//// })
//// );
//// }
//// canActivateChild(): Observable<boolean> | Promise<boolean> | boolean {
//// return this.canActivate();
//// }
////}
\ No newline at end of file
import { Injectable } from '@angular/core';
import { CanDeactivate, UrlTree } from "@angular/router";
import { Observable } from 'rxjs';
export interface ICanComponentDeactivate {
canDeactivate: () => Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
}
@Injectable()
export class DeactivateGuard implements CanDeactivate<ICanComponentDeactivate> {
canDeactivate(component: ICanComponentDeactivate): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
return component.canDeactivate();
}
}
\ No newline at end of file
export * from "./access.guard";
export * from "./auth.guard";
export * from "./role.guard";
export * from "./deactivate.guard";
export * from "./telemedicine.guard";
\ No newline at end of file
import { Injectable } from "@angular/core";
import { ActivatedRouteSnapshot, CanActivate, Router } from "@angular/router";
import { Observable, of } from "rxjs";
import { catchError, map } from "rxjs/operators";
import { IUserAccount } from "@shared/models";
import { PermissionHelper } from "@shared/helpers/permission.helper";
import { AppData, IdentityService, appUrls } from "@shared/services";
class RouteData {
title?: string;
filters?: boolean;
roles?: Array<number>;
}
@Injectable()
export class RoleGuard implements CanActivate {
routeData: RouteData;
permissions: PermissionHelper;
constructor(
private readonly appData: AppData,
private readonly router: Router,
private readonly identityService: IdentityService,
) {
this.routeData = new RouteData();
}
canActivate(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean {
this.routeData = route.data;
return this.appData.userAccount.pipe(
map((account: IUserAccount) => {
this.permissions = new PermissionHelper(account.roleId);
const exists = this.routeData.roles.find((o: number) => o === account.roleId);
if (exists !== undefined) {
return true;
} else {
this.identityService.signOut().subscribe(() => {
this.router.navigateByUrl(appUrls.login);
this.appData.setAccount(null);
delete localStorage["ProviderVideoCallingSession"];
});
}
}),
catchError(() => {
return of(false);
})
);
}
}
\ No newline at end of file
import { Injectable } from '@angular/core';
import { CanActivateChild, CanDeactivate, UrlTree } from "@angular/router";
import {JitsiService} from "../services";
import { Observable } from 'rxjs';
export interface CanComponentDeactivate {
canDeactivate: () => Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
}
@Injectable()
export class TelemedicineGuard implements CanActivateChild, CanDeactivate<CanComponentDeactivate> {
constructor(
private readonly jitsiService: JitsiService
) {
}
canActivateChild() {
return true;
}
canDeactivate(_component: CanComponentDeactivate): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
if (this.jitsiService.isRoomActive) {
this.jitsiService.closeCall(true);
return false;
} else {
return true;
}
}
}
\ No newline at end of file
import { AppConfig } from "@shared/services";
export class ApiResources {
static readonly account = {
base: "account",
authenticate: "authenticate",
refresh: "refresh-authentication",
forgotPassword: "forgot-password",
updatePassword: "change-password",
fetch: "fetch",
modifyStatus: "modify-status",
lockStatus: "modify-locked-status",
getMenus: "get-menus",
modifyLocation: "modify-account-location",
logOut: "web-logout",
isNurse: "is-nurse"
};
static readonly counselling = {
base: "counselling",
fetch: "fetch",
fetchBasics: "fetch-basics",
find: "find",
patientInfo: "patient-info",
modify: "modify",
publish: "publish",
enable: "enable",
disable: "disable",
delete: "delete"
};
static readonly receipt = {
base: "receipt",
fetch: "fetch",
insert: "insert",
cancel: "cancel",
fetchReceiptTypes: "fetch-receipt-types"
};
static readonly feedback = {
base: "feedback",
add: "add",
fetch: "fetch",
addQuestion: "add-question",
update: "update",
delete: "delete",
questionFetch: "fetch-question"
}
static readonly queue = {
base: "queue",
fetch: "fetch",
callout: "callout",
checkIn: "check-in",
accept: "accept",
cancel: "cancel",
complete: "complete",
saveWebToken: "save-web-token",
moveToQueue: "move-to-queue"
}
static readonly discharge = {
base: "discharge",
fetchInstructions: "fetch-instructions",
fetchStatus: "fetch-status",
insert: "insert",
update: "update",
fetch: "fetch",
dischargeinsert: "insert-discharge",
dischargeupdate: "update-discharge",
dischargefetch: "fetch-discharge"
};
static readonly finalBill = {
base: "final-bill",
fetch: "fetch",
insert: "insert",
cancel: "cancel",
getBasics: "get-basics"
};
static readonly bedManagement = {
base: "bed-management",
fetchWards: "fetch-wards",
fetchRooms: "fetch-rooms",
fetchBeds: "fetch-beds",
fetchAvailablityBeds: "fetch-beds-availability",
fetchlistview: "fetch-beds-listview",
findPatientDetailsOnBed: "find-patient-bed-details",
countAvailableBeds: "count-available-beds",
countBookedBeds: "count-booked-beds",
countCleaningBeds: "count-cleaning-beds",
countTotalBeds: "count-total-beds",
fetchBedStatus: "bed-status-list",
};
static readonly chargeManagement = {
base: "charge-management",
masters: "masters",
fetch: "fetch",
insert: "insert",
update: "update",
fetchWithCharges: "fetch-with-charges",
};
static readonly package = {
base: "package",
fetch: "fetch",
insert: "insert",
update: "update",
delete: "delete",
productMasters: "fetch-Product-masters",
fetchProducts: "fetch-Products",
surgeryMasters: "fetch-surgery-masters",
fetchSurgeries: "fetch-surgeries",
metaData: "fetch-meta-data",
deletePackageCharge: "delete-package-charge",
};
static readonly packageModule = {
base: "package-module",
fetchLocations: "fetch-locations",
fetchChargeCategories: "fetch-charge-categories",
fetchChargeCategoriesWithTotal: "fetch-charge-categories-with-total",
fetchModules: "fetch-modules",
fetchModuleCharges: "fetch-module-charges",
fetchChargeDetails: "fetch-charge-details",
modify: "modify",
view: "view",
fetch: "fetch",
fetchPackageDetails: "fetch-package-details",
find: "find",
enable: "enable",
disable: "disable",
delete: "delete",
uploadDocument: "upload-package-document",
fetchPackageDocuments: "fetch-package-document"
};
static readonly serviceOrder = {
base: "service-order",
getAdmissionBasic: "get-admission-basic",
totalPaid: "total-paid",
insert: "insert",
insertLabOnly: "insert-lab-only",
update: "update",
fetch: "fetch",
fetchAdmission: "fetch-admission",
automatic: "automatic",
fetchCounsellings: "fetch-counsellings",
applyCounsellings: "apply-counselling",
isFirst: "is-first",
addPackage: "add-package",
getPreviousPackages: "fetch-previous-packages"
};
static readonly menu = {
base: "menu",
insert: "insert",
insertOnly: "insert-only",
removeOnly: "remove-only",
update: "update",
fetch: "fetch",
freeFetch: "free-fetch",
relationships: "relationships",
addButton: "add-button",
roles: "roles",
updateRelationships: "update-relationships"
};
static readonly auditlog = {
base: "auditlog",
fetch: "fetch",
insert: "insert"
};
static readonly exceptionLog = {
base: "exception-log",
fetch: "fetch",
fetchLogRoute: "fetch-log-route",
resolve: "resolve",
fetchMethod: "fetch-method"
};
static readonly progressReport = {
base: "progress-report",
medicationsAsync: "medications-async",
instructions: "fetch-instructions",
insertMedication: "insert-medications",
fetchMedication: "fetch-medications",
fetchTimeline: "fetch-timeline",
fetchAllTimeline: "fetch-all-timeline",
fetchCounts: "fetch-counts",
fetchTimelineDates: "fetch-timeline-dates",
fetchMedicationTimeline: "fetch-medications-timeline",
stopMedication: "stop-medication",
takeMedication: "take-medication",
fetchMedicationInfo: "fetch-medication-info",
mealTypesAsync: "meal-type-async",
updateMedication: "update-medication",
deletemedication: "delete-medication"
};
static readonly progressReportLab = {
base: "progress-report-lab",
labsAsync: "labs-async",
fetch: "fetch"
};
static readonly patientInsurance = {
base: "patient-insurances",
add: "add",
};
static readonly progressReportNote = {
base: "progress-report-note",
fetch: "fetch",
insert: "insert",
update: "update",
delete: "delete"
};
static readonly nurseNote = {
base: "nurse-note",
fetch: "fetch",
insert: "insert"
};
static readonly progressReportVitals = {
base: "progress-report-vitals",
fetch: "fetch",
insert: "insert",
update: "update",
delete: "delete",
fetchVitalType: "fetch-vital-type",
fetchUnitType: "fetch-unit-type"
};
static readonly progressReportDiet = {
base: "progress-report-diet",
fetch: "fetch",
insert: "insert",
update: "update",
delete: "delete",
stopDiet: "stop-diet"
};
static readonly progressReportAssessments = {
base: "progress-report-assessments",
fetch: "fetch",
insert: "insert",
update: "update",
delete: "delete",
fetchAssessmentType: "fetch-assessment-type"
};
static readonly resources = {
base: "resources",
specializations: "specializations",
services: "services",
timeZones: "time-zones",
countries: "countries",
patients: "patients",
ScanPatients: "scan-patients",
surgeryTypes: "surgeryTypes",
provider: "provider",
providerWithCharges: "provider-with-charges",
relationships: "relationships",
insuranceCompanies: "insurance-companies",
tpaCompanies: "tpa-companies",
defaultChargeCathgory: "default-chargecategory",
providerLocations: "provider-locations",
providers: "providers",
providerOnly: "provider-only",
drugs: "drugs",
generalAdvice: "general-advices",
icdCode: "icd-codes",
practiceLocations: "practice-locations",
lookups: "lookups",
labOrder: "lab-order",
labOrders: "lab-orders",
radiology: "radiology",
lookupValues: "lookup-values",
documentCategories: "document-categories",
role: "roles",
rolesWithOutPatient: "RolesWithOutPatient",
fetchUsers: "fetch-users",
fetchNurses: "fetch-nurses",
fetchAllUsers: "fetch-all-users",
fetchAdminSuperAdmin: "fetch-admin-super-admin-users",
languages: "languages",
questions: "questions",
fetchUsersOnly: "fetch-users-only",
fetchPatient: "fetch-patients",
departments: "fetch-providerdepartments",
department: "department",
pharmacyCategories: "fetch-pharmacy-categories",
pharmacyCompanies: "fetch-pharmacy-companies",
pharmacyProducts: "fetch-pharmacy-products",
pharmacyProduct: "fetch-pharmacy-product",
homeopathyDrugs: "homeopathy-drugs",
instructions: "instructions",
problemList: "problem-list",
familyMembers: "family-members",
radiologyOrders: "radiology-orders",
receiptReports: "receipt-reports",
encounterLookups: "encounter-lookups",
encounterLookupValues: "encounter-lookup-values",
allAccountWithoutCurrentRoleId: "account-without-passed-role",
patientDoctorsOnly: "patient-doctors-only",
logType: "log-types",
pharmacyLogType: "pharmacy-log-types",
inventoryLogType: "inventory-log-types",
dischargeStatus: "discharge-statuses",
labLogType: "lab-log-type",
scanLogType: "scan-log-type",
labName: "lab-name",
providername: "fetch-provider",
widgetTypes: "widget-types",
payType: "pay-type",
allPayTypes: "all-Pay-types",
widgets: "widgets",
states: "states",
cities: "cities",
packages: "packages",
packageModules: "package-modules",
moduleTypes: "module-types",
packageTypes: "package-types",
floors: "floors", // with login location
allFloors: "all-floors",
wards: "wards",
allWards: "all-wards",
rooms: "rooms",
allRooms: "all-rooms",
beds: "beds",
allBeds: "all-beds",
bedStatus: "bed-status",
allScanMachines: "all-scan-machines",
allScanTests: "all-scan-tests",
scanMachineFilterMachines: "scan-machine-filter-machines",
scanMachineFilterTests: "scan-machine-filter-tests",
allLocationScanTests: "all-location-scan-tests",
filtersData: "fetch-beds-filters-data",
fetchImages: "image",
fetchGeneralWardNurses: "fetch-general-ward-nurses",
fetchShifts: "fetch-shifts",
fetchSlots: "fetch-slots",
fetchInsuranceTypes: "fetch-insurance-types",
patientInsurances: "fetch-patient-insurances",
retailStore: "fetch-retail-store",
patientAdmissionDoctorOnly: "patient-admission-doctors-only",
demandProducts: "demand-products",
patientAppointmentDoctorOnly: "patient-appointment-doctors-only",
wareHouse: "fetch-ware-house",
inventoryWareHouse: "fetch-Inventory-warehouse",
mealType: "meal-types",
providerPracticeLocation: "provider-practice-location",
admissionProviders: "admission-providers",
problems: "problems",
goals: "goals",
objectives: "objectives",
interventions: "interventions",
locations: "locations",
hwcPatient: "hwc-patients",
allHWCPatients: "all-hwc-patients",
widgetCountTypes: "widget-count-types",
appointmentTypes: "appointment-types",
referredByNames: "referredByNames",
labDepartment: "lab-department",
labMaster: "lab-master",
labVacutainer: "lab-vacutainer",
scanMachines: "scan-machine-availability",
fetchScanMachineTest: "fetch-scan-machine-test",
scanClassification: "fetch-scan-classification",
getAncNumber: "get-anc-number",
getPatientBMI: "get-patient-bmi",
scanSubClassification: "fetch-scan-sub-classification",
scanSubClassificationTests: "fetch-sub-classification-tests",
scanMachineMaster: "scan-machine-master",
fetchAdminAndSupportAssignee: "fetch-admin-and-support-users-assignee",
providerDepartment: "providerDepartment",
activePatients: "active-patients",
locationMapAccount: "fetch-account",
locationMapAccountDynamic: "fetch-account-dynamic",
providerAccountLocationMap: "fetch-provider-account",
scanProviderLocationBased: "fetch-location-scan-provider",
notificationTypes: "notification-types",
providerSpecializations: "provider-specializations",
inventoryProduct: "fetch-inventory-products",
payCategories: "fetch-pay-category",
menuAccessedRoles: "menuAccessedRoles",
consultationType: "consultation-type",
availabilityChargeType: "availability-charge-type",
searchPatientByFilter: "appointment-patient-filter",
providerAvailability: "provider-availability",//
receiptAreaTypeId: "receipt-area",
partsOfDay: "parts-of-day",
howDidYouKnow: "how-did-you-know",
education: "education",
occupation: "occupation",
activeStatus: "active-status",
doctorSpecializations: "doctor-specialization",
locationProviders: "location-provider",
locationSpecializations: "location-specializations",
providerSchdule: "provider-schdule",
specializationForProviderAvialability: "specialization-provider-availability",
pathologyProviders: "pathology-providers",
encounterType: "encounter-type",
locationScanTest: "location-scan-test",
locationScanMachine: "location-scan-machine",
fetchScanMachinesTests: "fetch-scan-machines-tests",
getProfileImage: "get-profile-image",
fetchScanTestCategoryTypes: "fetch-scan-test-category-types",
chargeCategory: "charge-category",
locationForPractice: "locations-practice",
practiceLocationsForProvider: "practice-provider-location",
scanAvailabilityStatus: "scan-availability-status",
scanAvailabilityReason: "scan-availability-reason",
scanScrollResult: "scan-scroll-result",
chargeCategoryLocation: "charge-category-location",
otRoomMaster: "ot-room-master",
surgeryNames: "surgey-names",
providersForOt: "provider-names",
accountWithExpectedRole: "account-with-passed-role",
idProofNames: "idproof-names",
fetchPatientNameMobileUmr: "patient-name-mobile-Umr",
anaesthesiaTypes: "anaesthesia-types",
surgeris: "surgeries",
locationSurgeries: "location-surgeries",
fetchOTRoomSurgery: "fetch-Otroom-surgeries",
fetchRooms: "fetch-rooms",
fetchCaseTypes: "fetch-case-types",
fetchEmergencyCaseTypes: "fetch-emergencyCase-types",
discountNames: "discount-module",
counsellingTypes: "counselling-types",
fetchAdmissionPayTypes: "admission-pay-type",
SessionType: "session-type",
doctorSpecializationwithAllConsultations: "provider-specialization-all-consulation",
checkNewPatientAppointment: "check-new-patient-appointment",
referralDoctor: "referral-doctor",
visitTypes: "visit-types",
inPatients: "in-patients",
uniqueOTRooms: "unique-otRooms",
doctorWeek: "doctor-week",
outPatients: "out-patients",//
healthCard: "health-card",
appointments: "appointments",
fetchSurgeries: "unique-surgeries",
ambulances: "ambulances",
drivers: "driver-details",
reasons: "reasons",
authorityMaster: "authority",
doctorUnit: "doctorUnit",
providerSignature: "provider-signature",
consultantDoctor: "consultant-doctors",
medicationFrequency: "medication-frequency",
lookupValueOnLookupName: "lookup-value-on-name",
registeredPatients: "registered-patients",
fetchProviderLocation: "fetch-provider-location",
scanDistinctOutPatients: "scan-distinct-out-patients",
scanBulkRCPatients: "scan-bulk-reschedue-patients",
dietGuidlines: "diet-guidlines",
dietTypes: "diet-type",
patientNameAppointment: "patient-name-appointment",
doctorAppointmentNotice: "doctor-appointment-notice",
scanAppointmentNotice: "scan-appointment-notice",
emergencyDetails: "emergency-detail",
patientRegistrationCharges: "patient-registration-charge",
practice: "practice",
enounterLookUp: "encounter-lookup",
encounterLookupvalues: "encounterlookupvalues",
scantestMachines: "fetch-scan-test-machines",
admissionPatients: "fetch-admission-patients",
parentPatient: "fetch-parent-patients",
getWareHouseRetailStore: "get- warehouse - retailstore",
getWareHouses: "fetch-warehouse",
lWareHouses: "location-warehouses",
retailStoreWare: "warehouse-retail",
encounterTemplates: "fetch-template-header",
modulesMaster:"fetch-modules-master"
};
static readonly pharmacyIndent = {
base: "pharmacy-indent",
findStocks: "find-stocks-by-productId",
add: "add-pharmacy-indent",
fetchPharmacyIndentHdr: "fetch-pharmacy-indent-hdr",
fetchPharmacyIndentDtl: "fetch-pharmacy-indent-dtl",
delete: "delete-pharmacy-indent",
delivery: "on-agree-delivered"
}
static readonly services = {
base: "services",
fetch: "fetch",
find: "find",
add: "add",
update: "update",
modifyStatus: "modify-status",
delete: "delete"
};
static readonly providerEncounter = {
base: "providerEncounter",
fetch: "fetch",
updatelookupvalue: "update-lookup-value",
add: "add",
delete: "delete",
providerEncounter: "fetch-provider-encounter",
generaAdvices: "fetch-general-advices",
icdCodes: "fetch-icd-codes",
laborderValues: "fetch-lab-order-values",
radiologyValues: "fetch-radiology-values",
allergies: "fetch-allergies",
reactions: "fetch-reactions",
hospitalizations: "fetch-hospitalizations",
initials: "fetch-initials",
pCares: "fetch-pcares",
sites: "fetch-sites",
vaccines: "fetch-vaccines",
unassignAllGeneralAdvices: "update-unassign-all-general-advices",
unassignAllIcdCodes: "update-unassign-all-icd-codes",
unassignAllLabOrderValue: "update-unassign-all-lab-order-value",
unassignAllRadiologyValue: "update-unassign-all-radiology-value",
unassignAllAllergies: "update-unassign-all-allergies",
unassignAllReactions: "update-unassign-all-reactions",
unassignAllHospitalization: "update-unassign-all-hospitalization",
unassignAllInitials: "update-unassign-all-initials",
unassignAllPCares: "update-unassign-all-pcare",
unassignAllSites: "update-unassign-all-site",
unassignAllVaccines: "update-unassign-all-vaccine",
};
static readonly radiology = {
base: "radiology",
update: "update",
add: "add",
fetch: "fetch",
delete: "delete"
};
static readonly patients = {
base: "patients",
fetch: "fetch",
find: "find",
profile: "profile",
add: "add",
getRaw: "get-raw",
update: "update", /// master/patient/edit /update
updateProfileImage: "update-profile-image",
modifyStatus: "modify-status",
lockStatus: "lock-status",
manualVerify: "manual-verify",
fetchFamilyMembers: "fetch-family-member",
addMembers: "add-member",
updateMembers: "update-family-member",
deleteMembers: "delete-family-member",
modifyRegistrationCharge: "modify-registration-charge",
fetchRegistrationCharge: "fetch-registration-charge",
applyRegistrationCharge: "apply-registration-charge",
fetchRegistrationBill: "fetch-registration-bill",
fetchRegistrationBillWithRelative: "fetch-registration-bill-with-relative",
addUnidentifiedPatient: "add-unidentified-patient", /// master /patient/ add unidentify
patientRegistrationCharges: "patient-registration-charges",
updatePatientDetails: "update-patient-details",
updatePatientMultipleFormsDetails: "updatePatientMultipleForms",
fetchANCCard: "fetch-anc-card",
addBabyPatient: "add-baby-patient",
patientTimeline: "patient-timeline"
};
static readonly practices = {
base: "practices",
fetch: "fetch",
find: "find",
add: "add",
update: "update",
fetchPracticeInfo: "fetch-practice-info"
};
static readonly report = {
base: "reports",
fetch: "fetch",
inPatients: "in-patients",
outPatients: "out-patients",
dashboardInPatient: "dashboard-in-patients",
dashboardOutPatient: "dashboard-out-patients",
receiptReports: "receipt-reports",// ip/ou/for employee revenue
indentInventoryReports: "indent-inventory-reports",
indentInventoryPurchaseBillReports: "indent-inventory-purchase-bill-reports",
indentInventoryStockReports: "indent-inventory-stock-reports",
pharmacyBillReport: "pharmacy-bill-reports",/// pharma employee revenue
employeeRevenueReport: "employee-revenue-reports",
pharmarcySalesReport: "pharmacy-sales-reports",
dailySalesReport: "daily-sales-reports",
patientPharamcyReport: "patient-pharmacy-reports",
pharamcyPurchaseReport: "pharmacy-purchase-reports",//pharma_purcharse_report4warehouses
productPurchaseReport: "product-purchase-reports", //not in use.
// pharmarcyStockReport: "pharmacy-stock-reports",
pharmacyRetailStockReport: "fetch-pharmacy-retail-stock-report",
pharmarcyStockReport: "fetch-pharmacy-stock-report",
doctorRevenueReport: "doctor-revenue-reports",
pharmacyIndentIssueReport: "pharmacy-indent-issue-reports",
productSaleReport: "product-sale-reports",
sendFinalBillEmail: "send-final-bill-email",
updatePharmacyPurchaseBill: "update-pharmacy-purchase-bill", //not in use
productProfitReport: "product-profit-report",
patientRegistrationReport: "patient-registration-report",/// revenue-patient reg
doctorRevenueLocationReport: "doctor-revenue-location-reports",
employeeRevenueLocationReport: "employee-revenue-location-reports",// for employee revenue
cancelAppointments: "cancel-apppointments-with-refund-details",
patientApppointments: "patient-apppointments",
transactionReport: "transaction-report",
newPatient: "new-patient-report",
detailedEmployeeRevenueReport: "detailed-revenue-report",
cancelRefundReceipt: "cancel-refund-receipt",
opDailyGrossCollection: "op-daily-gross-collection",
scheduledAppointment: "providers-appointment-slot",
loginUserCollection: "login-userwise-collection",
userCollection: "user-collection",
dashboardFollowUpPatients: "dashboard-followUp-patients",
dashboardOnlinePatients: "dashboard-online-patients",
dashboardWalkin: "dashboard-walkIn-appointmnet",
dashbardNewAppointment: "dashboard-new-appointment",
dashbardNewPatientAppointment: "dashboard-newpatients-appointmnet",
dashboardOTAppointment: "dashboard-ot-appointmnet",
admissionFormReport: "admission-form-report",
fetchAllApts: "all-appointments",
scheduledScanSlots: "scheduledScanSlots",
misFetchReport: "mis-fetch-report",
fetchAdmission: "all-admissions",
newDoctorDetailRevenue: "new-doctor-detail-revenue",
labnewTATReport: "lab-tat-new-report",
labMonthlyCount: "lab-monthly-count",
consultationWiseReport: "consultation-wise-report",
admissionDepartment: "admission-department",
consultantStatistics: "consultant-statistics",
medicationCountReport: "medication-count-report",
labDetailReport: "lab-detail-report",
expiryStockReport: "expiry-stock-report",
billDiscount: "bill-discount"
};
static readonly providers = {
base: "providers",
register: "signup",
profile: "find",
update: "update",
fetch: "fetch",
find: "find",
getRaw: "get-raw",
add: "add",
approve: "approve",
reject: "reject",
modifyProfile: "modify-provider-profile",
updateProfileImage: "update-profile-image",
findSettings: "find-provider-settings",
modifySettings: "modify-provider-settings",
updateProfile: "update-profile",
lockStatus: "lock-status",
fetchProviderMedications: "fetch-provider-medications",
assignProviderRoom: "modify-provider-consultation-room",
fetchProviderRoom: "fetch-provider-consultation-room"
};
static readonly application = {
base: "application",
getAppConfig: "get-app-configuration",
sendOtp: "send-otp",
encode: "encode",
decode: "decode",
version: "version"
};
static readonly providerLocations = {
base: "provider-locations",
fetchSlots: "fetch-slots",
fetchSlotsOnly: "fetch-slots-only",
fetch: "fetch",
fetchAvailabilities: "fetch-availabilities",
modify: "modify",
delete: "delete",
modifyStatus: "modify-status",
fetchVisitTypes: "fetch-visit",
fetchVisitTypeIp: "fetch-visit-ip",
fetchChargeType: "fetch-charge-type",
modifyOperationAvailability: "modify-operation-availability",
fetchOperationAvailability: "fetch-operation-availability",
fetchNewSlotsOnly: "fetch-new-slots",//
fetchAvailabilityCharges: "fetch-charge-types",
fetchChargesBasedonChargeType: "fetch-charges-basedon-chargetype",
fetchSlotsForMultipleDates: "fetch-slots-for-multipledays",
fetchAvailabilityVisitTypes: "fetch-visit-types",
fetchdurationbasedonvisitType: "fetch-duration-basedon-visitType",
};
static readonly appointments = {
base: "appointments",
getRaw: "get-raw",
getLatest: "get-latest",
fetch: "fetch-all",
fetchNew: "fetch-new",
payAddAppointment: "pay-add-appointment",
fetchExistingPatients: "fetch-existing-patients",
checkForFollowUp: "check-follow-up",
add: "add",
find: "find",
quickSchedule: "quick-schedule",
findAppointment: "find-appointment",
reschedule: "reschedule",
updatePaymentStatus: "update-payment-status",
cancel: "cancel",
updatePatientType: "update-patient-type",
fetchSupportAppointment: "fetch-support-appointment",
updateLog: "update-support-appointment-log",
addAssignee: "update-support-assignee",
logCount: "fetch-log-count",
findPreviousAppointmentMedications: "find-previous-medications",
checkIn: "check-in",
checkOut: "check-out",
fetchPatients: "fetch-patients",
fetchDoctorSpecialization: "fetch-doctor-specialization",
fetchForInvoice: "fetch-for-invoice",
cancelRefund: "appointment-cancel-amount-refunding",
initiatePayment: "initiate-payment",
findPatientAppointmentDate: "find-patient-appointmentDate",
fetchDoctorSpecializationOp: "fetch-doctor-specialization-op",
fetchAppointmentSchedulePatients: "fetch-appointment-schedule-patients",
getPaymentData: "get-payment-data",
updatePartialPayment: "update-partial-payment",
fetchView: "fetch-view",
cancelAll: "cancel-all",
rescheduleAll: "reschedule-all",
sendSms: "sendSms"
};
static readonly admissions = {
base: "admissions",
fetch: "fetch",
quickSchedule: "quick-schedule",
modify: "modify-admission",
find: "find",
findAdmission: "find-admission",
cancel: "cancel",
fetchWards: "fetch-wards",
fetchPriorities: "fetch-priorities",
fetchRooms: "fetch-rooms",
fetchBeds: "fetch-beds",
checkForFollowUpForIp: "check-follow-up-for-ip",
updateDischargeDate: "update-discharg-date",
raiseBedChangeRequest: "raise-bed-change-request",
addTransferRequest: "insert-admission-transfer-request",
fetchTransferRequest: "fetch-admission-transfer-request",
acceptAdmissionTransferRequest: "accept-admission-transfer-request",
rejectAdmissionTransferRequest: "reject-admission-transfer-request"
};
static readonly appointmentTransactions = {
base: "appointment-transactions",
fetch: "fetch",
find: "find",
earning: "get-provider-earning",
fetchRefund: "fetchRefund",
fetchPayout: "fetchPayout",
fetchPayoutDetails: "fetchPayoutDetails",
settlement: "settlement",
fetchAppointments: "fetchAppointments",
fetchProviderTransactions: "fetch-provider-transactions",
paymentDocuments: "upload-patient-document",
update: "update-payment-document",
fetchDocuments: "fetch-payment-documents",
delete: "delete"
};
static readonly providerSpecialization = {
base: "provider-specializations",
fetch: "fetch",
add: "add",
update: "update",
};
static readonly providerServices = {
base: "provider-services",
fetch: "fetch",
modify: "modify"
};
static readonly encounters = {
base: "encounters",
find: "find",
add: "add",
findDashboard: "find-encounter",
findFullTranscript: "find-full-transcript",
modify: "modify",
update: "update",
delete: "delete",
findEncounter: "find-previous-encounter",
vitals: "fetch-vitals"
};
static readonly internalMedicine = {
base: "internal-medicine",
find: "find",
findPrescription: "find-prescription",
findFullTranscript: "find-full-transcript",
findDashboard: "find-dashboard",
modify: "modify",
skin: "save-skin",
findInternalMedicine: "find-internal-medicine"
};
static readonly documents = {
base: "patient-documents",
fetch: "fetch",
upload: "upload",
update: "update",
delete: "delete",
downloadfetch: "downloadfetch",
viewFile: "viewFile",
downloadFile: "download-file-ftp",
downloadFileGet: "download-file-ftp-get"
};
static readonly behavioralHealth = {
base: "behavioral-health",
find: "find",
findDashboard: "find-dashboard",
findPrescription: "find-prescription",
modify: "modify",
findFullTranscript: "find-full-transcript"
};
static readonly obEncounter = {
base: "ob-encounter",
find: "find",
findDashboard: "find-dashboard",
findPrescription: "find-prescription",
modify: "modify",
findFullTranscript: "find-full-transcript",
calculateEDD: "calculate-edd",
calculateGA: "calculate-ga",
addAncCard: "add-ancCardGeneration",
fetchANC: "fetch-ancCard",
modifyStatus: "modify-ancStatus",
fetchOrderPrescription: "fetch-order-prescription",
completedEncounter: "encouter-completed",
getIcdValues: "fetch-icdValues",
findOb: "find-ob",
fetchCrossConsultation: "fetch-cross-consultation",
labReports: "ob-lab-reports",
findVisitNo: "find-ANC-Visit",
addOpiion: "add-opinion",
fetchANCCard: "fetch-anc-card",
fetchFullTrascript: "fetch-list-fulltrascript",
fetchLabParameters: "fetch-lab-parameters"
};
static readonly dentalEncounter = {
base: "dental-encounter",
findDashboard: "find-dashboard",
modify: "modify",
find: "find",
skin: "save-clinical-findings",
fullTranscript: "find-full-transcript",
findPrescription: "find-prescription",
};
static readonly homeopathy = {
base: "homeopathy",
find: "find",
findDashboard: "find-dashboard",
findFullTranscript: "find-full-transcript",
modify: "modify",
};
static readonly ticket = {
base: "tickets",
checkUser: "check-user",
getCategory: "get-categories",
create: "generate-ticket",
fetch: "fetch-all",
getCount: "get-count",
getTicketDetails: "get-ticket-details",
modify: "modify-ticket",
getTimeline: "get-ticket-timeline",
assign: "assign-ticket",
addOwner: "add-ticket-owner",
updateComments: "update-ticket-comments",
getPerformance: "get-performance",
updateOwner: "update-ticket-owner",
modifyTicket: "modify-ticket"
};
static readonly validators = {
base: "validate",
email: "email",
mobile: "mobile",
npi: "npi",
userName: "username",
pharmacyProduct: "pharmacy-product"
};
static readonly users = {
base: "users",
add: "add",
fetch: "fetch",
update: "update",
modifyStatus: "modify-status",
find: "find",
lockStatus: "lock-status"
};
static readonly generalAdvice = {
base: "general-advice",
add: "add",
fetch: "fetch",
update: "update",
find: "find",
delete: "delete"
};
static readonly ward = {
base: "wards",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
fetchWard: "ward-Fetch",
changestatus: "change-status"
};
static readonly room = {
base: "rooms",
add: "add",
fetch: "fetch",
fetchRoom: "fetch-room",
update: "update",
delete: "delete",
modifyOTRoom: "modify-ot-room",
fetchOTRoom: "fetch-ot-room",
modifyStatus: "modify-status",
fetchOTRoomSurgery: "fetch-surgery",
modifyRoomStatus: "change-room-status"
};
static readonly bed = {
base: "beds",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
fetchBed: "fetchBed",
changeStatus: "change-status"
};
static readonly department = {
base: "departments",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete"
};
static readonly chargeGrop = {
base: "chargeGrops",
add: "add",
fetch: "fetch",
update: "update",
chargeGroup: "chargeGroup",
delete: "delete",
};
static readonly charge = {
base: "charges",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
repeatType: "repeatType-fetch"
};
static readonly role = {
base: "roles",
add: "add",
fetch: "fetch",
delete: "delete",
update: "update",
modifyStatus: "modify-status",
};
static readonly discharges = {
base: "discharges",
add: "add",
fetch: "fetch",
delete: "delete",
update: "update",
modifyStatus: "modify-status"
};
static readonly payU = {
base: "payU",
fetchStatus: "fetchStatus",
refund: "refund",
fetchRefundStatus: "fetchRefundStatus",
authenticate: "authenticate",
getAccountDetails: "getAccountDetail",
smartSend: "smartSend",
payment: "payment",
addWebHook: "addWebHook",
deleteWebHook: "deleteWebHook",
fetchPayoutTransfers: "fetchPayoutTransfers",
WebHook: "WebHook"
};
static readonly insurances = {
base: "insurance-companies",
fetch: "fetch",
add: "add",
find: "find",
delete: "delete",
update: "update",
};
static readonly providerDocuments = {
base: "provider-documents",
fetch: "fetch",
upload: "upload",
update: "update",
delete: "delete"
};
static readonly specialization = {
base: "specializations",
fetch: "fetch",
update: "update",
delete: "delete",
add: "add",
modifyStatus: "modify-status",
specializationJoinConsultationType: "specialization-join-consultation"
};
static readonly icdCodes = {
base: "icd-code",
fetch: "fetch",
update: "update",
delete: "delete",
add: "add"
};
static readonly labOrderValues = {
base: "lab-order-value",
update: "update",
add: "add",
fetch: "fetch",
delete: "delete"
};
static readonly radiologyValues = {
base: "radiology-value",
update: "update",
add: "add",
fetch: "fetch",
delete: "delete"
};
static readonly labOrder = {
base: "lab-order",
update: "update",
add: "add",
fetch: "fetch",
delete: "delete"
};
static readonly problemList = {
base: "problem-list",
add: "add",
fetch: "fetch",
update: "update",
find: "find",
delete: "delete"
};
static readonly webTelemedicine = {
base: "web-telemedicine",
endCall: "update-status",
getAppointments: "get-provider-appointments",
getNursesOrReceptionists: "get-nurses-receptionists",
notification: "call-web",
iOsFrequentNotification: "ios-frequent-notification",
getTelemedicineTemplates: "get-all-templates",
closeRooms: "close-rooms",
getAppointmentDetails: "get-appointment-details",
getAuthInfo: "get-authentication-info",
callHistory: "get-call-history",
sendLink: "send-link"
};
static readonly language = {
base: "language",
add: "add",
fetch: "fetch",
update: "update",
find: "find",
delete: "delete"
};
static readonly coupons = {
base: "coupons",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete"
};
static readonly icons = {
base: "icons",
addIcons: "add-icons",
fetchIcons: "fetch-icons",
delete: "delete"
};
static readonly inventory = {
base: "inventory",
addUnit: "create-unit",
addCategory: "create-category",
addRack: "create-rack",
addGst: "create-gst",
addProduct: "add-product",
updateProduct: "update-product",
deleteProduct: "delete-product",
fetchProduct: "fetch-product",
fetchLookup: "fetch-lookup-value",
updateLookupValue: "update-lookup-value",
deleteLookupValue: "delete-lookup-value",
fetchAddedPurchaseBill: "fetch-added-purchase-bill",
fetchStock: "fetch-inventory-stock",
fetchReturnBillNumber: "fetch-return-bill-number",
addReturnPurchaseBill: "add-return-purchase-bill",
fetchAddedReturnBill: "fetch-added-purchase-return-bill",
fetchDashboardReorder: "fetch-dashboard-reorder",
fetchDashboardExpiry: "fetch-dashboard-expiry",
fetchDashboardNextMonthExpiry: "fetch-dashboard-expiry-next-month",
fetchDashboardCurrentMonthExpiry: "fetch-dashboard-expire-current-month",
fetchProducts: "fetch-products",
updateStock: "update-inventory-stock",
fetchBills: "fetch-bills",
fetchInventoryPurchaseBill: "fetch-inventory-purchase-bill",
addPurchaseBill: "add-new-purchase-bill",
fetchBatchNumber: "get-batch-numbers"
};
static readonly supplier = {
base: "supplier",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
modifySupplierProduct: "modify-supplier-product",
fetchSupplierProduct: "fetch-supplier-product",
addSupplierAccount: "add-supplier-account",
addRateCard: "add-supplier-rate-list",
fetchRateCard: "fetch-supplier-rate-list"
};
static readonly company = {
base: "company",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete"
};
static readonly indent = {
base: "indent",
add: "add-request",
fetch: "fetch",
delete: "delete",
fetchDetail: "fetch-detail",
pharmacyDepartmentIndent: "add-pharmacy-department-indent",
fetchPharmacyDepartmentIndent: "fetch-pharmacy-department-indent",
fetchPharmacyDepartmentIndentDetail: "fetch-pharmacy-department-indent-detail",
approvePharmacyDepartmentIndent: "approve-pharmacy-department-indent"
};
static readonly issue = {
base: "issue",
fetchPendingIndents: "fetch-pending-indents",
approve: "approve-indents",
approveOTIndent: "approve-ot-indent",
approvePharmacyIndent: "approve-pharmacy-indent",
fetchAcknowledgmentData: "fetch-acknowledgment-data",
acceptAcknowledgment: "accept-acknowledgment-data",
approveInventoryIndent: "approve-inventory-indent",
fetchInventoryAcknowledgment: "fetch-inventory-acknowledgment-data",
acceptInventoryAcknowledgment: "accept-inventory-acknowledgment-data",
moveStockViaPurchaseBill: "move-stock-to-retail-store"
};
static readonly pharmacy = {
base: "pharmacy",
addCommonMasters: "create-common-masters",
fetchLookupValue: "fetch-lookup-value",
updateLookupValue: "update-lookup-value",
deleteLookupValue: "delete-lookup-value",
addProduct: "add-product",
updateProduct: "update-product",
fetchProduct: "fetch-product",
fetchProducts: "fetch-products",
deleteProduct: "delete-product",
addPurchaseBill: "add-purchase-bill",
fetchAddedBill: "fetch-added-purchase-bill",
fetchBillBySupplierId: "fetch-added-purchase-bill-by-supplierId",
fetchStock: "fetch-pharmacy-stock", //main stock w.r.t.warehouse
fetchRetailStock: "fetch-pharmacy-retail-stock", //retail stock w r t . retail store
addSaleBill: "add-sales-bill",
fetchPharmacyPurchaseBill: "fetch-Pharmacy-Purchase-bill",
fetchAddedSaleBill: "fetch-added-sales-bill",//
fetchAddedSaleReturnBill: "fetch-added-sales-return-bill",//
addSurgeryKit: "add-surgery-kit",
fetchSurgeryHeader: "fetch-surgery-kit",
fetchSurgeryDetail: "fetch-surgery-detail",
deleteSurgeryKit: "delete-surgery-kit",
fetchNextExpiryProducts: "fetch-next-expiring-products",
fetchDashboardNextMonth: "dashboard-expiring-next-month",
fetchDashboardThisMonth: "dashboard-expiring-this-month",
fetchDashboardUnderReorderLevel: "dashboard-product-under-reorder",
fetchDashboardNextMonthRetail: "dashboard-expiring-next-month-retail",
fetchDashboardThisMonthRetail: "dashboard-expiring-this-month-retail",
fetchDashboardUnderReorderLevelRetail: "dashboard-product-under-reorder-retail",
addSaleReturnBill: "add-pharmacy-sale-return-bill",
fetchSaleReturnBill: "get-sale-return-bill",
addRetailStock: "add-retail-stock",
updateStock: "update-stock",
fetchSurgeryKitStock: "fetch-surgery-kit-stock",
addSurgeryKitSale: "add-surgery-kit-sale-bill",
updateSaleQuantity: "update-sale-quantity",
deleteSaleBillProduct: "delete-sale-bill-product",
cancelBill: "cancel-sale-bill",
fetchProductWithStock: "fetch-product-with-stock",
moveRetailToMain: "move-retail-to-main-stock",
productWithMainStock: "get-main-stock-and-product",
fetchPurchaseBillItem: "get-purchase-bill-item",
returnPurchaseBill: "return-purchase-bill-item",
pharmacyCategoryRevenue: "fetch-category-revenue",
pharmacyProductRevenue: "fetch-product-revenue",
pharmacyTopProductsRevenue: "fetch-top-products-revenue",
addPayType: "add-pay-type",
pharmacyDoctorCollection: "fetch-doctor-collection",
pharmacyEmployeeCollection: "fetch-employee-collection",
deletePurchaseBillProduct: "delete-purchase-bill-product",
addRetailStore: "add-retail-store",
fetchAllRetailStore: "fetch-all-retail-stores", //retail store
//deleteRetailStore: "delete-retail-store",
giveDiscount: "give-discount",
revokeDiscount: "revoke-discount",
addNewSalesBill: "add-new-sales-bill",
fetchAutoBillNumber: "fetch-auto-bill-number",
sendEmail: "purchase-bill-email",
pharmacyStockInBulk: "pharmacy-stock-bulk",
creditPurchaseBill: "purchase-credit-bill",
updatePurchasePay: "update-purchase-pay",
correctSalesBill: "correct-sale-bills",
getBillCount: "get-bill-count",
getBatchNumbers: "get-batch-numbers",
addRetailStoreIndent: "add-retail-store-indent",
fetchRetailStoreIndents: "fetch-retail-store-indent",
fetchRetailIndentDetail: "fetch-retail-indent-detail",
modifyNewPurchaseBill: "modify-new-purchase-bill",
addRetailStoreNew: "add-retail-store-new",
deactivateRetailStore: "deactivate-retail-store",
activateRetailStore: "activate-retail-store",
fetchPharmacyCreditPurchaseBill: "fetch-Pharmacy-Credit-Purchase-bill",
fetchRetailIssueDetail: "fetch-retail-issue-detail",
fetchRetailStoreIssues: "fetch-retail-store-issue",
fetchPharmacyRetailUsers: "fetch-pharmacy-retail-users",
fetchAddedSaleBillForPatient: "fetch-added-sales-bill-for-patient",
fetchProductPurchaseHistory: "fetch-product-purchase-history",
fetchDrugs: "fetch-drugs",
modifyMedFrequency: "modify-med-frequency",
fetchMedFreq: "fetch-med-frequency",
changeMedFreqStatus: "change-med-frequency-status",
getAllunits: "get-all-units"
};
static readonly providerBankAccounts = {
base: "provider-bank-account",
add: "add",
update: "update",
find: "find"
};
static readonly patientFamilyMedicalHistory = {
base: "patient-family-medical-history",
fetch: "fetch",
add: "add",
update: "update",
delete: "delete"
};
static readonly timeline = {
base: "timeline",
fetch: "fetch",
view: "view"
};
static readonly pharmacyRequest = {
base: "pharmacy-request",
addIndent: "add-indent",
addIndentBulk: "add-indent-bulk",
fetchHeader: "fetch-indent-header",
fetchDetail: "fetch-indent-detail",
allIndent: "fetch-all-indent",
approveIndents: "approve-pending-indent",
getIssuedRecord: "get-issue-indent-detail",
otIndentDetail: "get-ot-indent-detail",
deleteIndent: "delete-indent",
rejectIndentProduct: "reject-indent-product",
fetchIndent: "fetch-indent",
approveOTIndent: "approve-ot-indent",
addReturnRequest: "add-return-request",
fetchReturn: "fetch-return",
fetchReturnRequests: "fetch-return-request",
acceptReturn: "accept-return",
rejectReturn: "reject-return"
};
static readonly pharmacyLog = {
base: "pharmacy-log",
fetchPharmacyLogs: "fetch-pharmacy-logs",
insertPharmacyLogs: "insert-pharmacy-logs"
};
static readonly laboratory = {
base: "laboratory",
addUnit: "create-unit",
modifyLab: "modify-lab",
fetchLab: "fetch-lab",
fetchDetail: "fetch-lab-detail",
fetchLabLocationCharges: "fetch-lab-location-charges",
deleteLab: "delete-lab",
addPatientBooking: "add-lab-booking",
fetchBookingLab: "fetch-lab-bill-detail",
fetchBookingHeader: "fetch-lab-booking-header",////
fetchBookingDetail: "fetch-lab-booking-detail",//
fetchBookingHeaderWithDetail: "fetch-lab-booking-header-with-detail", //with details
updateLabStatus: "update-lab-status", // lab status
addBulkLabParameters: "add-bulk-lab-parameters",
fetchLabReportMain: "lab-report-main",
fetchLabReportParameter: "lab-report-result",
fetchLabReport: "fetch-lab-daily-report",
verifyLabReport: "verify-lab-report", //lab
modifyLabPackage: "modify-lab-package",
fetchAllLabPackage: "fetch-all-lab-package",
fetchLabPackageDetail: "fetch-lab-package-detail",
deleteLabPackage: "delete-lab-package",
fetchLabBookingDetailForPackage: "fetch-lab-booking-detail-for-package", // packa info with inside labdetail
// updateLabBookingPackageSampleStatus: "update-booking-package-sample-status", //pakage status
verifyLabBookingPackage: "lab-booking-package-verify", //pack
fetchLabReportResultPackage: "lab-report-result-package",
labBookingPackageReport: "lab-booking-package-report",
cancelLabBooking: "cancel-lab-booking",
cancelSingleLab: "cancel-single-lab-from-booking",
sendReportSMS: "send-lab-report-sms",
modifyDepartment: "modify-lab-department",
fetchAllDepartment: "fetch-lab-departments",
modifyDepartmentStatus: "modify-lab-departments-status",
fetchCombinedLabAndPackage: "fetch-combined-lab-and-package",
updateLabBarcode: "update-barcode-for-lab",
// updatePackageLabBarcode: "update-barcode-for-packaged-lab",
updateSampleReceived: "update-sample-received-status", // single
updateSelectedSampleReceived: "update-received-status",
updateSelectedlabStatus: "update-selected-lab", //sample collect both
fetchExistingLabPatients: "fetch-existing-labs-patients",
fetchSampleStatus: "fetch-sample-status",
fetchImportLab: "fetch-lab-import",
modifyImportLab: "modify-import-lab",
fetchImportLabPackage: "fetch-import-lab-package",
modifyImportPackage: "modify-import-package"
};
static readonly labLog = {
base: "lab-log",
fetchLabLogs: "fetch-lab-logs",
insertLabLogs: "insert-lab-logs"
};
static readonly scanLog = {
base: "scan-log",
fetchScanLogs: "fetch-scan-logs",
insertScanLogs: "insert-scan-logs"
};
static readonly laboratoryDashboard = {
base: "laboratory-dashboard",
labsDashboardRevenue: "fetch-lab-details-dashboard-revenue",
labsDashboard: "fetch-lab-details-dashboard"
};
static readonly inventorylog = {
base: "inventorylog",
fetch: "fetch",
insert: "insert"
};
static readonly inventoryImport = {
base: "inventory-import",
addProductSheet: "add-product-sheet",
fetchUploadHistory: "fetch-upload-history",
fetchUplodedProducts: "fetch-uploaded-products",
addProductWithPurchaseBill: "add-product-sheet-with-purchase-bill",
fetchUploadedPurchaseBills: "fetch-uploaded-purchase-bills"
};
static readonly pharmacyImport = {
base: "pharmacy-import",
addProductSheet: "add-product-sheet",
fetchUploadHistory: "fetch-upload-history",
fetchUplodedProducts: "fetch-uploaded-products",
addProductWithPurchaseBill: "add-product-sheet-with-purchase-bill",
fetchUploadedPurchaseBills: "fetch-uploaded-purchase-bills",
uploadWareHouseSheet: "upload-warehouse-record",
fetchUploadedWareHouse: "fetch-uploaded-warehouse",
uploadRetailStoreRecord: "upload-retail-store-record",
fetchUploadedRetailStores: "fetch-uploaded-retail-stores",
uploadDepartmentRecord: "upload-department-record",
fetchUploadedDepartments: "fetch-uploaded-departments",
uploadRetailStoreStock: "upload-retail-store-stocks",
fetchUploadedRetailStocks: "fetch-uploaded-retail-stocks"
};
static readonly dashboardWidgets = {
base: "dashboard-widget",
fetch: "fetch",
insert: "insert-widget",
execute: "execute-widget",
update: "update-widget",
deactivate: "deactivate-widget",
activate: "activate-widget"
};
static readonly dynamicReport = {
base: "dynamic-report",
execute: "execute-the-query",
insert: "insert",
fetch: "fetch",
deactivate: "deactivate",
update: "update",
fetchMenu: "fetch-report-menu",
fetchModuleTemplates: "fetch-module-templates",
fetchReport: "fetch-report",
addImage: "insert-image",
fetchImagePath: "fetch-image-path"
};
static readonly dynamicDashboard = {
base: "dynamic-dashboard",
fetch: "fetch", //// acording to role wise fetching from SuperAdmin //
insert: "insert",
update: "update",
delete: "delete"
};
static readonly visitType = {
base: "visitors",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
modifyStatus: "modify-status",
};
static readonly chargeTypes = {
base: "charge-types",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
modifyStatus: "modify-status",
};
static readonly patientQueue = {
base: "patient-queue",
generateTicket: "generate-ticket",
fetchAllQueue: "fetch-all-queue",
changePatientQueueStatus: "change-queue-status"
};
static readonly floor = {
base: "floors",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
floorFetch: "floor-fetch", // as resourses 4 all location
changeStatus: "change-status"
};
static readonly setting = {
base: "setting",
fetch: "fetch",
imageUpload: "image-upload",//upload
fetchImage: "fetch-image", //all fetch
applyLogo: "apply-logo",//
fetchLogo: "fetch-logo",//required removed
// printSetting: "print-setting",//update
// fetchPrintSetting: "fetch-print-setting",// fetch
fetchFontType: "fetch-fontType",
applyFont: "apply-font",
addStoreDetail: "add-store-detail",
fetchStoreSetting: "fetch-store-settings",
applyStoreSetting: "apply-store-settings",
getAppliedPharmacySettings: "get-applied-store-settings",
//fetchMessageSettings: "fetch-message-settings",
modifyMessageSetting: "modify-message-settings",
appointmentSetting: "appointment-setting",
insert: "insert",
update: "update"
};
static readonly insuranceAdmission = {
base: "insurance-approval",
//modifyInsurance: "modify-insurance-admission",
addInsuranceApprovals: "add-insurance-approval",
getAdmission: "get-admission-insurance",
fetchAll: "fetch-all",
addTimeline: "add-insurance-timeline",
fetchAllTimeline: "fetch-all-insurance-timeline",
checkInsuranceApproval: "check-insurance-approval",
fetchInsuranceApprovals: "fetch-all-insurance-approvals",
getInsuranceApprovals: "get-insurance-approvals"
};
static readonly nurseModule = {
base: "nurse-module",
fetch: "fetch",
fetchBedWise: "fetch-bed-wise",
fetchShiftsBasics: "fetch-shifts-basics",
fetchAvailableNurse: "fetch-available-nurse",
fetchShift: "fetch-shifts",
addShift: "add-shift",
updateShift: "update-shift",
fetchShiftSlot: "fetch-shift-slots",
addShiftSlot: "add-shift-slot",
modifyStatus: "modify-status"
};
static readonly nurseShiftMap = {
base: "nurse-shift-map",
add: "add",
fetch: "fetch"
};
static readonly vitalType = {
base: "vital-type",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
fetchUnitType: "fetch-unit-type"
};
static readonly unitType = {
base: "unit-type",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
};
static readonly discountManagement = {
base: "discount-management",
modifyModule: "modify-discount-module",
fetchModules: "fetch-discount-module",
modifyDiscountsPerModule: "modify-discount-per-module",
moduleDetail: "module-detail",
getRoleBasedDiscount: "get-role-based-discount",
modifyStatus: "discount-Management-modify-status"
};
static readonly assessmentType = {
base: "assessment-type",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete"
};
static readonly pharmacyTracking = {
base: "pharmacy-tracking",
fetchProducts: "fetch-purchased-products",
fetchPurchase: "fetch-purchase-details",
fetchPurchasedReturn: "fetch-Purchased-return",
FetchWareHouseRecord: "fetch-wareHouse-record",
fetchStockToRetail: "fetch-stock-to-retail",
FetchRetailToMainMoved: "fetch-retail-moved",
FetchRetailRecord: "fetch-retail-record",
fetchRetailStoreSale: "fetch-retailstore-sale",
fetchSaleReturn: "fetch-sale-return",
fetchRetailStoreIssuedSale: "fetch-retailstore-issue-to-ip"
};
static readonly nurseShift = {
base: "nurse-shift",
fetchBeds: "fetch-beds",
fetchBasicBeds: "fetch-beds-basic",
getNurse: "get-nurse",
fetch: "fetch",
insert: "insert",
move: "move",
fetchMoves: "fetch-moves",
update: "update",
copy: "copy"
};
static readonly operationTheater = {
base: "ot",
raiseIndent: "raise-indent",
fetchIndentHeader: "fetch-indent-header",
fetchIndentDetail: "fetch-indent-detail",
pendingIndentCount: "pending-indent-count",
fetchOTStock: "fetch-operation-stock",
modifySurgery: "modify-surgery",
fetchAllSurgery: "fetch-all-surgery",
modifyStatus: "modify-status",
fetchOtWithCharges: "fetch-ot-with-charges"
};
static readonly demandBook = {
base: "demand-book",
insert: "insert",
fetch: "fetch",
update: "update"
};
static readonly modulesMaster = {
base: "module-master",
fetch: "fetch",
add: "add",
update: "update",
deleteModules: "delete-modules"
};
static readonly pharmacyStore = { //warehouse
base: "pharmacy-ware-house",
modifyWareHouse: "modify-ware-house",
fetchWareHouses: "fetch-ware-house",
fetchWareHousesWithRetailCount: "fetch-ware-house-with-retail-count",
modifyWareHouseStatus: "modify-warehouse-status",
getOnlyWareHouses: "get-only-warehouses",
getAllWareHouses: "get-all-warehouses",
modifyProductType: "modify-pharmacy-product-type",
fetchProductType: "fetch-pharmacy-product-type",
fetchProductSubType: "fetch-pharmacy-product-sub-type",
modifyProductSubType: "modify-pharmacy-product-sub-type"
};
static readonly mealTypes = {
base: "meal-types",
fetch: "fetch",
insert: "insert",
update: "update",
modifyStatus: "modify-status",
fetchActive: "fetch-active"
};
static readonly gynEncounter = {
base: "gyn-encounter",
find: "find",
findPrescription: "find-prescription",
findFullTranscript: "find-full-transcript",
findDashboard: "find-dashboard",
findData: "find-encounter",
modify: "modify",
skin: "gyn-save-skin",
findGynEncounter: "find-gyn-encounter",
vitals: "fetch-vitals",
addGynCard: "add-gynCardGeneration",
fetchGynCard: "fetch-gynCard",
fetchGyn: "find-gyn",
findVisitNo: "find-visitNo",
InsertCommonEncounter: "add-common-encounter",
fetchCommonEncounter: "fetch-common-encounter",
nurseNotesReport: "nurse-note-report"
};
static readonly employeeShifts = {
base: "employee-shifts",
find: "find",
add: "add",
update: "update",
delete: "delete",
fetch: "fetch"
};
static readonly providerSchedule = {
base: "provider-schedule",
fetch: "fetch",
fetchEvent: "fetch-events",
fetchAvailability: "fetch-availability"
};
static readonly hwc = {
base: "hwc-patient",
insert: "insert",
update: "update",
fetch: "fetch-all",
delete: "delete"
};
static readonly scanTest = {
base: "scan-test",
fetch: "fetch-test",
addTest: "add-test",
updateTest: "update-test",
modifyScanTestStatus: "modify-test-status",
fetchTest: "fetch",
updateLookupValue: "update-category",
addScanCategory: "add-category",
deleteScanCategory: "delete-scan-category",
fetchDetails: "fetch-details",
fetchAll: "fetch-all",
fetchImportTest: "fetch-import-test",
modifyImportTest: "modify-import-test",
fetchAllScanTest: "fetch-all-scan-test",
fetchTestCode: "fetch-test-codes",
fetchScanWithCharges: "fetch-scan-with-charges"
}
static readonly scanMachine = {
base: "scan-machine",
fetch: "fetch-scan-machine",
modifyMachine: "modify-scan-machine",
modifyScanTestStatus: "modify-scan-machine-status",
fetchScanMachineTest: "fetch-scan-machine-test",
fetchImportMachine: "fetch-import-machine",
modifyImportMachine: "modify-import-machine"
};
static readonly chargeCategory = {
base: "charge-category",
fetch: "fetch",
add: "add",
update: "update",
modifyStatus: "modify-status",
fetchLocationCharges: "fetch-location-charges",
fetchRoomCharges: "fetch-room-charges",
insertCategoryCharges: "insert-category-charges",
updateCategoryCharges: "update-category-charges",
setDefaultCharge: "set-default-category-charges",
modifyRooms: "modify-roomstatus"
};
static readonly idProof = {
base: "id-proof",
fetch: "fetch-all",
insert: "add",
update: "update",
delete: "delete",
modifyStatus: "modify-status",
fetchActive: "fetch-active"
};
static readonly payTypes = {
base: "paytype",
fetch: "fetch",
insert: "insert",
update: "update",
modifyPayTypeStatus: "modify"
};
static readonly scanMachineAvailability = {
base: "scan-machine-availability",
fetchAll: "fetch-all",
modifyMachineAvailability: "modify-machine-availability",
update: "update",
delete: "delete",
modifyStatus: "modify-status",
fetchActive: "fetch-active",
fetch: "fetch",
fetchSelectedMachineAvailability: "fetch-machine-availability",//
fetchMachineAvailabilityBasedonDays: "fetch-machine-availability-for-multipleDays",
cancelScanMachineAvailability: "cancel-scan-machine-availability"
};
static readonly referenceTypes = {
base: "reference-type",
fetch: "fetch",
add: "add",
update: "update",
delete: "delete"
};
static readonly patientEncounter = {
base: "patient-encounter",
add: "modify-medication",
fetch: "fetch-medication",
deleteSingleMedication: "delete-single-medication",
modifyEncounterLab: "modify-encounter-lab",
fetchLabs: "fetch-encounter-lab",
deleteSingleLab: "delete-single-lab",
verifyNonPackageLab: "verify-lab-non-package",
verifyPackageReport: "verify-package-report",
frequentlyUsedLab: "frequently-used-lab",
frequentlyUsedMedication: "frequently-used-medication"
};
static readonly webNotification = {
base: "web-notification",
fetch: "fetch"
};
static readonly bookScanAppointment = {
base: "book-scan-appointment",
add: "add",
fetchEvent: "fetch",
fetchFilterEvent: "fetch-filter-patients",
reschedule: "reschedule",
bulkReschedule: "bulk-reschedule",
cancel: "cancel",
bulkCancel: "bulk-cancel",
fetchScanReport: "fetch-scan-report",
updatePatientDetailsPaymentAsync: "update",
fetchOutPatient: "fetch-outpatient",
fetchScanScroll: "fetch-scan-scroll",
updateBookScanApt: "update-book-scan-appointment",
fetchPndtReport: "fetch-pndt-report",
uploadScanDocument: "upload-scan-document",
fetchScanDocument: "fetch-scan-document",
fetchPacsImage: "fetch-pacs-document",
fetchPatientFutureApts: "fetch-patient-future-appointments"
};
static readonly scanClassification = {
base: "scan-classification",
add: "add",
update: "update",
fetch: "fetch",
delete: "delete",
modifyClassification: "modify-scan-classification-status"
};
static readonly scanSubClassification = {
base: "scan-sub-classification",
add: "add",
update: "update",
fetch: "fetch",
delete: "delete",
fetchDetail: "fetch-details",
modifySubClassification: "modify-scan-sub-classification-status"
};
static readonly pharmacyDepartment = {
base: "pharmacy-department",
modify: "modify",
fetch: "fetch-pharmacy-department",
fetchStock: "fetch-department-stock",
modifyProductDetail: "modify-product-detail",
getRacks: "get-pharmacy-rack",
addConsumption: "add-departmental-consumption",
fetchDepartmentalConsumption: "fetch-departmental-consumption",
fetchDepartmentalConsumptionHistory: "fetch-departmental-consumption-history",
modifyDepartmentStatus: "modify-department-status"
};
static readonly inventoryStore = {
base: "inventory-store",
modifyWareHouse: "modify-ware-house",
fetchAllWareHouse: "fetch-all-warehouse",
modifyStatus: "modify-warehouse-status",
modifyDepartment: "modify-department",
fetchInventoryDepartment: "fetch-inventory-department",
fetchWareHouseBasedOnUser: "fetch-warehouses-based-on-user",
fetchDepartmentBasedOnUser: "fetch-inventory-department-based-on-user",
fetchDepartmentStock: "fetch-department-stock",
getRacks: "get-inventory-rack",
modifyProductDetail: "modify-product-detail",
addDepartmentConsumption: "add-departmental-consumption",
fetchDepartmentConsumptionHistory: "fetch-departmental-consumption-history"
};
static readonly providerMedication = {
base: "provider-medication",
addMedicationInBulk: "add-provider-medication-bulk",
fetchAllMedication: "fetch-all-provider-medication",
getTags: "get-all-tag-name",
delete: "delete"
}
static readonly orders = {
base: "order-prescription",
fetchOrders: "order-Fetch",
add: "add",
update: "update",
fetch: "fetch",
delete: "delete",
fetchTypes: "fetch-types",
addOrderMaster: "add-order-master",
updateOrderMaster: "update-order-master",
fetchOrderMaster: "fetch-order-master",
deleteOrderMaster: "delete-order-master"
}
static readonly labs = {
base: "labs",
addUnit: "create-unit",
getMethod: "fetch-all-parameter",
modifyDepartment: "modify-lab-department",
fetchAllDepartment: "fetch-lab-departments",
modifyDepartmentStatus: "modify-lab-departments-status",
modifyParameter: "modify-lab-parameter",
fetchParameterHeader: "fetch-lab-parameter-header",
fetchParameterDetail: "fetch-lab-parameter-detail",
modifyComponent: "modify-lab-component",
fetchLabComponentHeader: "fetch-lab-component-header",
fetchComponentDetail: "fetch-lab-component-detail",
modifyTemplate: "modify-lab-template",
fetchLabTemplateHeader: "fetch-lab-template-header",
fetchLabTemplateDetail: "fetch-lab-template-detail",
sampleType: "sample-types",
modifyMainLab: "modify-main-lab-detail",
fetchLabMainDetail: "fetch-main-lab-detail",
fetchLabTaggedTemplates: "fetch-lab-tagged-templates",
fetchLabWithCharges: "fetch-lab-with-charges",
modifyParameterStatus: "modify-parameter-status",
modifyComponentStatus: "modify-component-status",
modifyTemplateStatus: "modify-template-status",
modifyLabMainDetailStatus: "modify-LabMainDetail-Status",
fetchLabsBookings: "fetch-Lab-bookings", //
labCancelling: "lab-Cancelling",
allLabCancelling: "lab-All-Cancelling",
labCancel: "lab-cancel",
fetchCancelledBill: "fetch-cancelled-lab-bill",
fetchselectedLabData: "fetch-selected-lab-data",
fetchLabStatus: "fetch-lab-status",
updateStatusColour: "update-status-colour",
fetchAllChargecategories: "fetch-all-charge-categories",
fetchAvailableImportLabs: "fetch-available-import-labs",
importLab: "import-lab",
fetchResultAddedLabs: "fetch-result-added-labs",
assignToDoctor: "lab-doctor-assign",
doctorVerifyReport: "doctor-verify-report",
fetchDoctorSignature: "fetch-doctor-signatures",
fetchDoctorsAssigned: "fetch-doctors-assigned",
fetchMachines: "fetch-machines",
removeDoctor: "remove-doctor",
fetchPatientLabs: "fetch-patient-labs",
sampleCollectionTrackReport: "sample-collection-track-report",
newLabReport: "fetch-lab-reports", //new lab
fetchallobservedvalues: "get-parameter-allobservedvalues",
fetchPatientLabDataWebReports: "fetch-selected-lab-data-webeports",
changeSampleStatus: "change-sampleprocess-status",
fetchParameterAddedLabsOnly: "fetch-parameter-added-labsonly",
newDoctorAssigning: "new-doctor-assigning",
fetchLabStatusReport: "fetch-Lab-status-reports",
fetchPatientPastLabReports: "fetch-patient-past-lab-reports",
fetchTransferedLabs: "fetch-transfered-labs-number",
changeHoldStatus: "change-test-hold-status",
fetchLabTatReport: "fetch-lab-tat-reports",
modifyLabVacutainer: "modify-lab-vacutainer",
fetchAllVacutainers: "fetch-lab-vacutainers",
modifyLabVacutainerStatus: "modify-lab-vacutainer-status",
multipleReportsVerification: "multi-labreport-verification",
fetchExternalLabAgency: "fetch-external-lab-agency",
modifyExternalLabAgencyStatus: "modify-external-lab-agency-status",
modifyExternalLabAgency: "modify-external-lab-agency",
fetchlabsChargeofChargeCategory: "fetch-lab-chargecategory-charge",
fetchSampleCollectedTests: "fetch-sample-collected-tests",
unCollectSamples: "uncollect-samples",
fetchAllSampleTypes: "fetchAllSampleTypes",
fetchAllDepartmentTypes: "fetchAllDepartmentTypes",
}
static readonly appointmentTypes = {
base: "appointment-types",
insert: "insert",
update: "update",
fetch: "fetch-all",
delete: "delete"
};
static readonly machine = {
base: "machine",
fetch: "fetch-all",
insert: "add",
update: "update",
delete: "delete",
modifyStatus: "modify-status",
fetchActive: "fetch-active"
};
static readonly dynamicTemplate = {
base: "dynamic-template",
add: "insert",
update: "update",
fetch: "fetch",
delete: "delete"
}
static readonly labTransaction = {
base: "lab-transaction",
addBill: "add-booking",
fetchAddedBill: "fetch-added-lab-bill",
fetchForSampleCollection: "fetch-lab-for-sample-collection",
collectSample: "collect-sample",
transferSamples: "transfer-samples",
fetchTransferedSample: "fetch-transfered-samples",
fetchToReceiveSample: "fetch-samples-to-receive",
onReceiveSample: "on-sample-receive",
fetchReceivedLabs: "fetch-received-labs",
labParameterForInput: "lab-parameter-for-input",
addLabParameterInput: "add-lab-parameter-input",
addTemplateInput: "add-lab-template-input",
fetchLabTimeline: "fetch-lab-status-timeline",
collectSampleNew: "collect-sample-new",
fetchTransferedTrackRecord: "fetch-transfered-track-record",
fetchDemographData: "fetch-demograph-data",
uploadLabData: "upload-lab-report",
fetchLabBookingDetail: "fetch-lab-booking-detail",
fetchForSampleTransfer: "fetch-lab-for-sample-transfer",
fetchNewLabBookingDetail: "fetch-new-lab-booking-detail",
addTechnicianVerification: "add-technician-verification",
fetchForTechnicianAndDoctor: "fetch-for-technician-and-doctor",
fetchPreviousTransferDetail: "fetch-previous-transfer-detail",
uploadConsentForm: "upload-lab-consent-form",
fetchBookedLabswithoutCancelled: "fetch-labs-without-cancelled",
onReceiveSampleNew: "on-sample-receive-new",
onDepartmentAccept: "department-accept-sample"
}
static readonly payCategories = {
base: "payCategories",
fetch: "fetch",
insert: "insert",
update: "update",
modifyPayTypeStatus: "modify"
};
static readonly salutation = {
base: "salutation",
insert: "add",
update: "update",
modifyStatus: "modify-status",
fetch: "fetch-all",
fetchActive: "fetch-active"
};
static readonly componentType = {
base: "component-type",
insert: "insert",
update: "update",
fetch: "fetch-all"
}
static readonly component = {
base: "component",
insert: "insert",
update: "update",
fetch: "fetch-all"
}
static readonly referralDoctor = {
base: "referralDoctor",
add: "add",
fetch: "fetch",
update: "update",
modifyStatus: "modify-status",
delete: "delete"
};
static readonly providerScheduleCharges = {
base: "provider-schedule-charges",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
doctorCharge: "doctor-charge",
dayTypes: "fetch-day-part",
modifyStatus: "modify-status",
fetchProviderSpecialization: "fetch-provider-specialization"
};
static readonly consultationType = {
base: "consultation-type",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
};
static readonly providerAvailability = {
base: "provider-availability",
fetchSlots: "fetch-slots",
fetchSlotsOnly: "fetch-slots-only",
fetch: "fetch",
fetchAvailabilities: "fetch-availabilities",
modify: "modify",
delete: "delete",
modifyStatus: "modify-status",
fetchVisitTypes: "fetch-visit",
fetchVisitTypeIp: "fetch-visit-ip",
fetchChargeType: "fetch-charge-type",
modifyOperationAvailability: "modify-operation-availability",
fetchOperationAvailability: "fetch-operation-availability",
addProviderLeave: "add-provider-leave",
updateProviderLeave: "update-provider-leave",
cancelProviderLeave: "cancel-provider-leave",
cancelProviderAvailability: "cancel-provider-availability",
cancelProviderBreak: "cancel-provider-break",
};
static readonly template = {
base: "template",
insert: "insert",
fetchModuleTemplates: "fetch-module-templates"
}
static readonly appointmentCheckPoints = {
base: "check-points",
fetch: "fetch"
}
static readonly providerScheduleVisits = {
base: "provider-schedule-visits",
add: "add",
update: "update",
fetch: "fetch",
doctorVisit: "doctor-visit",
modifyStatus: "modify-status",
fetchProviderSpecialization: "fetch-provider-specialization"
}
static readonly doctorScheduleVisits = {
base: "doctor-schedule-visits",
add: "add",
update: "update",
fetch: "fetch",
doctorVisit: "doctor-visit",
modifyStatus: "modify-status",
fetchProviderSpecialization: "fetch-provider-specialization"
}
static readonly cubicles = {
base: "cubicle",
fetch: "fetch",
assign: "assign",
unassign: "unassign",
insert: "insert-cubicle",
update: "update-cubicle",
updateStatus: "update-cubicle-status",
delete: "delete",
assignConsultantDoctor: "assign-consultant-doctor",
unassignConsultantDoctor: "unassign-consultant-doctor",
};
static readonly ivfEncounter = {
base: "ivf-encounter",
add: "add",
findDashboard: "find-dashboard",
find: "find",
modify: "add",
fullTrascript: "find-full-transcript"
};
static readonly pediatricEncounter = {
base: "pediatric-encounter",
find: "find",
findDashboard: "find-dashboard",
findPrescription: "find-prescription",
modify: "modify",
findFullTranscript: "find-full-transcript",
calculateEDD: "calculate-edd",
calculateGA: "calculate-ga",
findVisitNo: "find-visitNo",
fetchPatientMeasurementHistory: "fetch-patient-measurement-history"
};
static readonly workingHour = {
base: "working-hour",
fetch: "fetch-all",
insert: "add",
update: "update",
modifyStatus: "modify-status",
fetchActive: "fetch-active"
};
static readonly encounterType = {
base: "encounter-type",
add: "add",
fetch: "fetch",
update: "update",
delete: "delete",
modifyStatus: "modify-status",
};
static readonly userImport = {
base: "user-import",
fetchUploadHistory: "fetch-upload-history",
addUserSheet: "add-user-sheet",
fetchUplodedUsers: "fetch-uploaded-users"
}
static readonly sessionType = {
base: "sessiontype",
fetch: "fetch",
delete: "delete",
modify: "modify",
modifyStatus: "modify-status",
fetchSessionTypes: "fetch-session-types",
insert: "add",
update: "update"
};
static readonly session = {
base: "session",
fetch: "fetch",
add: "add",
delete: "delete",
modifyStatus: "modify-status",
update: "update",
};
static readonly patientChatBox = {
base: "patient-chat-box",
fetch: "fetch-all",
add: "add",
};
static readonly chargeModule = {
base: "charge-module",
fetchChargeTemplates: "fetch-charge-templates",
modifyChargeTemplate: "modify-charge-template",
modifyCharge: "modify-charge",
fetchGivenCharges: "fetch-given-charge",
fetchLocationChargePrices: "fetch-location-charge-prices",
updateLocationChargePrices: "update-location-charge-prices",
deleteCharge: "delete-charge",
setUseTemplate: "set-in-use-template",
fetchDoctorSpecializationGivenCharges: "fetch-doctor-specialization-given-charge",
modifyDoctorSpecializationConsultationTypeCharge: "modify-doctor-specialization-charge",
deleteDoctorSpecializationCharge: "delete-doctor-specialization-charge",
fetchorCreateReferenceId: "fetch-or-create-referenceid"
};
static readonly otRoomAvailability = {
base: "ot-Room-availability",
fetchAll: "fetch-all",
modifyOperationAvailability: "modify-ot-Room-availability",
update: "update",
delete: "delete",
modifyStatus: "modify-status",
fetchActive: "fetch-active",
fetch: "fetch",
fetchSpecific: "fetch-specific",
fetchSlotsForMulitiple: "fetch-slots-for-multipledays"
};
static readonly otRegister = {
base: "ot-Register",
add: "modify-ot-Register", //
fetch: "fetch-all",
fetchRegister: "fetch-data",
update: "modify-ot-Register",
delete: "delete",
cancel: "cancel",
reschedule: "reschedule",
fetchEventFilter: "fetch"
// modifyOTRegister: "modify-ot-register"
// fetchOTRoom: "fetch-ot-register"
};
static readonly templateConfig = {
base: "template-config",
fetch: "fetch-all",
insert: "add",
update: "update",
modifyStatus: "modify-status",
fetchDynamicTemplates: "fetch-dynamic-reports",
fetchReportConfigs: "fetch-report-configs"
};
static readonly caseType = {
base: "case-type",
fetch: "fetch-all",
insert: "insert",
update: "update",
modifyStatus: "modify-status"
};
static readonly doctorUnit = {
base: "doctor-unit",
insert: "insert",
update: "update",
fetch: "fetch-all",
modifyStatus: "modify-status"
}
static readonly paymentMapHelper = {
base: "payment-maphelper",
fetch: "fetch-added-bill-id"
}
static readonly patientImport = {
base: "patient-import",
fetchUploadHistory: "fetch-upload-history",
addPatientSheet: "add-patient-sheet",
fetchUplodedPatients: "fetch-uploaded-patients"
}
static readonly healthCard = {
base: "health-card",
add: "add",
update: "update",
fetch: "fetch",
modifyStatus: "modify-status",
fetchIssuedCards: "fetch-issued-cards",
issuedNewCard: "add-new-card",
fetchCardDetails: "card-details",
fetchReport: "check-patient-health-card-exist",
fetchCardId: "fetch-health-card"
}
static readonly ambulance = {
base: "ambulance",
fetch: "fetch",
insert: "add",
update: "update",
/*delete: "delete",*/
modifyStatus: "modify-status"
};
static readonly driverDetail = {
base: "driver-Detail",
fetch: "fetch",
insert: "add",
update: "update",
/*delete: "delete",*/
modifyStatus: "modify-status"
};
static readonly ambulanceReceipt = {
base: "ambulance-Receipt",
fetch: "fetch",
insert: "add",
update: "update",
};
static readonly reason = {
base: "reasons",
fetch: "fetch-all",
insert: "add",
update: "update",
delete: "delete",
modifyStatus: "modify-status",
};
static readonly authority = {
base: "authorityMaster",
fetch: "fetch-all",
insert: "add",
update: "update",
delete: "delete",
modifyStatus: "modify-status",
};
static readonly initialVendor = {
base: "initial-vendor",
insertRequest: "insert-request",
fetchRequestedProducts: "fetch-requested-product",
fetchVendorPurchaseHistory: "fetch-vendor-product-purchase-history",
addVendorProductForApproval: "add-vendor-product-for-approval",
fetchVendorProductForApproval: "fetch-vendor-product-for-approval",
addTenderToVendor: "add-tender-to-supplier",
addDirectProductRequest: "add-direct-product-request",
raisePO: "raise-po",
fetchPOHeader: "fetch-po-header",
fetchPODetail: "fetch-po-detail",
fetchPONumber: "fetch-po-number",
addGRN: "add-grn",
approveOrReject: "approve-or-reject-product",
addForQuotation: "add-for-quotation",
fetchProductForQuotationHeader: "fetch-product-for-quotation",
modifyInventoryRequest: "modify-inventory-request",
fetchInventoryRequest: "fetch-inventory-request",
fetchPendingInventoryRequests: "fetch-pending-inventory-request",
updateInventoryProductRequest: "update-product-for-pending-inventory-request",
approveInventoryRequest: "approve-inventory-request",
changeVendorAtFinalPO: "change-vendor-at-po"
};
static readonly encounterTemplate = {
base: "encounter-template",
modifyTemplate: "modify-template",
fetchTemplate: "fetch-template"
};
static readonly vaccine = {
base: "vaccine",
modifyGroup: "modify-vaccine-group",
getAllGroup: "fetch-all-vaccine-group",
deleteGroup: "delete-group",
modifyVaccineMaster: "modify-vaccine-master",
fetchVaccineMaster: "fetch-vaccine-master",
fetchVaccineType: "fetch-vaccine-type",
setOrder: "set-vaccine-master-order",
modifyVaccineMasterStatus: "modify-vaccine-master-status",
getVaccineSchedule: "get-immunization-schedule",
getAgeGroup: "fetch-vaccine-age-group",
modifyPharmaLink: "modify-pharmacy-link",
fetchPharmaLink: "fetch-pharmacy-link",
deletePharmaLink: "delete-pharmacy-link",
fetchVaccinesForOrder: "fetch-vaccines-for-order",
orderVaccine: "order-vaccine",
checkVaccineProductInSalesBill: "check-vaccine-product",
giveVaccine: "give-vaccine",
fetchPatientImmunizationHistory: "fetch-patient-immunization-history"
};
static readonly gatePass = { //
base: "gatePass",
gatePassinsert: "add",
gatePassfetch: "fetch",
gatePassupdate: "update"
};
static readonly message = {
base: "message",
add: "add",
fetch: "fetch",
update: "update"
}
static readonly masterbill = {
base: "masterbill",
insert: "add",
fetch: "fetch",
fetchPackages: "fetch-packages",
fetchforExcel: "fetch-for-excel",
fetchPatientDue: "fetch-patient-due"
};
static readonly dietEncounter = {
base: "diet-plan-encounter",
find: "find",
findDashboard: "find-dashboard",
//findPrescription: "find-prescription",
modify: "modify",
findVisitNo: "visit-no",
findFullTrascript: "find-prescription"
};
static readonly dietGuidlines = {
base: "diet-guidlines",
insert: "add",
update: "update",
fetch: "fetch",
modifyStatus: "modify-status",
downloadFile: "download-file-ftp",
downloadFileGet: "download-file-ftp-get",
delete: "delete"
}
static readonly pediatricChart = {
base: "pediatric-chart",
modifyAuthority: "modify-authority",
fetchAuthority: "fetch-authority",
changeAuthorityStatus: "change-authority-status",
fetchChartType: "fetch-chart-type",
pediatricDisplay: "pediatric-display",
fetchAgeWiseData: "fetch-age-wise-data",
fetchAgeWiseZScoreData: "fetch-age-wise-z-score-data"
};
static readonly relations = {
base: "relations",
fetch: "fetch",
add: "add",
edit: "edit",
modifyStatus: "modify-status",
}
static readonly denverCharts = {
base: "denver-charts",
add: "add",
fetch: "fetch",
fetchbyid: "fetchbyid"
}
static readonly doctorAppointmentNotice = {
base: "doctor-appointment-notice",
fetch: "fetch",
add: "add",
edit: "edit",
delete: "delete",
modifyStatus: "modify-status"
}
static readonly scanAppointmentNotice = {
base: "scan-appointment-notice",
fetch: "fetch",
add: "add",
edit: "edit",
delete: "delete",
modifyStatus: "modify-status"
}
static readonly emergencyEncounter = {
base: "emergency-encounter",
findDashboard: "find-dashboard",
modify: "modify",
find: "find",
findAll: "find-all"
}
static readonly diet = {
base: "diet",
addShift: "add-shift",
updateShift: "update-shift",
fetch: "fetch",
modifyStatus: "modify-status",
};
static readonly dietItems = {
base: "diet-items",
add: "add",
fetchMeasure: "fetch-measure",
fetchItems: "fetch-items",
update: "update",
modifyStatus: "modify-status"
};
static readonly dietConditions = {
base: "diet-condition",
add: "add",
update: "update",
modifyStatus: "modify-status",
fetchDietPackage: "fetch-diet-packages",
viewPackage: "view-package",
delete: "delete-package",
modifyPackage: "modify-status-package"
};
static readonly birthCertificate = {
base: "birth-certificate",
add: "add",
update: "update",
fetch: "fetch",
fetchBirthReport: "fetch-birth-report"
}
static readonly inpatientsView = {
base: "inpatients-view",
fetch: "fetch",
fetchBeds: "fetch-beds"
};
static readonly Tpa = {
base: "tpa",
add: "add",
update: "update",
fetch: "fetch",
changeStatus: "change-status"
};
static readonly inventoryRequest = {
base: "inventory-request",
modifyInventoryRequest: "modify-inventory-request",
fetch: "fetch"
};
static readonly vendorQuotation = {
base: "vendor-quotation",
addIncomingQuotation: "add-incoming-quotation",
fetchIncomingQuotation: "fetch-incoming-quotation",
deleteQuotation: "delete-quotation",
acceptQuotation: "accept-quotation"
};
static getURI(base: string, endPoint: string): string {
const apiEndPoint = `${base}/${endPoint}`;
const localSettings = localStorage.getItem("settings");
const localSettingsFromSession = sessionStorage.getItem("settingsUrls");
if (localSettings) {
const setting = JSON.parse(localSettings);
return setting["baseURI"] + apiEndPoint;
}
else if (localSettingsFromSession) {
const setting = JSON.parse(localSettingsFromSession);
return setting["baseURI"] + apiEndPoint;
} else {
if (AppConfig.settings) {
return AppConfig.settings.baseURI + apiEndPoint;
} else {
const origin = location.origin;
let baseURI = "";
if (origin.includes("localhost")) {
baseURI = "http://localhost:62545/api/";
} else {
baseURI = `${origin}/fernandez-api/api/`;
}
return baseURI + apiEndPoint;
}
}
}
}
\ No newline at end of file
import { NgbDateStruct } from "@ng-bootstrap/ng-bootstrap";
import * as moment from "moment";
export function padNumber(value: number) {
if (isNumber(value)) {
return (`0${value}`).slice(-2);
} else {
return "";
}
}
export function isNumber(value: any): boolean {
return !isNaN(toInteger(value));
}
export function toInteger(value: any): number {
return parseInt(value, 10);
}
export class DateHelper {
static get today() {
return moment().format("dddd, Do MMMM YYYY, h:mm:ss a");
}
static get todayInFormat() {
return moment().format("YYYY-MM-DD");
}
static get ngbToday() {
return { year: new Date().getFullYear(), month: new Date().getMonth() + 1, day: new Date().getDate() };
}
static get minDate() {
return { year: new Date().getFullYear() - 160, month: new Date().getMonth() + 1, day: new Date().getDate() };
}
static get minAge() {
return { year: new Date().getFullYear() - 18, month: new Date().getMonth() + 1, day: new Date().getDate() };
}
static get currentTimeZone() {
const split = new Date().toString().split(" ");
const timeZone = split[split.length - 3].substring(1) + " " + split[split.length - 2] + " " + split[split.length - 1];
return timeZone.substring(0, timeZone.length - 1);
}
static get currentTimeOffset() {
const split = new Date().toString().split(" ");
const offset = split[5].split("GMT")[1];
return offset.slice(0, 3) + ":" + offset.slice(3);
}
static toNgbDateStruct(date: string) {
let dateString: NgbDateStruct = null;
if ((date &&
Number(date.substring(0, 4)) &&
Number(date.substring(5, 7) + 1) &&
Number(date.substring(8, 10)))) {
dateString = {
year: Number(date.substring(0, 4)),
month: Number(date.substring(5, 7)),
day: Number(date.substring(8, 10))
};
}
return dateString;
}
static getAge(value: string) {
const dateOfBirth = this.toNgbDateStruct(value);
const timeDiff = Math.abs(new Date().getTime() - new Date(dateOfBirth.year, dateOfBirth.month, dateOfBirth.day).getTime());
return Math.round(timeDiff / (1000 * 3600 * 24) / 365.25);
}
static toString(date: NgbDateStruct) {
return date ? date.year.toString() + "-" + String(`00${date.month}`).slice(-2) + "-" + String(`00${date.day}`).slice(-2) : null;
}
static isExpired(date: Date, ticks: number) {
const hours = Math.round((ticks / (60 * 60 * 10000000)) % 24);
const mins = Math.round((ticks / (60 * 10000000)) % 60);
const timestamp = moment(moment(date).format("YYYY-MM-DD") + "T" + padNumber(hours) + ":" + padNumber(mins) + ":00");
return timestamp.diff(moment(), "m") <= 0;
}
static getTimeFromTicks(ticks: number) {
const hours = Math.round((ticks / (60 * 60 * 10000000)) % 24);
const mins = Math.round((ticks / (60 * 10000000)) % 60);
const time = "T" + padNumber(hours) + ":" + padNumber(mins) + ":00";
return time;
}
static getDays(date: Date) {
return moment.duration(moment(Date.now()).diff(moment(new Date(date)))).asDays();
}
}
\ No newline at end of file
export class CalculateDiscounttHelper {
static convertRupeesToPercentage(originalAmount: number, discountAmount: number) {
const discountPercentage = (discountAmount / originalAmount) * 100;
const discountDecimal = discountAmount / originalAmount;
const discountedAmount = originalAmount - discountAmount;
const percentageDecimal = discountPercentage / 100;
return { discountPercentage, discountedAmount, discountDecimal, percentageDecimal };
}
static convertPercentageToRupees(originalAmount: number, discountPercentage: number) {
const discountDecimal = discountPercentage / 100;
const discountAmount = originalAmount * discountDecimal;
const discountedAmount = originalAmount - discountAmount;
return { discountDecimal, discountAmount, discountedAmount };
}
static applyPercentageDiscount(amount: number, discountPercentage: number): number {
const discountAmount = (amount * discountPercentage) / 100;
//const discountedAmount = amount - discountAmount;
return discountAmount;
}
static applyRupeesDiscount(amount: number, discountInRupees: number): number {
const discountedAmount = amount - discountInRupees;
return discountedAmount;
}
}
\ No newline at end of file
export * from "./api.helper";
export * from "./key-codes.helper";
export * from "./regex.helper";
export * from "./util.helper";
export * from "./date.helper";
export * from "./permission.helper";
export * from "./linq.helper";
export * from "./money.helper";
export * from "./local-storage.helper";
export * from "./init-payment.helper";
\ No newline at end of file
import { InitPaymentModel } from "../models/init-payment.model";
const INIT_PAYMENT_KEY = "initPayment";
export class InitPaymentHelper {
static Get(): InitPaymentModel | null | undefined {
return JSON.parse(localStorage.getItem(INIT_PAYMENT_KEY)) as InitPaymentModel | null | undefined;
}
static Set(value: InitPaymentModel) {
localStorage.setItem(INIT_PAYMENT_KEY, JSON.stringify(value));
}
static UpdateMultiPayments(value: boolean) {
const data = this.Get();
if(data) {
data.isMultiPayments = value;
this.Set(data)
}
}
static UpdateModel(value: object) {
const data = this.Get();
if (data) {
data.data.finalModel = value;
this.Set(data)
}
}
}
\ No newline at end of file
export class KeyCodesHelper {
static default: Array<number> = [8, 9, 13, 17, 20, 33, 34, 35, 36, 37, 38, 39, 40, 45, 46];
static defaultNames: Array<string> = ["backspace", "tab", "enter", "caps lock", "page up", "page down", "end", "home", "left arrow", "up arrow", "right arrow", "down arrow", "insert", "delete"];
static specialChars: Array<number> = [188, 189, 190, 222, 32];
static numbers: Array<number> = [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105];
static alphabets: Array<number> = [32, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90];
static dots: Array<number> = [110, 190];
static specialCharacters: Array<string> = ["!", "\"", "#", "$", "@", "%", "^", "&", "*", "(", ")", "_", "+", "=", "-", "~", "`", ",", ".", "/", "?", "<", ">", ":", ";", "'", "{", "}", "[", "]", "|", "\\"];
}
\ No newline at end of file
import * as cloneDeep from "lodash.clonedeep";
import { FormGroup } from "@angular/forms";
export class LinqHelper {
static groupBy = (list, keyGetter) => {
const map = new Map();
list.forEach((item) => {
const key = keyGetter(item);
const collection = map.get(key);
if (!collection) {
map.set(key, [item]);
} else {
collection.push(item);
}
});
return map;
}
static sort = (records: Array<any>, key: string) => {
records.sort((a: any, b: any) => {
return a[key] < b[key]
? -1
: a[key] > b[key]
? 1
: 0;
});
}
static cloneDeepArray = <T>(data: Array<T>): Array<T> => {
const newData = data.map(x => ({ ...x }));
return newData as Array<T>;
}
static cloneDeep = <T>(data: T): T => {
return cloneDeep(data) as T;
}
static uniqueOnlyBy = (value, index, self) => {
return index === self.findIndex((t) => (
t.name === value.name
));
}
static uniqueOnlyByAlt = (value, index, self, name) => {
return index === self.findIndex((t) => (
t[name] === value[name]
));
}
static uniqueOnly = (value, index, self) => {
return self.indexOf(value) === index;
}
static compare = (a, b, key: string) => {
if (a[key] < b[key]) {
return -1;
}
if (a[key] > b[key]) {
return 1;
}
return 0;
}
static toNormalCase = (text: string): string => {
const result = text.replace(/([A-Z])/g, " $1");
const finalResult = result.charAt(0).toUpperCase() + result.slice(1);
return finalResult;
}
static stuffIn = (originalText: string, stuffInText: string) => {
return originalText.indexOf(stuffInText) !== -1
? originalText.replace(new RegExp(`(${stuffInText})`, 'gi'), ` ${stuffInText} `).replace(/\s+/g, " ")
: originalText.trim() + " " + stuffInText;
}
static trimFormValues = (form: FormGroup) => {
const setValue = (control: any) => {
control.setValue(control.value.toString().trim().split(" ").filter(x => !!x).join(" "));
}
const patchHelper = (controls: any) => {
const keys = Object.keys(controls);
keys.forEach(key => {
const subControls = controls[key]["controls"];
!subControls && typeof controls[key].value === "string" && setValue(controls[key]);
subControls && patchHelper(subControls);
})
}
patchHelper(form["controls"]);
}
}
\ No newline at end of file
export class LocalStorageHelper {
static GetValue (key: string) {
return localStorage.getItem(key);
}
static SetValue(key: string, value: string) {
localStorage.setItem(key, value);
}
static DeleteAll() {
localStorage.clear()
}
static Delete(key: string) {
localStorage.removeItem(key);
}
}
\ No newline at end of file
export class MoneyHelper {
static table_0_19 = ["", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen"];
static table_20_90 = ["", "", "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety"];
static table_Scale = ["", "Thousand", "Lakh", "Crore", "Arab", "Kharab", "Neel", "Padma", "Shankh", "Samudra", "Antya", "Madhyam", "Paraardh", "***", "***"];
static integerToWordsInd = (givenNumber = 0, official = 0) => {
if (givenNumber === 0) return "Zero";
if (official) return MoneyHelper.siptlets(givenNumber); // Return Official Numbering System text
let numWords = "";
const num = ("0".repeat(6 * ((givenNumber).toString().length) % 7) + givenNumber).match(/.{7}/g); // Create Siptlets Array
return num.forEach((siptlet, scalePos) => { // Return Commmon-Use Numbering System text
const [scale, sWords] = [(MoneyHelper.table_Scale[3] + " ").repeat(num.length - scalePos - 1).trimRight(), MoneyHelper.siptlets(siptlet)];
numWords += (numWords && sWords ? ", " : "") + sWords + (scale ? " " : "") + scale;
}), numWords;
}
static siptlets = (Num, NumWords = "") => {
(Num += "").length - 3 & 1 && (Num = "0" + Num);
Num = Num > 999 ? [...Num.slice(0, -3).match(/.{2}/g).map(e => "0" + e), (Num.slice(-3))] : [("00" + Num).substr(-3)];
return Num.forEach((Duplet, ScalePos) => {
if (+Duplet) {
const [Hyphen, Hundreds, Tens, Scale] = [+Duplet[2] ? "-" : "", +Duplet[0], +Duplet.substr(1), MoneyHelper.table_Scale[Num.length - ScalePos - 1]];
NumWords += (NumWords ? " " : "") + (Hundreds ? MoneyHelper.table_0_19[Hundreds] + " Hundred" : "") +
(Hundreds && Tens ? " " : "") + (Tens < 20 ? MoneyHelper.table_0_19[Tens] :
MoneyHelper.table_20_90[+(Duplet[1])] + Hyphen + MoneyHelper.table_0_19[+Duplet[2]]);
NumWords += (NumWords && Scale ? " " : "") + Scale;
}
}), NumWords;
}
static numberCurrencyIn = (Num = 0, Official = 0) => {
const n = (Num + "").split(0.1.toLocaleString().substr(1, 1)); // Number and Fraction parts
n.length !== 2 && (n[1] = ""); // No fraction
Num = +n[0];
let Nw = "", Fw = "", Frc = (n[1] + "00").substring(0, 2); // Limit to 2 Decimal Places
Num && (Nw = MoneyHelper.integerToWordsInd(Num, Official)); // Convert the Whole Number
Frc && (Fw = MoneyHelper.integerToWordsInd(+Frc, Official)); // Convert the Fractional Part
const final = (Nw ? Nw : "") + (Nw ? " Rupees" : "") + (Nw && Fw && Fw !== "Zero" ? " and " : "") + (Fw && Fw !== "Zero" ? Fw + " Paisa" : "");
return Nw ? final : "Zero Paisa"; // Join together
}
}
\ No newline at end of file
import { Role } from "@shared/enums";
export class PermissionHelper {
constructor(private readonly roleId: number) { }
get superAdmin() {
return [Role.SuperAdmin].indexOf(this.roleId) > -1;
}
get admin() {
return [Role.Administrator].indexOf(this.roleId) > -1;
}
get support() {
return [Role.Support].indexOf(this.roleId) > -1;
}
get accountant() {
return [Role.Accountant].indexOf(this.roleId) > -1;
}
get symptomCreator() {
return [Role.SymptomCreator].indexOf(this.roleId) > -1;
}
get symptomManager() {
return [Role.SymptomManager].indexOf(this.roleId) > -1;
}
get all() {
return [Role.Administrator, Role.Support].indexOf(this.roleId) > -1;
}
}
\ No newline at end of file
export class RegExHelper {
static email = /^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,10}$/;
static emailFormat = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]{2,}$/;
static length10 = /^[A-Za-z\d$@$!%*?&]{10,}/;
static mobile = /^\b\d{10}?\b$/;
static npi = /^\b\d{10}?\b$/;
static oneUpperCase = /^(?=.*[A-Z])/;
static oneLowerCase = /^(?=.*[a-z])/;
static oneNumber = /^(?=.*\d)/;
static oneSpecialChar = /^(?=.*[$@$!%*?&])/;
static numbersOnly = /^[0-9]+$/;
static textOnly = /^[a-zA-Z ]+$/;
static titleOnly = /^[a-zA-Z .,'-/]+$/;
static alphaNumeric = /^[a-zA-Z0-9 ]+$/;
static decimalsOnly = /^(100|([0-9][0-9]?(\.\d?\d)?))$/;
static twoDecimalsOnly = /^[0-9]{0,3}(\.{0,1})([0-9]{1,2})?$/;
static whiteSpace = /^[\s]{1,}|[\s]{2,}|[\s]{1,}$/;
static sp = /^[a-zA-z"]{1,}\((([a-zA-z"]{1,} (bigint|int8|boolean|bool|varchar|integer|int|int4|smallint|int2|float8|float4|text|date){1,}){0,}(,){0,}( ){0,}([a-zA-z"]{1,} (bigint|int8|boolean|bool|varchar|integer|int|int4|smallint|int2|float8|float4|text|date){1,})){0,}\)$/;
}
\ No newline at end of file
export class TimeConvertHelper {
static convertTo12HourFormat(hour: number, minute: number) {
if (hour > 24) {
return null;
}
if (minute > 59) {
return null;
}
let setHour = hour;
let min;
switch (hour) {
case 0:
setHour = 12;
break;
case 13:
setHour = 1;
break;
case 14:
setHour = 2;
break;
case 15:
setHour = 3;
break;
case 16:
setHour = 4;
break;
case 17:
setHour = 5;
break;
case 18:
setHour = 6;
break;
case 19:
setHour = 7;
break;
case 20:
setHour = 8;
break;
case 21:
setHour = 9;
break;
case 22:
setHour = 10;
break;
case 23:
setHour = 11;
break;
case 24:
setHour = 12;
break;
}
if (minute >= 0 && minute < 10) {
min = '0' + minute.toString();
} else {
min = minute;
}
if (hour >= 13 && hour <= 23) {
return setHour + ":" + min + " " + "PM";
}
if (hour === 24 || hour === 0) {
return setHour + ":" + min + " " + "AM";
}
if (hour >= 1 && hour <= 11)
return setHour + ":" + min + " " + "AM";
if (hour === 12)
return setHour + ":" + min + " " + "PM";
}
static convertTo24HourFormat(hour: number, minute: number, meridian: string) {
if (hour > 12) {
return null;
}
if (meridian.toLocaleUpperCase() !== "AM" && meridian.toLocaleUpperCase() !== "PM" && meridian === null) {
return null;
}
let setHour = hour;
let min;
if (meridian === 'am' || meridian === 'AM') {
switch (hour) {
case 12:
setHour = 0;
break;
case 1:
setHour = 1;
break;
case 2:
setHour = 2;
break;
case 3:
setHour = 3;
break;
case 4:
setHour = 4;
break;
case 5:
setHour = 5;
break;
case 6:
setHour = 6;
break;
case 7:
setHour = 7;
break;
case 8:
setHour = 8;
break;
case 9:
setHour = 9;
break;
case 10:
setHour = 10;
break;
case 11:
setHour = 11;
break;
}
if (minute >= 0 && minute < 10) {
min = '0' + minute.toString();
} else {
min = minute;
}
if (hour === 12 || hour >= 1 && hour <= 11) {
return setHour + ":" + min;
}
}
if (meridian === 'pm' || meridian === 'PM') {
switch (hour) {
case 12:
setHour = 12;
break;
case 1:
setHour = 13;
break;
case 2:
setHour = 14;
break;
case 3:
setHour = 15;
break;
case 4:
setHour = 16;
break;
case 5:
setHour = 17
break;
case 6:
setHour = 18;
break;
case 7:
setHour = 19;
break;
case 8:
setHour = 20;
break;
case 9:
setHour = 21;
break;
case 10:
setHour = 22;
break;
case 11:
setHour = 23;
break;
}
if (minute >= 0 && minute < 10) {
min = '0' + minute.toString();
} else {
min = minute;
}
if (hour === 12 || hour >= 1 && hour <= 11) {
return setHour + ":" + min;
}
}
}
static convertToTimeFormat(hours: number, minute: number, second?: number) {
let hour;
let min;
let sec;
if (hours >= 0 && hours < 10) {
hour = '0' + hours.toString();
} else {
hour = hours;
}
if (minute >= 0 && minute < 10) {
min = '0' + minute.toString();
} else {
min = minute;
}
if (second >= 0 && second < 10) {
sec = '0' + second.toString();
} else {
sec = second;
}
if (second && second !== undefined) {
return hour + ":" + min + ":" + sec;
} else {
return hour + ":" + min
}
}
}
//TestCases
//Converting 24 Format to 12 Format with meridian
//const hour = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0]
//hour.forEach((h) => {
// for (let min = 0; min <= 59; min++) {
// const time = TimeConvertHelper.convertMeridian(h,min )
// console.log(time);
// }
//})
//Converting 12 Format to 24 Format
//const hour = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
//hour.forEach((h) => {
// for (let min = 0; min <= 59; min++) {
// const time = TimeConvertHelper.convertNotMeridian(h, min, 'pm')
// console.log(time);
// }
//})
\ No newline at end of file
import { HttpErrorResponse } from "@angular/common/http";
import { Pagination } from "@shared/models/pagination.model";
export class UtilHelper {
static clone(model: any) {
return $.extend(true, {}, model);
}
static cloneList(list: any) {
return $.extend(true, [], list);
}
static unique(value: any, index: any, self: any) {
return self.indexOf(value) === index;
}
static uniqBy(arr: any, predicate: string) {
const cb = (o: any) => o[predicate];
return [...arr.reduce((map: any, item: any) => {
const key = cb(item);
map.has(key) || map.set(key, item);
return map;
}, new Map()).values()];
}
static isFiltersApplied(options: Object, ignore?: number): boolean {
const applied = Object.keys(options).map((key: string) => options[key]).filter((m: Object) => m).length;
return typeof ignore === "number" ? (applied - ignore) > 0 : applied > 0;
}
static getCurrentItems(length: number, pagination: Pagination) {
return length > 0
? ((Math.abs(pagination.totalItems) % pagination.pageSize) === length
? pagination.totalItems
: length > 0
? length * pagination.pageIndex
: 0)
: 0;
}
static applyPagination(data: Array<any>, pagination: Pagination, status?: boolean) {
const length = data ? data.length : 0;
if (length > 0) {
pagination.totalItems = data[0]["totalItems"];
pagination.totalPages = Math.ceil(pagination.totalItems / pagination.pageSize);
pagination.currentItems = ((Math.abs(pagination.totalItems) % pagination.pageSize) === length
? pagination.totalItems
: length > 0
? length * (status ? pagination.pageIndex + 1 : pagination.pageIndex)
: 0);
pagination.currentPage = status ? pagination.pageIndex + 1 : pagination.pageIndex;
}
}
static applyPaginationOnRoleBase(data: Array<any>, pagination: Pagination, status?: boolean) {
const length = data ? data.length : 0;
if (length > 0) {
pagination.totalItems = data[0]["totalItems"];
pagination.totalPages = Math.ceil(pagination.totalItems /100);
pagination.currentItems = ((Math.abs(pagination.totalItems) % pagination.pageSize) === length
? pagination.totalItems
: length > 0
? length * (status ? pagination.pageIndex + 1 : pagination.pageIndex)
: 0);
pagination.currentPage = status ? pagination.pageIndex + 1 : pagination.pageIndex;
}
}
static random(length: number) {
let result = "";
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
const charactersLength = characters.length;
for (let i = 0; i < length; i++) {
result += characters.charAt(Math.floor(Math.random() * charactersLength));
}
return result;
}
static defaultErrorMessage() {
return "Sorry error occurred. Please try again later.";
}
static handleError(error: HttpErrorResponse) {
try {
if (error.error === undefined || error.error === null || error.error === "" || error.error.type === "error") {
return "";
}
return error.error;
} catch (e) {
return "";
}
}
static prepareFormData(model: object) {
const formData = new FormData();
const keys = Object.keys(model);
keys.forEach((key) => {
formData.append(key, model[key]);
});
return formData;
}
static isInvalidFileType(contentType: string) {
// const docTypes = ["application/doc", "application/ms-doc", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"];
// const excelTypes = ["application/excel", "application/vnd.ms-excel", "application/x-excel", "application/x-msexcel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];
const pdfTypes = ["application/pdf"];
// const odtTypes = ["application/odt"];
// const rtfTypes = ["application/rtf"];
// const txtTypes = ["text/plain"];
const jpgTypes = ["image/jpeg", "image/pjpeg"];
const pngTypes = ["image/png"];
const gifTypes = ["image/gif"];
if ([...pdfTypes, ...jpgTypes, ...pngTypes, ...gifTypes].indexOf(contentType) > -1) {
return false;
}
return true;
}
static isInvalidImageType(contentType: string) {
const jpgTypes = ["image/jpeg", "image/pjpeg"];
const pngTypes = ["image/png"];
const gifTypes = ["image/gif"];
if ([...jpgTypes, ...pngTypes, ...gifTypes].indexOf(contentType) > -1) {
return false;
}
return true;
}
static isInvalidFileSize(size: number) {
return Math.round((size / 1024)) > 10240;
}
static async readFile(file: File): Promise<string | ArrayBuffer> {
return new Promise<string | ArrayBuffer>((resolve, reject) => {
const reader = new FileReader();
reader.onload = (e) => {
return resolve((e.target as FileReader).result);
};
reader.onerror = () => {
return reject(null);
};
if (!file) {
return reject(null);
}
reader.readAsDataURL(file);
});
}
static getHtml(url, callback) {
if (!XMLHttpRequest) {
callback("");
}
const request = new XMLHttpRequest();
request.onload = () => {
if (callback && typeof (callback) === "function") {
callback(request.responseXML);
}
}
request.open("GET", url);
request.responseType = "document";
request.send();
}
static addOrRemoveLogoStyle = (type: boolean, callback: Function = () => { }) => {
if (!type) {
UtilHelper.addWithOutLogoStyleFile(() => {
callback();
})
} else {
UtilHelper.removeWithOutLogoStyleFile(() => {
callback();
})
}
}
static fullCalendarStyleSheets = ["fullcalendar/core.css", "fullcalendar/daygrid.css", "fullcalendar/list.css", "fullcalendar/timegrid.css", "calendar.css"];
static addFullCalendarCss(callBack: Function) {
const head = document.getElementsByTagName('head')[0];
this.fullCalendarStyleSheets.forEach((item) => {
const fileref = document.createElement("link")
fileref.setAttribute("rel", "stylesheet")
fileref.setAttribute("type", "text/css")
const fileName = location.origin + location.pathname + `assets/css/styles/${item}`;
fileref.setAttribute("href", fileName);
fileref.media = 'all';
head.appendChild(fileref);
});
setTimeout(() => {
callBack();
});
}
static removeFullCalendarCss(callBack: Function) {
this.fullCalendarStyleSheets.forEach((item) => {
const fileName = location.origin + location.pathname + `assets/css/styles/${item}`;
$(`link[href="${fileName}"]`).remove();
});
setTimeout(() => {
callBack();
});
}
static addWithOutLogoStyleFile = (callback: Function = () => { }) => {
const head = document.getElementsByTagName('head')[0];
const fileref = document.createElement("link")
fileref.setAttribute("rel", "stylesheet")
fileref.setAttribute("type", "text/css")
const fileName = location.origin + location.pathname + "assets/css/without-logo.css";
fileref.setAttribute("href", fileName);
fileref.media = 'all';
head.appendChild(fileref);
setTimeout(() => {
callback();
});
}
static removeWithOutLogoStyleFile = (callback: Function = () => { }) => {
const fileName = location.origin + location.pathname + "assets/css/without-logo.css";
$(`link[href="${fileName}"]`).remove();
setTimeout(() => {
callback();
});
}
static isEmpty = (values: any) => {
if (values !== undefined)
if (values !== null) {
if (values !== "") {
return true;
} else {
return false;
}
} else
return false;
else {
return false;
}
}
}
\ No newline at end of file
import { Appointment } from "../entities";
import { NotifyService } from '@shared/services';
export default class WhatsAppFunctionality {
notifyServicee: NotifyService;
constructor(notifyServicee: NotifyService) {
this.notifyServicee = notifyServicee;
}
sendAppointmentBooking(record: Appointment) {
const body = {};
body['PatientMobile'] = record['patientMobile'];
body['PatientName'] = record.patientName.length < 2 ? "**" : record.patientName;
body['DoctorName'] = record.providerName
body['BranchName'] = record.locationName
body['AppointmentDate'] = record.appointmentDate
body['AppointmentTime'] = record.appointmentTimeString
body['PracticeName'] = record.practiceName
body['AppointmentNo'] = record.appointmentNo
body['ContactNumber'] = record['patientMobile'];
console.log("The record is : ")
fetch("https://hims.careaxes.net/whatsAppApi/sendTxtMsg", { method: "POST", body: JSON.stringify(body), headers: { "Accept": "application/json" } })
.then(data => data.text()).then((response: any) => console.log(response))
this.notifyServicee.successToast("Whatsapp message sent successfully");
//console.log(record);
}
sendAppointmentCancel(record: Appointment) {
const body = {};
body['PatientMobile'] = record['patientMobile'];
body['PatientName'] = record.patientName.length < 2 ? "**" : record.patientName;
body['DoctorName'] = record.providerName
body['BranchName'] = record.locationName
body['AppointmentDate'] = record.appointmentDate
body['AppointmentTime'] = record.appointmentTimeString
body['PracticeName'] = record.practiceName
body['AppointmentNo'] = record.appointmentNo
body['ContactNumber'] = record['patientMobile'];
fetch("https://hims.careaxes.net/whatsAppApi/Cancel", { method: "POST", body: JSON.stringify(body), headers: { "Accept": "application/json" } })
.then(data => data.text()).then((response: any) => console.log(response))
}
sendAppointmentReschedule() {
console.log("The appointment details sent")
}
labBooking() {
console.log("the lab booking functionality not implemented")
}
labCancellation() {
console.log("The lab cancellation func not implemented")
}
}
\ No newline at end of file
export * from "./request.interceptor";
\ No newline at end of file
import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http";
import { Injectable } from "@angular/core";
import { Router } from "@angular/router";
import { HttpErrorInfo, HttpErrorType, IAuthToken } from "@shared/models";
import { AppData, CommunicationService, HttpErrorService, IdentityService, appUrls } from "@shared/services";
import { BehaviorSubject, Observable, throwError } from "rxjs";
import { catchError, filter, finalize, switchMap, take } from "rxjs/operators";
function getCookie(cookieName: string) {
const name = cookieName + "=";
const decodedCookie = decodeURIComponent(document.cookie);
const ca = decodedCookie.split(";");
for (let i = 0; i < ca.length; i++) {
let c = ca[i];
while (c.charAt(0) === " ") {
c = c.substring(1);
}
if (c.indexOf(name) === 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
@Injectable()
export class RequestInterceptor implements HttpInterceptor {
isRefreshingToken = false;
tokenSubject = new BehaviorSubject<string>(null);
constructor(
private readonly router: Router,
private readonly appData: AppData,
private readonly identityService: IdentityService,
private readonly httpErrorService: HttpErrorService,
private readonly communicationService: CommunicationService,
) { }
addHeaders(req: HttpRequest<any>): HttpRequest<any> {
let headers = req.headers;
headers = headers.set("Access-Control-Allow-Origin", "*");
headers = headers.set("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
headers = headers.set("Access-Control-Allow-Methods", "POST, GET, OPTIONS, PUT");
headers = headers.set("Accept", "application/json");
headers = headers.set("Access-Control-Allow-Credentials", "true");
if (!req.reportProgress) {
headers = headers.set("Content-Type", "application/json");
}
const cookieName = "X-XSRF-TOKEN";
const token = getCookie(cookieName);
if (token) {
headers = headers.set(cookieName, token);
}
return req.clone({ headers: headers });
}
addLocationHeader(req: HttpRequest<any>, locationId: number, createdBy: number): HttpRequest<any> {
let headers = req.headers;
headers = headers.set("LocationId", locationId ? locationId.toString() : "0");
headers = headers.set("CreatedBy", createdBy ? createdBy.toString() : "0");
return req.clone({ headers: headers });
}
addToken(req: HttpRequest<any>, token: string): HttpRequest<any> {
return req.clone({ setHeaders: { Authorization: token } });
}
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
// Add default headers
let transformedReq = this.addHeaders(req);
// Check whether the request is Allow Anonymous or not
const skipAuthentication = transformedReq.headers.get("Auth") === "False";
if (skipAuthentication) {
return next.handle(transformedReq);
}
// Get token from Identity
let token = "";
let locationId = 0;
let createdBy = 0;
this.appData.userAccount.subscribe(userAccount => {
if (userAccount) {
token = userAccount.token;
locationId = userAccount.locationId;
createdBy = userAccount.accountId;
} else {
token = "";
locationId = 0;
createdBy = 0;
}
});
// Add Location Header
transformedReq = this.addLocationHeader(req, locationId, createdBy);
// Add token
transformedReq = this.addToken(transformedReq, token);
return next.handle(transformedReq).pipe(
catchError(
(error: HttpErrorResponse) => {
switch (error.status) {
case 401:
return this.handle401Error(transformedReq, next);
case 403:
return this.handle403Error();
default:
return throwError(error);
}
}
)
);
}
handle401Error(req: HttpRequest<any>, next: HttpHandler) {
const errorInfo = new HttpErrorInfo();
errorInfo.message = "401 Unauthorized";
errorInfo.type = HttpErrorType.E401;
this.httpErrorService.add(errorInfo);
if (!this.isRefreshingToken) {
this.isRefreshingToken = true;
// Reset here so that the following requests wait until the token
// comes back from the refreshToken call.
this.tokenSubject.next(null);
// Get reference(refresh token) from Identity
let referenceToken = "";
this.appData.userAccount.subscribe(userAccount => {
if (userAccount) {
referenceToken = userAccount.referenceToken;
}
});
return this.identityService.refreshToken(referenceToken).pipe(
switchMap((authToken: IAuthToken) => {
if (authToken) {
this.tokenSubject.next(authToken.token);
this.identityService.update(authToken);
return next.handle(this.addToken(req, authToken.token));
} else {
return this.logout();
}
}),
catchError(() => {
return this.logout();
}),
finalize(() => {
this.isRefreshingToken = false;
})
);
}
return this.tokenSubject.pipe(
filter(token => token !== null),
take(1),
switchMap((token: string) => {
return next.handle(this.addToken(req, token));
})
);
}
handle403Error() {
this.router.navigateByUrl(appUrls.forbidden);
return throwError("");
}
logout() {
this.identityService.signOut().subscribe(() => {
this.appData.setAccount(null);
localStorage.removeItem("menus");
try {
this.communicationService.stopConnection();
} catch (e) {
console.error(e)
}
this.router.navigateByUrl(appUrls.login);
});
return throwError("");
}
}
\ No newline at end of file
export class SymptomsData {
request: string;
response: string;
}
export class Symptoms {
type: string;
data: Array<SymptomsData>;
constructor() {
this.data = [];
}
}
export class AppointmentSymptoms {
symptoms: Symptoms;
user: string;
constructor() {
this.symptoms = new Symptoms();
}
}
\ No newline at end of file
export interface IAuthToken {
token: string;
expires: Date;
referenceToken: string;
}
\ No newline at end of file
export class BehavioralHealthEncounter {
appointmentId: number;
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;
encryptedPatientId: string;
medicationComment: string;
generalAdvice: string;
symptoms: string;
}
\ No newline at end of file
export interface IBehavioralHealthResource {
appointmentId: number;
behavioralHealthId?: number;
jsonString: string;
}
\ No newline at end of file
export interface IChargePrice {
chargeModuleCategoryId: number;
chargeCategoryId: number;
chargeCategoryName: string;
locationId: number;
modulesMasterId: number;
chargeModuleTemplateId: number;
chargeModuleDetailsId: number;
referenceId: number;
amount: number;
lastModifiedBy: number;
lastModifiedByName: string;
lastModifiedDate: Date;
}
\ No newline at end of file
export interface IComment {
userId: number;
userName:string;
comment:string;
date:Date;
}
\ No newline at end of file
import { CommunicationType } from '../enums/communication-type.enum';
export class CommunicationMessageModel {
type: CommunicationType;
accountId: number;
roleId: number;
message: string;
telemedicineId: number;
templateName: string;
startAudioOnly: boolean;
content?: object;
uniqueId: string;
userUniqueId: string;
mainId: number;
notifyToId: number;
}
export class CounsellingDetail {
counsellingDetailId: number;
counsellingId: number;
packageModuleDetailId: number;
quantity: number;
amount?: number;
isFree: boolean;
active: boolean;
createdBy: number;
createdByName: string;
createdDate: string;
modifiedBy?: Date;
modifiedByName: string;
modifiedDate?: Date;
}
\ No newline at end of file
export class Counselling {
counsellingId: number;
counsellingTypeId: number;
counsellingTypeName: string;
counsellingNo: string;
locationId: number;
locationName: string;
patientId: number;
patientName: string;
umrNo: string;
patientGender: string;
packageModuleId: number;
packageName: string;
packageTypeName: string;
moduleTypeName: string;
chargeCategoryId: number;
chargeCategoryName: string;
chargeModuleTemplateId: number;
templateName: string;
startDate: Date;
endDate: Date;
patientSignature: string;
counsellorSignature: string;
patientSignatureRootPath: string;
counsellorSignatureRootPath: string;
isInUse: boolean;
payTypeId?: number;
payTypeName?: string;
insuranceCompanyId?: number;
insuranceCompanyName?: string;
tpaId?: number;
tpaName?: string;
patientOrganization?: string;
totalQuantity: number;
subTotal: number;
packageDiscount: number;
discountType: string;
discountPercentage?: number;
discountAmount?: number;
discount: number;
total: number;
isDraft: boolean;
active: boolean;
createdBy: number;
createdByRoleId: number;
createdByName: string;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
modifiedByName: string;
isModifying: boolean;
isDeleting: boolean;
}
export interface ICounsellingPatientInfo {
patientName: string;
umrNo: string;
patientGender: string;
}
\ No newline at end of file
import { Time } from "@angular/common";
export class DietEncounter {
admissionId: number;
admissionNo: string;
admissionDate: string;
admssionTime: string;
dietEncounterId?: number;
encryptedPatientId: string;
appointmentId: number;
encounterDate: Date;
active: boolean;
createdBy: number;
createdDate: Date
modifiedBy: number;
modifiedDate: Date;
appointmentDate: Date;
providerName: string;
appointmentTime: Time;
jsonString: string;
dietPlanPrescribed: string;
opNutritionScreeningForm: string;
opNutritionalAssessmentForm: string;
ipNutritionalScreeningForm: string;
pediatricCDCScreeningForm: string;
dietGuideLines: string;
syndromesFormP: string;
orderPrescription: string;
referralForm: string;
PatientGender: string;
patientMobile: string;
appointmentTimeString: string;
appointmentNo: number;
patientName: string;
patientAge?: number;
patientDateOfBirth?: Date;
patientGender: string;
patientThumbnailUrl: string;
patientCountryCode: string;
appointmentSymptoms: string;
specialFeature: string;
}
export class EmergencyEncounter {
emergencyEncounterId?: number;
encryptedPatientId: string;
appointmentId: number;
encounterDate: Date;
active: boolean;
createdBy: number;
createdDate: Date
modifiedBy: number;
modifiedDate: Date;
practiceLocation: string;
practiceName: string;
specializationName: string;
providerNo: string;
educations: string;
patientName: string;
patientAge?: number;
patientDateOfBirth?: Date;
patientGender: string;
patientMobile: string;
patientThumbnailUrl: string;
patientCountryCode: string;
appointmentSymptoms: string;
providerName: string;
signature: string;
appointmentTimeString: string;
appointmentDate: string;
appointmentNo: number;
patientId: number;
partner: string;
friendlyName: string;
email: string;
patientNo: string;
providerEmail: string;
umrNo: string;
emergencyTriage: string;
nursingERForm: string;
}
\ No newline at end of file
export interface IEncounterResource {
appointmentId: number;
encounterId?: number;
homeopathyId?: number;
behavioralHealthId?: number;
dentalEncounterId?: number;
jsonString: string;
medicationComment: string;
gynEncounterId?: number;
obEncounterId?: number;
encryptedAppointmentId: string;
ivfEncounterId?: number;
pediatricEncounterId?: number;
dietEncounterId?: number;
emergencyEncounterId?: number;
commonEncounterId?: number;
}
\ No newline at end of file
export class SelectionInfo {
start: Date;
end: Date;
startStr: string;
endStr: string;
allDay: boolean;
}
export class FetchInfo {
start: Date;
end: Date;
startStr: string;
endStr: string;
}
\ No newline at end of file
export class GenericResponse {
status: string;
message: string;
data: any;
}
export enum GenericStatus {
Success = 1,
Info = 2,
Warning = 3,
Error = 4
}
\ No newline at end of file

export class GynEncounter {
gynEncounterId?: number;
admissionId: number;
admissionNo: string;
admissionDate: string;
admssionTime: string;
encryptedPatientId: string;
appointmentId: number;
encounterDate: Date;
abdomen: string;
additionalLabs: string;
birthControl: string;
breast: string;
breastScreening: string;
cancerHistory: string;
cardiovascular: string;
gynHistory: string;
gynLabs: string;
gynUltraSound: string;
heent: string;
lastBreastUltraSound: string;
lastDexaScan: string;
lastMammogram: string;
lastPelvicUltraSound: string;
lymphatic: string;
menopausalHistory: string;
mensutralHistory: string;
musculoSkeletal: string;
patientDeferred: string;
pelvic: string;
physicalExam: string;
respiratory: string;
skin: string;
vitals: string;
gyneacCard: string;
gynaecOrders: string;
gynIUI: string;
gynaecVisit: string;
active: boolean;
createdBy: number;
createdDate: Date
modifiedBy: number;
modifiedDate: Date;
practiceLocation: string;
practiceName: string;
specializationName: string;
providerNo: string;
educations: string;
patientName: string;
patientAge?: number;
patientDateOfBirth?: Date;
patientGender: string;
patientMobile: string;
patientThumbnailUrl: string;
patientCountryCode: string;
appointmentSymptoms: string;
providerName: string;
signature: string;
appointmentTimeString: string;
appointmentDate: string;
appointmentNo: number;
lastPelvicSound: string;
problemList: string;
familyHistory: string;
orderPrescription: string;
procedure: string;
allergies: string;
birthHistory: string;
partnerDetails: string;
proformaForOasi: string;
procedureSurgery: string;
surgeries: string;
gynCardGeneration: string;
gyneacPartner: string;//
patientId: number;
partner: string;
friendlyName: string;
email: string;
patientNo: string;
providerEmail: string;
umrNo: string;
gyneacAdmissionSheet: string;
gyneacSurgery: string;
gyneacDiscargeSummary: string;
colposcopic: string;
ectopic: string;
speacialFeature: string;
referralForm: string;
measure: string;
refferalOrder: string;
measureCommonData: string;
scanAppointmentDetails: string;
}
\ No newline at end of file
export enum HttpErrorType {
E401 = 1
}
export class HttpErrorInfo {
message: string;
type: HttpErrorType;
}
\ No newline at end of file
export interface IconModel {
iconsId: number;
iconName: string;
url: string;
active: boolean;
totalItems:number;
}
\ No newline at end of file
export * from "./appointment-symptoms.model";
export * from "./auth-token.model";
export * from "./behavioural-health-encounter.model";
export * from "./behavioural-resource.model";
export * from "./charge-price.model";
export * from "./comment.model";
export * from "./communication-message.model";
export * from "./counselling-detail.model";
export * from "./counselling.model";
export * from "./emergency-encounter.model";
export * from "./encounter-resource.model";
export * from "./fullcalendar.model";
export * from "./generic-response.model";
export * from "./http-error.model";
export * from "./icons.model";
export * from "./init-payment.model";
export * from "./internal-medicine-encounter.model";
export * from "./issue-indent-display.model";
export * from "./medication-async.model";
export * from "./menu-patient-search.model";
export * from "./menu.model";
export * from "./nurse-notes-report.model";
export * from "./ob-encounter.model";
export * from "./otp-response.model";
export * from "./page.model";
export * from "./pagination.model";
export * from "./patient-profile.model";
export * from "./payment-status.model";
export * from "./payout-account.model";
export * from "./payout-token.model";
export * from "./progress-bar.model";
export * from "./progress-data.model";
export * from "./provider-availability.model";
export * from "./provider-bankaccount.model";
export * from "./provider-location.model";
export * from "./provider-service.model";
export * from "./provider-slot.model";
export * from "./provider-specialization.model";
export * from "./resource.model";
export * from "./settlement.model";
export * from "./slot.model";
export * from "./support-category.model";
export * from "./surgery-kit-detail.model";
export * from "./surgery-kit-header.model";
export * from "./template-view.model";
export * from "./ticket-timeline.model";
export * from "./ticket.model";
export * from "./time.model";
export * from "./user-account.model";
export * from "./user.model";
export * from "./video-call-history.model";
export * from "./vitals.model";
import { PaymentModule } from "../enums";
export class InitPaymentModel {
type: PaymentModule;
data: any;
isMultiPayments = true;
patCharges: number;
}
\ No newline at end of file
export class InternalMedicineEncounter {
appointmentId: number;
encounterId?: number;
problemList: string;
encryptedPatientId: string;
cheifComplaints: string;
followUp: string;
medications: string;
notes: string;
vitals: string;
familyMedicalHistory: string;
socialHistory: string;
diagnosis: string;
generalAdvice: string;
symptoms: string;
medicationComment: string;
heent: string;
extermities: string;
respiratory: string;
ekg: string;
skin: string;
abdomen: string;
musculoskeletal: string;
neurology: string;
cardiovascular: string;
allergies: string;
immunization: string;
preventiveCare: string;
hospitalizationSurgery: string;
pastandCurrentMedications: string;
currentMedications: string;
ros: string;
}
\ No newline at end of file
export class IssueIndentDisplay {
pharmacyIssueHeaderId: number;
pharmacyIndentHeaderId: number;
pharmacyIssueDetailId: number;
pharmacyProductId: number;
retailStockId: number;
createdBy: number;
productName: string;
createdDate: Date;
overallNetAmount: number;
overallGst: number;
overallDiscount: number;
gstPercentage: number;
discountPercentage?: number;
discountAmount?: number;
netAmount: number;
gstAmount: number;
quantity: number;
expiryDate: number;
overallTotal: number;
total: number;
retailName: string;
}
\ No newline at end of file
export class IvfEncounter {
ivfEncounterId?: number;
encryptedPatientId: string;
appointmentId: number;
encounterDate: Date;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate: Date;
embryoFreezing: string;
embryoThawing: string;
gynHistory: string;
gynIUI: string;
mensutralHistory: string;
birthControl: string;
addIUIData: string;
familyHistory: string;
marriedLifeHistory: string;
medicalAndSurgicalHistory: string;
personalHistory: string;
contraceptionHistory: string;
previousObstetricHistory: string;
iuiSummary: string;
ivfSimulationScan: string;
menstrualHistoryPresent: string;
laproscopy: string;
hysteroscopy: string;
aspiration: string;
coitalHistory: string;
dualTriggerInjection: string;
embryoCyroPreservation: string;
embryoDetail: string;
embryoQuality: string;
fertilization: string;
infertilityHistory: string;
infertilityObservation: string;
ivfData: string;
ivfDualTriggerInjection: string;
ivfSummary: string;
observationInfertility: string;
otherInvestigationHistory: string;
physicalGyecologicalHistory: string;
singleTriggerInjection: string;
stimulationChart: string;
cryoPreservation: string;
oocytCryoPreservation: string;
embyologyDetail: string;
previousInfertilityTreatmentHistory: string;
fet: string;
iuiStimulationScan: string;
}
\ 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