@kenyaemr/esm-billing-app 5.4.2-pre.2553 → 5.4.2-pre.2557

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/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[{"component":"billableServicesHome","route":"billable-services"},{"component":"requirePaymentModal","routeRegex":"^patient/.+/chart","online":true,"offline":false}],"extensions":[{"component":"accountingDashboardLink","name":"accounting-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"accounting","slot":"accounting-dashboard-slot","title":"Accounting"}},{"name":"billing-dashboard","component":"billingDashboard","slot":"accounting-dashboard-slot"},{"component":"benefitsPackageDashboardLink","name":"benefits-package-dashboard-link","meta":{"name":"benefits-package","slot":"patient-chart-benefits-dashboard-slot","path":"insurance-benefits","columns":1,"columnSpan":1},"featureFlag":"healthInformationExchange"},{"component":"benefitsPackage","name":"benefits-package","slot":"patient-chart-benefits-dashboard-slot"},{"component":"root","name":"billing-dashboard-root","slot":"billing-dashboard-slot"},{"component":"benefitsEligibilyRequestForm","name":"benefits-eligibility-request-form"},{"component":"benefitsPreAuthForm","name":"benefits-pre-auth-form"},{"name":"billing-patient-summary","component":"billingPatientSummary","slot":"patient-chart-billing-dashboard-slot","order":10,"meta":{"columnSpan":4}},{"name":"billing-summary-dashboard-link","component":"billingSummaryDashboardLink","order":11,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-billing-dashboard-slot","path":"Billing","layoutMode":"anchored"}},{"name":"billing-check-in-form","slot":"extra-visit-attribute-slot","component":"billingCheckInForm"},{"name":"patient-banner-billing-tags","component":"visitAttributeTags","slot":"patient-banner-tags-slot","order":2},{"name":"initiate-payment-modal","component":"initiatePaymentDialog"},{"name":"delete-billableservice-modal","component":"deleteBillableServiceModal"},{"name":"refund-bill-modal","component":"refundBillModal"},{"name":"delete-bill-modal","component":"deleteBillModal"},{"name":"lab-order-billable-item","component":"labOrder","slot":"top-of-lab-order-form-slot"},{"name":"procedure-order-billable-item","component":"procedureOrder","slot":"top-of-procedure-order-form-slot"},{"name":"imaging-order-billable-item","component":"imagingOrder","slot":"top-of-imaging-order-form-slot"},{"name":"price-info-order","component":"priceInfoOrder"},{"name":"drug-order-billable-item","component":"drugOrder","slot":"medication-info-slot"},{"name":"order-action-button","component":"orderActionButton","slots":["prescription-action-button-slot","imaging-orders-action","procedure-orders-action","tests-ordered-actions-slot"],"order":0},{"component":"claimsManagementOverviewDashboardLink","name":"claims-management-overview-link","slots":["claims-management-dashboard-link-slot"]},{"component":"preAuthRequestsDashboardLink","name":"preauthrequest-overview-link","slots":["claims-management-dashboard-link-slot"]},{"component":"claimsOverview","name":"claims-overview-dashboard-link","slot":"claims-management-overview-slot"},{"component":"waiveBillActionButton","name":"waive-bill-action-button","slot":"bill-actions-slot"},{"component":"deleteBillActionButton","name":"delete-bill-action-button","slot":"bill-actions-slot"},{"component":"refundLineItem","name":"refund-line-item","slot":"bill-actions-overflow-menu-slot"},{"name":"edit-line-item","component":"editLineItem","slot":"bill-actions-overflow-menu-slot"},{"name":"cancel-line-item","component":"cancelLineItem","slot":"bill-actions-overflow-menu-slot"},{"name":"patient-info-sha-status","component":"patientBannerShaStatus","slot":"patient-banner-tags-slot"}],"workspaces":[{"name":"create-bill-workspace","component":"createBillWorkspace","title":"Create Bill Workspace","type":"other-form"},{"name":"waive-bill-form","component":"waiveBillForm","title":"Waive Bill Form","type":"other-form"},{"name":"edit-bill-form","component":"editBillForm","title":"Edit Bill Form","type":"other-form"},{"name":"billable-service-form","component":"addServiceForm","title":"Create Charge Item Form","type":"other-form"},{"name":"commodity-form","component":"addCommodityForm","title":"Create Charge Item Form","type":"other-form"},{"name":"billing-form","component":"billingForm","title":"Billing Form","type":"other-form","width":"extra-wide"},{"name":"payment-mode-workspace","component":"paymentModeWorkspace","title":"Payment Mode Workspace","type":"other-form"},{"name":"cancel-bill-workspace","component":"cancelBillWorkspace","title":"Cancel Bill Workspace","type":"other-form"},{"name":"add-deposit-workspace","component":"addDepositWorkspace","title":"Add Deposit","type":"other-form"},{"name":"deposit-transaction-workspace","component":"depositTransactionWorkspace","title":"Deposit Transaction","type":"other-form"},{"name":"payment-workspace","component":"paymentWorkspace","title":"Payment Workspace","type":"other-form"}],"modals":[{"name":"create-payment-point","component":"createPaymentPoint"},{"name":"clock-out-modal","component":"clockOut"},{"name":"bulk-import-billable-services-modal","component":"bulkImportBillableServicesModal"},{"name":"delete-payment-mode-modal","component":"deletePaymentModeModal"},{"name":"manage-claim-request-modal","component":"manageClaimRequestModal"},{"name":"clock-in-modal","component":"clockIn"},{"name":"create-bill-item-modal","component":"createBillItemModal"},{"name":"delete-deposit-modal","component":"deleteDepositModal"},{"name":"reverse-transaction-modal","component":"reverseTransactionModal"},{"name":"print-preview-modal","component":"printPreviewModal"},{"name":"bill-action-modal","component":"billActionModal"},{"name":"require-billing-modal","component":"requirePaymentModal"}],"version":"5.4.2-pre.2553"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[{"component":"billableServicesHome","route":"billable-services"},{"component":"requirePaymentModal","routeRegex":"^patient/.+/chart","online":true,"offline":false}],"extensions":[{"component":"accountingDashboardLink","name":"accounting-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"accounting","slot":"accounting-dashboard-slot","title":"Accounting"}},{"name":"billing-dashboard","component":"billingDashboard","slot":"accounting-dashboard-slot"},{"component":"benefitsPackageDashboardLink","name":"benefits-package-dashboard-link","meta":{"name":"benefits-package","slot":"patient-chart-benefits-dashboard-slot","path":"insurance-benefits","columns":1,"columnSpan":1},"featureFlag":"healthInformationExchange"},{"component":"benefitsPackage","name":"benefits-package","slot":"patient-chart-benefits-dashboard-slot"},{"component":"root","name":"billing-dashboard-root","slot":"billing-dashboard-slot"},{"component":"benefitsEligibilyRequestForm","name":"benefits-eligibility-request-form"},{"component":"benefitsPreAuthForm","name":"benefits-pre-auth-form"},{"name":"billing-patient-summary","component":"billingPatientSummary","slot":"patient-chart-billing-dashboard-slot","order":10,"meta":{"columnSpan":4}},{"name":"billing-summary-dashboard-link","component":"billingSummaryDashboardLink","order":11,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-billing-dashboard-slot","path":"Billing","layoutMode":"anchored"}},{"name":"billing-check-in-form","slot":"extra-visit-attribute-slot","component":"billingCheckInForm"},{"name":"patient-banner-billing-tags","component":"visitAttributeTags","slot":"patient-banner-tags-slot","order":2},{"name":"initiate-payment-modal","component":"initiatePaymentDialog"},{"name":"delete-billableservice-modal","component":"deleteBillableServiceModal"},{"name":"refund-bill-modal","component":"refundBillModal"},{"name":"delete-bill-modal","component":"deleteBillModal"},{"name":"lab-order-billable-item","component":"labOrder","slot":"top-of-lab-order-form-slot"},{"name":"procedure-order-billable-item","component":"procedureOrder","slot":"top-of-procedure-order-form-slot"},{"name":"imaging-order-billable-item","component":"imagingOrder","slot":"top-of-imaging-order-form-slot"},{"name":"price-info-order","component":"priceInfoOrder"},{"name":"drug-order-billable-item","component":"drugOrder","slot":"medication-info-slot"},{"name":"order-action-button","component":"orderActionButton","slots":["prescription-action-button-slot","imaging-orders-action","procedure-orders-action","tests-ordered-actions-slot"],"order":0},{"component":"claimsManagementOverviewDashboardLink","name":"claims-management-overview-link","slots":["claims-management-dashboard-link-slot"]},{"component":"preAuthRequestsDashboardLink","name":"preauthrequest-overview-link","slots":["claims-management-dashboard-link-slot"]},{"component":"claimsOverview","name":"claims-overview-dashboard-link","slot":"claims-management-overview-slot"},{"component":"waiveBillActionButton","name":"waive-bill-action-button","slot":"bill-actions-slot"},{"component":"deleteBillActionButton","name":"delete-bill-action-button","slot":"bill-actions-slot"},{"component":"refundLineItem","name":"refund-line-item","slot":"bill-actions-overflow-menu-slot"},{"name":"edit-line-item","component":"editLineItem","slot":"bill-actions-overflow-menu-slot"},{"name":"cancel-line-item","component":"cancelLineItem","slot":"bill-actions-overflow-menu-slot"},{"name":"patient-info-sha-status","component":"patientBannerShaStatus","slot":"patient-banner-tags-slot"}],"workspaces":[{"name":"create-bill-workspace","component":"createBillWorkspace","title":"Create Bill Workspace","type":"other-form"},{"name":"waive-bill-form","component":"waiveBillForm","title":"Waive Bill Form","type":"other-form"},{"name":"edit-bill-form","component":"editBillForm","title":"Edit Bill Form","type":"other-form"},{"name":"billable-service-form","component":"addServiceForm","title":"Create Charge Item Form","type":"other-form"},{"name":"commodity-form","component":"addCommodityForm","title":"Create Charge Item Form","type":"other-form"},{"name":"billing-form","component":"billingForm","title":"Billing Form","type":"other-form","width":"extra-wide"},{"name":"payment-mode-workspace","component":"paymentModeWorkspace","title":"Payment Mode Workspace","type":"other-form"},{"name":"cancel-bill-workspace","component":"cancelBillWorkspace","title":"Cancel Bill Workspace","type":"other-form"},{"name":"add-deposit-workspace","component":"addDepositWorkspace","title":"Add Deposit","type":"other-form"},{"name":"deposit-transaction-workspace","component":"depositTransactionWorkspace","title":"Deposit Transaction","type":"other-form"},{"name":"payment-workspace","component":"paymentWorkspace","title":"Payment Workspace","type":"other-form"}],"modals":[{"name":"create-payment-point","component":"createPaymentPoint"},{"name":"clock-out-modal","component":"clockOut"},{"name":"bulk-import-billable-services-modal","component":"bulkImportBillableServicesModal"},{"name":"delete-payment-mode-modal","component":"deletePaymentModeModal"},{"name":"manage-claim-request-modal","component":"manageClaimRequestModal"},{"name":"clock-in-modal","component":"clockIn"},{"name":"create-bill-item-modal","component":"createBillItemModal"},{"name":"delete-deposit-modal","component":"deleteDepositModal"},{"name":"reverse-transaction-modal","component":"reverseTransactionModal"},{"name":"print-preview-modal","component":"printPreviewModal"},{"name":"bill-action-modal","component":"billActionModal"},{"name":"require-billing-modal","component":"requirePaymentModal"}],"version":"5.4.2-pre.2557"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-billing-app",
3
- "version": "5.4.2-pre.2553",
3
+ "version": "5.4.2-pre.2557",
4
4
  "description": "Billing app for KenyaEMR",
