hplx-feature-library 1.0.169 → 1.0.171
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/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 +12670 -11144
- package/dist/CameraCapture/index.d.ts +1 -1
- package/dist/PediatricsCalculator/components/PediatricsCalculatorTableContext.d.ts +1 -1
- package/dist/PediatricsCalculator/index.js +1 -1
- package/dist/PediatricsCalculatorTable-BglWcUGO.cjs +40 -0
- package/dist/PediatricsCalculatorTable-Dwluo5W0.js +2163 -0
- package/dist/components/{customDropdown/CustomDropdown.d.ts → CustomDropdown.d.ts} +2 -2
- package/dist/components/{toggleButtons/ToggleButtons.d.ts → ToggleButtons.d.ts} +1 -1
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.js +2 -12
- package/dist/useOutsideClick-COATBT9j.cjs +92 -0
- package/dist/useOutsideClick-CYAjbj1N.js +6878 -0
- package/package.json +4 -60
- package/dist/APIAction--DyoXs57.js +0 -3752
- package/dist/APIAction-B5XQnkiF.cjs +0 -9
- package/dist/AlertPopup/index.js +0 -79
- package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -19
- package/dist/AllInvestigations/index.d.ts +0 -1
- package/dist/AllInvestigations/index.js +0 -4
- package/dist/AllInvestigations/utils/test-tange-util.d.ts +0 -8
- package/dist/AllInvestigationsTable-Dj3AKVVv.js +0 -17066
- package/dist/AllInvestigationsTable-aw_zEJj_.cjs +0 -79
- package/dist/CustomDropdown/index.js +0 -256
- package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -5930
- package/dist/PatientAddEdit/index.js +0 -1662
- package/dist/PatientPopup/action/APIAction.d.ts +0 -65
- package/dist/PatientPopup/app/PatientPopupContainer.d.ts +0 -6
- package/dist/PatientPopup/app/PatientPopupContext.d.ts +0 -30
- package/dist/PatientPopup/common/common.d.ts +0 -14
- package/dist/PatientPopup/components/Lab/HPLXLab.d.ts +0 -8
- package/dist/PatientPopup/components/Lab/LISLab.d.ts +0 -8
- package/dist/PatientPopup/components/Lab/LabTable.d.ts +0 -5
- package/dist/PatientPopup/components/Lab/index.d.ts +0 -5
- package/dist/PatientPopup/components/Loader/Loader.d.ts +0 -2
- package/dist/PatientPopup/components/Pagination.d.ts +0 -9
- package/dist/PatientPopup/components/Profile/Abha.d.ts +0 -11
- package/dist/PatientPopup/components/Profile/PatientDetailsModal.d.ts +0 -1
- package/dist/PatientPopup/components/Profile/Profile.d.ts +0 -11
- package/dist/PatientPopup/components/Profile/Sms.d.ts +0 -2
- package/dist/PatientPopup/components/Visits/Table.d.ts +0 -11
- package/dist/PatientPopup/components/Visits/index.d.ts +0 -15
- package/dist/PatientPopup/components/addBills/AddBillFooter.d.ts +0 -2
- package/dist/PatientPopup/components/addBills/AddBills.d.ts +0 -5
- package/dist/PatientPopup/components/addBills/AddBillsTable.d.ts +0 -17
- package/dist/PatientPopup/components/addBills/DropDown.d.ts +0 -15
- package/dist/PatientPopup/components/appointment/AllAppts.d.ts +0 -8
- package/dist/PatientPopup/components/appointment/Appointment.d.ts +0 -2
- package/dist/PatientPopup/components/appointment/AppointmentsTable.d.ts +0 -10
- package/dist/PatientPopup/components/bills/Bills.d.ts +0 -6
- package/dist/PatientPopup/components/bills/BillsTable.d.ts +0 -11
- package/dist/PatientPopup/components/deposit/DepositSection.d.ts +0 -9
- package/dist/PatientPopup/components/mainNavItem/MainNavItem.d.ts +0 -13
- package/dist/PatientPopup/components/patientPopupBody/PatientPopupBody.d.ts +0 -8
- package/dist/PatientPopup/components/patientPopupHeader/PatientPopupHeader.d.ts +0 -10
- package/dist/PatientPopup/components/patientPopupSummary/BillSummary.d.ts +0 -19
- package/dist/PatientPopup/components/patientPopupSummary/ConsultationDetails.d.ts +0 -14
- package/dist/PatientPopup/components/patientPopupSummary/DeleteItem.d.ts +0 -11
- package/dist/PatientPopup/components/patientPopupSummary/DepositRefundSummary.d.ts +0 -8
- package/dist/PatientPopup/components/patientPopupSummary/LabServiceDetails.d.ts +0 -13
- package/dist/PatientPopup/components/patientPopupSummary/OtherServiceDetails.d.ts +0 -13
- package/dist/PatientPopup/components/patientPopupSummary/PatientPopupSummary.d.ts +0 -8
- package/dist/PatientPopup/components/patientPopupSummary/PaymentCard.d.ts +0 -25
- package/dist/PatientPopup/components/patientPopupSummary/ServiceLevelBillSummary.d.ts +0 -18
- package/dist/PatientPopup/components/payments/DepositRefundTable.d.ts +0 -14
- package/dist/PatientPopup/components/payments/OtherServicesTable.d.ts +0 -16
- package/dist/PatientPopup/components/payments/PaymentEditModal.d.ts +0 -15
- package/dist/PatientPopup/components/payments/PaymentHeader.d.ts +0 -7
- package/dist/PatientPopup/components/payments/Payments.d.ts +0 -5
- package/dist/PatientPopup/components/payments/PaymentsTable.d.ts +0 -14
- package/dist/PatientPopup/constants/AppConstants.d.ts +0 -123
- package/dist/PatientPopup/index.d.ts +0 -1
- package/dist/PatientPopup/index.js +0 -135376
- package/dist/PatientPopup/types/hplxAPITypes.d.ts +0 -37
- package/dist/PatientPopup/utils/PrintFontLoader.d.ts +0 -4
- package/dist/PatientPopup/utils/helperFunctions.d.ts +0 -3
- package/dist/PediatricsCalculatorTable-CTA61g3h.cjs +0 -1
- package/dist/PediatricsCalculatorTable-QgonqxbR.js +0 -833
- package/dist/ReusableModal-CIgDYOWZ.cjs +0 -1
- package/dist/ReusableModal-pSi21hnc.js +0 -29
- package/dist/ReusableTable/ReusableTable.d.ts +0 -3
- package/dist/ReusableTable/ReusableTableConstants.d.ts +0 -8
- package/dist/ReusableTable/ReusableTableTypes.d.ts +0 -96
- package/dist/ReusableTable/components/EmptyTableContainer.d.ts +0 -12
- package/dist/ReusableTable/components/FilterCheckbox.d.ts +0 -8
- package/dist/ReusableTable/components/FilterDropdown.d.ts +0 -17
- package/dist/ReusableTable/components/Pagination.d.ts +0 -2
- package/dist/ReusableTable/components/TableBody.d.ts +0 -2
- package/dist/ReusableTable/components/TableCell.d.ts +0 -3
- package/dist/ReusableTable/components/TableFilterSelect.d.ts +0 -12
- package/dist/ReusableTable/components/TableHead.d.ts +0 -2
- package/dist/ReusableTable/components/TableMain.d.ts +0 -2
- package/dist/ReusableTable/components/TableRow.d.ts +0 -3
- package/dist/ReusableTable/context/TableContext.d.ts +0 -21
- package/dist/ReusableTable/context/TableContextBase.d.ts +0 -26
- package/dist/ReusableTable/context/useTableContext.d.ts +0 -2
- package/dist/Subscription/components/SubscriptionBadge.d.ts +0 -2
- package/dist/ToggleButtons/index.js +0 -17
- package/dist/TrendGraphs/AreaChartComponent.d.ts +0 -9
- package/dist/TrendGraphs/LineChartComponent/DataPointToolTip.d.ts +0 -16
- package/dist/TrendGraphs/LineChartComponent/LineChartBody.d.ts +0 -2
- package/dist/TrendGraphs/LineChartComponent/LineChartHeader.d.ts +0 -2
- package/dist/TrendGraphs/LineChartComponent/index.d.ts +0 -2
- package/dist/TrendGraphs/context/index.d.ts +0 -2
- package/dist/TrendGraphs/hooks/useTrendGraphContext.d.ts +0 -2
- package/dist/TrendGraphs/utils/index.d.ts +0 -4
- package/dist/changePasswordModal/APIAction/APIActions.d.ts +0 -8
- package/dist/changePasswordModal/component/ChangePasswordModal.d.ts +0 -14
- package/dist/clsx-C11secjj.cjs +0 -1
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/common/APIAction/APIAction.d.ts +0 -28
- package/dist/common/components/BorderFullWidth.d.ts +0 -2
- package/dist/common/components/table/ExistingPatients.d.ts +0 -17
- package/dist/common/editRibbon/EditRibbon.d.ts +0 -9
- package/dist/common/utils/NetworkInstance.d.ts +0 -4
- package/dist/common/utils/common-utils.d.ts +0 -36
- package/dist/components/Modal.d.ts +0 -5
- package/dist/components/PatientAddEdit.d.ts +0 -3
- package/dist/components/alertPopup/index.d.ts +0 -1
- package/dist/components/customDropdown/index.d.ts +0 -1
- package/dist/components/dateTimePicker/DateAndTimePicker.d.ts +0 -21
- package/dist/components/dateTimePicker/index.d.ts +0 -1
- package/dist/components/toggleButtons/index.d.ts +0 -1
- package/dist/constants/CommonConstant.d.ts +0 -70
- package/dist/constants/TrendGraphsConstants.d.ts +0 -2
- package/dist/dayjs.min-BbV4duaj.js +0 -284
- package/dist/dayjs.min-DXp74Ozx.cjs +0 -1
- 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 +0 -1
- package/dist/index-CJFGOBPb.js +0 -122
- package/dist/index-DQlbIHh3.cjs +0 -102
- package/dist/index-DfcUmlge.cjs +0 -17
- package/dist/index-DkA8S5IK.cjs +0 -32
- package/dist/index-sG1tIMJ6.js +0 -7242
- package/dist/index-vVtPa2-N.js +0 -961
- package/dist/nineDots/NineDotsTypes.d.ts +0 -22
- package/dist/nineDots/NineDotsUtils.d.ts +0 -3
- package/dist/nineDots/nineDots.d.ts +0 -3
- package/dist/parseISO-AwyR5Nhg.cjs +0 -1
- package/dist/parseISO-Cso9HWPX.js +0 -1414
- package/dist/searchPatients/SearchPatients.d.ts +0 -11
- package/dist/types/APIEndPoints.d.ts +0 -11
- package/dist/types/AllInvestigationTypes/index.js +0 -4
- package/dist/types/AllInvestigationTypes.d.ts +0 -45
- package/dist/types/ApiResponseTypes.d.ts +0 -290
- package/dist/types/CommonTypes.d.ts +0 -255
- package/dist/types/PatientAddEditTypes/index.js +0 -1
- package/dist/types/PatientAddEditTypes.d.ts +0 -7
- package/dist/types/PatientPopupTypes/index.js +0 -1
- package/dist/types/PatientPopupTypes.d.ts +0 -836
- package/dist/types/TrendGraphTypes.d.ts +0 -19
- package/dist/useClickOutside-BjJyGTec.js +0 -14
- package/dist/useClickOutside-DsVG12Cs.cjs +0 -1
- package/dist/useOutsideClick-C4Q0aGuf.js +0 -15
- package/dist/useOutsideClick-CicUjzPP.cjs +0 -1
- package/dist/userProfile/APIAction/APIActions.d.ts +0 -18
- package/dist/userProfile/UserProfile.d.ts +0 -18
- package/dist/userProfile/UserProfileItem.d.ts +0 -7
- package/dist/warning-BozzKWdr.js +0 -38
- package/dist/warning-W0tkkrLJ.cjs +0 -1
- /package/dist/components/{alertPopup/AlertPopup.d.ts → AlertPopup.d.ts} +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ENV_PARAMS } from '../types/ApiResponseTypes';
|
|
2
|
-
interface SearchPatientsProps {
|
|
3
|
-
addPatientHandler: () => void;
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
showSearchBar: boolean;
|
|
6
|
-
setShowSearchBar: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
|
-
manipulateExistingDOM: () => void;
|
|
8
|
-
variable: ENV_PARAMS;
|
|
9
|
-
}
|
|
10
|
-
declare const SearchPatients: (props: SearchPatientsProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default SearchPatients;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const GET_DOC_PREFERENCE = "/preferences/doctor";
|
|
2
|
-
export declare const GET_VISITPAD_PREFERENCES = "/preferences/visitpad";
|
|
3
|
-
export declare const GET_BRANCH_PREFERENCE = "/preferences/branch";
|
|
4
|
-
export declare const Get_PATIENT_SEARCH_TYPE = "patient/search";
|
|
5
|
-
export declare const GetReferredByobj = "../api/modelGetAddPatientSuggestion.php";
|
|
6
|
-
export declare const GET_APPOINTMENTS = "appointments/get";
|
|
7
|
-
export declare const ADD_PATIENT_DETAIL = "/v1/patient/add";
|
|
8
|
-
export declare const UPDATE_PATIENT_DETAIL = "/v1/patients";
|
|
9
|
-
export declare const ADD_PATIENT_IMAGE = "../api/modelSavePatientImage.php";
|
|
10
|
-
export declare const DELETE_PATIENT_IMAGE = "../api/modelDeletePatientImage.php";
|
|
11
|
-
export declare const GET_PATIENT_DETAILS = "/patient/detail";
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare enum E_INVESTIGATIONS_SOURCE {
|
|
2
|
-
CLINICAL_NOTES = "CLINICAL_NOTES",
|
|
3
|
-
DISCHARGE_SUMMARY = "DISCHARGE_SUMMARY",
|
|
4
|
-
INVESTIGATIONS = "INVESTIGATIONS"
|
|
5
|
-
}
|
|
6
|
-
export interface I_InvestigationTest {
|
|
7
|
-
test_id: string;
|
|
8
|
-
test_value: string;
|
|
9
|
-
out_of_range: boolean;
|
|
10
|
-
watermelon_id?: string;
|
|
11
|
-
created_on: string;
|
|
12
|
-
test_name?: string;
|
|
13
|
-
test_unit?: string;
|
|
14
|
-
source_id: number;
|
|
15
|
-
source_type: E_INVESTIGATIONS_SOURCE;
|
|
16
|
-
isEditPermitted?: boolean;
|
|
17
|
-
id: string;
|
|
18
|
-
}
|
|
19
|
-
export interface I_InvestigationTestWithPrint extends I_InvestigationTest {
|
|
20
|
-
isPrintable?: boolean;
|
|
21
|
-
test_date: string;
|
|
22
|
-
}
|
|
23
|
-
export interface I_AllInvestigations {
|
|
24
|
-
isPrintable: boolean;
|
|
25
|
-
test_id: string;
|
|
26
|
-
test_name: string;
|
|
27
|
-
test_unit: string;
|
|
28
|
-
[key: string]: string | boolean | I_AllInvestigationsDateDetail;
|
|
29
|
-
}
|
|
30
|
-
export interface I_AllInvestigationsDateDetail {
|
|
31
|
-
test_value: string;
|
|
32
|
-
out_of_range: boolean;
|
|
33
|
-
created_on: string;
|
|
34
|
-
source_id: number;
|
|
35
|
-
source_type: E_INVESTIGATIONS_SOURCE;
|
|
36
|
-
isEditPermitted: boolean;
|
|
37
|
-
id: string;
|
|
38
|
-
}
|
|
39
|
-
export interface I_TestRanges {
|
|
40
|
-
test_id: string;
|
|
41
|
-
test_names: string;
|
|
42
|
-
test_units: string;
|
|
43
|
-
test_range_text: string;
|
|
44
|
-
test_range_rule: string;
|
|
45
|
-
}
|
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
import { PatientCustomField } from './PatientPopupTypes';
|
|
2
|
-
import { E_ENVIRONMENT, GlobalWindow, I_GROWTH_CHART_PRINT_PREF, I_PATIENT_APPOINTMENT, I_PatientData, I_PERSONS_CONFLICT, I_PREF_FEATURES, I_PRINT_TEMPLATE, IPerson } from './CommonTypes';
|
|
3
|
-
export interface GET_BRANCH_PREFERENCE_RESPONSE {
|
|
4
|
-
features?: I_PREF_FEATURES;
|
|
5
|
-
billing: {
|
|
6
|
-
enable_add_service_owner: number;
|
|
7
|
-
enable_order_discount: number;
|
|
8
|
-
default_payment_mode: number;
|
|
9
|
-
order_id_deptwise: number;
|
|
10
|
-
prepaid_consultation: string;
|
|
11
|
-
};
|
|
12
|
-
branch_details: {
|
|
13
|
-
branch_name: string;
|
|
14
|
-
branch_address: string;
|
|
15
|
-
};
|
|
16
|
-
notification_preferences: {
|
|
17
|
-
appointment: {
|
|
18
|
-
enable_ocr: number;
|
|
19
|
-
send_appt_sms: number;
|
|
20
|
-
send_appt_sms_same_day: number;
|
|
21
|
-
sms_text: string;
|
|
22
|
-
};
|
|
23
|
-
assessment: string;
|
|
24
|
-
continuous_monitoring: string;
|
|
25
|
-
document_reminder: string;
|
|
26
|
-
patient_registration: string;
|
|
27
|
-
appointment_future_day: string;
|
|
28
|
-
google_review: string;
|
|
29
|
-
medicine_reminder: string;
|
|
30
|
-
next_visit: string;
|
|
31
|
-
prescription: string;
|
|
32
|
-
};
|
|
33
|
-
org_details: {
|
|
34
|
-
org_head_address: string;
|
|
35
|
-
org_head_city: string;
|
|
36
|
-
org_head_place: string;
|
|
37
|
-
org_image: string;
|
|
38
|
-
org_name: string;
|
|
39
|
-
phone1: string;
|
|
40
|
-
phone2: string;
|
|
41
|
-
};
|
|
42
|
-
print: {
|
|
43
|
-
bill: {
|
|
44
|
-
appnt_minute_slab: string;
|
|
45
|
-
bill_font_size: string;
|
|
46
|
-
bill_header_height: string;
|
|
47
|
-
bill_header_img: string;
|
|
48
|
-
bill_pdf_header_height: string;
|
|
49
|
-
default_payment_mode: string;
|
|
50
|
-
branch_address: string;
|
|
51
|
-
branch_name: string;
|
|
52
|
-
diet_print_type: string;
|
|
53
|
-
enable_add_service_owner: string;
|
|
54
|
-
enable_order_discount: string;
|
|
55
|
-
gst_in_bill: string;
|
|
56
|
-
order_id_deptwise: string;
|
|
57
|
-
prepaid_consultation: string;
|
|
58
|
-
gst_split_in_bill: string;
|
|
59
|
-
print_bill_type: string;
|
|
60
|
-
referred_by_print: string;
|
|
61
|
-
sign_text_bill: string;
|
|
62
|
-
skip_print_preview: string;
|
|
63
|
-
print_bill_footer_type: string;
|
|
64
|
-
bill_footer_img: string;
|
|
65
|
-
bill_footer_height: string;
|
|
66
|
-
bill_pdf_footer_height: string;
|
|
67
|
-
};
|
|
68
|
-
ipd: {
|
|
69
|
-
ipd_ds_pdf_footer_height: string;
|
|
70
|
-
ipd_ds_pdf_header_height: string;
|
|
71
|
-
};
|
|
72
|
-
branch: {
|
|
73
|
-
branch_logo_footer: string;
|
|
74
|
-
branch_logo_header: string;
|
|
75
|
-
footer_height: string;
|
|
76
|
-
header_height: string;
|
|
77
|
-
};
|
|
78
|
-
growth_chart?: I_GROWTH_CHART_PRINT_PREF;
|
|
79
|
-
};
|
|
80
|
-
reviews: {
|
|
81
|
-
gr: {
|
|
82
|
-
doctor_map: {
|
|
83
|
-
[doc_role_id: string]: {
|
|
84
|
-
doctor_name: string;
|
|
85
|
-
enabled: boolean;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
enabled: boolean;
|
|
89
|
-
og_link: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
permissions: {
|
|
93
|
-
edit_patient_name: boolean;
|
|
94
|
-
bill_delete: boolean;
|
|
95
|
-
can_edit_preference: boolean;
|
|
96
|
-
edit_service_unit_price: boolean;
|
|
97
|
-
};
|
|
98
|
-
patient_config?: {
|
|
99
|
-
custom_fields: Array<PatientCustomField>;
|
|
100
|
-
};
|
|
101
|
-
print_templates?: I_PRINT_TEMPLATE[];
|
|
102
|
-
status: boolean;
|
|
103
|
-
message: string;
|
|
104
|
-
abha?: {
|
|
105
|
-
link_patient_rx: boolean;
|
|
106
|
-
};
|
|
107
|
-
dictation?: {
|
|
108
|
-
pref_enabled: boolean;
|
|
109
|
-
};
|
|
110
|
-
notification_preferences_json?: object;
|
|
111
|
-
}
|
|
112
|
-
export interface GET_REFERRED_BY_LISTS_RESPONSE {
|
|
113
|
-
apiError: string;
|
|
114
|
-
ref_doc_id: Array<string>;
|
|
115
|
-
ref_doc_list: Array<string>;
|
|
116
|
-
through_channel: Array<string>;
|
|
117
|
-
total_ref_doc_details: Array<{
|
|
118
|
-
doctor_id: string;
|
|
119
|
-
doctor_name: string;
|
|
120
|
-
specialist: string;
|
|
121
|
-
}>;
|
|
122
|
-
}
|
|
123
|
-
export interface GET_APPOINTMENTS_RESPONSE {
|
|
124
|
-
appointments: Array<I_PATIENT_APPOINTMENT>;
|
|
125
|
-
appnt_purpose_count_map?: Array<{
|
|
126
|
-
appnt_purpose_str: string;
|
|
127
|
-
count: number;
|
|
128
|
-
}>;
|
|
129
|
-
show_survey: boolean;
|
|
130
|
-
limit_crossed: boolean;
|
|
131
|
-
}
|
|
132
|
-
export interface ADD_PATIENT_RESPONSE {
|
|
133
|
-
apiError: string;
|
|
134
|
-
person_id: number;
|
|
135
|
-
conflicts: I_PERSONS_CONFLICT[];
|
|
136
|
-
person_role_id: number;
|
|
137
|
-
person_name: string;
|
|
138
|
-
org_person_bid_str: number;
|
|
139
|
-
org_branch_id: number;
|
|
140
|
-
person: null;
|
|
141
|
-
}
|
|
142
|
-
export interface UPDATE_PATIENT_RESPONSE {
|
|
143
|
-
code: number;
|
|
144
|
-
message: string;
|
|
145
|
-
details: Array<[]>;
|
|
146
|
-
status: boolean;
|
|
147
|
-
}
|
|
148
|
-
export interface ADD_PATIENT_IMAGE_RESPONSE {
|
|
149
|
-
apiError: string;
|
|
150
|
-
data: string;
|
|
151
|
-
}
|
|
152
|
-
export interface DELETE_PATIENT_IMAGE_RESPONSE {
|
|
153
|
-
apiError: string;
|
|
154
|
-
}
|
|
155
|
-
export interface GET_VISITPAD_PREFERENCES_RESPONSE {
|
|
156
|
-
can_add_patient: boolean;
|
|
157
|
-
custom_forms: string;
|
|
158
|
-
enable_mfe_visitpad_chips: number;
|
|
159
|
-
enable_online_consultations: boolean;
|
|
160
|
-
is_b2b_branch: number;
|
|
161
|
-
org_person_logo_footer_url: string;
|
|
162
|
-
org_person_logo_header_url: string;
|
|
163
|
-
org_person_seal_url: string;
|
|
164
|
-
org_person_sign_text: string;
|
|
165
|
-
org_person_signature_url: string;
|
|
166
|
-
phone_number_length: number;
|
|
167
|
-
presc_print_order: string;
|
|
168
|
-
printDefaultPrefIndex: number;
|
|
169
|
-
printPrefMasterArr: I_PRINT_TEMPLATE[];
|
|
170
|
-
printPreferenceList: {
|
|
171
|
-
[key: string]: string;
|
|
172
|
-
};
|
|
173
|
-
unmodifiedVisitPadJson: string;
|
|
174
|
-
visit_pad_json: string;
|
|
175
|
-
visitpad_order: string;
|
|
176
|
-
vitals_order: string;
|
|
177
|
-
use_appnt_token: number;
|
|
178
|
-
}
|
|
179
|
-
export interface IAddPatientPayload extends I_PatientData {
|
|
180
|
-
reg_as_new?: string;
|
|
181
|
-
doctor_role_id: string;
|
|
182
|
-
doctor_id: string;
|
|
183
|
-
org_branch_id: string;
|
|
184
|
-
source: string;
|
|
185
|
-
ip: string;
|
|
186
|
-
}
|
|
187
|
-
export interface IUpdatePatientPayload extends Partial<I_PatientData> {
|
|
188
|
-
person_id: string;
|
|
189
|
-
branch_id: string;
|
|
190
|
-
person_role_id: string;
|
|
191
|
-
}
|
|
192
|
-
export interface IGetPatientListPayload {
|
|
193
|
-
branch_id: string;
|
|
194
|
-
doctor_id: string;
|
|
195
|
-
doctor_role_id: string;
|
|
196
|
-
term: string;
|
|
197
|
-
limit: number;
|
|
198
|
-
}
|
|
199
|
-
export interface IGetPatientListResponse {
|
|
200
|
-
apiError: string;
|
|
201
|
-
persons: IPerson[];
|
|
202
|
-
status: boolean;
|
|
203
|
-
total_persons: string;
|
|
204
|
-
}
|
|
205
|
-
export interface GET_PATIENT_DETAILS_RESPONSE {
|
|
206
|
-
name: string;
|
|
207
|
-
phone_number: string;
|
|
208
|
-
gender: string;
|
|
209
|
-
honorific: string;
|
|
210
|
-
age: number;
|
|
211
|
-
patient_preferred_language: string;
|
|
212
|
-
org_person_dob: string;
|
|
213
|
-
blood_group: string;
|
|
214
|
-
email: string;
|
|
215
|
-
address: string;
|
|
216
|
-
city: string;
|
|
217
|
-
org_person_bid_str: string;
|
|
218
|
-
pincode: string;
|
|
219
|
-
ref_doc_id: string;
|
|
220
|
-
ref_doc_name: string;
|
|
221
|
-
ref_doc_spec: string;
|
|
222
|
-
through_channel: string;
|
|
223
|
-
care_of: string;
|
|
224
|
-
phone_secondary: string;
|
|
225
|
-
occupation: string;
|
|
226
|
-
tag: string;
|
|
227
|
-
image_link: string;
|
|
228
|
-
remote_consultation_id: string;
|
|
229
|
-
oc_status: boolean;
|
|
230
|
-
created_on: string;
|
|
231
|
-
modified_on: string;
|
|
232
|
-
patient_id: string;
|
|
233
|
-
spouse_name: string;
|
|
234
|
-
marital_status: string;
|
|
235
|
-
married_since: string;
|
|
236
|
-
spouse_blood_group: string;
|
|
237
|
-
insurance_details?: {
|
|
238
|
-
partner: string;
|
|
239
|
-
policy_company: string;
|
|
240
|
-
policy_id: string;
|
|
241
|
-
};
|
|
242
|
-
branch_id: string;
|
|
243
|
-
patient_role_id: string;
|
|
244
|
-
error: string;
|
|
245
|
-
aadhar_number: string;
|
|
246
|
-
custom_fields?: {
|
|
247
|
-
id: string;
|
|
248
|
-
title: string;
|
|
249
|
-
value: string;
|
|
250
|
-
}[];
|
|
251
|
-
abha_details: null;
|
|
252
|
-
referred_by_doc?: string;
|
|
253
|
-
referred_by_doc_spec?: string;
|
|
254
|
-
}
|
|
255
|
-
export interface GET_VISITPAD_PREFERENCES_RESPONSE {
|
|
256
|
-
can_add_patient: boolean;
|
|
257
|
-
custom_forms: string;
|
|
258
|
-
enable_mfe_visitpad_chips: number;
|
|
259
|
-
enable_online_consultations: boolean;
|
|
260
|
-
is_b2b_branch: number;
|
|
261
|
-
org_person_logo_footer_url: string;
|
|
262
|
-
org_person_logo_header_url: string;
|
|
263
|
-
org_person_seal_url: string;
|
|
264
|
-
org_person_sign_text: string;
|
|
265
|
-
org_person_signature_url: string;
|
|
266
|
-
phone_number_length: number;
|
|
267
|
-
presc_print_order: string;
|
|
268
|
-
printDefaultPrefIndex: number;
|
|
269
|
-
printPrefMasterArr: I_PRINT_TEMPLATE[];
|
|
270
|
-
printPreferenceList: {
|
|
271
|
-
[key: string]: string;
|
|
272
|
-
};
|
|
273
|
-
unmodifiedVisitPadJson: string;
|
|
274
|
-
visit_pad_json: string;
|
|
275
|
-
visitpad_order: string;
|
|
276
|
-
vitals_order: string;
|
|
277
|
-
use_appnt_token: number;
|
|
278
|
-
}
|
|
279
|
-
export interface ENV_PARAMS {
|
|
280
|
-
token: string;
|
|
281
|
-
enc_token?: string;
|
|
282
|
-
envName: E_ENVIRONMENT;
|
|
283
|
-
ATTACHMENT_BUCKET_DEV_NAME?: string;
|
|
284
|
-
ATTACHMENT_BUCKET_NAME?: string;
|
|
285
|
-
fontBaseUrl?: string;
|
|
286
|
-
IMGREP_DIRECTORY?: string;
|
|
287
|
-
IMGREP_DIRECTORY_DEV?: string;
|
|
288
|
-
window_var?: Partial<GlobalWindow>;
|
|
289
|
-
enable_rearch?: string;
|
|
290
|
-
}
|
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
import { GET_VISITPAD_PREFERENCES_RESPONSE } from './ApiResponseTypes';
|
|
2
|
-
export interface I_PREF_FEATURES {
|
|
3
|
-
enable_lis_v1: boolean;
|
|
4
|
-
enable_credit_system_v1: boolean;
|
|
5
|
-
enable_growth_chart_v1: boolean;
|
|
6
|
-
enable_ml_cds: boolean;
|
|
7
|
-
enable_pt_engmnt_v1: boolean;
|
|
8
|
-
enable_vaccine_chart_v1: boolean;
|
|
9
|
-
[key: string]: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface DoctorChatPreferences {
|
|
12
|
-
chat_enabled: boolean;
|
|
13
|
-
num_messages_per_sub?: string;
|
|
14
|
-
subscription_days?: string;
|
|
15
|
-
charges: {
|
|
16
|
-
app_store_charge?: string;
|
|
17
|
-
doctor_fee?: string;
|
|
18
|
-
healthplix_charge?: string;
|
|
19
|
-
total?: string;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export interface I_PRINT_TEMPLATE {
|
|
23
|
-
config: I_PRINT_TEMPLATE_CONFIG;
|
|
24
|
-
is_default: boolean;
|
|
25
|
-
name: string;
|
|
26
|
-
}
|
|
27
|
-
export interface I_ConfigField {
|
|
28
|
-
include: string;
|
|
29
|
-
print: string;
|
|
30
|
-
rows?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface I_VisitPadFormat {
|
|
33
|
-
bold?: string;
|
|
34
|
-
fontFamily?: string;
|
|
35
|
-
fontSize?: string;
|
|
36
|
-
formatColor?: string;
|
|
37
|
-
italic?: string;
|
|
38
|
-
underline?: string;
|
|
39
|
-
}
|
|
40
|
-
export type I_PRINT_TEMPLATE_CONFIG = {
|
|
41
|
-
prescription_columns: string;
|
|
42
|
-
add_lang_change: I_ConfigField;
|
|
43
|
-
add_qr_code: I_ConfigField;
|
|
44
|
-
default_language: I_ConfigField;
|
|
45
|
-
enable_background_graphics: I_ConfigField;
|
|
46
|
-
enable_medicine_details: I_ConfigField;
|
|
47
|
-
field_address: I_ConfigField;
|
|
48
|
-
field_channel_through: I_ConfigField;
|
|
49
|
-
field_department_name: I_ConfigField;
|
|
50
|
-
field_doctor_name: I_ConfigField;
|
|
51
|
-
field_phone_number: I_ConfigField;
|
|
52
|
-
field_refer_by: I_ConfigField;
|
|
53
|
-
field_visit_number: I_ConfigField;
|
|
54
|
-
font_family: I_ConfigField;
|
|
55
|
-
font_size: I_ConfigField;
|
|
56
|
-
font_size_compensation: I_ConfigField;
|
|
57
|
-
footer_height: I_ConfigField;
|
|
58
|
-
footer_img_url: string;
|
|
59
|
-
generic_name: I_ConfigField;
|
|
60
|
-
header_height: I_ConfigField;
|
|
61
|
-
header_img_url: string;
|
|
62
|
-
margin_left: I_ConfigField;
|
|
63
|
-
margin_right: I_ConfigField;
|
|
64
|
-
not_include_sub_header: I_ConfigField;
|
|
65
|
-
page_height: I_ConfigField;
|
|
66
|
-
patient_img_height: I_ConfigField;
|
|
67
|
-
patient_img_width: I_ConfigField;
|
|
68
|
-
pdf_footer_height: I_ConfigField;
|
|
69
|
-
pdf_footer_height_V2: I_ConfigField;
|
|
70
|
-
pdf_header_height: I_ConfigField;
|
|
71
|
-
pdf_header_height_V2: I_ConfigField;
|
|
72
|
-
pdf_margin_left: I_ConfigField;
|
|
73
|
-
pdf_margin_left_V2: I_ConfigField;
|
|
74
|
-
pdf_margin_right: I_ConfigField;
|
|
75
|
-
pdf_margin_right_V2: I_ConfigField;
|
|
76
|
-
pdf_print_header_first: I_ConfigField;
|
|
77
|
-
pdf_print_margin: I_ConfigField;
|
|
78
|
-
pname_caps: I_ConfigField;
|
|
79
|
-
print_on_letter: I_ConfigField;
|
|
80
|
-
print_sign_img: I_ConfigField;
|
|
81
|
-
seal_img_url: string;
|
|
82
|
-
show_print_preview: I_ConfigField;
|
|
83
|
-
show_print_time: I_ConfigField;
|
|
84
|
-
sign_in_pres: I_ConfigField;
|
|
85
|
-
signature: string;
|
|
86
|
-
signature_alone_next_page: I_ConfigField;
|
|
87
|
-
signature_img_url: string;
|
|
88
|
-
tabular_rx: I_ConfigField;
|
|
89
|
-
visitPadFormat: Record<string, I_VisitPadFormat>;
|
|
90
|
-
} & Record<string, string | I_ConfigField>;
|
|
91
|
-
export type I_GROWTH_CHART_PRINT_PREF = {
|
|
92
|
-
[key: string]: {
|
|
93
|
-
print: boolean;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
export interface GlobalWindow {
|
|
97
|
-
current_role_name: string;
|
|
98
|
-
ehr_subs_end_date: string;
|
|
99
|
-
ehr_subs_start_date: string;
|
|
100
|
-
ehr_subs_plan: string;
|
|
101
|
-
beforePatientChange(): boolean;
|
|
102
|
-
patientPopupHandlerFromFD(patient_role_id: string, patient_person_id: string): unknown;
|
|
103
|
-
staff_dept_name: string;
|
|
104
|
-
patient_role_id: string;
|
|
105
|
-
current_branch_name: string;
|
|
106
|
-
getUpdatedPatientDetails: () => void;
|
|
107
|
-
patient_person_id: string;
|
|
108
|
-
person_id_for_seg: string;
|
|
109
|
-
org_branch_id_for_seg: string;
|
|
110
|
-
ipd_module: string;
|
|
111
|
-
open(url: string, arg1: string): unknown;
|
|
112
|
-
enable_ipd_v2: string;
|
|
113
|
-
origin: string;
|
|
114
|
-
redirectVPFromConsult: (pid: string, pr_id: string) => void;
|
|
115
|
-
redirectVPFromAppnt: (pid: string, pr_id: string) => void;
|
|
116
|
-
location: Location;
|
|
117
|
-
patientPopupClosehandler: () => void;
|
|
118
|
-
patientPopupHandler: (pagename: string, pr_id: string, pid: string, preference: GET_VISITPAD_PREFERENCES_RESPONSE, visitPadJSON: I_PRINT_TEMPLATE_CONFIG, previewTab: string) => Promise<void>;
|
|
119
|
-
partner_config: string;
|
|
120
|
-
permit_lab_tech: string;
|
|
121
|
-
doctor_role_id_for_seg: string;
|
|
122
|
-
doc_name_for_seg: string;
|
|
123
|
-
role_id: string;
|
|
124
|
-
partner_service_enabled: string;
|
|
125
|
-
key: string;
|
|
126
|
-
showToast?: (title: string, subTitle: string, type: string, time: number) => void;
|
|
127
|
-
alert(message?: string): void;
|
|
128
|
-
filteredUpcomingAppts: I_PATIENT_APPOINTMENT[];
|
|
129
|
-
doctor_speciality: string;
|
|
130
|
-
remoteConsultationIDEMR3: string;
|
|
131
|
-
doctor_role_id: string;
|
|
132
|
-
org_person_name_for_seg: string;
|
|
133
|
-
org_person_bid_str_for_seg: string;
|
|
134
|
-
org_person_email_for_seg: string;
|
|
135
|
-
innerWidth: number;
|
|
136
|
-
innerHeight: number;
|
|
137
|
-
enable_rearch: string;
|
|
138
|
-
addEventListener: (type: string, listener: (e: Event) => void) => void;
|
|
139
|
-
removeEventListener: (type: string, listener: (e: Event) => void) => void;
|
|
140
|
-
user_id: string;
|
|
141
|
-
orientation: number;
|
|
142
|
-
_getTranslation: (word: string, language: string) => Promise<string>;
|
|
143
|
-
}
|
|
144
|
-
export interface I_PatientData {
|
|
145
|
-
name: string;
|
|
146
|
-
phone: string;
|
|
147
|
-
gender: string;
|
|
148
|
-
honorific: string;
|
|
149
|
-
patient_preferred_language: string;
|
|
150
|
-
ref_doc_spec: string;
|
|
151
|
-
age: string;
|
|
152
|
-
age_selector: string;
|
|
153
|
-
blood_group: string;
|
|
154
|
-
email: string;
|
|
155
|
-
address: string;
|
|
156
|
-
city: string;
|
|
157
|
-
existingBidStr: string;
|
|
158
|
-
pincode: string;
|
|
159
|
-
ref_doc_name: string;
|
|
160
|
-
temp_appnt_id: string;
|
|
161
|
-
throughChannel: string;
|
|
162
|
-
refDocId: string;
|
|
163
|
-
careOf: string;
|
|
164
|
-
phoneSecondary: string;
|
|
165
|
-
occupation: string;
|
|
166
|
-
tag: string;
|
|
167
|
-
phone_otp: string;
|
|
168
|
-
regAsNew: string;
|
|
169
|
-
dob?: string;
|
|
170
|
-
image_link: string;
|
|
171
|
-
marital_status: string;
|
|
172
|
-
spouse_blood_group: string;
|
|
173
|
-
married_since: string;
|
|
174
|
-
spouse_name: string;
|
|
175
|
-
org_person_dob: string;
|
|
176
|
-
aadhar_number: string;
|
|
177
|
-
custom_fields?: {
|
|
178
|
-
id: string;
|
|
179
|
-
title: string;
|
|
180
|
-
value: string;
|
|
181
|
-
}[];
|
|
182
|
-
}
|
|
183
|
-
export declare enum EAPP_ROUTES {
|
|
184
|
-
visitpad = "/md/viewPatientDashboard.php",
|
|
185
|
-
consultations = "/md/viewPatientList.php",
|
|
186
|
-
appointments = "/md/viewPatientAppointments.php",
|
|
187
|
-
settings = "/md/viewPreferenceSettings.php",
|
|
188
|
-
privateDb = "/md/viewPrivateDB.php",
|
|
189
|
-
dashboardBase = "/",
|
|
190
|
-
referEarn = "/md/inviteReferrals.php",
|
|
191
|
-
teleConsults = "/md/viewRemoteAppointments.php",
|
|
192
|
-
pricing = "/subscription/pricing",
|
|
193
|
-
billSummary = "/subscription/bill-summary",
|
|
194
|
-
pediatricsCalculator = "/md/viewPediatricCalculator.php"
|
|
195
|
-
}
|
|
196
|
-
export interface I_PATIENT_APPOINTMENT {
|
|
197
|
-
patient_role_id: string;
|
|
198
|
-
patient_person_id: string;
|
|
199
|
-
appnt_id: string;
|
|
200
|
-
org_branch_id: number;
|
|
201
|
-
appnt_time: string;
|
|
202
|
-
appnt_date: string;
|
|
203
|
-
appnt_status: number;
|
|
204
|
-
appnt_purpose_str: string;
|
|
205
|
-
doctor_role_id: string;
|
|
206
|
-
appnt_token_num: number;
|
|
207
|
-
created_on: string;
|
|
208
|
-
appnt_mod_time: string;
|
|
209
|
-
appnt_status_updated_on: string;
|
|
210
|
-
org_person_bid_str: string;
|
|
211
|
-
org_person_gender: number;
|
|
212
|
-
org_person_dob: string;
|
|
213
|
-
org_person_name: string;
|
|
214
|
-
org_person_phone: string;
|
|
215
|
-
org_person_email: string;
|
|
216
|
-
visit_created_on: string;
|
|
217
|
-
visits_count: number;
|
|
218
|
-
last_visit_date: string;
|
|
219
|
-
print_count: number;
|
|
220
|
-
patient_consent: number;
|
|
221
|
-
table_type?: string;
|
|
222
|
-
remote_appnt_status?: string;
|
|
223
|
-
}
|
|
224
|
-
export interface IPerson {
|
|
225
|
-
person_id: string;
|
|
226
|
-
org_branch_id: string;
|
|
227
|
-
person_role_id: string;
|
|
228
|
-
org_person_bid_str: string;
|
|
229
|
-
created_on: string;
|
|
230
|
-
last_modified_date: string;
|
|
231
|
-
org_person_name: string;
|
|
232
|
-
age: string;
|
|
233
|
-
ageStr: string;
|
|
234
|
-
org_person_phone: string;
|
|
235
|
-
org_person_email: string;
|
|
236
|
-
org_person_gender: number;
|
|
237
|
-
honorific: string;
|
|
238
|
-
}
|
|
239
|
-
export interface I_PERSONS_CONFLICT {
|
|
240
|
-
org_person_bid_str: string;
|
|
241
|
-
org_branch_id: string;
|
|
242
|
-
person_id: string;
|
|
243
|
-
org_person_oid_str: string;
|
|
244
|
-
org_person_name: string;
|
|
245
|
-
org_person_gender: string;
|
|
246
|
-
org_person_email: string;
|
|
247
|
-
org_person_phone: string;
|
|
248
|
-
person_role_id: string;
|
|
249
|
-
age: string;
|
|
250
|
-
}
|
|
251
|
-
export declare enum E_ENVIRONMENT {
|
|
252
|
-
PRODUCTION = "PRODUCTION",
|
|
253
|
-
STAGING = "STAGING",
|
|
254
|
-
DEVELOPMENT = "DEVELOPMENT"
|
|
255
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|