@openmrs/esm-billing-app 1.0.1-pre.100
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/.editorconfig +12 -0
- package/.eslintignore +2 -0
- package/.eslintrc +57 -0
- package/.husky/pre-commit +7 -0
- package/.husky/pre-push +6 -0
- package/.prettierignore +14 -0
- package/.turbo.json +18 -0
- package/.yarn/plugins/@yarnpkg/plugin-outdated.cjs +35 -0
- package/LICENSE +401 -0
- package/README.md +7 -0
- package/__mocks__/bills.mock.ts +394 -0
- package/__mocks__/delivery-summary.mock.ts +89 -0
- package/__mocks__/encounter-observation.mock.ts +10651 -0
- package/__mocks__/encounter-observations.mock.ts +6189 -0
- package/__mocks__/hiv-summary.mock.ts +22 -0
- package/__mocks__/patient-summary.mock.ts +32 -0
- package/__mocks__/patient.mock.ts +59 -0
- package/__mocks__/program-summary.mock.ts +43 -0
- package/__mocks__/react-i18next.js +57 -0
- package/dist/146.js +1 -0
- package/dist/146.js.map +1 -0
- package/dist/294.js +2 -0
- package/dist/294.js.LICENSE.txt +9 -0
- package/dist/294.js.map +1 -0
- package/dist/319.js +1 -0
- package/dist/384.js +1 -0
- package/dist/384.js.map +1 -0
- package/dist/421.js +1 -0
- package/dist/421.js.map +1 -0
- package/dist/533.js +1 -0
- package/dist/533.js.map +1 -0
- package/dist/574.js +1 -0
- package/dist/591.js +2 -0
- package/dist/591.js.LICENSE.txt +9 -0
- package/dist/591.js.map +1 -0
- package/dist/614.js +2 -0
- package/dist/614.js.LICENSE.txt +37 -0
- package/dist/614.js.map +1 -0
- package/dist/753.js +1 -0
- package/dist/753.js.map +1 -0
- package/dist/757.js +1 -0
- package/dist/770.js +1 -0
- package/dist/770.js.map +1 -0
- package/dist/783.js +1 -0
- package/dist/783.js.map +1 -0
- package/dist/788.js +1 -0
- package/dist/800.js +2 -0
- package/dist/800.js.LICENSE.txt +3 -0
- package/dist/800.js.map +1 -0
- package/dist/807.js +1 -0
- package/dist/833.js +1 -0
- package/dist/935.js +2 -0
- package/dist/935.js.LICENSE.txt +19 -0
- package/dist/935.js.map +1 -0
- package/dist/992.js +1 -0
- package/dist/992.js.map +1 -0
- package/dist/main.js +2 -0
- package/dist/main.js.LICENSE.txt +47 -0
- package/dist/main.js.map +1 -0
- package/dist/openmrs-esm-billing-app.js +1 -0
- package/dist/openmrs-esm-billing-app.js.buildmanifest.json +609 -0
- package/dist/openmrs-esm-billing-app.js.map +1 -0
- package/dist/routes.json +1 -0
- package/e2e/README.md +115 -0
- package/e2e/core/global-setup.ts +32 -0
- package/e2e/core/index.ts +1 -0
- package/e2e/core/test.ts +20 -0
- package/e2e/fixtures/api.ts +27 -0
- package/e2e/fixtures/index.ts +1 -0
- package/e2e/pages/home-page.ts +9 -0
- package/e2e/pages/index.ts +1 -0
- package/e2e/specs/sample-test.spec.ts +11 -0
- package/e2e/support/github/Dockerfile +34 -0
- package/e2e/support/github/docker-compose.yml +24 -0
- package/e2e/support/github/run-e2e-docker-env.sh +49 -0
- package/example.env +6 -0
- package/i18next-parser.config.js +89 -0
- package/jest.config.js +34 -0
- package/package.json +124 -0
- package/playwright.config.ts +32 -0
- package/prettier.config.js +8 -0
- package/src/bill-history/bill-history.component.tsx +199 -0
- package/src/bill-history/bill-history.scss +151 -0
- package/src/bill-history/bill-history.test.tsx +122 -0
- package/src/billable-services/bill-waiver/bill-selection.component.tsx +76 -0
- package/src/billable-services/bill-waiver/bill-waiver-form.component.tsx +110 -0
- package/src/billable-services/bill-waiver/bill-waiver-form.scss +34 -0
- package/src/billable-services/bill-waiver/bill-waiver.component.tsx +32 -0
- package/src/billable-services/bill-waiver/bill-waiver.scss +10 -0
- package/src/billable-services/bill-waiver/patient-bills.component.tsx +137 -0
- package/src/billable-services/bill-waiver/utils.ts +41 -0
- package/src/billable-services/billable-service.resource.ts +72 -0
- package/src/billable-services/billable-services-home.component.tsx +51 -0
- package/src/billable-services/billable-services.component.tsx +255 -0
- package/src/billable-services/billable-services.scss +218 -0
- package/src/billable-services/billable-services.test.tsx +16 -0
- package/src/billable-services/create-edit/add-billable-service.component.tsx +322 -0
- package/src/billable-services/create-edit/add-billable-service.scss +131 -0
- package/src/billable-services/create-edit/add-billable-service.test.tsx +152 -0
- package/src/billable-services/dashboard/dashboard.component.tsx +15 -0
- package/src/billable-services/dashboard/dashboard.scss +27 -0
- package/src/billable-services/dashboard/dashboard.test.tsx +11 -0
- package/src/billable-services/dashboard/service-metrics.component.tsx +41 -0
- package/src/billable-services-admin-card-link.component.test.tsx +21 -0
- package/src/billable-services-admin-card-link.component.tsx +25 -0
- package/src/billing-dashboard/billing-dashboard.component.tsx +20 -0
- package/src/billing-dashboard/billing-dashboard.scss +27 -0
- package/src/billing-dashboard/billing-dashboard.test.tsx +13 -0
- package/src/billing-form/billing-checkin-form.component.tsx +127 -0
- package/src/billing-form/billing-checkin-form.scss +13 -0
- package/src/billing-form/billing-checkin-form.test.tsx +134 -0
- package/src/billing-form/billing-form.component.tsx +347 -0
- package/src/billing-form/billing-form.resource.ts +32 -0
- package/src/billing-form/billing-form.scss +88 -0
- package/src/billing-form/visit-attributes/visit-attributes-form.component.tsx +173 -0
- package/src/billing-form/visit-attributes/visit-attributes-form.scss +22 -0
- package/src/billing-header/billing-header.component.tsx +43 -0
- package/src/billing-header/billing-header.scss +83 -0
- package/src/billing-header/billing-illustration.component.tsx +30 -0
- package/src/billing.resource.ts +148 -0
- package/src/bills-table/bills-table.component.tsx +280 -0
- package/src/bills-table/bills-table.scss +181 -0
- package/src/bills-table/bills-table.test.tsx +154 -0
- package/src/config-schema.ts +50 -0
- package/src/constants.ts +3 -0
- package/src/dashboard.meta.ts +7 -0
- package/src/declarations.d.ts +4 -0
- package/src/helpers/functions.ts +66 -0
- package/src/helpers/index.ts +1 -0
- package/src/index.ts +72 -0
- package/src/invoice/invoice-table.component.tsx +189 -0
- package/src/invoice/invoice-table.scss +91 -0
- package/src/invoice/invoice.component.tsx +144 -0
- package/src/invoice/invoice.scss +93 -0
- package/src/invoice/invoice.test.tsx +242 -0
- package/src/invoice/payments/invoice-breakdown/invoice-breakdown.component.tsx +17 -0
- package/src/invoice/payments/invoice-breakdown/invoice-breakdown.scss +29 -0
- package/src/invoice/payments/payment-form/payment-form.component.tsx +105 -0
- package/src/invoice/payments/payment-form/payment-form.scss +54 -0
- package/src/invoice/payments/payment-history/payment-history.component.tsx +69 -0
- package/src/invoice/payments/payment.resource.ts +44 -0
- package/src/invoice/payments/payments.component.tsx +147 -0
- package/src/invoice/payments/payments.scss +46 -0
- package/src/invoice/payments/utils.ts +68 -0
- package/src/invoice/payments/visit-tags/visit-attribute.component.tsx +21 -0
- package/src/invoice/printable-invoice/print-receipt.component.tsx +29 -0
- package/src/invoice/printable-invoice/print-receipt.scss +14 -0
- package/src/invoice/printable-invoice/printable-footer.component.tsx +19 -0
- package/src/invoice/printable-invoice/printable-footer.scss +17 -0
- package/src/invoice/printable-invoice/printable-footer.test.tsx +30 -0
- package/src/invoice/printable-invoice/printable-invoice-header.component.tsx +63 -0
- package/src/invoice/printable-invoice/printable-invoice-header.scss +61 -0
- package/src/invoice/printable-invoice/printable-invoice-header.test.tsx +58 -0
- package/src/invoice/printable-invoice/printable-invoice.component.tsx +146 -0
- package/src/invoice/printable-invoice/printable-invoice.scss +50 -0
- package/src/left-panel-link.component.tsx +41 -0
- package/src/left-panel-link.test.tsx +38 -0
- package/src/metrics-cards/card.component.tsx +14 -0
- package/src/metrics-cards/card.scss +20 -0
- package/src/metrics-cards/metrics-cards.component.tsx +42 -0
- package/src/metrics-cards/metrics-cards.scss +12 -0
- package/src/metrics-cards/metrics-cards.test.tsx +44 -0
- package/src/metrics-cards/metrics.resource.ts +45 -0
- package/src/modal/require-payment-modal.component.tsx +85 -0
- package/src/modal/require-payment.scss +6 -0
- package/src/root.component.tsx +19 -0
- package/src/root.scss +30 -0
- package/src/routes.json +78 -0
- package/src/setup-tests.ts +13 -0
- package/src/types/index.ts +181 -0
- package/test-helpers.tsx +23 -0
- package/translations/am.json +117 -0
- package/translations/en.json +117 -0
- package/translations/es.json +117 -0
- package/translations/fr.json +117 -0
- package/translations/he.json +117 -0
- package/translations/km.json +117 -0
- package/tsconfig.json +16 -0
- package/webpack.config.js +1 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
|
+
|
|
3
|
+
declare global {
|
|
4
|
+
interface Window {
|
|
5
|
+
openmrsBase: string;
|
|
6
|
+
spaBase: string;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
window.openmrsBase = '/openmrs';
|
|
11
|
+
window.spaBase = '/spa';
|
|
12
|
+
window.getOpenmrsSpaBase = () => '/openmrs/spa/';
|
|
13
|
+
window.HTMLElement.prototype.scrollIntoView = jest.fn();
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
export interface MappedBill {
|
|
2
|
+
uuid: string;
|
|
3
|
+
id: number;
|
|
4
|
+
patientUuid: string;
|
|
5
|
+
patientName: string;
|
|
6
|
+
cashPointUuid: string;
|
|
7
|
+
cashPointName: string;
|
|
8
|
+
cashPointLocation: string;
|
|
9
|
+
cashier: Provider;
|
|
10
|
+
receiptNumber: string;
|
|
11
|
+
status: string;
|
|
12
|
+
identifier: string;
|
|
13
|
+
dateCreated: string;
|
|
14
|
+
lineItems: Array<LineItem>;
|
|
15
|
+
billingService: string;
|
|
16
|
+
payments: Array<Payment>;
|
|
17
|
+
totalAmount?: number;
|
|
18
|
+
tenderedAmount?: number;
|
|
19
|
+
display?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface LocationLink {
|
|
23
|
+
rel: string;
|
|
24
|
+
uri: string;
|
|
25
|
+
resourceAlias: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface Location {
|
|
29
|
+
uuid: string;
|
|
30
|
+
display: string;
|
|
31
|
+
links: LocationLink[];
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
interface CashPoint {
|
|
35
|
+
uuid: string;
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
retired: boolean;
|
|
39
|
+
location: Location;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
interface ProviderLink {
|
|
43
|
+
rel: string;
|
|
44
|
+
uri: string;
|
|
45
|
+
resourceAlias: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
interface Provider {
|
|
49
|
+
uuid: string;
|
|
50
|
+
display: string;
|
|
51
|
+
links: ProviderLink[];
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface LineItem {
|
|
55
|
+
uuid: string;
|
|
56
|
+
display: string;
|
|
57
|
+
voided: boolean;
|
|
58
|
+
voidReason: string | null;
|
|
59
|
+
item: string;
|
|
60
|
+
billableService: string;
|
|
61
|
+
quantity: number;
|
|
62
|
+
price: number;
|
|
63
|
+
priceName: string;
|
|
64
|
+
priceUuid: string;
|
|
65
|
+
lineItemOrder: number;
|
|
66
|
+
resourceVersion: string;
|
|
67
|
+
paymentStatus: string;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
interface PatientLink {
|
|
71
|
+
rel: string;
|
|
72
|
+
uri: string;
|
|
73
|
+
resourceAlias: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
interface Patient {
|
|
77
|
+
uuid: string;
|
|
78
|
+
display: string;
|
|
79
|
+
links: PatientLink[];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
interface AttributeType {
|
|
83
|
+
uuid: string;
|
|
84
|
+
name: string;
|
|
85
|
+
description: string;
|
|
86
|
+
retired: boolean;
|
|
87
|
+
attributeOrder: number;
|
|
88
|
+
format: string;
|
|
89
|
+
foreignKey: string | null;
|
|
90
|
+
regExp: string | null;
|
|
91
|
+
required: boolean;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
interface Attribute {
|
|
95
|
+
uuid: string;
|
|
96
|
+
display: string;
|
|
97
|
+
voided: boolean;
|
|
98
|
+
voidReason: string | null;
|
|
99
|
+
value: string;
|
|
100
|
+
attributeType: AttributeType;
|
|
101
|
+
order: number;
|
|
102
|
+
valueName: string;
|
|
103
|
+
resourceVersion: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
interface PaymentInstanceType {
|
|
107
|
+
uuid: string;
|
|
108
|
+
name: string;
|
|
109
|
+
description: string;
|
|
110
|
+
retired: boolean;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface Payment {
|
|
114
|
+
uuid: string;
|
|
115
|
+
instanceType: PaymentInstanceType;
|
|
116
|
+
attributes: Attribute[];
|
|
117
|
+
amount: number;
|
|
118
|
+
amountTendered: number;
|
|
119
|
+
dateCreated: number;
|
|
120
|
+
voided: boolean;
|
|
121
|
+
resourceVersion: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface PatientInvoice {
|
|
125
|
+
uuid: string;
|
|
126
|
+
display: string;
|
|
127
|
+
voided: boolean;
|
|
128
|
+
voidReason: string | null;
|
|
129
|
+
adjustedBy: any[];
|
|
130
|
+
billAdjusted: any;
|
|
131
|
+
cashPoint: CashPoint;
|
|
132
|
+
cashier: Provider;
|
|
133
|
+
dateCreated: string;
|
|
134
|
+
lineItems: LineItem[];
|
|
135
|
+
patient: Patient;
|
|
136
|
+
payments: Payment[];
|
|
137
|
+
receiptNumber: string;
|
|
138
|
+
status: string;
|
|
139
|
+
adjustmentReason: any;
|
|
140
|
+
id: number;
|
|
141
|
+
resourceVersion: string;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export interface PatientDetails {
|
|
145
|
+
name: string;
|
|
146
|
+
age: string;
|
|
147
|
+
gender: string;
|
|
148
|
+
city: string;
|
|
149
|
+
county: string;
|
|
150
|
+
subCounty: string;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export interface FacilityDetail {
|
|
154
|
+
uuid: string;
|
|
155
|
+
display: string;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export type ServiceConcept = {
|
|
159
|
+
concept: {
|
|
160
|
+
uuid: string;
|
|
161
|
+
display: string;
|
|
162
|
+
};
|
|
163
|
+
conceptName: {
|
|
164
|
+
uuid: string;
|
|
165
|
+
display: string;
|
|
166
|
+
};
|
|
167
|
+
display: string;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
export type BillabeItem = {
|
|
171
|
+
uuid: string;
|
|
172
|
+
id?: number;
|
|
173
|
+
name?: string;
|
|
174
|
+
commonName?: string;
|
|
175
|
+
servicePrices?: ServicePrice[];
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export type ServicePrice = {
|
|
179
|
+
price: string;
|
|
180
|
+
uuid: string;
|
|
181
|
+
};
|
package/test-helpers.tsx
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SWRConfig } from 'swr';
|
|
3
|
+
import { render, screen, waitForElementToBeRemoved } from '@testing-library/react';
|
|
4
|
+
|
|
5
|
+
const swrWrapper = ({ children }) => {
|
|
6
|
+
return (
|
|
7
|
+
<SWRConfig
|
|
8
|
+
value={{
|
|
9
|
+
dedupingInterval: 0,
|
|
10
|
+
provider: () => new Map(),
|
|
11
|
+
}}>
|
|
12
|
+
{children}
|
|
13
|
+
</SWRConfig>
|
|
14
|
+
);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export const renderWithSwr = (ui, options?) => render(ui, { wrapper: swrWrapper, ...options });
|
|
18
|
+
|
|
19
|
+
export function waitForLoadingToFinish() {
|
|
20
|
+
return waitForElementToBeRemoved(() => [...screen.queryAllByRole('progressbar')], {
|
|
21
|
+
timeout: 4000,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBill": "Add bill item(s)",
|
|
4
|
+
"addBillableServices": "Add Billable Services",
|
|
5
|
+
"addNewBillableService": "Add new billable service",
|
|
6
|
+
"addNewService": "Add new service",
|
|
7
|
+
"addPaymentOptions": "Add payment option",
|
|
8
|
+
"amount": "Amount",
|
|
9
|
+
"amountToWaiveAriaLabel": "Enter amount to waive",
|
|
10
|
+
"amountToWaiveHelper": "Specify the amount to be deducted from the bill",
|
|
11
|
+
"amountToWaiveLabel": "Amount to Waive",
|
|
12
|
+
"billableService": "Billable service",
|
|
13
|
+
"billableServices": "Billable Services",
|
|
14
|
+
"billedItems": "Billed Items",
|
|
15
|
+
"billedTo": "Billed to",
|
|
16
|
+
"billErrorService": "Bill service error",
|
|
17
|
+
"billing": "Billing",
|
|
18
|
+
"billingForm": "Billing form",
|
|
19
|
+
"billingHistory": "Billing History",
|
|
20
|
+
"billItem": "Bill item",
|
|
21
|
+
"billItems": "Bill Items",
|
|
22
|
+
"billList": "Bill list",
|
|
23
|
+
"billMetrics": "Bill metrics",
|
|
24
|
+
"billName": " {{billName}} ",
|
|
25
|
+
"billPayment": "Bill payment",
|
|
26
|
+
"billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
|
|
27
|
+
"billServicesManagement": "Bill services management",
|
|
28
|
+
"billsList": "Bill list",
|
|
29
|
+
"billTotal": "Bill total",
|
|
30
|
+
"billWaiver": "Bill waiver",
|
|
31
|
+
"billWaiverError": "Bill waiver failed {{error}}",
|
|
32
|
+
"billWaiverSuccess": "Bill waiver successful",
|
|
33
|
+
"cancel": "Cancel",
|
|
34
|
+
"checkFilters": "Check the filters above",
|
|
35
|
+
"clearSearchInput": "Clear search input",
|
|
36
|
+
"discard": "Discard",
|
|
37
|
+
"discount": "Discount",
|
|
38
|
+
"enterAmount": "Enter amount",
|
|
39
|
+
"enterConcept": "Associated concept",
|
|
40
|
+
"enterReferenceNumber": "Enter ref. number",
|
|
41
|
+
"errorLoadingBillServices": "Error loading bill services",
|
|
42
|
+
"errorLoadingPaymentModes": "Payment modes error",
|
|
43
|
+
"filterBy": "Filter by",
|
|
44
|
+
"filterTable": "Filter table",
|
|
45
|
+
"grandTotal": "Grand total",
|
|
46
|
+
"home": "Home",
|
|
47
|
+
"identifier": "Identifier",
|
|
48
|
+
"inlineLoading": "Loading bill items...",
|
|
49
|
+
"insuranceScheme": "Insurance scheme",
|
|
50
|
+
"invalidWaiverAmount": "Invalid waiver amount",
|
|
51
|
+
"invoice": "Invoice",
|
|
52
|
+
"invoiceError": "Invoice error",
|
|
53
|
+
"item": "Item",
|
|
54
|
+
"itemsToBeBilled": "Items to be billed",
|
|
55
|
+
"launchBillForm": "Launch bill form",
|
|
56
|
+
"lineItems": "Line items",
|
|
57
|
+
"loading": "Loading data...",
|
|
58
|
+
"loadingBillingServices": "Loading billing services...",
|
|
59
|
+
"loadingDescription": "Loading",
|
|
60
|
+
"manageBillableServices": "Manage billable services",
|
|
61
|
+
"name": "Name",
|
|
62
|
+
"nextPage": "Next page",
|
|
63
|
+
"noBilltoDisplay": "There are no bills to display for this patient",
|
|
64
|
+
"noMatchingBillsToDisplay": "No matching bills to display",
|
|
65
|
+
"noMatchingItemsToDisplay": "No matching items to display",
|
|
66
|
+
"noMatchingServicesToDisplay": "No matching services to display",
|
|
67
|
+
"noResultsFor": "No results for",
|
|
68
|
+
"noResultsFound": "No results found",
|
|
69
|
+
"noServicesToDisplay": "There are no services to display",
|
|
70
|
+
"ok": "OK",
|
|
71
|
+
"patientBillingAlert": "Patient Billing Alert",
|
|
72
|
+
"patientBills": "Patient bill",
|
|
73
|
+
"patientBillsDescription": "List of patient bills",
|
|
74
|
+
"patientCategory": "Patient category",
|
|
75
|
+
"paymentDetails": "Payment Details",
|
|
76
|
+
"paymentMethod": "Payment method",
|
|
77
|
+
"paymentMethods": "Payment methods",
|
|
78
|
+
"paymentMode": "Payment Mode",
|
|
79
|
+
"payments": "Payments",
|
|
80
|
+
"policyNumber": "Policy number",
|
|
81
|
+
"postWaiver": "Post waiver",
|
|
82
|
+
"previousPage": "Previous page",
|
|
83
|
+
"prices": "Prices",
|
|
84
|
+
"printBill": "Print bill",
|
|
85
|
+
"printReceipt": "Print receipt",
|
|
86
|
+
"processPayment": "Process Payment",
|
|
87
|
+
"quantity": "Quantity",
|
|
88
|
+
"quantityGreaterThanZero": "Quantity must be greater than zero",
|
|
89
|
+
"referenceNumber": "Reference number",
|
|
90
|
+
"save": "Save",
|
|
91
|
+
"saveAndClose": "Save and close",
|
|
92
|
+
"saving": "Saving",
|
|
93
|
+
"searchConcepts": "Search associated concept",
|
|
94
|
+
"searching": "Searching",
|
|
95
|
+
"searchItems": "Search items and services",
|
|
96
|
+
"searchThisTable": "Search this table",
|
|
97
|
+
"selectBillableService": "Select a billable service...",
|
|
98
|
+
"selectCategory": "Select category",
|
|
99
|
+
"selectPaymentMethod": "Select payment method",
|
|
100
|
+
"sellingAmount": "Enter selling price",
|
|
101
|
+
"sellingPrice": "Selling Price",
|
|
102
|
+
"service": "Service",
|
|
103
|
+
"serviceMetrics": "Service Metrics",
|
|
104
|
+
"serviceName": "Service Name",
|
|
105
|
+
"serviceShortName": "Short Name",
|
|
106
|
+
"servicesList": "Services list",
|
|
107
|
+
"serviceType": "Service Type",
|
|
108
|
+
"shortName": "Short Name",
|
|
109
|
+
"status": "Service Status",
|
|
110
|
+
"stockItem": "Stock Item",
|
|
111
|
+
"total": "Total",
|
|
112
|
+
"totalAmount": "Total Amount",
|
|
113
|
+
"totalTendered": "Total Tendered",
|
|
114
|
+
"unitPrice": "Unit price",
|
|
115
|
+
"visitTime": "Visit time",
|
|
116
|
+
"waiverForm": "Waiver form"
|
|
117
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBill": "Add bill item(s)",
|
|
4
|
+
"addBillableServices": "Add Billable Services",
|
|
5
|
+
"addNewBillableService": "Add new billable service",
|
|
6
|
+
"addNewService": "Add new service",
|
|
7
|
+
"addPaymentOptions": "Add payment option",
|
|
8
|
+
"amount": "Amount",
|
|
9
|
+
"amountToWaiveAriaLabel": "Enter amount to waive",
|
|
10
|
+
"amountToWaiveHelper": "Specify the amount to be deducted from the bill",
|
|
11
|
+
"amountToWaiveLabel": "Amount to Waive",
|
|
12
|
+
"billableService": "Billable service",
|
|
13
|
+
"billableServices": "Billable Services",
|
|
14
|
+
"billedItems": "Billed Items",
|
|
15
|
+
"billedTo": "Billed to",
|
|
16
|
+
"billErrorService": "Bill service error",
|
|
17
|
+
"billing": "Billing",
|
|
18
|
+
"billingForm": "Billing form",
|
|
19
|
+
"billingHistory": "Billing History",
|
|
20
|
+
"billItem": "Bill item",
|
|
21
|
+
"billItems": "Bill Items",
|
|
22
|
+
"billList": "Bill list",
|
|
23
|
+
"billMetrics": "Bill metrics",
|
|
24
|
+
"billName": " {{billName}} ",
|
|
25
|
+
"billPayment": "Bill payment",
|
|
26
|
+
"billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
|
|
27
|
+
"billServicesManagement": "Bill services management",
|
|
28
|
+
"billsList": "Bill list",
|
|
29
|
+
"billTotal": "Bill total",
|
|
30
|
+
"billWaiver": "Bill waiver",
|
|
31
|
+
"billWaiverError": "Bill waiver failed {{error}}",
|
|
32
|
+
"billWaiverSuccess": "Bill waiver successful",
|
|
33
|
+
"cancel": "Cancel",
|
|
34
|
+
"checkFilters": "Check the filters above",
|
|
35
|
+
"clearSearchInput": "Clear search input",
|
|
36
|
+
"discard": "Discard",
|
|
37
|
+
"discount": "Discount",
|
|
38
|
+
"enterAmount": "Enter amount",
|
|
39
|
+
"enterConcept": "Associated concept",
|
|
40
|
+
"enterReferenceNumber": "Enter ref. number",
|
|
41
|
+
"errorLoadingBillServices": "Error loading bill services",
|
|
42
|
+
"errorLoadingPaymentModes": "Payment modes error",
|
|
43
|
+
"filterBy": "Filter by",
|
|
44
|
+
"filterTable": "Filter table",
|
|
45
|
+
"grandTotal": "Grand total",
|
|
46
|
+
"home": "Home",
|
|
47
|
+
"identifier": "Identifier",
|
|
48
|
+
"inlineLoading": "Loading bill items...",
|
|
49
|
+
"insuranceScheme": "Insurance scheme",
|
|
50
|
+
"invalidWaiverAmount": "Invalid waiver amount",
|
|
51
|
+
"invoice": "Invoice",
|
|
52
|
+
"invoiceError": "Invoice error",
|
|
53
|
+
"item": "Item",
|
|
54
|
+
"itemsToBeBilled": "Items to be billed",
|
|
55
|
+
"launchBillForm": "Launch bill form",
|
|
56
|
+
"lineItems": "Line items",
|
|
57
|
+
"loading": "Loading data...",
|
|
58
|
+
"loadingBillingServices": "Loading billing services...",
|
|
59
|
+
"loadingDescription": "Loading",
|
|
60
|
+
"manageBillableServices": "Manage billable services",
|
|
61
|
+
"name": "Name",
|
|
62
|
+
"nextPage": "Next page",
|
|
63
|
+
"noBilltoDisplay": "There are no bills to display for this patient",
|
|
64
|
+
"noMatchingBillsToDisplay": "No matching bills to display",
|
|
65
|
+
"noMatchingItemsToDisplay": "No matching items to display",
|
|
66
|
+
"noMatchingServicesToDisplay": "No matching services to display",
|
|
67
|
+
"noResultsFor": "No results for",
|
|
68
|
+
"noResultsFound": "No results found",
|
|
69
|
+
"noServicesToDisplay": "There are no services to display",
|
|
70
|
+
"ok": "OK",
|
|
71
|
+
"patientBillingAlert": "Patient Billing Alert",
|
|
72
|
+
"patientBills": "Patient bill",
|
|
73
|
+
"patientBillsDescription": "List of patient bills",
|
|
74
|
+
"patientCategory": "Patient category",
|
|
75
|
+
"paymentDetails": "Payment Details",
|
|
76
|
+
"paymentMethod": "Payment method",
|
|
77
|
+
"paymentMethods": "Payment methods",
|
|
78
|
+
"paymentMode": "Payment Mode",
|
|
79
|
+
"payments": "Payments",
|
|
80
|
+
"policyNumber": "Policy number",
|
|
81
|
+
"postWaiver": "Post waiver",
|
|
82
|
+
"previousPage": "Previous page",
|
|
83
|
+
"prices": "Prices",
|
|
84
|
+
"printBill": "Print bill",
|
|
85
|
+
"printReceipt": "Print receipt",
|
|
86
|
+
"processPayment": "Process Payment",
|
|
87
|
+
"quantity": "Quantity",
|
|
88
|
+
"quantityGreaterThanZero": "Quantity must be greater than zero",
|
|
89
|
+
"referenceNumber": "Reference number",
|
|
90
|
+
"save": "Save",
|
|
91
|
+
"saveAndClose": "Save and close",
|
|
92
|
+
"saving": "Saving",
|
|
93
|
+
"searchConcepts": "Search associated concept",
|
|
94
|
+
"searching": "Searching",
|
|
95
|
+
"searchItems": "Search items and services",
|
|
96
|
+
"searchThisTable": "Search this table",
|
|
97
|
+
"selectBillableService": "Select a billable service...",
|
|
98
|
+
"selectCategory": "Select category",
|
|
99
|
+
"selectPaymentMethod": "Select payment method",
|
|
100
|
+
"sellingAmount": "Enter selling price",
|
|
101
|
+
"sellingPrice": "Selling Price",
|
|
102
|
+
"service": "Service",
|
|
103
|
+
"serviceMetrics": "Service Metrics",
|
|
104
|
+
"serviceName": "Service Name",
|
|
105
|
+
"serviceShortName": "Short Name",
|
|
106
|
+
"servicesList": "Services list",
|
|
107
|
+
"serviceType": "Service Type",
|
|
108
|
+
"shortName": "Short Name",
|
|
109
|
+
"status": "Service Status",
|
|
110
|
+
"stockItem": "Stock Item",
|
|
111
|
+
"total": "Total",
|
|
112
|
+
"totalAmount": "Total Amount",
|
|
113
|
+
"totalTendered": "Total Tendered",
|
|
114
|
+
"unitPrice": "Unit price",
|
|
115
|
+
"visitTime": "Visit time",
|
|
116
|
+
"waiverForm": "Waiver form"
|
|
117
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBill": "Add bill item(s)",
|
|
4
|
+
"addBillableServices": "Add Billable Services",
|
|
5
|
+
"addNewBillableService": "Add new billable service",
|
|
6
|
+
"addNewService": "Add new service",
|
|
7
|
+
"addPaymentOptions": "Add payment option",
|
|
8
|
+
"amount": "Amount",
|
|
9
|
+
"amountToWaiveAriaLabel": "Enter amount to waive",
|
|
10
|
+
"amountToWaiveHelper": "Specify the amount to be deducted from the bill",
|
|
11
|
+
"amountToWaiveLabel": "Amount to Waive",
|
|
12
|
+
"billableService": "Billable service",
|
|
13
|
+
"billableServices": "Billable Services",
|
|
14
|
+
"billedItems": "Billed Items",
|
|
15
|
+
"billedTo": "Billed to",
|
|
16
|
+
"billErrorService": "Bill service error",
|
|
17
|
+
"billing": "Billing",
|
|
18
|
+
"billingForm": "Billing form",
|
|
19
|
+
"billingHistory": "Billing History",
|
|
20
|
+
"billItem": "Bill item",
|
|
21
|
+
"billItems": "Bill Items",
|
|
22
|
+
"billList": "Bill list",
|
|
23
|
+
"billMetrics": "Bill metrics",
|
|
24
|
+
"billName": " {{billName}} ",
|
|
25
|
+
"billPayment": "Bill payment",
|
|
26
|
+
"billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
|
|
27
|
+
"billServicesManagement": "Bill services management",
|
|
28
|
+
"billsList": "Bill list",
|
|
29
|
+
"billTotal": "Bill total",
|
|
30
|
+
"billWaiver": "Bill waiver",
|
|
31
|
+
"billWaiverError": "Bill waiver failed {{error}}",
|
|
32
|
+
"billWaiverSuccess": "Bill waiver successful",
|
|
33
|
+
"cancel": "Cancel",
|
|
34
|
+
"checkFilters": "Check the filters above",
|
|
35
|
+
"clearSearchInput": "Clear search input",
|
|
36
|
+
"discard": "Discard",
|
|
37
|
+
"discount": "Discount",
|
|
38
|
+
"enterAmount": "Enter amount",
|
|
39
|
+
"enterConcept": "Associated concept",
|
|
40
|
+
"enterReferenceNumber": "Enter ref. number",
|
|
41
|
+
"errorLoadingBillServices": "Error loading bill services",
|
|
42
|
+
"errorLoadingPaymentModes": "Payment modes error",
|
|
43
|
+
"filterBy": "Filter by",
|
|
44
|
+
"filterTable": "Filter table",
|
|
45
|
+
"grandTotal": "Grand total",
|
|
46
|
+
"home": "Home",
|
|
47
|
+
"identifier": "Identifier",
|
|
48
|
+
"inlineLoading": "Loading bill items...",
|
|
49
|
+
"insuranceScheme": "Insurance scheme",
|
|
50
|
+
"invalidWaiverAmount": "Invalid waiver amount",
|
|
51
|
+
"invoice": "Invoice",
|
|
52
|
+
"invoiceError": "Invoice error",
|
|
53
|
+
"item": "Item",
|
|
54
|
+
"itemsToBeBilled": "Items to be billed",
|
|
55
|
+
"launchBillForm": "Launch bill form",
|
|
56
|
+
"lineItems": "Line items",
|
|
57
|
+
"loading": "Loading data...",
|
|
58
|
+
"loadingBillingServices": "Loading billing services...",
|
|
59
|
+
"loadingDescription": "Loading",
|
|
60
|
+
"manageBillableServices": "Manage billable services",
|
|
61
|
+
"name": "Name",
|
|
62
|
+
"nextPage": "Next page",
|
|
63
|
+
"noBilltoDisplay": "There are no bills to display for this patient",
|
|
64
|
+
"noMatchingBillsToDisplay": "No matching bills to display",
|
|
65
|
+
"noMatchingItemsToDisplay": "No matching items to display",
|
|
66
|
+
"noMatchingServicesToDisplay": "No matching services to display",
|
|
67
|
+
"noResultsFor": "No results for",
|
|
68
|
+
"noResultsFound": "No results found",
|
|
69
|
+
"noServicesToDisplay": "There are no services to display",
|
|
70
|
+
"ok": "OK",
|
|
71
|
+
"patientBillingAlert": "Patient Billing Alert",
|
|
72
|
+
"patientBills": "Patient bill",
|
|
73
|
+
"patientBillsDescription": "List of patient bills",
|
|
74
|
+
"patientCategory": "Patient category",
|
|
75
|
+
"paymentDetails": "Payment Details",
|
|
76
|
+
"paymentMethod": "Payment method",
|
|
77
|
+
"paymentMethods": "Payment methods",
|
|
78
|
+
"paymentMode": "Payment Mode",
|
|
79
|
+
"payments": "Payments",
|
|
80
|
+
"policyNumber": "Policy number",
|
|
81
|
+
"postWaiver": "Post waiver",
|
|
82
|
+
"previousPage": "Previous page",
|
|
83
|
+
"prices": "Prices",
|
|
84
|
+
"printBill": "Print bill",
|
|
85
|
+
"printReceipt": "Print receipt",
|
|
86
|
+
"processPayment": "Process Payment",
|
|
87
|
+
"quantity": "Quantity",
|
|
88
|
+
"quantityGreaterThanZero": "Quantity must be greater than zero",
|
|
89
|
+
"referenceNumber": "Reference number",
|
|
90
|
+
"save": "Save",
|
|
91
|
+
"saveAndClose": "Save and close",
|
|
92
|
+
"saving": "Saving",
|
|
93
|
+
"searchConcepts": "Search associated concept",
|
|
94
|
+
"searching": "Searching",
|
|
95
|
+
"searchItems": "Search items and services",
|
|
96
|
+
"searchThisTable": "Search this table",
|
|
97
|
+
"selectBillableService": "Select a billable service...",
|
|
98
|
+
"selectCategory": "Select category",
|
|
99
|
+
"selectPaymentMethod": "Select payment method",
|
|
100
|
+
"sellingAmount": "Enter selling price",
|
|
101
|
+
"sellingPrice": "Selling Price",
|
|
102
|
+
"service": "Service",
|
|
103
|
+
"serviceMetrics": "Service Metrics",
|
|
104
|
+
"serviceName": "Service Name",
|
|
105
|
+
"serviceShortName": "Short Name",
|
|
106
|
+
"servicesList": "Services list",
|
|
107
|
+
"serviceType": "Service Type",
|
|
108
|
+
"shortName": "Short Name",
|
|
109
|
+
"status": "Service Status",
|
|
110
|
+
"stockItem": "Stock Item",
|
|
111
|
+
"total": "Total",
|
|
112
|
+
"totalAmount": "Total Amount",
|
|
113
|
+
"totalTendered": "Total Tendered",
|
|
114
|
+
"unitPrice": "Unit price",
|
|
115
|
+
"visitTime": "Visit time",
|
|
116
|
+
"waiverForm": "Waiver form"
|
|
117
|
+
}
|