5
5
  "keywords": [
6
6
  "openmrs"
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
2
  import { useTranslation } from 'react-i18next';
3
+ import { useLocation } from 'react-router-dom';
3
4
  import BillingHeader from '../billing-header/billing-header.component';
4
5
  import BillingTabs from '../billing-tabs/billling-tabs.component';
5
6
  import MetricsCards from '../metrics-cards/metrics-cards.component';
7
+ import RootComponent from '../root.component'; // Import your router
6
8
  import styles from './billing-dashboard.scss';
7
9
  import { ClockOutStrip } from './clock-out-strip.component';
8
10
  import { UserHasAccess } from '@openmrs/esm-framework';
@@ -10,15 +12,23 @@ import { UserHasAccess } from '@openmrs/esm-framework';
10
12
  function BillingDashboard() {
11
13
  const { t } = useTranslation();
12
14
 
13
- return (
14
- <main className={styles.container}>
15
- <BillingHeader title={t('home', 'Home')} />
16
- <ClockOutStrip />
17
- <UserHasAccess privilege="o3: View Billing Metrics">
18
- <MetricsCards />
19
- </UserHasAccess>
20
- <BillingTabs />
21
- </main>
22
- );
15
+ const currentPath = window.location.pathname;
16
+ const isMainDashboard = currentPath.endsWith('/accounting') || currentPath.endsWith('/accounting/');
17
+
18
+ if (isMainDashboard) {
19
+ return (
20
+ <main className={styles.container}>
21
+ <BillingHeader title={t('home', 'Home')} />
22
+ <ClockOutStrip />
23
+ <UserHasAccess privilege="o3: View Billing Metrics">
24
+ <MetricsCards />
25
+ </UserHasAccess>
26
+ <BillingTabs />
27
+ </main>
28
+ );
29
+ }
30
+
31
+ return <RootComponent />;
23
32
  }
33
+
24
34
  export default BillingDashboard;
@@ -102,7 +102,7 @@ const BillsTable: React.FC<BillTableProps> = ({ defaultBillPaymentStatus = '' })
102
102
  '',
103
103
  );
