hplx-feature-library 1.0.172 → 1.0.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/APIAction--DyoXs57.js +3752 -0
- package/dist/APIAction-B5XQnkiF.cjs +9 -0
- package/dist/AllInvestigations/index.js +1 -1
- package/dist/{AllInvestigationsTable-C7jrmW8z.js → AllInvestigationsTable-BxezFrCD.js} +5853 -6144
- package/dist/AllInvestigationsTable-C7uQ56B0.cjs +79 -0
- package/dist/Attachments/components/document-canvas/document-pen-tool.d.ts +1 -1
- package/dist/Attachments/components/drag-drop-overlay.d.ts +1 -1
- package/dist/Attachments/components/edit-document-modal.d.ts +1 -1
- package/dist/Attachments/components/uploading-toast.d.ts +1 -1
- package/dist/Attachments/context/index.d.ts +2 -2
- package/dist/Attachments/hooks/useDropdownPosition.d.ts +1 -1
- package/dist/Attachments/index.js +512 -534
- package/dist/CameraCapture/index.d.ts +1 -1
- package/dist/PatientAddEdit/index.js +1662 -0
- package/dist/PatientPopup/action/APIAction.d.ts +65 -0
- package/dist/PatientPopup/app/PatientPopupContainer.d.ts +6 -0
- package/dist/PatientPopup/app/PatientPopupContext.d.ts +30 -0
- package/dist/PatientPopup/common/common.d.ts +14 -0
- package/dist/PatientPopup/components/Lab/HPLXLab.d.ts +8 -0
- package/dist/PatientPopup/components/Lab/LISLab.d.ts +8 -0
- package/dist/PatientPopup/components/Lab/LabTable.d.ts +5 -0
- package/dist/PatientPopup/components/Lab/index.d.ts +5 -0
- package/dist/PatientPopup/components/Loader/Loader.d.ts +2 -0
- package/dist/PatientPopup/components/Pagination.d.ts +9 -0
- package/dist/PatientPopup/components/Profile/Abha.d.ts +11 -0
- package/dist/PatientPopup/components/Profile/PatientDetailsModal.d.ts +1 -0
- package/dist/PatientPopup/components/Profile/Profile.d.ts +11 -0
- package/dist/PatientPopup/components/Profile/Sms.d.ts +2 -0
- package/dist/PatientPopup/components/Visits/Table.d.ts +11 -0
- package/dist/PatientPopup/components/Visits/index.d.ts +15 -0
- package/dist/PatientPopup/components/addBills/AddBillFooter.d.ts +2 -0
- package/dist/PatientPopup/components/addBills/AddBills.d.ts +5 -0
- package/dist/PatientPopup/components/addBills/AddBillsTable.d.ts +17 -0
- package/dist/PatientPopup/components/addBills/DropDown.d.ts +15 -0
- package/dist/PatientPopup/components/appointment/AllAppts.d.ts +8 -0
- package/dist/PatientPopup/components/appointment/Appointment.d.ts +2 -0
- package/dist/PatientPopup/components/appointment/AppointmentsTable.d.ts +10 -0
- package/dist/PatientPopup/components/bills/Bills.d.ts +6 -0
- package/dist/PatientPopup/components/bills/BillsTable.d.ts +11 -0
- package/dist/PatientPopup/components/deposit/DepositSection.d.ts +9 -0
- package/dist/PatientPopup/components/mainNavItem/MainNavItem.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupBody/PatientPopupBody.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupHeader/PatientPopupHeader.d.ts +10 -0
- package/dist/PatientPopup/components/patientPopupSummary/BillSummary.d.ts +19 -0
- package/dist/PatientPopup/components/patientPopupSummary/ConsultationDetails.d.ts +14 -0
- package/dist/PatientPopup/components/patientPopupSummary/DeleteItem.d.ts +11 -0
- package/dist/PatientPopup/components/patientPopupSummary/DepositRefundSummary.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupSummary/LabServiceDetails.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupSummary/OtherServiceDetails.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupSummary/PatientPopupSummary.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupSummary/PaymentCard.d.ts +25 -0
- package/dist/PatientPopup/components/patientPopupSummary/ServiceLevelBillSummary.d.ts +18 -0
- package/dist/PatientPopup/components/payments/DepositRefundTable.d.ts +14 -0
- package/dist/PatientPopup/components/payments/OtherServicesTable.d.ts +16 -0
- package/dist/PatientPopup/components/payments/PaymentEditModal.d.ts +15 -0
- package/dist/PatientPopup/components/payments/PaymentHeader.d.ts +7 -0
- package/dist/PatientPopup/components/payments/Payments.d.ts +5 -0
- package/dist/PatientPopup/components/payments/PaymentsTable.d.ts +14 -0
- package/dist/PatientPopup/constants/AppConstants.d.ts +123 -0
- package/dist/PatientPopup/index.d.ts +1 -0
- package/dist/PatientPopup/index.js +135376 -0
- package/dist/PatientPopup/types/hplxAPITypes.d.ts +37 -0
- package/dist/PatientPopup/utils/PrintFontLoader.d.ts +4 -0
- package/dist/PatientPopup/utils/helperFunctions.d.ts +3 -0
- package/dist/PediatricsCalculator/components/PediatricsCalculatorTableContext.d.ts +1 -1
- package/dist/PediatricsCalculator/index.js +1 -1
- package/dist/PediatricsCalculatorTable-B4fTy1J5.cjs +9 -0
- package/dist/PediatricsCalculatorTable-C4HGNrjE.js +1167 -0
- package/dist/ReusableModal-CIgDYOWZ.cjs +1 -0
- package/dist/ReusableModal-pSi21hnc.js +29 -0
- package/dist/ReusableTable/context/TableContextBase.d.ts +1 -1
- package/dist/Subscription/components/SubscriptionBadge.d.ts +2 -0
- package/dist/TrendGraphs/context/index.d.ts +1 -1
- package/dist/changePasswordModal/APIAction/APIActions.d.ts +8 -0
- package/dist/changePasswordModal/component/ChangePasswordModal.d.ts +14 -0
- package/dist/clsx-C11secjj.cjs +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/common/APIAction/APIAction.d.ts +28 -0
- package/dist/common/components/BorderFullWidth.d.ts +2 -0
- package/dist/common/components/table/ExistingPatients.d.ts +17 -0
- package/dist/common/editRibbon/EditRibbon.d.ts +9 -0
- package/dist/common/utils/NetworkInstance.d.ts +4 -0
- package/dist/common/utils/common-utils.d.ts +36 -0
- package/dist/components/CustomDropdown.d.ts +1 -1
- package/dist/components/PatientAddEdit.d.ts +3 -0
- package/dist/constants/CommonConstant.d.ts +70 -0
- package/dist/dayjs.min-BbV4duaj.js +284 -0
- package/dist/dayjs.min-DXp74Ozx.cjs +1 -0
- package/dist/fonts/AnekMalayalam-Bold.ttf +0 -0
- package/dist/fonts/AnekMalayalam-Regular.ttf +0 -0
- package/dist/fonts/Arial-Bold-Italic.ttf +0 -0
- package/dist/fonts/Arial-Bold.ttf +0 -0
- package/dist/fonts/Arial-Italic.ttf +0 -0
- package/dist/fonts/Arial.ttf +0 -0
- package/dist/fonts/IndianRupee.ttf +0 -0
- package/dist/fonts/MuktaMaheePunjabi-Bold.ttf +0 -0
- package/dist/fonts/MuktaMaheePunjabi-Regular.ttf +0 -0
- package/dist/fonts/Noto-Sans-Telugu-Bold.ttf +0 -0
- package/dist/fonts/Noto-Sans-Telugu-Regular.ttf +0 -0
- package/dist/fonts/NotoNastaliqUrdu-Bold.ttf +0 -0
- package/dist/fonts/NotoNastaliqUrdu-Regular.ttf +0 -0
- package/dist/fonts/NotoSansArabic-Bold.ttf +0 -0
- package/dist/fonts/NotoSansArabic.ttf +0 -0
- package/dist/fonts/NotoSansHindi-Bold.ttf +0 -0
- package/dist/fonts/NotoSansHindi.ttf +0 -0
- package/dist/fonts/NotoSansKannada-Bold.ttf +0 -0
- package/dist/fonts/NotoSansKannada.ttf +0 -0
- package/dist/fonts/NotoSansOriya-Bold.ttf +0 -0
- package/dist/fonts/NotoSansOriya.ttf +0 -0
- package/dist/fonts/NotoSansTamil-Bold.ttf +0 -0
- package/dist/fonts/NotoSansTamil.ttf +0 -0
- package/dist/fonts/NotoSerifGujarati-Bold.ttf +0 -0
- package/dist/fonts/NotoSerifGujarati-Regular.ttf +0 -0
- package/dist/fonts/Roboto-Regular.ttf +0 -0
- package/dist/fonts/Times-Bold-Italic.ttf +0 -0
- package/dist/fonts/Times-Bold.ttf +0 -0
- package/dist/fonts/Times-Italic.ttf +0 -0
- package/dist/fonts/Times.ttf +0 -0
- package/dist/fonts/TiroBangla-Bold.ttf +0 -0
- package/dist/fonts/TiroBangla-Regular.ttf +0 -0
- package/dist/fonts/Verdana-Bold-Italic.ttf +0 -0
- package/dist/fonts/Verdana-Bold.ttf +0 -0
- package/dist/fonts/Verdana-Italic.ttf +0 -0
- package/dist/fonts/Verdana.ttf +0 -0
- package/dist/hooks/useMediaQuery.d.ts +1 -0
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index-DQlbIHh3.cjs +102 -0
- package/dist/index-DkA8S5IK.cjs +32 -0
- package/dist/index-sG1tIMJ6.js +7242 -0
- package/dist/index-vVtPa2-N.js +961 -0
- package/dist/index.js +2 -2
- package/dist/nineDots/NineDotsTypes.d.ts +22 -0
- package/dist/nineDots/NineDotsUtils.d.ts +3 -0
- package/dist/nineDots/nineDots.d.ts +3 -0
- package/dist/searchPatients/SearchPatients.d.ts +11 -0
- package/dist/types/APIEndPoints.d.ts +11 -0
- package/dist/types/ApiResponseTypes.d.ts +290 -0
- package/dist/types/CommonTypes.d.ts +255 -0
- package/dist/types/PatientAddEditTypes/index.js +1 -0
- package/dist/types/PatientAddEditTypes.d.ts +7 -0
- package/dist/types/PatientPopupTypes/index.js +1 -0
- package/dist/types/PatientPopupTypes.d.ts +836 -0
- package/dist/userProfile/APIAction/APIActions.d.ts +18 -0
- package/dist/userProfile/UserProfile.d.ts +18 -0
- package/dist/userProfile/UserProfileItem.d.ts +7 -0
- package/dist/warning-BozzKWdr.js +38 -0
- package/dist/warning-W0tkkrLJ.cjs +1 -0
- package/package.json +31 -5
- package/dist/AllInvestigationsTable-C3aTtdGN.cjs +0 -79
- package/dist/PediatricsCalculatorTable-Be2H_OXh.js +0 -2156
- package/dist/PediatricsCalculatorTable-fk_QinWG.cjs +0 -40
- package/dist/index-4whwJbrk.js +0 -6867
- package/dist/index-C6KQLMQs.cjs +0 -92
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { CREATE_APPOINTMENT_RESPONSE, CREATE_BILL_RESPONSE, GET_APPOINTMENTS_RESPONSE, GET_BILLS_RESPONSE, GET_BILL_ITEMS_RESPONSE, GET_DOCTOR_LIST_RESPONSE, GET_PATIENT_POPUP_VISIT_RESPONSE, GET_SERVICE_LIST_RESPONSE, GET_VISIT_ALL_RESPONSE, UPDATE_APPOINTMENT_RESPONSE, UPDATE_BILL_RESPONSE, UPDATE_PATIENT_RESPONSE, GET_REFERRED_BY_LISTS_RESPONSE, GET_APPOINTMENT_WITHOUT_BILL_RESPONSE, DELETE_PATIENT_IMAGE_RESPONSE, ADD_PATIENT_IMAGE_RESPONSE, GET_PAST_DUE_RESPONSE, GET_BILL_SUMMARY_RESPONSE, SAVE_PAYMENT_RESPONSE, GET_REFERRAL_RESPONSE, POST_REFERAL_RESPONSE, GET_PAYMENTS_RESPONSE, DELETE_TRANSACTION_RESPONSE, GET_ALL_BILL_PAYMENT_RESPONSE, GET_ABHA_USER_INFO_RESPONSE, GET_ABHA_ADDRESS_RESPONSE, GENERATE_OTP_BY_ABHA_ADDRESS_RESPONSE, VERIFY_ABHA_OTP_RESPONSE, GET_ABHA_CONSENT_RESPONSE, GET_INSURANCE_LIST_RESPONSE, GET_TEST_RANGE_RESPONSE, UPDATE_WALLET_RESPONSE, GET_WALLET_BALANCE_RESPONSE, GET_WALLET_TRANSACTION_RESPONSE, GET_PATIENT_POPUP_HPLXLAB_RESPONSE, GET_IPD_CASE_RESPONSE, UPDATE_PAYMENT_DETAILS_RESPONSE, PatientIDsState, T_TranslationRecord } from '../../types/PatientPopupTypes';
|
|
2
|
+
import { ENV_PARAMS, GET_BRANCH_PREFERENCE_RESPONSE, GET_PATIENT_DETAILS_RESPONSE } from '../../types/ApiResponseTypes';
|
|
3
|
+
export declare const getPatientDetails: ({ callback, }: {
|
|
4
|
+
callback: (data: GET_PATIENT_DETAILS_RESPONSE | undefined) => void;
|
|
5
|
+
}, pr_id: string, token_env: ENV_PARAMS) => Promise<void>;
|
|
6
|
+
export declare const getServiceList: (token_env: ENV_PARAMS) => Promise<GET_SERVICE_LIST_RESPONSE>;
|
|
7
|
+
export declare const getDoctorList: (token_env: ENV_PARAMS) => Promise<GET_DOCTOR_LIST_RESPONSE>;
|
|
8
|
+
export declare const getAllBills: (date: string, prid: string, page: number, limit: number, token_env: ENV_PARAMS) => Promise<GET_BILLS_RESPONSE>;
|
|
9
|
+
export declare const getAllPayments: (prid: string, page: number, limit: number, token_env: ENV_PARAMS) => Promise<GET_PAYMENTS_RESPONSE>;
|
|
10
|
+
export declare const getBillsItemByOrderID: (order_item_id: string, patient_role_id: string, token_env: ENV_PARAMS) => Promise<GET_BILL_ITEMS_RESPONSE>;
|
|
11
|
+
export declare const getPastDueAmount: (bill_date: string, patient_role_id: string, past_due: boolean, token_env: ENV_PARAMS) => Promise<GET_PAST_DUE_RESPONSE>;
|
|
12
|
+
export declare const getBillSummary: (patient_role_id: string, bill_date: string, token_env: ENV_PARAMS) => Promise<GET_BILL_SUMMARY_RESPONSE>;
|
|
13
|
+
export declare const addBillItem: (formData: any, pr_id: string, bill_date: string, token_env: ENV_PARAMS) => Promise<CREATE_BILL_RESPONSE>;
|
|
14
|
+
export declare const updateBillItem: (bill_details: any, pr_id: string, token_env: ENV_PARAMS) => Promise<UPDATE_BILL_RESPONSE>;
|
|
15
|
+
export declare const updateBill: (action: string, amount: string, order_id: string, payment_split: Array<{
|
|
16
|
+
amount: number;
|
|
17
|
+
mode: string;
|
|
18
|
+
details: string;
|
|
19
|
+
}>, pr_id: string, refund_details: {}, token_env: ENV_PARAMS) => Promise<UPDATE_BILL_RESPONSE>;
|
|
20
|
+
export declare const deleteBillItem: (order_id: string, order_item_id: string, patient_role_id: string, reason: string, mode: string, token_env: ENV_PARAMS) => Promise<UPDATE_BILL_RESPONSE>;
|
|
21
|
+
export declare const getAppointments: (appnt_date: string, pr_id: string, page: number, limit: number, skip_appnt_with_bill: boolean, token_env: ENV_PARAMS) => Promise<GET_APPOINTMENTS_RESPONSE>;
|
|
22
|
+
export declare const getAppointmentsWithoutBill: (appnt_service_id: string, appnt_date: string, pr_id: string, token_env: ENV_PARAMS) => Promise<GET_APPOINTMENT_WITHOUT_BILL_RESPONSE>;
|
|
23
|
+
export declare const createAppointment: (appointmentData: any, skip_appnt_bill: any, patient_name: string, patient_phone_number: string, pr_id: string, isPartnerAppointment: boolean, token_env: ENV_PARAMS) => Promise<CREATE_APPOINTMENT_RESPONSE>;
|
|
24
|
+
export declare const updateAppointment: (appointmentData: any, skip_appnt_bill: any, patient_name: string, pr_id: string, token_env: ENV_PARAMS) => Promise<UPDATE_APPOINTMENT_RESPONSE>;
|
|
25
|
+
export declare const getBillPreferences: (fields_required: string, token_env: ENV_PARAMS) => Promise<GET_BRANCH_PREFERENCE_RESPONSE>;
|
|
26
|
+
export declare const getVisitDataByDate: (visit_date: string, pr_id: string, visit_id: string, token_env: ENV_PARAMS) => Promise<GET_VISIT_ALL_RESPONSE>;
|
|
27
|
+
export declare const patientPopUpHPLXLab: (page_size: number, page_number: number, pr_id: string, token_env: ENV_PARAMS) => Promise<GET_PATIENT_POPUP_HPLXLAB_RESPONSE>;
|
|
28
|
+
export declare const patientPopUpVisits: (page_size: number, page_number: number, pr_id: string, token_env: ENV_PARAMS) => Promise<GET_PATIENT_POPUP_VISIT_RESPONSE>;
|
|
29
|
+
export declare const updatePatientDetails: (payload: any, token_env: ENV_PARAMS, patientIds?: PatientIDsState) => Promise<UPDATE_PATIENT_RESPONSE>;
|
|
30
|
+
export declare const getReferredByList: (token_env: ENV_PARAMS) => Promise<GET_REFERRED_BY_LISTS_RESPONSE>;
|
|
31
|
+
export declare const getIPDCaseByPID: (token_env: ENV_PARAMS, patient_role_id?: string) => Promise<GET_IPD_CASE_RESPONSE>;
|
|
32
|
+
export declare const parseThroughChannelList: (channelList: string[]) => any[];
|
|
33
|
+
export declare const parseReferredByDocList: (referredList: Array<{
|
|
34
|
+
doctor_id: string;
|
|
35
|
+
doctor_name: string;
|
|
36
|
+
specialist: string;
|
|
37
|
+
}>) => any[];
|
|
38
|
+
export declare const deletePatientImage: (payload: any, token_env: ENV_PARAMS) => Promise<DELETE_PATIENT_IMAGE_RESPONSE>;
|
|
39
|
+
export declare const addPatientImage: (payload: FormData, token_env: ENV_PARAMS) => Promise<ADD_PATIENT_IMAGE_RESPONSE>;
|
|
40
|
+
export declare const savePayment: (amount: any, bill_data: any, payment_split: any, pr_id: string, token_env: ENV_PARAMS) => Promise<SAVE_PAYMENT_RESPONSE>;
|
|
41
|
+
export declare const getReferalDoctorList: (search: string, token_env: ENV_PARAMS) => Promise<GET_REFERRAL_RESPONSE>;
|
|
42
|
+
export declare const postReferalDoc: (referral_name: string, pr_Id: string, token_env: ENV_PARAMS) => Promise<POST_REFERAL_RESPONSE>;
|
|
43
|
+
export declare const deletePayment: (payment_id: string, type: string, order_id: string, patient_role_id: string, token_env: ENV_PARAMS) => Promise<DELETE_TRANSACTION_RESPONSE>;
|
|
44
|
+
export declare const getAllBillsPaymentsByBillId: (bill_id: string, patient_role_id: string, fields: Array<string>, token_env: ENV_PARAMS) => Promise<GET_ALL_BILL_PAYMENT_RESPONSE>;
|
|
45
|
+
export declare const getAbhaInfo: (pr_id: string, pid: string, token_env: ENV_PARAMS) => Promise<GET_ABHA_USER_INFO_RESPONSE>;
|
|
46
|
+
export declare const getAbhaAddressByPhoneNum: (patient_role_id: string, patient_id: string, phone: string, token_env: ENV_PARAMS) => Promise<GET_ABHA_ADDRESS_RESPONSE>;
|
|
47
|
+
export declare const generateOTPByAbhaAddress: (abha_address: string, token_env: ENV_PARAMS) => Promise<GENERATE_OTP_BY_ABHA_ADDRESS_RESPONSE>;
|
|
48
|
+
export declare const verifyAbhaOTP: (abha_address: string, otp: string, patient_role_id: string, patient_id: string, token_env: ENV_PARAMS) => Promise<VERIFY_ABHA_OTP_RESPONSE>;
|
|
49
|
+
export declare const getAbhaConsent: (abha_address: string, token_env: ENV_PARAMS) => Promise<GET_ABHA_CONSENT_RESPONSE>;
|
|
50
|
+
export declare const getInsuranceListByPartnerName: (partnerName: string, token_env: ENV_PARAMS) => Promise<GET_INSURANCE_LIST_RESPONSE>;
|
|
51
|
+
export declare const getCustomTranslations: (token_env: ENV_PARAMS) => Promise<{
|
|
52
|
+
message: string;
|
|
53
|
+
transalation_records: T_TranslationRecord[];
|
|
54
|
+
}>;
|
|
55
|
+
export declare const verifyInsurance: (payload: {
|
|
56
|
+
patient_role_id: string;
|
|
57
|
+
policy_id: string;
|
|
58
|
+
policy_company: string;
|
|
59
|
+
partner_name: string;
|
|
60
|
+
}, token_env: ENV_PARAMS) => Promise<any>;
|
|
61
|
+
export declare const getTestRanges: (token_env: ENV_PARAMS) => Promise<GET_TEST_RANGE_RESPONSE>;
|
|
62
|
+
export declare const updateWalletAmount: (patient_role_id: string, payload: any, token_env: ENV_PARAMS) => Promise<UPDATE_WALLET_RESPONSE>;
|
|
63
|
+
export declare const getWalletBalance: (patient_id: string, token_env: ENV_PARAMS) => Promise<GET_WALLET_BALANCE_RESPONSE>;
|
|
64
|
+
export declare const getAllWalletTransactions: (prid: string, page: number, limit: number, token_env: ENV_PARAMS) => Promise<GET_WALLET_TRANSACTION_RESPONSE>;
|
|
65
|
+
export declare const updatePaidBillPayment: (payment_id: string, payment_mode: string, transaction_type: string, token_env: ENV_PARAMS) => Promise<UPDATE_PAYMENT_DETAILS_RESPONSE>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ENV_PARAMS } from '../../types/ApiResponseTypes';
|
|
2
|
+
interface PatientPopupContainer {
|
|
3
|
+
variable: ENV_PARAMS;
|
|
4
|
+
}
|
|
5
|
+
declare function PatientPopupContainer({ variable }: PatientPopupContainer): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default PatientPopupContainer;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ENV_PARAMS, GET_BRANCH_PREFERENCE_RESPONSE, GET_PATIENT_DETAILS_RESPONSE, GET_VISITPAD_PREFERENCES_RESPONSE } from '../../types/ApiResponseTypes';
|
|
2
|
+
import { GET_DOCTOR_LIST_RESPONSE, GET_SERVICE_LIST_RESPONSE, I_SERVICE_LIST, PatientCustomField, PatientIDsState, PpEventPropsState, ShowPrintModalState } from '../../types/PatientPopupTypes';
|
|
3
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
4
|
+
export interface I_PatientPopupContext {
|
|
5
|
+
currentWindow: string;
|
|
6
|
+
billPreferences?: GET_BRANCH_PREFERENCE_RESPONSE;
|
|
7
|
+
doctorListArr?: GET_DOCTOR_LIST_RESPONSE;
|
|
8
|
+
serviceListArr?: GET_SERVICE_LIST_RESPONSE;
|
|
9
|
+
patientDetails?: GET_PATIENT_DETAILS_RESPONSE;
|
|
10
|
+
setShowPrintModal: Dispatch<SetStateAction<ShowPrintModalState>>;
|
|
11
|
+
showPrintModal: ShowPrintModalState;
|
|
12
|
+
setEndConsultationClicked: Dispatch<SetStateAction<boolean>>;
|
|
13
|
+
preferences?: GET_VISITPAD_PREFERENCES_RESPONSE;
|
|
14
|
+
patientIDs?: PatientIDsState;
|
|
15
|
+
isLoading?: boolean;
|
|
16
|
+
setLoading: Dispatch<SetStateAction<boolean>>;
|
|
17
|
+
docPreference?: GET_BRANCH_PREFERENCE_RESPONSE;
|
|
18
|
+
formattedService?: Record<string, I_SERVICE_LIST>;
|
|
19
|
+
showToast: (title: string, description: string, type: string, duration: number) => void;
|
|
20
|
+
ppEventProps: PpEventPropsState;
|
|
21
|
+
getAndSetServiceListArr: () => Promise<void>;
|
|
22
|
+
patientCustomFieldData: PatientCustomField[];
|
|
23
|
+
getLastBillsPaymentData: (p_rid: string) => Promise<void>;
|
|
24
|
+
setLastBillPaymentData: Dispatch<SetStateAction<{
|
|
25
|
+
created_on?: string;
|
|
26
|
+
category_name?: string;
|
|
27
|
+
}>>;
|
|
28
|
+
variable: ENV_PARAMS;
|
|
29
|
+
}
|
|
30
|
+
export declare const PatientPopupContext: import('react').Context<I_PatientPopupContext>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CREATE_APPOINTMENT_RESPONSE, PatientIDsState, PpEventPropsState, UPDATE_APPOINTMENT_RESPONSE } from '../../types/PatientPopupTypes';
|
|
2
|
+
import { ENV_PARAMS, GET_PATIENT_DETAILS_RESPONSE } from '../../types/ApiResponseTypes';
|
|
3
|
+
export declare const handleCreateUpdateAppointment: (formData: any, isChecked: boolean, showToast: (title: string, description: string, type: string, duration: number) => void, patientDetails: GET_PATIENT_DETAILS_RESPONSE | undefined, patientIDs: PatientIDsState | undefined, _ppEventProps: PpEventPropsState, isPartnerAppointment: boolean, checkBillCreation: boolean, tokenEnv: ENV_PARAMS) => Promise<CREATE_APPOINTMENT_RESPONSE | UPDATE_APPOINTMENT_RESPONSE>;
|
|
4
|
+
export declare const handleCreateUpdateBill: (formData: any, showToast: (title: string, description: string, type: string, duration: number) => void, patientRoleID: string, bill_date: string, _ppEventProps: PpEventPropsState, serviceCat: string, tokenEnv: ENV_PARAMS) => Promise<{}>;
|
|
5
|
+
export declare const getPaymentModes: (billNumber: string, patientRoleID: string, tokenEnv: ENV_PARAMS) => Promise<{
|
|
6
|
+
lab_owner_name: string;
|
|
7
|
+
paymentModes: string[];
|
|
8
|
+
} | null>;
|
|
9
|
+
export declare const getAllBillPaymentModes: (billNumbers: string[], patientRoleID: string, tokenEnv: ENV_PARAMS) => Promise<{
|
|
10
|
+
lab_owner_name: string;
|
|
11
|
+
paymentsData: Map<number, number[]>;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const getGenderString: (gender?: string) => "" | "male" | "female" | "others";
|
|
14
|
+
export declare const getVisitpadDisplayOrder: (visitpadOrderInput: string | string[], visitPadJsonString: string) => string[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ENV_PARAMS, GET_PATIENT_DETAILS_RESPONSE } from '../../../types/ApiResponseTypes';
|
|
2
|
+
interface HPLXLabProps {
|
|
3
|
+
patientDetails?: GET_PATIENT_DETAILS_RESPONSE;
|
|
4
|
+
showToast: (title: string, description: string, type: string, duration: number) => void;
|
|
5
|
+
variable: ENV_PARAMS;
|
|
6
|
+
}
|
|
7
|
+
declare const HPLXLab: (props: HPLXLabProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default HPLXLab;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ENV_PARAMS, GET_PATIENT_DETAILS_RESPONSE } from '../../../types/ApiResponseTypes';
|
|
2
|
+
interface LISLabProps {
|
|
3
|
+
patientDetails?: GET_PATIENT_DETAILS_RESPONSE;
|
|
4
|
+
showToast: (title: string, description: string, type: string, duration: number) => void;
|
|
5
|
+
variable: ENV_PARAMS;
|
|
6
|
+
}
|
|
7
|
+
declare const LISLab: (props: LISLabProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default LISLab;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface PaginationProps {
|
|
2
|
+
currentPage: number;
|
|
3
|
+
totalRecord: number;
|
|
4
|
+
handleLoadMore: (page: number) => void;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
currentTotal: number;
|
|
7
|
+
}
|
|
8
|
+
declare const Pagination: (props: PaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Pagination;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { GET_ABHA_USER_INFO_RESPONSE } from '../../../types/PatientPopupTypes';
|
|
3
|
+
import { GET_PATIENT_DETAILS_RESPONSE } from '../../../types/ApiResponseTypes';
|
|
4
|
+
interface AbhaProps {
|
|
5
|
+
patientAbhaDetails: GET_ABHA_USER_INFO_RESPONSE | undefined;
|
|
6
|
+
setPatientAbhaDetails: Dispatch<SetStateAction<GET_ABHA_USER_INFO_RESPONSE | undefined>>;
|
|
7
|
+
savePatientDetailsHandler: (name: string, dob: string) => void;
|
|
8
|
+
patientData?: GET_PATIENT_DETAILS_RESPONSE;
|
|
9
|
+
}
|
|
10
|
+
declare const Abha: (props: AbhaProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Abha;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PatientDetailsModal: import('react').ForwardRefExoticComponent<Omit<any, "ref"> & import('react').RefAttributes<unknown>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { GET_ABHA_USER_INFO_RESPONSE } from '../../../types/PatientPopupTypes';
|
|
3
|
+
interface ProfileProps {
|
|
4
|
+
getPatientDetails: (pr_id: string) => void;
|
|
5
|
+
setPatientAbhaDetails: Dispatch<SetStateAction<GET_ABHA_USER_INFO_RESPONSE | undefined>>;
|
|
6
|
+
patientAbhaDetails: GET_ABHA_USER_INFO_RESPONSE | undefined;
|
|
7
|
+
isPartnerServiceEnabled: boolean;
|
|
8
|
+
partnerConfig: object;
|
|
9
|
+
}
|
|
10
|
+
declare const Profile: (props: ProfileProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Profile;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Column } from 'react-table';
|
|
2
|
+
interface TableData {
|
|
3
|
+
appnt_status?: number;
|
|
4
|
+
}
|
|
5
|
+
interface TableProps<T extends object> {
|
|
6
|
+
columns: Column<T>[];
|
|
7
|
+
data: T[];
|
|
8
|
+
columnWidth?: Record<string, string>;
|
|
9
|
+
}
|
|
10
|
+
declare const Table: <T extends TableData>({ columns, data }: TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Table;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { I_TestRangesList, I_VISIT_METADATA, T_TranslationRecord } from '../../../types/PatientPopupTypes';
|
|
3
|
+
interface VisitsProps {
|
|
4
|
+
closePrintModal: () => void;
|
|
5
|
+
setLatestMetaData: Dispatch<SetStateAction<Record<string, I_VISIT_METADATA>>>;
|
|
6
|
+
setInvestigationDropdown: Dispatch<SetStateAction<I_TestRangesList[]>>;
|
|
7
|
+
setCustomTranslations: Dispatch<SetStateAction<Record<string, T_TranslationRecord>>>;
|
|
8
|
+
getVisitpadPreferenceHandler: (data: {
|
|
9
|
+
doc_id: string;
|
|
10
|
+
doc_rid: string;
|
|
11
|
+
}) => Promise<any>;
|
|
12
|
+
updateVPPrefUsingDocPref: (preferences: any, index: number, doc_role_id: string, fromPrint: boolean) => Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
declare const Visits: ({ closePrintModal, setLatestMetaData, setInvestigationDropdown, setCustomTranslations, getVisitpadPreferenceHandler, updateVPPrefUsingDocPref, }: VisitsProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default Visits;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { Row } from 'react-table';
|
|
3
|
+
import { FlattenedBillItem, PastBillOrderItem } from '../../../types/PatientPopupTypes';
|
|
4
|
+
interface AddBillsTableProps {
|
|
5
|
+
tableBodyData: FlattenedBillItem[] | PastBillOrderItem[];
|
|
6
|
+
tableData: FlattenedBillItem[] | PastBillOrderItem[];
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
addBillButton: boolean;
|
|
9
|
+
handleEditRow: (rowData: Row<FlattenedBillItem | PastBillOrderItem>) => void;
|
|
10
|
+
handleRightSegment: (tab?: string) => void;
|
|
11
|
+
setTableData: Dispatch<SetStateAction<FlattenedBillItem[]>>;
|
|
12
|
+
setEditRowId: Dispatch<SetStateAction<string>>;
|
|
13
|
+
getBillSummarydata: () => void;
|
|
14
|
+
refreshBillsList: () => void;
|
|
15
|
+
}
|
|
16
|
+
declare const AddBillsTable: (props: AddBillsTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default AddBillsTable;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React, ChangeEvent } from 'react';
|
|
2
|
+
import { I_SERVICE_LIST } from '../../../types/PatientPopupTypes';
|
|
3
|
+
interface ServiceDropDownProps {
|
|
4
|
+
inputvalue: string;
|
|
5
|
+
options?: I_SERVICE_LIST[];
|
|
6
|
+
isDisabled: boolean;
|
|
7
|
+
currRowData: any;
|
|
8
|
+
onlyDropdownItemsAllowed: boolean;
|
|
9
|
+
handleValueChange: (e: ChangeEvent<HTMLInputElement>, field: string, rowId: string) => void | any;
|
|
10
|
+
rowId: string;
|
|
11
|
+
setTableData: React.Dispatch<React.SetStateAction<any[]>>;
|
|
12
|
+
handleRightSegment: (tab?: string) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const ServiceDropDown: ({ inputvalue, options, isDisabled, currRowData, onlyDropdownItemsAllowed, handleValueChange, rowId, setTableData, handleRightSegment, }: ServiceDropDownProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default ServiceDropDown;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { I_APPOINTMENT } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface AllApptsProps {
|
|
3
|
+
handleAddNewAppnt: () => void;
|
|
4
|
+
handleAppointData: (data: any) => void;
|
|
5
|
+
sortAppointments: (Data: I_APPOINTMENT[]) => I_APPOINTMENT[];
|
|
6
|
+
}
|
|
7
|
+
declare const AllAppts: (props: AllApptsProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default AllAppts;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { I_APPOINTMENT } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface AppointmentsTableProps {
|
|
3
|
+
appointments: I_APPOINTMENT[];
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
handleAppointData: (data: any) => void;
|
|
6
|
+
leftNav?: string;
|
|
7
|
+
today?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const AppointmentsTable: (props: AppointmentsTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default AppointmentsTable;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { I_BILL_ITEM } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface BillsTableProps {
|
|
3
|
+
billsData: I_BILL_ITEM[];
|
|
4
|
+
handleRowClick: (bill: I_BILL_ITEM) => void;
|
|
5
|
+
handleRightSegment: (tab: string) => void;
|
|
6
|
+
getRowIndices: (billIndex: number, itemIndex: number) => void;
|
|
7
|
+
getRefundAmt: (amt: number) => void;
|
|
8
|
+
closePrintModal: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const BillsTable: (props: BillsTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default BillsTable;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
interface DepositSectionProps {
|
|
3
|
+
depositAmount: number;
|
|
4
|
+
handleRightSegment: (tab?: string) => void;
|
|
5
|
+
rightSegment: string;
|
|
6
|
+
setRefreshWallet: Dispatch<SetStateAction<boolean>>;
|
|
7
|
+
}
|
|
8
|
+
declare const DepositSection: ({ depositAmount, handleRightSegment, rightSegment, setRefreshWallet }: DepositSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default DepositSection;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const MainNavItem: (params: {
|
|
2
|
+
icon?: string;
|
|
3
|
+
goToPage?: string;
|
|
4
|
+
label: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
onClickHandler: () => void;
|
|
7
|
+
isRequired: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
isSelected?: boolean;
|
|
10
|
+
src?: string;
|
|
11
|
+
data_qa?: string;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default MainNavItem;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface PatientPopupBodyProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
tab: string;
|
|
6
|
+
}
|
|
7
|
+
declare const PatientPopupBody: (props: PatientPopupBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default PatientPopupBody;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PatientIDsState } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface PatientPopupHeaderProps {
|
|
3
|
+
handleCurrentWindow: (value: string) => void;
|
|
4
|
+
setShowPatientPopModal: (value: boolean) => void;
|
|
5
|
+
patientIDs: PatientIDsState | undefined;
|
|
6
|
+
redirectionPage: string;
|
|
7
|
+
closePrintModal: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const PatientPopupHeader: (props: PatientPopupHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default PatientPopupHeader;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { GET_BILL_SUMMARY_RESPONSE, GET_PAST_DUE_RESPONSE } from '../../../types/PatientPopupTypes';
|
|
3
|
+
declare const BillSummary: (props: {
|
|
4
|
+
date: string;
|
|
5
|
+
rightSegment: string;
|
|
6
|
+
handleRightSegment: (val?: string) => void;
|
|
7
|
+
billSummaryClicked: (serviceIndexList: number[], previewType: string, showPrintPreviewForBill: boolean) => void;
|
|
8
|
+
showDiscount?: boolean;
|
|
9
|
+
showRefund?: boolean;
|
|
10
|
+
handleServiceItem: (cat: string) => void;
|
|
11
|
+
pastDueData?: GET_PAST_DUE_RESPONSE;
|
|
12
|
+
summaryData: GET_BILL_SUMMARY_RESPONSE;
|
|
13
|
+
getBillSummarydata: () => void;
|
|
14
|
+
getPastDueAmount: () => void;
|
|
15
|
+
refreshBillsList: (date?: string) => void;
|
|
16
|
+
walletBalance?: number;
|
|
17
|
+
setRefreshWallet: Dispatch<SetStateAction<boolean>>;
|
|
18
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default BillSummary;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FlattenedBillItem } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface ConsultationDetailsProps {
|
|
3
|
+
bill_date: string;
|
|
4
|
+
handleRightSegment: (val?: string) => void;
|
|
5
|
+
getBillSummarydata: () => void;
|
|
6
|
+
editedTableData: FlattenedBillItem;
|
|
7
|
+
setTableData: React.Dispatch<React.SetStateAction<FlattenedBillItem[]>>;
|
|
8
|
+
editRowId: string;
|
|
9
|
+
refreshBillsList: (date?: string) => void;
|
|
10
|
+
handleRevertEdit: () => void;
|
|
11
|
+
checkAppointmentForBilling: () => void;
|
|
12
|
+
}
|
|
13
|
+
declare const ConsultationDetails: (props: ConsultationDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default ConsultationDetails;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GET_BILLS_RESPONSE } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface I_DeleteItemProps {
|
|
3
|
+
refundAmt: number;
|
|
4
|
+
handleRightSegment: (val?: string) => void;
|
|
5
|
+
bills?: GET_BILLS_RESPONSE;
|
|
6
|
+
billsListIndex: number;
|
|
7
|
+
orderItemsIndex: number;
|
|
8
|
+
getBillsList: () => Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
declare const DeleteItem: (props: I_DeleteItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default DeleteItem;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface I_DepositRefundSummaryProps {
|
|
2
|
+
handleRightSegment: (tab: string) => void;
|
|
3
|
+
closePrintModal: () => void;
|
|
4
|
+
summaryData: any;
|
|
5
|
+
patient_entity_id: string;
|
|
6
|
+
}
|
|
7
|
+
declare const DepositRefundSummary: (props: I_DepositRefundSummaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default DepositRefundSummary;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FlattenedBillItem } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface LabServiceDetailsProps {
|
|
3
|
+
order_date: string;
|
|
4
|
+
handleRightSegment: (val?: string) => void;
|
|
5
|
+
editedTableData: FlattenedBillItem;
|
|
6
|
+
getBillSummarydata: () => void;
|
|
7
|
+
editRowId: string;
|
|
8
|
+
setTableData: React.Dispatch<React.SetStateAction<FlattenedBillItem[]>>;
|
|
9
|
+
refreshBillsList: (date?: string) => void;
|
|
10
|
+
handleRevertEdit: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const LabServiceDetails: (props: LabServiceDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default LabServiceDetails;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FlattenedBillItem } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface OtherServiceDetailsProps {
|
|
3
|
+
handleRightSegment: (val?: string) => void;
|
|
4
|
+
editedTableData: FlattenedBillItem;
|
|
5
|
+
getBillSummarydata: () => void;
|
|
6
|
+
order_date: string;
|
|
7
|
+
setTableData: React.Dispatch<React.SetStateAction<FlattenedBillItem[]>>;
|
|
8
|
+
editRowId: string;
|
|
9
|
+
refreshBillsList: (billDate?: string) => void;
|
|
10
|
+
handleRevertEdit: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const OtherServiceDetails: (props: OtherServiceDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default OtherServiceDetails;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface PatientPopupSummaryProps {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
tab?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const PatientPopupSummary: (props: PatientPopupSummaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default PatientPopupSummary;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { GET_BILL_SUMMARY_RESPONSE, GET_PAST_DUE_RESPONSE, I_BILL_SUMMARY_ITEM } from '../../../types/PatientPopupTypes';
|
|
3
|
+
interface PaymentCardProps {
|
|
4
|
+
rightSegment: string;
|
|
5
|
+
summaryData?: GET_BILL_SUMMARY_RESPONSE | I_BILL_SUMMARY_ITEM;
|
|
6
|
+
pastDueData?: GET_PAST_DUE_RESPONSE;
|
|
7
|
+
showDeposit?: boolean;
|
|
8
|
+
showPayment?: boolean;
|
|
9
|
+
showDiscount?: boolean;
|
|
10
|
+
showRefund?: boolean;
|
|
11
|
+
showDepositRefund?: boolean;
|
|
12
|
+
isPayDue?: boolean;
|
|
13
|
+
getBillSummarydata?: () => void;
|
|
14
|
+
getPastDueAmount?: () => void;
|
|
15
|
+
handleRightSegment: (tab?: string) => void;
|
|
16
|
+
serviceItem?: string;
|
|
17
|
+
date?: string;
|
|
18
|
+
refreshBillsList?: (date?: string) => void;
|
|
19
|
+
deleteLastPaymemntMode?: boolean;
|
|
20
|
+
setDeleteLastPaymentMode?: (value: boolean) => void;
|
|
21
|
+
walletBalance?: number;
|
|
22
|
+
setRefreshWallet?: Dispatch<SetStateAction<boolean>>;
|
|
23
|
+
}
|
|
24
|
+
declare const PaymentCard: (props: PaymentCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export default PaymentCard;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { I_BILL_ORDER_ITEMS, I_BILL_SUMMARY_ITEM } from '../../../types/PatientPopupTypes';
|
|
3
|
+
interface ServiceLevelBillSummaryProps {
|
|
4
|
+
categorySummaryData?: I_BILL_SUMMARY_ITEM;
|
|
5
|
+
serviceDetails: I_BILL_ORDER_ITEMS[];
|
|
6
|
+
walletBalance: number;
|
|
7
|
+
rightSegment: string;
|
|
8
|
+
serviceItem: string;
|
|
9
|
+
bill_date: string;
|
|
10
|
+
handleRightSegment: (tab: string) => void;
|
|
11
|
+
getBillSummarydata: () => void;
|
|
12
|
+
getPastDueAmount: () => void;
|
|
13
|
+
refreshBillsList: (date?: string) => void;
|
|
14
|
+
closePrintModal: () => void;
|
|
15
|
+
setRefreshWallet: Dispatch<SetStateAction<boolean>>;
|
|
16
|
+
}
|
|
17
|
+
declare const ServiceLevelBillSummary: (props: ServiceLevelBillSummaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default ServiceLevelBillSummary;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { I_PAYMENT_RECORD } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface DepositRefundTableProps {
|
|
3
|
+
styles: {
|
|
4
|
+
table: string;
|
|
5
|
+
th: string;
|
|
6
|
+
td: string;
|
|
7
|
+
};
|
|
8
|
+
data: any[];
|
|
9
|
+
handleRowClick: (payment: I_PAYMENT_RECORD) => void;
|
|
10
|
+
closePrintModal: () => void;
|
|
11
|
+
patient_entity_id: string;
|
|
12
|
+
}
|
|
13
|
+
declare const DepositRefundTable: ({ styles, data, handleRowClick, closePrintModal, patient_entity_id, }: DepositRefundTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default DepositRefundTable;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { I_PAYMENT_RECORD } from '../../../types/PatientPopupTypes';
|
|
2
|
+
interface OtherServiceTableProps {
|
|
3
|
+
styles: {
|
|
4
|
+
th: string;
|
|
5
|
+
td: string;
|
|
6
|
+
};
|
|
7
|
+
data: I_PAYMENT_RECORD[];
|
|
8
|
+
handleDeleteRow: (order: I_PAYMENT_RECORD, index: number) => Promise<void>;
|
|
9
|
+
handleRightSegment: (val?: string) => void;
|
|
10
|
+
handleRowClick: (payment: I_PAYMENT_RECORD) => void;
|
|
11
|
+
getType: (type: string) => string;
|
|
12
|
+
getTypeColor: (type: string) => string;
|
|
13
|
+
refreshPaymentData: () => void;
|
|
14
|
+
}
|
|
15
|
+
declare const OtherServiceTable: ({ styles, data, handleDeleteRow, handleRightSegment, handleRowClick, getType, getTypeColor, refreshPaymentData, }: OtherServiceTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default OtherServiceTable;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface I_PaymentEditModalProps {
|
|
2
|
+
reference: React.RefObject<HTMLDivElement>;
|
|
3
|
+
closeModalHandler: React.Dispatch<React.SetStateAction<{
|
|
4
|
+
show: boolean;
|
|
5
|
+
payment_id: string;
|
|
6
|
+
mode: string;
|
|
7
|
+
payment_type: string;
|
|
8
|
+
}>>;
|
|
9
|
+
payment_id: string;
|
|
10
|
+
currentMode: string;
|
|
11
|
+
transactionType: string;
|
|
12
|
+
refreshPaymentData: () => void;
|
|
13
|
+
}
|
|
14
|
+
declare const PaymentEditModal: ({ reference, closeModalHandler, payment_id, currentMode, transactionType, refreshPaymentData, }: I_PaymentEditModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default PaymentEditModal;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface I_PaymentHeaderProps {
|
|
2
|
+
walletBalance: number;
|
|
3
|
+
handleRightSegment: (tab?: string) => void;
|
|
4
|
+
headerText: string;
|
|
5
|
+
}
|
|
6
|
+
declare const PaymentHeader: ({ walletBalance, handleRightSegment, headerText }: I_PaymentHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default PaymentHeader;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { I_PAYMENT_RECORD } from '../../../types/PatientPopupTypes';
|
|
3
|
+
interface PaymentsTableProps {
|
|
4
|
+
data: any[];
|
|
5
|
+
setTableData: Dispatch<SetStateAction<any[]>>;
|
|
6
|
+
handleRightSegment: (val?: string) => void;
|
|
7
|
+
handleRowClick: (payment: I_PAYMENT_RECORD) => void;
|
|
8
|
+
activeTab: string;
|
|
9
|
+
closePrintModal: () => void;
|
|
10
|
+
patient_entity_id: string;
|
|
11
|
+
refreshPaymentData: () => void;
|
|
12
|
+
}
|
|
13
|
+
declare const PaymentsTable: (props: PaymentsTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default PaymentsTable;
|