@mindbill/angular 0.12.0 → 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 +9 -0
- package/fesm2022/mindbill-angular.mjs +1816 -1669
- package/fesm2022/mindbill-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/types/mindbill-angular.d.ts +184 -172
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,
|
|
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
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>;
|
|
@@ -299,176 +481,6 @@ declare class MindBillBillTasksDashboardComponent {
|
|
|
299
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>;
|
|
300
482
|
}
|
|
301
483
|
|
|
302
|
-
type MindBillComboOption = {
|
|
303
|
-
id: string;
|
|
304
|
-
label: string;
|
|
305
|
-
detail?: string;
|
|
306
|
-
};
|
|
307
|
-
/** Styled searchable dropdown shared by the submission form's procedure,
|
|
308
|
-
* modifier, taxonomy, payer, and diagnosis pickers. Mirrors the React
|
|
309
|
-
* package's ComboBox: query filtering, optional custom-code creation,
|
|
310
|
-
* loading states, and infinite scroll via (endReached). */
|
|
311
|
-
declare class MindBillComboBoxComponent {
|
|
312
|
-
value: string;
|
|
313
|
-
placeholder: string;
|
|
314
|
-
options: MindBillComboOption[];
|
|
315
|
-
disabled: boolean;
|
|
316
|
-
loading: boolean;
|
|
317
|
-
loadingMore: boolean;
|
|
318
|
-
invalid: boolean;
|
|
319
|
-
preserveValueOnOpen: boolean;
|
|
320
|
-
ariaLabel: string;
|
|
321
|
-
createOption?: (query: string) => MindBillComboOption | null;
|
|
322
|
-
opened: EventEmitter<void>;
|
|
323
|
-
queryChange: EventEmitter<string>;
|
|
324
|
-
endReached: EventEmitter<void>;
|
|
325
|
-
selected: EventEmitter<MindBillComboOption>;
|
|
326
|
-
open: boolean;
|
|
327
|
-
query: string;
|
|
328
|
-
private closeTimer?;
|
|
329
|
-
get visible(): MindBillComboOption[];
|
|
330
|
-
get showMenu(): boolean;
|
|
331
|
-
onFocus(): void;
|
|
332
|
-
onInput(event: Event): void;
|
|
333
|
-
onBlur(): void;
|
|
334
|
-
onScroll(event: Event): void;
|
|
335
|
-
choose(option: MindBillComboOption): void;
|
|
336
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillComboBoxComponent, never>;
|
|
337
|
-
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>;
|
|
338
|
-
}
|
|
339
|
-
/** MM/DD/YYYY masked date input. Emits only parseable ISO dates (or "" when
|
|
340
|
-
* cleared) and reformats the display once a complete date round-trips, exactly
|
|
341
|
-
* like the React package's TextDateInput. */
|
|
342
|
-
declare class MindBillDateInputComponent implements OnChanges {
|
|
343
|
-
value: string | null | undefined;
|
|
344
|
-
disabled: boolean;
|
|
345
|
-
ariaLabel: string;
|
|
346
|
-
valueChange: EventEmitter<string>;
|
|
347
|
-
display: string;
|
|
348
|
-
invalid: boolean;
|
|
349
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
350
|
-
onInput(event: Event): void;
|
|
351
|
-
onBlur(): void;
|
|
352
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillDateInputComponent, never>;
|
|
353
|
-
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>;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/** Date helpers shared by the Angular submission surfaces. Mirrors the React
|
|
357
|
-
* package's parseBillSubmissionDate/formatBillSubmissionDate exactly so both
|
|
358
|
-
* frameworks accept and render the same values. */
|
|
359
|
-
declare function parseMindBillSubmissionDate(value: string): string | undefined;
|
|
360
|
-
declare function formatMindBillSubmissionDate(value: string | null | undefined): string;
|
|
361
|
-
type MindBillProcedureComboOption = {
|
|
362
|
-
id: string;
|
|
363
|
-
label: string;
|
|
364
|
-
detail?: string;
|
|
365
|
-
};
|
|
366
|
-
/** Accepts complete CPT (5 digits), HCPCS (letter + 4 digits), or California
|
|
367
|
-
* medical-legal codes typed directly into the procedure picker. */
|
|
368
|
-
declare function mindBillCustomProcedureOption(query: string): MindBillProcedureComboOption | null;
|
|
369
|
-
|
|
370
|
-
type MindBillSubmissionAttachment = Omit<BrowserBillSubmissionDocument, "contentBase64"> & {
|
|
371
|
-
contentBase64?: string;
|
|
372
|
-
contentUrl?: string;
|
|
373
|
-
locked?: boolean;
|
|
374
|
-
badge?: string;
|
|
375
|
-
};
|
|
376
|
-
type MindBillSubmissionProcedureOption = {
|
|
377
|
-
code: string;
|
|
378
|
-
description: string;
|
|
379
|
-
allowedAmount?: number;
|
|
380
|
-
};
|
|
381
|
-
type MindBillSubmissionModifierOption = {
|
|
382
|
-
code: string;
|
|
383
|
-
description: string;
|
|
384
|
-
};
|
|
385
|
-
type MindBillSubmissionTaxonomyOption = {
|
|
386
|
-
code: string;
|
|
387
|
-
description: string;
|
|
388
|
-
};
|
|
389
|
-
declare class MindBillBillSubmissionComponent implements OnChanges {
|
|
390
|
-
initialBill: BrowserBillCreateInput;
|
|
391
|
-
attachments: MindBillSubmissionAttachment[];
|
|
392
|
-
appearance: MindBillAngularAppearance;
|
|
393
|
-
sessionEndpoint: string;
|
|
394
|
-
getSession?: BillLifecycleSessionProvider;
|
|
395
|
-
apiBaseUrl?: string;
|
|
396
|
-
heading: string;
|
|
397
|
-
description: string;
|
|
398
|
-
submitLabel: string;
|
|
399
|
-
procedureOptions: MindBillSubmissionProcedureOption[];
|
|
400
|
-
modifierOptions: MindBillSubmissionModifierOption[];
|
|
401
|
-
taxonomyOptions: MindBillSubmissionTaxonomyOption[];
|
|
402
|
-
submitter?: (input: BrowserBillSubmissionInput) => Promise<BrowserBillSubmissionResult>;
|
|
403
|
-
submitted: EventEmitter<BrowserBillSubmissionResult>;
|
|
404
|
-
submissionError: EventEmitter<Error>;
|
|
405
|
-
billChange: EventEmitter<BrowserBillCreateInput>;
|
|
406
|
-
bill: BrowserBillCreateInput;
|
|
407
|
-
workingAttachments: MindBillSubmissionAttachment[];
|
|
408
|
-
payerQuery: string;
|
|
409
|
-
payerResults: BillReviewPayer[];
|
|
410
|
-
payerBusy: boolean;
|
|
411
|
-
diagnosisQuery: string;
|
|
412
|
-
diagnosisResults: BillDiagnosisCode[];
|
|
413
|
-
diagnosisOffset: number;
|
|
414
|
-
diagnosisBusy: boolean;
|
|
415
|
-
submitting: boolean;
|
|
416
|
-
errorMessage: string;
|
|
417
|
-
postalStatus: string;
|
|
418
|
-
dragActive: boolean;
|
|
419
|
-
invalidFields: Set<string>;
|
|
420
|
-
readonly quickDiagnoses: (BillDiagnosisCode & {
|
|
421
|
-
label: string;
|
|
422
|
-
})[];
|
|
423
|
-
private readonly changeDetector;
|
|
424
|
-
readonly customProcedureOption: typeof mindBillCustomProcedureOption;
|
|
425
|
-
readonly customTaxonomyOption: (query: string) => MindBillComboOption | null;
|
|
426
|
-
private searchTimer?;
|
|
427
|
-
private postalTimer?;
|
|
428
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
429
|
-
get themeStyle(): Record<string, string>;
|
|
430
|
-
get procedureComboOptions(): MindBillComboOption[];
|
|
431
|
-
get taxonomyComboOptions(): MindBillComboOption[];
|
|
432
|
-
modifierComboOptions(line: BrowserBillCreateInput["serviceLines"][number]): MindBillComboOption[];
|
|
433
|
-
private referenceClient;
|
|
434
|
-
setDate(path: "patient.dateOfBirth" | "service.date" | "claim.dateOfInjury", value: string): void;
|
|
435
|
-
postalChanged(value: string): void;
|
|
436
|
-
searchPayers(): void;
|
|
437
|
-
selectPayer(payer: BillReviewPayer): void;
|
|
438
|
-
searchDiagnoses(reset: boolean): void;
|
|
439
|
-
diagnosisScrolled(event: Event): void;
|
|
440
|
-
hasDiagnosis(code: string): boolean;
|
|
441
|
-
toggleDiagnosis(item: BillDiagnosisCode): void;
|
|
442
|
-
addDiagnosis(item: BillDiagnosisCode): void;
|
|
443
|
-
removeDiagnosis(code: string): void;
|
|
444
|
-
ensureTrailingLine(): void;
|
|
445
|
-
removeLine(index: number): void;
|
|
446
|
-
selectProcedure(index: number, option: MindBillComboOption): void;
|
|
447
|
-
addModifier(index: number, option: MindBillComboOption): void;
|
|
448
|
-
removeModifier(index: number, modifier: string): void;
|
|
449
|
-
dxLetter(pointer: number): string;
|
|
450
|
-
hasDiagnosisPointer(line: BrowserBillCreateInput["serviceLines"][number], pointer: number): boolean;
|
|
451
|
-
toggleDiagnosisPointer(index: number, pointer: number): void;
|
|
452
|
-
setAuthorizationNumber(value: string): void;
|
|
453
|
-
selectTaxonomy(option: MindBillComboOption): void;
|
|
454
|
-
procedureDescription(code: string): string;
|
|
455
|
-
allowed(line: BrowserBillCreateInput["serviceLines"][number]): number | null;
|
|
456
|
-
get totalAllowed(): number;
|
|
457
|
-
onWindowDragOver(event: DragEvent): void;
|
|
458
|
-
onWindowDragLeave(event: DragEvent): void;
|
|
459
|
-
onWindowDrop(event: DragEvent): void;
|
|
460
|
-
private addFiles;
|
|
461
|
-
filesSelected(event: Event): Promise<void>;
|
|
462
|
-
removeAttachment(index: number): void;
|
|
463
|
-
previewAttachment(attachment: MindBillSubmissionAttachment): void;
|
|
464
|
-
bad(path: string): boolean;
|
|
465
|
-
private validate;
|
|
466
|
-
private submissionDocuments;
|
|
467
|
-
submit(event: Event): Promise<void>;
|
|
468
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MindBillBillSubmissionComponent, never>;
|
|
469
|
-
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>;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
484
|
type MindBillManagementSession = {
|
|
473
485
|
url: string;
|
|
474
486
|
};
|