@mindbill/angular 0.11.2 → 0.13.0
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/README.md +22 -0
- package/fesm2022/mindbill-angular.mjs +1853 -1508
- package/fesm2022/mindbill-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/types/mindbill-angular.d.ts +213 -169
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindbill/angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Native Angular components for bill submission, lifecycle, dashboards, aging, lists, and reporting",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"rxjs": ">=7.8 <9"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@mindbill/browser": "^0.
|
|
13
|
+
"@mindbill/browser": "^0.18.0",
|
|
14
14
|
"tslib": "^2.8.1"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _mindbill_browser from '@mindbill/browser';
|
|
2
|
-
import { BillLifecycleData, BillLifecycleClientOptions, CloseBillInput, PostBillPaymentInput, SubmitSecondReviewInput, BillRejection, BillRejectionIssue,
|
|
3
|
-
export { BillLifecycleAction, BillLifecycleActionId, BillLifecycleClient, BillLifecycleClientOptions, BillLifecycleData, BillLifecycleSession, BillLifecycleSessionProvider, BillRejection, BillRejectionIssue, BillReviewData, BillSubmissionRoute, BrowserBillCreateInput, BrowserBillSubmissionInput, BrowserBillSubmissionResult, CloseBillInput, PostBillPaymentInput, SubmitSecondReviewInput } from '@mindbill/browser';
|
|
2
|
+
import { BillLifecycleData, BillLifecycleClientOptions, CloseBillInput, PostBillPaymentInput, ResubmitBillInput, SubmitSecondReviewInput, BillRejection, BillRejectionIssue, BrowserBillSubmissionDocument, BrowserBillCreateInput, BillLifecycleSessionProvider, BrowserBillSubmissionInput, BrowserBillSubmissionResult, BillReviewPayer, BillDiagnosisCode, BillTasksDashboardTone, BillTasksDashboardSection, BillTasksDashboardRow, BillTasksAgingBucket, BillTasksDashboardData, OrganizationProfileData, OrganizationBillingProviderInput, OrganizationLocationInput } from '@mindbill/browser';
|
|
3
|
+
export { BillLifecycleAction, BillLifecycleActionId, BillLifecycleClient, BillLifecycleClientOptions, BillLifecycleData, BillLifecycleSession, BillLifecycleSessionProvider, BillRejection, BillRejectionIssue, BillReviewData, BillSubmissionRoute, BillTasksAgingBucket, BillTasksDashboardData, BillTasksDashboardItem, BillTasksDashboardRow, BillTasksDashboardSection, BillTasksDashboardSectionInput, BillTasksDashboardTone, BrowserBillCreateInput, BrowserBillSubmissionInput, BrowserBillSubmissionResult, CloseBillInput, PostBillPaymentInput, ReportBillStatusActionInput, SubmitSecondReviewInput } from '@mindbill/browser';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import {
|
|
5
|
+
import { EventEmitter, OnChanges, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
|
|
6
6
|
import * as _mindbill_angular from '@mindbill/angular';
|
|
7
7
|
|
|
8
8
|
declare class MindBillLifecycleStore {
|
|
@@ -22,6 +22,7 @@ declare class MindBillLifecycleStore {
|
|
|
22
22
|
getEor(id: string): Promise<Blob>;
|
|
23
23
|
closeBill(input: CloseBillInput): Promise<BillLifecycleData>;
|
|
24
24
|
postPayment(input: PostBillPaymentInput): Promise<BillLifecycleData>;
|
|
25
|
+
resubmitBill(input: ResubmitBillInput): Promise<BillLifecycleData>;
|
|
25
26
|
submitSecondReview(input: SubmitSecondReviewInput): Promise<BillLifecycleData>;
|
|
26
27
|
private requireClient;
|
|
27
28
|
private mutate;
|
|
@@ -47,6 +48,179 @@ declare function mindBillAngularAppearanceStyle(appearance?: MindBillAngularAppe
|
|
|
47
48
|
declare function billRejectionIssues(rejection: BillRejection): BillRejectionIssue[];
|
|
48
49
|
declare function billRejectionIssueSummary(rejection: BillRejection, count: number): string;
|
|
49
50
|
|
|
51
|
+
type MindBillComboOption = {
|
|
52
|
+
id: string;
|
|
53
|
+
label: string;
|
|
54
|
+
detail?: string;
|
|
55
|
+
};
|
|
56
|
+
/** Styled searchable dropdown shared by the submission form's procedure,
|
|
57
|
+
* modifier, taxonomy, payer, and diagnosis pickers. Mirrors the React
|
|
58
|
+
* package's ComboBox: query filtering, optional custom-code creation,
|
|
59
|
+
* loading states, and infinite scroll via (endReached). */
|
|
60
|
+
declare class MindBillComboBoxComponent {
|
|
61
|
+
value: string;
|
|
62
|
+
placeholder: string;
|
|
63
|
+
options: MindBillComboOption[];
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
loading: boolean;
|
|
66
|
+
loadingMore: boolean;
|
|
67
|
+
invalid: boolean;
|
|
68
|
+
preserveValueOnOpen: boolean;
|
|
69
|
+
ariaLabel: string;
|
|
70
|
+
createOption?: (query: string) => MindBillComboOption | null;
|
|
71
|
+
opened: EventEmitter<void>;
|
|
72
|
+
queryChange: EventEmitter<string>;
|
|
73
|
+
endReached: EventEmitter<void>;
|
|
74
|
+
selected: EventEmitter<MindBillComboOption>;
|
|
75
|
+
open: boolean;
|
|
76
|
+
query: string;
|
|
77
|
+
private closeTimer?;
|
|
78
|
+
get visible(): MindBillComboOption[];
|
|
79
|
+
get showMenu(): boolean;
|
|
80
|
+
onFocus(): void;
|
|
81
|
+
onInput(event: Event): void;
|
|
82
|
+
onBlur(): void;
|
|
83
|
+
onScroll(event: Event): void;
|
|
84
|
+
choose(option: MindBillComboOption): void;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillComboBoxComponent, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillComboBoxComponent, "mindbill-combo-box", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingMore": { "alias": "loadingMore"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "preserveValueOnOpen": { "alias": "preserveValueOnOpen"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "createOption": { "alias": "createOption"; "required": false; }; }, { "opened": "opened"; "queryChange": "queryChange"; "endReached": "endReached"; "selected": "selected"; }, never, never, true, never>;
|
|
87
|
+
}
|
|
88
|
+
/** MM/DD/YYYY masked date input. Emits only parseable ISO dates (or "" when
|
|
89
|
+
* cleared) and reformats the display once a complete date round-trips, exactly
|
|
90
|
+
* like the React package's TextDateInput. */
|
|
91
|
+
declare class MindBillDateInputComponent implements OnChanges {
|
|
92
|
+
value: string | null | undefined;
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
ariaLabel: string;
|
|
95
|
+
valueChange: EventEmitter<string>;
|
|
96
|
+
display: string;
|
|
97
|
+
invalid: boolean;
|
|
98
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
99
|
+
onInput(event: Event): void;
|
|
100
|
+
onBlur(): void;
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillDateInputComponent, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillDateInputComponent, "mindbill-date-input", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** Date helpers shared by the Angular submission surfaces. Mirrors the React
|
|
106
|
+
* package's parseBillSubmissionDate/formatBillSubmissionDate exactly so both
|
|
107
|
+
* frameworks accept and render the same values. */
|
|
108
|
+
declare function parseMindBillSubmissionDate(value: string): string | undefined;
|
|
109
|
+
declare function formatMindBillSubmissionDate(value: string | null | undefined): string;
|
|
110
|
+
type MindBillProcedureComboOption = {
|
|
111
|
+
id: string;
|
|
112
|
+
label: string;
|
|
113
|
+
detail?: string;
|
|
114
|
+
};
|
|
115
|
+
/** Accepts complete CPT (5 digits), HCPCS (letter + 4 digits), or California
|
|
116
|
+
* medical-legal codes typed directly into the procedure picker. */
|
|
117
|
+
declare function mindBillCustomProcedureOption(query: string): MindBillProcedureComboOption | null;
|
|
118
|
+
|
|
119
|
+
type MindBillSubmissionAttachment = Omit<BrowserBillSubmissionDocument, "contentBase64"> & {
|
|
120
|
+
contentBase64?: string;
|
|
121
|
+
contentUrl?: string;
|
|
122
|
+
loadBlob?: () => Promise<Blob>;
|
|
123
|
+
locked?: boolean;
|
|
124
|
+
badge?: string;
|
|
125
|
+
};
|
|
126
|
+
type MindBillSubmissionProcedureOption = {
|
|
127
|
+
code: string;
|
|
128
|
+
description: string;
|
|
129
|
+
allowedAmount?: number;
|
|
130
|
+
};
|
|
131
|
+
type MindBillSubmissionModifierOption = {
|
|
132
|
+
code: string;
|
|
133
|
+
description: string;
|
|
134
|
+
};
|
|
135
|
+
type MindBillSubmissionTaxonomyOption = {
|
|
136
|
+
code: string;
|
|
137
|
+
description: string;
|
|
138
|
+
};
|
|
139
|
+
declare class MindBillBillSubmissionComponent implements OnChanges {
|
|
140
|
+
initialBill: BrowserBillCreateInput;
|
|
141
|
+
attachments: MindBillSubmissionAttachment[];
|
|
142
|
+
appearance: MindBillAngularAppearance;
|
|
143
|
+
sessionEndpoint: string;
|
|
144
|
+
getSession?: BillLifecycleSessionProvider;
|
|
145
|
+
apiBaseUrl?: string;
|
|
146
|
+
heading: string;
|
|
147
|
+
description: string;
|
|
148
|
+
submitLabel: string;
|
|
149
|
+
attentionFields: string[];
|
|
150
|
+
procedureOptions: MindBillSubmissionProcedureOption[];
|
|
151
|
+
modifierOptions: MindBillSubmissionModifierOption[];
|
|
152
|
+
taxonomyOptions: MindBillSubmissionTaxonomyOption[];
|
|
153
|
+
submitter?: (input: BrowserBillSubmissionInput) => Promise<BrowserBillSubmissionResult>;
|
|
154
|
+
submitted: EventEmitter<BrowserBillSubmissionResult>;
|
|
155
|
+
submissionError: EventEmitter<Error>;
|
|
156
|
+
billChange: EventEmitter<BrowserBillCreateInput>;
|
|
157
|
+
bill: BrowserBillCreateInput;
|
|
158
|
+
workingAttachments: MindBillSubmissionAttachment[];
|
|
159
|
+
payerQuery: string;
|
|
160
|
+
payerResults: BillReviewPayer[];
|
|
161
|
+
payerBusy: boolean;
|
|
162
|
+
diagnosisQuery: string;
|
|
163
|
+
diagnosisResults: BillDiagnosisCode[];
|
|
164
|
+
diagnosisOffset: number;
|
|
165
|
+
diagnosisBusy: boolean;
|
|
166
|
+
submitting: boolean;
|
|
167
|
+
errorMessage: string;
|
|
168
|
+
postalStatus: string;
|
|
169
|
+
dragActive: boolean;
|
|
170
|
+
invalidFields: Set<string>;
|
|
171
|
+
attentionFieldSet: Set<string>;
|
|
172
|
+
readonly quickDiagnoses: (BillDiagnosisCode & {
|
|
173
|
+
label: string;
|
|
174
|
+
})[];
|
|
175
|
+
private readonly changeDetector;
|
|
176
|
+
readonly customProcedureOption: typeof mindBillCustomProcedureOption;
|
|
177
|
+
readonly customTaxonomyOption: (query: string) => MindBillComboOption | null;
|
|
178
|
+
private searchTimer?;
|
|
179
|
+
private postalTimer?;
|
|
180
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
181
|
+
get themeStyle(): Record<string, string>;
|
|
182
|
+
get procedureComboOptions(): MindBillComboOption[];
|
|
183
|
+
get taxonomyComboOptions(): MindBillComboOption[];
|
|
184
|
+
modifierComboOptions(line: BrowserBillCreateInput["serviceLines"][number]): MindBillComboOption[];
|
|
185
|
+
private referenceClient;
|
|
186
|
+
setDate(path: "patient.dateOfBirth" | "service.date" | "claim.dateOfInjury", value: string): void;
|
|
187
|
+
postalChanged(value: string): void;
|
|
188
|
+
searchPayers(): void;
|
|
189
|
+
selectPayer(payer: BillReviewPayer): void;
|
|
190
|
+
searchDiagnoses(reset: boolean): void;
|
|
191
|
+
diagnosisScrolled(event: Event): void;
|
|
192
|
+
hasDiagnosis(code: string): boolean;
|
|
193
|
+
toggleDiagnosis(item: BillDiagnosisCode): void;
|
|
194
|
+
addDiagnosis(item: BillDiagnosisCode): void;
|
|
195
|
+
removeDiagnosis(code: string): void;
|
|
196
|
+
ensureTrailingLine(): void;
|
|
197
|
+
removeLine(index: number): void;
|
|
198
|
+
selectProcedure(index: number, option: MindBillComboOption): void;
|
|
199
|
+
addModifier(index: number, option: MindBillComboOption): void;
|
|
200
|
+
removeModifier(index: number, modifier: string): void;
|
|
201
|
+
dxLetter(pointer: number): string;
|
|
202
|
+
hasDiagnosisPointer(line: BrowserBillCreateInput["serviceLines"][number], pointer: number): boolean;
|
|
203
|
+
toggleDiagnosisPointer(index: number, pointer: number): void;
|
|
204
|
+
setAuthorizationNumber(value: string): void;
|
|
205
|
+
selectTaxonomy(option: MindBillComboOption): void;
|
|
206
|
+
procedureDescription(code: string): string;
|
|
207
|
+
allowed(line: BrowserBillCreateInput["serviceLines"][number]): number | null;
|
|
208
|
+
get totalAllowed(): number;
|
|
209
|
+
onWindowDragOver(event: DragEvent): void;
|
|
210
|
+
onWindowDragLeave(event: DragEvent): void;
|
|
211
|
+
onWindowDrop(event: DragEvent): void;
|
|
212
|
+
private addFiles;
|
|
213
|
+
filesSelected(event: Event): Promise<void>;
|
|
214
|
+
removeAttachment(index: number): void;
|
|
215
|
+
previewAttachment(attachment: MindBillSubmissionAttachment): Promise<void>;
|
|
216
|
+
bad(path: string): boolean;
|
|
217
|
+
private validate;
|
|
218
|
+
private submissionDocuments;
|
|
219
|
+
submit(event: Event): Promise<void>;
|
|
220
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillBillSubmissionComponent, never>;
|
|
221
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillBillSubmissionComponent, "mindbill-bill-submission", never, { "initialBill": { "alias": "initialBill"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "sessionEndpoint": { "alias": "sessionEndpoint"; "required": false; }; "getSession": { "alias": "getSession"; "required": false; }; "apiBaseUrl": { "alias": "apiBaseUrl"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "description": { "alias": "description"; "required": false; }; "submitLabel": { "alias": "submitLabel"; "required": false; }; "attentionFields": { "alias": "attentionFields"; "required": false; }; "procedureOptions": { "alias": "procedureOptions"; "required": false; }; "modifierOptions": { "alias": "modifierOptions"; "required": false; }; "taxonomyOptions": { "alias": "taxonomyOptions"; "required": false; }; "submitter": { "alias": "submitter"; "required": false; }; }, { "submitted": "submitted"; "submissionError": "submissionError"; "billChange": "billChange"; }, never, never, true, never>;
|
|
222
|
+
}
|
|
223
|
+
|
|
50
224
|
declare class MindBillBillLifecycleComponent implements OnChanges, OnDestroy {
|
|
51
225
|
billId: string;
|
|
52
226
|
sessionEndpoint: string;
|
|
@@ -73,6 +247,10 @@ declare class MindBillBillLifecycleComponent implements OnChanges, OnDestroy {
|
|
|
73
247
|
payerClaimControlNumber: string;
|
|
74
248
|
disputedAmount: number;
|
|
75
249
|
};
|
|
250
|
+
correctionInitialBill: BrowserBillCreateInput | null;
|
|
251
|
+
correctionAttachments: MindBillSubmissionAttachment[];
|
|
252
|
+
correctionAttentionFields: string[];
|
|
253
|
+
correctionReason: string;
|
|
76
254
|
constructor();
|
|
77
255
|
ngOnChanges(changes: SimpleChanges): void;
|
|
78
256
|
ngOnDestroy(): void;
|
|
@@ -92,6 +270,10 @@ declare class MindBillBillLifecycleComponent implements OnChanges, OnDestroy {
|
|
|
92
270
|
postPayment(): Promise<void>;
|
|
93
271
|
submitReview(): Promise<void>;
|
|
94
272
|
closeBill(): Promise<void>;
|
|
273
|
+
readonly resubmitFromForm: (input: BrowserBillSubmissionInput) => Promise<BrowserBillSubmissionResult>;
|
|
274
|
+
finishCorrection(): void;
|
|
275
|
+
closeCorrectionBackdrop(event: MouseEvent): void;
|
|
276
|
+
private prepareCorrection;
|
|
95
277
|
private openBlob;
|
|
96
278
|
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillBillLifecycleComponent, never>;
|
|
97
279
|
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillBillLifecycleComponent, "mindbill-bill-lifecycle", never, { "billId": { "alias": "billId"; "required": false; }; "sessionEndpoint": { "alias": "sessionEndpoint"; "required": false; }; "apiBaseUrl": { "alias": "apiBaseUrl"; "required": false; }; "getSession": { "alias": "getSession"; "required": false; }; "refreshInterval": { "alias": "refreshInterval"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, { "billingError": "billingError"; }, never, never, true, never>;
|
|
@@ -267,174 +449,36 @@ declare class MindBillStatusAgingMatrixComponent {
|
|
|
267
449
|
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillStatusAgingMatrixComponent, "mindbill-status-aging-matrix", never, { "bills": { "alias": "bills"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "description": { "alias": "description"; "required": false; }; "stateOrder": { "alias": "stateOrder"; "required": false; }; "showBalances": { "alias": "showBalances"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, { "cellSelected": "cellSelected"; }, never, never, true, never>;
|
|
268
450
|
}
|
|
269
451
|
|
|
270
|
-
type
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
* package's ComboBox: query filtering, optional custom-code creation,
|
|
278
|
-
* loading states, and infinite scroll via (endReached). */
|
|
279
|
-
declare class MindBillComboBoxComponent {
|
|
280
|
-
value: string;
|
|
281
|
-
placeholder: string;
|
|
282
|
-
options: MindBillComboOption[];
|
|
283
|
-
disabled: boolean;
|
|
284
|
-
loading: boolean;
|
|
285
|
-
loadingMore: boolean;
|
|
286
|
-
invalid: boolean;
|
|
287
|
-
preserveValueOnOpen: boolean;
|
|
288
|
-
ariaLabel: string;
|
|
289
|
-
createOption?: (query: string) => MindBillComboOption | null;
|
|
290
|
-
opened: EventEmitter<void>;
|
|
291
|
-
queryChange: EventEmitter<string>;
|
|
292
|
-
endReached: EventEmitter<void>;
|
|
293
|
-
selected: EventEmitter<MindBillComboOption>;
|
|
294
|
-
open: boolean;
|
|
295
|
-
query: string;
|
|
296
|
-
private closeTimer?;
|
|
297
|
-
get visible(): MindBillComboOption[];
|
|
298
|
-
get showMenu(): boolean;
|
|
299
|
-
onFocus(): void;
|
|
300
|
-
onInput(event: Event): void;
|
|
301
|
-
onBlur(): void;
|
|
302
|
-
onScroll(event: Event): void;
|
|
303
|
-
choose(option: MindBillComboOption): void;
|
|
304
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillComboBoxComponent, never>;
|
|
305
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillComboBoxComponent, "mindbill-combo-box", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingMore": { "alias": "loadingMore"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "preserveValueOnOpen": { "alias": "preserveValueOnOpen"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "createOption": { "alias": "createOption"; "required": false; }; }, { "opened": "opened"; "queryChange": "queryChange"; "endReached": "endReached"; "selected": "selected"; }, never, never, true, never>;
|
|
306
|
-
}
|
|
307
|
-
/** MM/DD/YYYY masked date input. Emits only parseable ISO dates (or "" when
|
|
308
|
-
* cleared) and reformats the display once a complete date round-trips, exactly
|
|
309
|
-
* like the React package's TextDateInput. */
|
|
310
|
-
declare class MindBillDateInputComponent implements OnChanges {
|
|
311
|
-
value: string | null | undefined;
|
|
312
|
-
disabled: boolean;
|
|
313
|
-
ariaLabel: string;
|
|
314
|
-
valueChange: EventEmitter<string>;
|
|
315
|
-
display: string;
|
|
316
|
-
invalid: boolean;
|
|
317
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
318
|
-
onInput(event: Event): void;
|
|
319
|
-
onBlur(): void;
|
|
320
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillDateInputComponent, never>;
|
|
321
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillDateInputComponent, "mindbill-date-input", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/** Date helpers shared by the Angular submission surfaces. Mirrors the React
|
|
325
|
-
* package's parseBillSubmissionDate/formatBillSubmissionDate exactly so both
|
|
326
|
-
* frameworks accept and render the same values. */
|
|
327
|
-
declare function parseMindBillSubmissionDate(value: string): string | undefined;
|
|
328
|
-
declare function formatMindBillSubmissionDate(value: string | null | undefined): string;
|
|
329
|
-
type MindBillProcedureComboOption = {
|
|
330
|
-
id: string;
|
|
331
|
-
label: string;
|
|
332
|
-
detail?: string;
|
|
452
|
+
type MindBillBillTasksCell = {
|
|
453
|
+
sectionId: string;
|
|
454
|
+
rowId: string;
|
|
455
|
+
/** Null for a row's "Task Total" cell (all buckets). */
|
|
456
|
+
bucketId: string | null;
|
|
457
|
+
refs: string[];
|
|
458
|
+
count: number;
|
|
333
459
|
};
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
declare function
|
|
460
|
+
declare const MINDBILL_BILL_TASKS_TONES: Record<BillTasksDashboardTone, string>;
|
|
461
|
+
declare const MINDBILL_BILL_TASKS_PILL_BASES: string[];
|
|
462
|
+
declare function mindBillBillTasksTone(tone: BillTasksDashboardTone): string;
|
|
463
|
+
declare function mindBillBillTasksPillBase(index: number): string;
|
|
464
|
+
/** Click-through payload for a bucket cell (bucketIndex) or a row total (null). */
|
|
465
|
+
declare function mindBillBillTasksCell(section: BillTasksDashboardSection, row: BillTasksDashboardRow, bucketIndex: number | null, buckets: BillTasksAgingBucket[]): MindBillBillTasksCell;
|
|
337
466
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
locked?: boolean;
|
|
342
|
-
badge?: string;
|
|
343
|
-
};
|
|
344
|
-
type MindBillSubmissionProcedureOption = {
|
|
345
|
-
code: string;
|
|
346
|
-
description: string;
|
|
347
|
-
allowedAmount?: number;
|
|
348
|
-
};
|
|
349
|
-
type MindBillSubmissionModifierOption = {
|
|
350
|
-
code: string;
|
|
351
|
-
description: string;
|
|
352
|
-
};
|
|
353
|
-
type MindBillSubmissionTaxonomyOption = {
|
|
354
|
-
code: string;
|
|
355
|
-
description: string;
|
|
356
|
-
};
|
|
357
|
-
declare class MindBillBillSubmissionComponent implements OnChanges {
|
|
358
|
-
initialBill: BrowserBillCreateInput;
|
|
359
|
-
attachments: MindBillSubmissionAttachment[];
|
|
360
|
-
appearance: MindBillAngularAppearance;
|
|
361
|
-
sessionEndpoint: string;
|
|
362
|
-
getSession?: BillLifecycleSessionProvider;
|
|
363
|
-
apiBaseUrl?: string;
|
|
467
|
+
declare class MindBillBillTasksDashboardComponent {
|
|
468
|
+
data: BillTasksDashboardData | null;
|
|
469
|
+
buckets: BillTasksAgingBucket[];
|
|
364
470
|
heading: string;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
taxonomyOptions: MindBillSubmissionTaxonomyOption[];
|
|
370
|
-
submitter?: (input: BrowserBillSubmissionInput) => Promise<BrowserBillSubmissionResult>;
|
|
371
|
-
submitted: EventEmitter<BrowserBillSubmissionResult>;
|
|
372
|
-
submissionError: EventEmitter<Error>;
|
|
373
|
-
billChange: EventEmitter<BrowserBillCreateInput>;
|
|
374
|
-
bill: BrowserBillCreateInput;
|
|
375
|
-
workingAttachments: MindBillSubmissionAttachment[];
|
|
376
|
-
payerQuery: string;
|
|
377
|
-
payerResults: BillReviewPayer[];
|
|
378
|
-
payerBusy: boolean;
|
|
379
|
-
diagnosisQuery: string;
|
|
380
|
-
diagnosisResults: BillDiagnosisCode[];
|
|
381
|
-
diagnosisOffset: number;
|
|
382
|
-
diagnosisBusy: boolean;
|
|
383
|
-
submitting: boolean;
|
|
384
|
-
errorMessage: string;
|
|
385
|
-
postalStatus: string;
|
|
386
|
-
dragActive: boolean;
|
|
387
|
-
invalidFields: Set<string>;
|
|
388
|
-
readonly quickDiagnoses: (BillDiagnosisCode & {
|
|
389
|
-
label: string;
|
|
390
|
-
})[];
|
|
391
|
-
private readonly changeDetector;
|
|
392
|
-
readonly customProcedureOption: typeof mindBillCustomProcedureOption;
|
|
393
|
-
readonly customTaxonomyOption: (query: string) => MindBillComboOption | null;
|
|
394
|
-
private searchTimer?;
|
|
395
|
-
private postalTimer?;
|
|
396
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
471
|
+
grandTotalLabel: string;
|
|
472
|
+
emptyLabel: string;
|
|
473
|
+
appearance: MindBillAngularAppearance;
|
|
474
|
+
cellSelected: EventEmitter<MindBillBillTasksCell>;
|
|
397
475
|
get themeStyle(): Record<string, string>;
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
searchPayers(): void;
|
|
405
|
-
selectPayer(payer: BillReviewPayer): void;
|
|
406
|
-
searchDiagnoses(reset: boolean): void;
|
|
407
|
-
diagnosisScrolled(event: Event): void;
|
|
408
|
-
hasDiagnosis(code: string): boolean;
|
|
409
|
-
toggleDiagnosis(item: BillDiagnosisCode): void;
|
|
410
|
-
addDiagnosis(item: BillDiagnosisCode): void;
|
|
411
|
-
removeDiagnosis(code: string): void;
|
|
412
|
-
ensureTrailingLine(): void;
|
|
413
|
-
removeLine(index: number): void;
|
|
414
|
-
selectProcedure(index: number, option: MindBillComboOption): void;
|
|
415
|
-
addModifier(index: number, option: MindBillComboOption): void;
|
|
416
|
-
removeModifier(index: number, modifier: string): void;
|
|
417
|
-
dxLetter(pointer: number): string;
|
|
418
|
-
hasDiagnosisPointer(line: BrowserBillCreateInput["serviceLines"][number], pointer: number): boolean;
|
|
419
|
-
toggleDiagnosisPointer(index: number, pointer: number): void;
|
|
420
|
-
setAuthorizationNumber(value: string): void;
|
|
421
|
-
selectTaxonomy(option: MindBillComboOption): void;
|
|
422
|
-
procedureDescription(code: string): string;
|
|
423
|
-
allowed(line: BrowserBillCreateInput["serviceLines"][number]): number | null;
|
|
424
|
-
get totalAllowed(): number;
|
|
425
|
-
onWindowDragOver(event: DragEvent): void;
|
|
426
|
-
onWindowDragLeave(event: DragEvent): void;
|
|
427
|
-
onWindowDrop(event: DragEvent): void;
|
|
428
|
-
private addFiles;
|
|
429
|
-
filesSelected(event: Event): Promise<void>;
|
|
430
|
-
removeAttachment(index: number): void;
|
|
431
|
-
previewAttachment(attachment: MindBillSubmissionAttachment): void;
|
|
432
|
-
bad(path: string): boolean;
|
|
433
|
-
private validate;
|
|
434
|
-
private submissionDocuments;
|
|
435
|
-
submit(event: Event): Promise<void>;
|
|
436
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillBillSubmissionComponent, never>;
|
|
437
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillBillSubmissionComponent, "mindbill-bill-submission", never, { "initialBill": { "alias": "initialBill"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "sessionEndpoint": { "alias": "sessionEndpoint"; "required": false; }; "getSession": { "alias": "getSession"; "required": false; }; "apiBaseUrl": { "alias": "apiBaseUrl"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "description": { "alias": "description"; "required": false; }; "submitLabel": { "alias": "submitLabel"; "required": false; }; "procedureOptions": { "alias": "procedureOptions"; "required": false; }; "modifierOptions": { "alias": "modifierOptions"; "required": false; }; "taxonomyOptions": { "alias": "taxonomyOptions"; "required": false; }; "submitter": { "alias": "submitter"; "required": false; }; }, { "submitted": "submitted"; "submissionError": "submissionError"; "billChange": "billChange"; }, never, never, true, never>;
|
|
476
|
+
tone(section: BillTasksDashboardSection): string;
|
|
477
|
+
pillBackground(index: number): string;
|
|
478
|
+
pillColor(index: number): string;
|
|
479
|
+
select(section: BillTasksDashboardSection, row: BillTasksDashboardRow, bucketIndex: number | null): void;
|
|
480
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillBillTasksDashboardComponent, never>;
|
|
481
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillBillTasksDashboardComponent, "mindbill-bill-tasks-dashboard", never, { "data": { "alias": "data"; "required": false; }; "buckets": { "alias": "buckets"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "grandTotalLabel": { "alias": "grandTotalLabel"; "required": false; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, { "cellSelected": "cellSelected"; }, never, never, true, never>;
|
|
438
482
|
}
|
|
439
483
|
|
|
440
484
|
type MindBillManagementSession = {
|
|
@@ -509,5 +553,5 @@ declare class MindBillOrganizationOnboardingComponent implements OnInit {
|
|
|
509
553
|
static ɵcmp: i0.ɵɵComponentDeclaration<MindBillOrganizationOnboardingComponent, "mindbill-organization-onboarding", never, { "appearance": { "alias": "appearance"; "required": false; }; "sessionEndpoint": { "alias": "sessionEndpoint"; "required": false; }; "getSession": { "alias": "getSession"; "required": false; }; "apiBaseUrl": { "alias": "apiBaseUrl"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "description": { "alias": "description"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "saved$": "saved$"; "completed": "completed"; "organizationError": "organizationError"; }, never, never, true, never>;
|
|
510
554
|
}
|
|
511
555
|
|
|
512
|
-
export { MINDBILL_STATUS_AGING_BUCKETS, MindBillBillAgingSummaryComponent, MindBillBillLifecycleComponent, MindBillBillListComponent, MindBillBillRejectionNoticeComponent, MindBillBillSubmissionComponent, MindBillBillingDashboardComponent, MindBillBillingManagementButtonComponent, MindBillBillingReportComponent, MindBillComboBoxComponent, MindBillDateInputComponent, MindBillLifecycleStore, MindBillOrganizationOnboardingComponent, MindBillStatusAgingMatrixComponent, billRejectionIssueSummary, billRejectionIssues, buildMindBillReportCsv, buildMindBillReportRows, buildMindBillStatusAgingCsv, buildMindBillStatusAgingMatrix, ensureTrailingProcedureLine, formatMindBillSubmissionDate, isEmptyProcedureLine, mindBillAgingBucket, mindBillAgingDays, mindBillAngularAppearanceStyle, mindBillCustomProcedureOption, parseMindBillSubmissionDate, summarizeMindBillDashboard };
|
|
513
|
-
export type { MindBillAgingBucket, MindBillAgingBucketId, MindBillAngularAppearance, MindBillAngularThemePreset, MindBillComboOption, MindBillDashboardBill, MindBillDashboardSummary, MindBillManagementSession, MindBillManagementSessionProvider, MindBillProcedureComboOption, MindBillReportDimension, MindBillReportRow, MindBillStatusAgingCell, MindBillStatusAgingMatrix, MindBillStatusAgingRow, MindBillSubmissionAttachment, MindBillSubmissionModifierOption, MindBillSubmissionProcedureOption, MindBillSubmissionTaxonomyOption, ProcedureLine };
|
|
556
|
+
export { MINDBILL_BILL_TASKS_PILL_BASES, MINDBILL_BILL_TASKS_TONES, MINDBILL_STATUS_AGING_BUCKETS, MindBillBillAgingSummaryComponent, MindBillBillLifecycleComponent, MindBillBillListComponent, MindBillBillRejectionNoticeComponent, MindBillBillSubmissionComponent, MindBillBillTasksDashboardComponent, MindBillBillingDashboardComponent, MindBillBillingManagementButtonComponent, MindBillBillingReportComponent, MindBillComboBoxComponent, MindBillDateInputComponent, MindBillLifecycleStore, MindBillOrganizationOnboardingComponent, MindBillStatusAgingMatrixComponent, billRejectionIssueSummary, billRejectionIssues, buildMindBillReportCsv, buildMindBillReportRows, buildMindBillStatusAgingCsv, buildMindBillStatusAgingMatrix, ensureTrailingProcedureLine, formatMindBillSubmissionDate, isEmptyProcedureLine, mindBillAgingBucket, mindBillAgingDays, mindBillAngularAppearanceStyle, mindBillBillTasksCell, mindBillBillTasksPillBase, mindBillBillTasksTone, mindBillCustomProcedureOption, parseMindBillSubmissionDate, summarizeMindBillDashboard };
|
|
557
|
+
export type { MindBillAgingBucket, MindBillAgingBucketId, MindBillAngularAppearance, MindBillAngularThemePreset, MindBillBillTasksCell, MindBillComboOption, MindBillDashboardBill, MindBillDashboardSummary, MindBillManagementSession, MindBillManagementSessionProvider, MindBillProcedureComboOption, MindBillReportDimension, MindBillReportRow, MindBillStatusAgingCell, MindBillStatusAgingMatrix, MindBillStatusAgingRow, MindBillSubmissionAttachment, MindBillSubmissionModifierOption, MindBillSubmissionProcedureOption, MindBillSubmissionTaxonomyOption, ProcedureLine };
|