104
104
 
105
- const billingUrl = '${openmrsSpaBase}/home/billing/patient/${patientUuid}/${uuid}';
105
+ const billingUrl = '${openmrsSpaBase}/home/accounting/patient/${patientUuid}/${uuid}';
106
106
 
107
107
  const rowData = results?.map((bill, index) => ({
108
108
  id: `${index}`,
@@ -72,7 +72,7 @@ export const configSchema: ConfigSchema = {
72
72
  phoneNumberAttributeTypeUUID: {
73
73
  _type: Type.String,
74
74
  _description: 'The person attribute type uuid for phone number',
75
- _default: '78b4630d-3446-4db2-b570-2e553231a589',
75
+ _default: 'b2c38640-2603-4629-aebd-3b54f33f1e3a',
76
76
  },
77
77
  hieBaseUrl: {
78
78
  _type: Type.String,
@@ -124,9 +124,9 @@ export function InvoiceActions({ bill, selectedLineItems = [], activeVisit }: In
124
124
 
125
125
  if (activeVisit) {
126
126
  await handleEndVisit();
127
- navigate({ to: `${spaBasePath}/billing/patient/${patientUuid}/${billUuid}/claims` });
127
+ navigate({ to: `${spaBasePath}/accounting/patient/${patientUuid}/${billUuid}/claims` });
128
128
  } else {
129
- navigate({ to: `${spaBasePath}/billing/patient/${patientUuid}/${billUuid}/claims` });
129
+ navigate({ to: `${spaBasePath}/accounting/patient/${patientUuid}/${billUuid}/claims` });
130
130
  }
131
131
  };
132
132
 
@@ -16,37 +16,64 @@ export function LinkExtension({ config }: { config: LinkConfig }) {
16
16
  const location = useLocation();
17
17
  const spaBasePath = window.getOpenmrsSpaBase() + 'home';
18
18
 
19
- let urlSegment = useMemo(() => decodeURIComponent(last(location.pathname.split('/'))), [location.pathname]);
19
+ let urlSegment = useMemo(() => {
20
+ const rawSegment = last(location.pathname.split('/'));
21
+ const decodedSegment = decodeURIComponent(rawSegment);
22
+ return decodedSegment;
23
+ }, [location.pathname]);
20
24
 
21
25
  const isUUID = (value: string) => {
22
26
  const regex = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/;
23
- return regex.test(value);
27
+ const result = regex.test(value);
28
+ return result;
24
29
  };
25
30
 
26
31
  if (isUUID(urlSegment)) {
27
32
  if (location.pathname.includes('payment-points')) {
28
- urlSegment = location.pathname.split('/').at(-2);
33
+ const newSegment = location.pathname.split('/').at(-2);
34
+ urlSegment = newSegment;
29
35
  } else {
30
- urlSegment = '';
36
+ const pathParts = location.pathname.split('/');
37
+ const mainSectionIndex = pathParts.findIndex((part) => part === nameSegment);
38
+
39
+ if (mainSectionIndex > -1) {
40
+ urlSegment = nameSegment;
41
+ } else {
42
+ const containsOurSection =
43
+ location.pathname.includes('/' + nameSegment + '/') || location.pathname.includes('/' + nameSegment);
44
+ if (containsOurSection) {
45
+ urlSegment = nameSegment;
46
+ } else {
47
+ urlSegment = '';
48
+ }
49
+ }
31
50
  }
32
51
  } else if (location.pathname.endsWith('claims') || location.pathname.endsWith('claims/')) {
33
- // Filling claims form screen
34
- urlSegment = '';
52
+ const containsOurSection =
53
+ location.pathname.includes('/' + nameSegment + '/') || location.pathname.split('/').includes(nameSegment);
54
+ if (containsOurSection) {
55
+ urlSegment = nameSegment;
56
+ } else {
57
+ urlSegment = '';
58
+ }
35
59
  }
36
60
 
37
61
  const isActive = nameSegment === urlSegment;
62
+ const finalUrl = spaBasePath + '/' + name;
63
+
38
64
  return (
39
- <ConfigurableLink
40
- to={spaBasePath + '/' + name}
41
- className={`cds--side-nav__link ${isActive && 'active-left-nav-link'}`}>
65
+ <ConfigurableLink to={finalUrl} className={`cds--side-nav__link ${isActive && 'active-left-nav-link'}`}>
42
66
  {t(title)}
43
67
  </ConfigurableLink>
44
68
  );
45
69
  }
46
70
 
47
- export const createLeftPanelLink = (config: LinkConfig) => () =>
48
- (
49
- <BrowserRouter>
50
- <LinkExtension config={config} />
51
- </BrowserRouter>
52
- );
71
+ export const createLeftPanelLink = (config: LinkConfig) => {
72
+ return () => {
73
+ return (
74
+ <BrowserRouter>
75
+ <LinkExtension config={config} />
76
+ </BrowserRouter>
77
+ );
78
+ };
79
+ };
@@ -16,7 +16,7 @@ import { PaymentPoints } from './payment-points/payment-points.component';
16
16
  import BillDepositDashboard from './bill-deposit/components/dashboard/bill-deposit-dashboard.component';
17
17
 
18
18
  const RootComponent: React.FC = () => {
19
- const baseName = window.getOpenmrsSpaBase() + 'home/billing';
19
+ const baseName = window.getOpenmrsSpaBase() + 'home/accounting';
20
20
 
21
21
  return (
22
22
  <BrowserRouter basename={baseName}>
@@ -72,6 +72,7 @@
72
72
  "claimError": "የጥያቄ ስህተት",
73
73
  "claimExplanation": "የጥያቄ ማብራሪያ",
74
74
  "claimJustification": "የጥያቄ ቅድመ ምክንያት",
75
+ "claimProcessedSuccessfully": "Claim processed and sent successfully",
75
76
  "claims": "ጥያቄዎች",
76
77
  "claimsItems": "የጥያቄ ዕቃዎች",
77
78
  "claimsManagement": "የጥያቄዎች አስተዳደር",
@@ -117,6 +118,7 @@
117
118
  "enterAttributeRetiredReason": "ባህርይ ጡረታ የወጣበትን ምክንያት ያስገቡ",
118
119
  "entered": "ተገብቷል",
119
120
  "enteredInError": "በስህተት ተገብቷል",
121
+ "enterOtp": "Enter OTP",
120
122
  "enterPolicyNumber": "የፖሊሲ ቁጥር ያስገቡ",
121
123
  "enterPrice": "ዋጋ ያስገቡ",
122
124
  "enterReferenceNumber": "የማጣቀሻ ቁጥር ያስገቡ",
@@ -193,6 +195,9 @@
193
195
  "noMatchingItemsToDisplay": "የሚታዩ ተመሳሳይ ዕቃዎች የሉም",
194
196
  "noPaymentModes": "ምንም የክፍያ ዘዴዎች አልተገኙም",
195
197
  "noPaymentModesSubtitle": "ለተመረጡ ማጣሪያዎች ምንም የክፍያ ዘዴዎች አልተገኙም",
198
+ "noPhoneNumber": "No Phone Number",
199
+ "noPhoneNumberFound": "No phone number found for this patient. OTP verification will not be available.",
200
+ "noPhoneNumberMessage": "No phone number found for this patient. Please update patient information.",
196
201
  "noResultsSuggestion": "ምንም ተመሳሳይ ጥቅም ማግኘት አልቻልንም።",
197
202
  "noSchema": "ምንም ስኬማ የለም",
198
203
  "noSchemaExemption": "ምንም ስኬማ የለም የነጻነት ስኬማ ይጨምሩ",
@@ -200,6 +205,10 @@
200
205
  "noTransactionHistorySubtitle": "ለተመረጡ ማጣሪያዎች ምንም የግብይት ታሪክ አልተጫነም",
201
206
  "noTransactions": "ምንም ግብይቶች አልተገኙም",
202
207
  "notSearchedState": "እባክዎ ከላይ ባለው ግቤት ታካሚ ይፈልጉ",
208
+ "otpVerificationPending": "OTP Verification Pending",
209
+ "otpVerificationPendingMessage": "Please complete OTP verification to process the claim",
210
+ "otpVerified": "OTP Verified",
211
+ "otpVerifiedReadyToProcess": "OTP has been verified. Click \"Process Claim\" to submit.",
203
212
  "overflowMenu": "የትርፍ ምናሌ",
204
213
  "overPayment": "ከመጠን በላይ ክፍያ",
205
214
  "overPaymentSubtitle": "የተከፈለው መጠን {{totalAmountTendered}} ለተመረጡ መስመር ዕቃዎች ከሚገባው መጠን {{selectedLineItemsAmountDue}} መብለጥ የለበትም",
@@ -285,8 +294,8 @@
285
294
  "selectPaymentMethod": "የክፍያ ዘዴ ይምረጡ",
286
295
  "selectPaymentMode": "የክፍያ ዘዴ ይምረጡ",
287
296
  "selectProvider": "አቅራቢ ይምረጡ",
288
- "sendClaim": "ቅድመ ፍቃድ ጥያቄ በተሳካ ሁኔታ ተልኳል",
289
297
  "sendClaimError": "ቅድመ ፍቃድ ጥያቄ ወድቋል፣ እባክዎ በኋላ ይሞክሩ",
298
+ "sendOtp": "Send OTP",
290
299
  "serialNo": "ተከታታይ ቁ.",
291
300
  "serviceConcept": "የአገልግሎት ጽንሰ-ሀሳብ",
292
301
  "serviceType": "የአገልግሎት ዓይነት",
@@ -72,6 +72,7 @@
72
72
  "claimError": "Claim Error",
73
73
  "claimExplanation": "Claim Explanation",
74
74
  "claimJustification": "Claim Justification",
75
+ "claimProcessedSuccessfully": "Claim processed and sent successfully",
75
76
  "claims": "Claims",
76
77
  "claimsItems": "Claims Items",
77
78
  "claimsManagement": "Claims management",
@@ -117,6 +118,7 @@
117
118
  "enterAttributeRetiredReason": "Enter attribute retired reason",
118
119
  "entered": "Entered",
119
120
  "enteredInError": "Entered in error",
121
+ "enterOtp": "Enter OTP",
120
122
  "enterPolicyNumber": "Enter policy number",
121
123
  "enterPrice": "Enter price",
122
124
  "enterReferenceNumber": "Enter ref. number",
@@ -193,6 +195,9 @@
193
195
  "noMatchingItemsToDisplay": "No matching items to display",
194
196
  "noPaymentModes": "No payment modes found",
195
197
  "noPaymentModesSubtitle": "No payment modes found for the selected filters",
198
+ "noPhoneNumber": "No Phone Number",
199
+ "noPhoneNumberFound": "No phone number found for this patient. OTP verification will not be available.",
200
+ "noPhoneNumberMessage": "No phone number found for this patient. Please update patient information.",
196
201
  "noResultsSuggestion": "We couldn't find any matching benefit.",
197
202
  "noSchema": "No schema available",
198
203
  "noSchemaExemption": "No schema available add exemption schema",
@@ -200,6 +205,10 @@
200
205
  "noTransactionHistorySubtitle": "No transaction history loaded for the selected filters",
201
206
  "noTransactions": "No transactions found",
202
207
  "notSearchedState": "Please search for a patient in the input above",
208
+ "otpVerificationPending": "OTP Verification Pending",
209
+ "otpVerificationPendingMessage": "Please complete OTP verification to process the claim",
210
+ "otpVerified": "OTP Verified",
211
+ "otpVerifiedReadyToProcess": "OTP has been verified. Click \"Process Claim\" to submit.",
203
212
  "overflowMenu": "Overflow menu",
204
213
  "overPayment": "Over payment",
205
214
  "overPaymentSubtitle": "Amount paid {{totalAmountTendered}} should not be greater than amount due {{selectedLineItemsAmountDue}} for selected line items",
@@ -285,8 +294,8 @@
285
294
  "selectPaymentMethod": "Select payment method",
286
295
  "selectPaymentMode": "Select payment mode",
287
296
  "selectProvider": "Select Provider",
288
- "sendClaim": "Pre authorization request sent successfully",
289
297
  "sendClaimError": "Pre authorization request failed, please try later",
298
+ "sendOtp": "Send OTP",
290
299
  "serialNo": "Serial No.",
291
300
  "serviceConcept": "Service Concept",
292
301
  "serviceType": "Service Type",
@@ -72,6 +72,7 @@
72
72
  "claimError": "Claim Error",
73
73
  "claimExplanation": "Claim Explanation",
74
74
  "claimJustification": "Claim Justification",
75
+ "claimProcessedSuccessfully": "Claim processed and sent successfully",
75
76
  "claims": "Claims",
76
77
  "claimsItems": "Claims Items",
77
78
  "claimsManagement": "Claims management",
@@ -117,6 +118,7 @@
117
118
  "enterAttributeRetiredReason": "Enter attribute retired reason",
118
119
  "entered": "Entered",
119
120
  "enteredInError": "Entered in error",
121
+ "enterOtp": "Enter OTP",
120
122
  "enterPolicyNumber": "Enter policy number",
121
123
  "enterPrice": "Enter price",
122
124
  "enterReferenceNumber": "Enter ref. number",
@@ -193,6 +195,9 @@
193
195
  "noMatchingItemsToDisplay": "No matching items to display",
194
196
  "noPaymentModes": "No payment modes found",
195
197
  "noPaymentModesSubtitle": "No payment modes found for the selected filters",
198
+ "noPhoneNumber": "No Phone Number",
199
+ "noPhoneNumberFound": "No phone number found for this patient. OTP verification will not be available.",
200
+ "noPhoneNumberMessage": "No phone number found for this patient. Please update patient information.",
196
201
  "noResultsSuggestion": "We couldn't find any matching benefit.",
197
202
  "noSchema": "No schema available",
198
203
  "noSchemaExemption": "No schema available add exemption schema",
@@ -200,6 +205,10 @@
200
205
  "noTransactionHistorySubtitle": "No transaction history loaded for the selected filters",
201
206
  "noTransactions": "No transactions found",
202
207
  "notSearchedState": "Please search for a patient in the input above",
208
+ "otpVerificationPending": "OTP Verification Pending",
209
+ "otpVerificationPendingMessage": "Please complete OTP verification to process the claim",
210
+ "otpVerified": "OTP Verified",
211
+ "otpVerifiedReadyToProcess": "OTP has been verified. Click \"Process Claim\" to submit.",
203
212
  "overflowMenu": "Overflow menu",
204
213
  "overPayment": "Over payment",
205
214
  "overPaymentSubtitle": "Amount paid {{totalAmountTendered}} should not be greater than amount due {{selectedLineItemsAmountDue}} for selected line items",
@@ -285,8 +294,8 @@
285
294
  "selectPaymentMethod": "Select payment method",
286
295
  "selectPaymentMode": "Select payment mode",
287
296
  "selectProvider": "Select Provider",
288
- "sendClaim": "Claim sent successfully",
289
297
  "sendClaimError": "Request Failed, Please try later...",
298
+ "sendOtp": "Send OTP",
290
299
  "serialNo": "Serial No",
291
300
  "serviceConcept": "Service Concept",
292
301
  "serviceType": "Service Type",