@mindbill/react 0.45.0 → 0.47.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/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
+ import { SubmitBillInput, BillDeliveryOptions as BillDeliveryOptions$1, BillReviewPayerOption, BrowserBillSubmissionResult, BillLifecycleSessionProvider, BillReviewPayerListInput, BillReviewPayerPage, BillReviewPayer as BillReviewPayer$1, BillClaimsAdministratorDirectory, BillClaimsAdministratorSource, BrowserBillSubmissionDocument, OrganizationProfileData, BillReviewData as BillReviewData$1, BillLifecycleDelivery, BillReviewAttachment as BillReviewAttachment$1, BillTasksDashboardData, BillTasksAgingBucket, BillHistoryEntry, BillAttemptSummary, ReportBillStatusInput, BillRemittanceSummary, BillEorDocument, BillPaymentRecord, BillLifecycleAction, BillRejection, BillLifecycleData, BillLifecycleClientOptions, BillLifecycleClient, SubmitSecondReviewInput } from '@mindbill/browser';
2
+ export { BILL_TASKS_AGING_BUCKETS, BillActivityRecord, BillClaimsAdministratorContact, BillClaimsAdministratorDirectory, BillClaimsAdministratorMailingAddress, BillClaimsAdministratorPattern, BillClaimsAdministratorPayer, BillClaimsAdministratorSource, BillEorDocument, BillLifecycleAction, BillLifecycleActionId, BillLifecycleClient, BillLifecycleClientOptions, BillLifecycleData, BillLifecycleDelivery, BillLifecycleSession, BillLifecycleSessionProvider, BillLifecycleSessionRequest, BillPaymentRecord, BillRejection, BillRemittanceSummary, BillReviewPayerOption, BillReviewPayerSuggestion, BillTasksAgingBucket, BillTasksDashboardData, BillTasksDashboardItem, BillTasksDashboardRow, BillTasksDashboardSection, BillTasksDashboardSectionInput, BillTasksDashboardTone, BrowserBillSubmissionResult, CloseBillInput, PostBillPaymentInput, REPORT_BILL_STATUS_OPTIONS, ReopenBillInput, ReportBillStatusContacts, ReportBillStatusId, ReportBillStatusInput, SECOND_REVIEW_REASON_TEMPLATE, SECOND_REVIEW_WINDOW_DAYS, SecondReviewDeadline, SendDuplicateBillInput, SubmitSecondReviewInput, billTasksAgingBucketIndex, buildBillTasksDashboard, createBillLifecycleClient, reportBillStatusContacts, secondReviewDeadline } from '@mindbill/browser';
3
+ import { CSSProperties, ReactNode, ReactElement } from 'react';
1
4
  import { MindBillAppearance, MindBillEventDetail, MindBillErrorDetail } from '@mindbill/embed';
2
5
  export { MindBillAppearance, MindBillErrorDetail, MindBillEventDetail } from '@mindbill/embed';
3
- import { CSSProperties, ReactElement, ReactNode } from 'react';
4
- import { BillReviewData as BillReviewData$1, BillLifecycleDelivery, BillReviewAttachment as BillReviewAttachment$1, SubmitBillInput, BillDeliveryOptions as BillDeliveryOptions$1, BillReviewPayerOption, BrowserBillSubmissionResult, BillLifecycleSessionProvider, BillReviewPayerListInput, BillReviewPayerPage, BillReviewPayer as BillReviewPayer$1, BillClaimsAdministratorDirectory, BillClaimsAdministratorSource, BrowserBillSubmissionDocument, BillTasksDashboardData, BillTasksAgingBucket, BillHistoryEntry, BillAttemptSummary, ReportBillStatusInput, OrganizationProfileData, BillRemittanceSummary, BillEorDocument, BillPaymentRecord, BillLifecycleAction, BillRejection, BillLifecycleData, BillLifecycleClientOptions, BillLifecycleClient, SubmitSecondReviewInput } from '@mindbill/browser';
5
- export { BILL_TASKS_AGING_BUCKETS, BillActivityRecord, BillClaimsAdministratorContact, BillClaimsAdministratorDirectory, BillClaimsAdministratorMailingAddress, BillClaimsAdministratorPattern, BillClaimsAdministratorPayer, BillClaimsAdministratorSource, BillEorDocument, BillLifecycleAction, BillLifecycleActionId, BillLifecycleClient, BillLifecycleClientOptions, BillLifecycleData, BillLifecycleDelivery, BillLifecycleSession, BillLifecycleSessionProvider, BillLifecycleSessionRequest, BillPaymentRecord, BillRejection, BillRemittanceSummary, BillReviewPayerOption, BillReviewPayerSuggestion, BillTasksAgingBucket, BillTasksDashboardData, BillTasksDashboardItem, BillTasksDashboardRow, BillTasksDashboardSection, BillTasksDashboardSectionInput, BillTasksDashboardTone, BrowserBillSubmissionResult, CloseBillInput, PostBillPaymentInput, REPORT_BILL_STATUS_OPTIONS, ReopenBillInput, ReportBillStatusContacts, ReportBillStatusId, ReportBillStatusInput, SECOND_REVIEW_REASON_TEMPLATE, SECOND_REVIEW_WINDOW_DAYS, SecondReviewDeadline, SendDuplicateBillInput, SubmitSecondReviewInput, billTasksAgingBucketIndex, buildBillTasksDashboard, createBillLifecycleClient, reportBillStatusContacts, secondReviewDeadline } from '@mindbill/browser';
6
6
 
7
7
  type MindBillThemePreset = "mindbill" | "qme-companion" | "calm-clinical" | "orange-bright" | "clinical-blue" | "midnight-cyan";
8
8
  type MindBillReactAppearance = MindBillAppearance & {
@@ -15,6 +15,21 @@ type MindBillReactAppearance = MindBillAppearance & {
15
15
  dangerColor?: string;
16
16
  successColor?: string;
17
17
  warningColor?: string;
18
+ /** Dashboard-only overrides. Omitted values follow the selected brand palette. */
19
+ dashboard?: {
20
+ borderColor?: string;
21
+ borderWidth?: string;
22
+ borderRadius?: string;
23
+ sectionGap?: string;
24
+ rowMinHeight?: string;
25
+ linkColor?: string;
26
+ /** Small status markers, not full-card border colors. */
27
+ sectionColors?: Partial<Record<"violet" | "red" | "blue" | "green" | "amber" | "neutral", string>>;
28
+ /** Backgrounds in bucket order; omitted entries use progressively stronger accent tints. */
29
+ agingColors?: readonly string[];
30
+ agingTextColor?: string;
31
+ agingRadius?: string;
32
+ };
18
33
  };
19
34
  declare const mindBillThemePresets: {
20
35
  readonly mindbill: {
@@ -110,8 +125,8 @@ declare const mindBillThemePresets: {
110
125
  readonly textColor: "#05092e";
111
126
  readonly mutedColor: "#596078";
112
127
  readonly borderColor: "#d9dae1";
113
- readonly borderRadius: "0px";
114
- readonly controlRadius: "999px";
128
+ readonly borderRadius: "10px";
129
+ readonly controlRadius: "6px";
115
130
  readonly shadow: "0 1px 2px rgba(5,9,46,.04)";
116
131
  readonly dangerColor: "#b42318";
117
132
  readonly successColor: "#167a58";
@@ -122,417 +137,142 @@ declare const mindBillThemePresets: {
122
137
  declare function resolveMindBillAppearance(appearance: MindBillReactAppearance | undefined): MindBillReactAppearance;
123
138
  declare function mindBillAppearanceStyle(appearance: MindBillReactAppearance | undefined, style?: CSSProperties): CSSProperties;
124
139
 
125
- type BillReviewDocumentType = "final_report" | "letter_of_attestation" | "proof_of_service" | "form_122" | "return_to_work_voucher" | "w9" | "medical_records" | "appeal" | "other";
126
- type BillReviewBillingProvider = {
127
- name: string;
128
- taxId: string;
129
- npi: string;
130
- billType: "Professional" | "Institutional";
131
- phone?: string;
132
- billingStreet?: string;
133
- billingCity?: string;
134
- billingState?: string;
135
- billingZip?: string;
140
+ /** First plausible email address inside a raw contact string, or null. */
141
+ declare function extractSendRouteEmail(raw: string | null | undefined): string | null;
142
+ /** "(213) 555-0199" for 10/11-digit US numbers; anything else trimmed as-is. */
143
+ declare function formatSendRouteFax(raw: string | null | undefined): string;
144
+ type SendRouteSubmission = Pick<SubmitBillInput, "route" | "destination" | "attention" | "subject" | "note" | "cc">;
145
+ type SendRouteDialogProps = {
146
+ /** Dialog heading, e.g. "Send bill". */
147
+ title?: ReactNode;
148
+ delivery: BillDeliveryOptions$1;
149
+ submitting?: boolean;
150
+ /** Disables the confirm button while the caller uploads documents. */
151
+ disabled?: boolean;
152
+ error?: string | null;
153
+ onCancel: () => void;
154
+ onConfirm: (submission: SendRouteSubmission) => void;
136
155
  };
137
- type BillReviewClinician = {
138
- name: string;
139
- specialty: string;
140
- npi: string;
141
- taxonomy?: string;
142
- licenseNumber?: string;
143
- licenseState?: string;
144
- signaturePng?: string;
145
- signatureKey?: string;
146
- isQME?: boolean;
147
- isAME?: boolean;
148
- email?: string;
149
- active?: boolean;
156
+ declare function SendRouteDialog({ title, delivery, submitting, disabled, error, onCancel, onConfirm, }: SendRouteDialogProps): ReactElement;
157
+
158
+ declare const BILL_SUBMISSION_DOCUMENT_TYPES: readonly ["final_report", "proof_of_service", "letter_of_attestation", "form_122", "return_to_work_voucher", "w9", "medical_records", "appeal", "other"];
159
+ type BillSubmissionDocumentType = (typeof BILL_SUBMISSION_DOCUMENT_TYPES)[number];
160
+ type BillSubmissionAttachmentReportTypeMode = "auto" | "hidden" | "visible";
161
+ type BillSubmissionReportTypeOption = {
162
+ code: string;
163
+ label: string;
150
164
  };
151
- type BillReviewLocation = {
152
- billingProviderId?: string;
153
- name: string;
154
- nickname?: string;
155
- street: string;
165
+ declare const MED_LEGAL_REPORT_TYPE_CODE = "OZ:J4";
166
+ declare const BILL_SUBMISSION_REPORT_TYPES: readonly BillSubmissionReportTypeOption[];
167
+ type BillSubmissionEvaluationType = "qme" | "ame" | "psych_qme";
168
+ type BillSubmissionAddress = {
169
+ line1: string;
170
+ line2?: string;
156
171
  city: string;
157
172
  state: string;
158
- zip: string;
159
- county?: string;
160
- posCode?: string;
161
- isPrimary?: boolean;
162
- active?: boolean;
173
+ postalCode: string;
163
174
  };
164
- type BillReviewLineItem = {
165
- id?: string;
175
+ type BillSubmissionDiagnosisOption = {
166
176
  code: string;
167
- modifiers: string[];
168
- units: number;
169
- charge: number;
170
- feeSchedule?: number;
171
- serviceDate?: string | null;
172
- serviceDateEnd?: string | null;
173
- diagnosisPointers?: number[];
177
+ description: string;
174
178
  };
175
- /** Keeps completed/partial lines plus one keyboard-ready empty row. */
176
- declare function ensureTrailingProcedureLine(lines: readonly BillReviewLineItem[]): BillReviewLineItem[];
177
- type BillReviewAttachment = {
178
- id: string;
179
- filename: string;
180
- description?: string | null;
181
- documentType: string;
182
- reportType?: string | null;
183
- source?: string;
184
- addedAt?: string;
185
- contentUrl?: string;
179
+ type BillSubmissionProcedureOption = {
180
+ code: string;
181
+ description: string;
182
+ allowedAmount?: number;
186
183
  };
187
- type BillReviewPayer = {
188
- id: string;
189
- name: string;
190
- hasElectronic?: boolean;
191
- states?: string[];
192
- confidence?: "high" | "medium" | "directory";
193
- recommended?: boolean;
194
- signals?: Array<{
195
- kind: "name" | "claim_number";
196
- state: "match" | "warning";
197
- label: string;
198
- }>;
199
- /** True when a bill for this claims administrator must name one of `payers`. */
200
- payerSelectionRequired?: boolean;
201
- /** Selectable payers (subpayors) under this claims administrator. */
202
- payers?: Array<{
203
- id: string;
204
- label: string;
205
- default?: boolean;
206
- }>;
184
+ type BillSubmissionModifierOption = {
185
+ code: string;
186
+ description: string;
207
187
  };
208
- type BillReviewFeatures = {
209
- authorizationNumber?: boolean;
210
- serviceDateRange?: boolean;
211
- wcabNumber?: boolean;
212
- codingPresets?: boolean;
188
+ type BillSubmissionTaxonomyOption = {
189
+ code: string;
190
+ description: string;
213
191
  };
214
- type BillReviewClaimPatternStatus = {
215
- state: "match" | "warning" | "unknown";
216
- label: string;
217
- detail?: string;
218
- suggestion?: string;
192
+ type BillSubmissionPostalPlace = {
193
+ city: string;
194
+ state: string;
219
195
  };
220
- type BillReviewData = {
221
- bill: {
222
- id: string;
223
- billingMode: "med_legal" | "professional";
224
- billNumber: string | number;
225
- status: string;
226
- transmissionState?: string;
227
- dos: string;
228
- dosEnd?: string | null;
229
- authorizationNumber?: string | null;
230
- billingSnapshot?: {
231
- billingProvider?: BillReviewBillingProvider;
232
- renderingProvider?: BillReviewClinician;
233
- placeOfService?: BillReviewLocation;
234
- } | null;
235
- lineItems: BillReviewLineItem[];
236
- attachments: BillReviewAttachment[];
237
- totalCharge: number;
238
- totalPaid: number;
239
- balanceDue: number;
240
- };
196
+ type BillSubmissionInput$1 = {
197
+ externalId?: string;
198
+ billingMode?: "med_legal" | "professional";
241
199
  patient: {
242
- name: string;
243
- firstName?: string;
244
- middleName?: string;
245
- lastName?: string;
246
- dob?: string;
247
- };
248
- injury: {
249
- claimNumber?: string;
250
- employer?: string;
251
- doi?: string;
252
- injuryEndDate?: string;
253
- cumulativeTrauma?: boolean;
254
- adjNumber?: string;
255
- claimsAdminId?: string;
256
- claimsAdminName?: string;
257
- claimPatternStatus?: BillReviewClaimPatternStatus;
258
- };
259
- };
260
- type BillReviewSaveInput = {
261
- claimsAdminId: string;
262
- /** The chosen payer (subpayor) when the claims administrator requires payer selection. */
263
- payerId?: string;
264
- patientOverrides?: {
200
+ id?: string;
201
+ externalId?: string;
265
202
  firstName: string;
266
203
  middleName?: string;
267
204
  lastName: string;
268
- dob?: string;
205
+ dateOfBirth: string;
206
+ ssn?: string;
207
+ gender?: "M" | "F" | "X";
208
+ phone?: string;
209
+ address: BillSubmissionAddress;
269
210
  };
270
- injuryOverrides?: {
271
- claimNumber?: string;
272
- employer?: string;
273
- doi?: string;
274
- injuryEndDate?: string;
275
- cumulativeTrauma?: boolean;
211
+ claim: {
212
+ id?: string;
213
+ externalId?: string;
214
+ claimNumber: string;
276
215
  adjNumber?: string;
216
+ employer?: string;
217
+ dateOfInjury?: string;
218
+ injuryState?: string;
219
+ description?: string;
220
+ claimsAdministrator?: {
221
+ id?: string;
222
+ name: string;
223
+ /** The chosen payer (subpayor) when the claims administrator requires payer selection. */
224
+ payerId?: string;
225
+ /** Directory metadata carried while editing; stripped from the submitted bill. */
226
+ payerSelectionRequired?: boolean;
227
+ payers?: BillReviewPayerOption[];
228
+ };
277
229
  };
278
- dos: string;
279
- dosEnd?: string | null;
280
- authorizationNumber?: string | null;
281
- billingProvider?: BillReviewBillingProvider;
282
- renderingProvider?: BillReviewClinician;
283
- placeOfService?: BillReviewLocation;
284
- lineItems: Array<{
285
- id?: string;
230
+ service: {
231
+ date: string;
232
+ endDate?: string | null;
233
+ authorizationNumber?: string | null;
234
+ };
235
+ billingProvider?: {
236
+ name?: string;
237
+ taxId?: string;
238
+ npi?: string;
239
+ phone?: string;
240
+ address?: BillSubmissionAddress;
241
+ taxIdType?: "EIN" | "SSN";
242
+ savedProviderId?: string;
243
+ sourceBillId?: string;
244
+ taxIdLast4?: string;
245
+ };
246
+ renderingProvider?: {
247
+ name?: string;
248
+ specialty?: string;
249
+ npi?: string;
250
+ taxonomy?: string;
251
+ licenseNumber?: string;
252
+ licenseState?: string;
253
+ isQme?: boolean;
254
+ isAme?: boolean;
255
+ };
256
+ serviceLocation?: {
257
+ name?: string;
258
+ address?: BillSubmissionAddress;
259
+ placeOfServiceCode?: string;
260
+ };
261
+ diagnoses?: string[];
262
+ serviceLines: Array<{
286
263
  code: string;
287
- modifiers: string[];
288
- units: number;
289
- charge?: number;
290
- serviceDate?: string | null;
264
+ modifiers?: string[];
265
+ units?: number;
266
+ serviceDate?: string;
291
267
  serviceDateEnd?: string | null;
292
- diagnosisPointers?: number[];
293
- }>;
294
- };
295
- type BillSubmissionRoute = "ebill" | "fax" | "mail" | "email";
296
- type BillDeliveryOption = {
297
- route: BillSubmissionRoute;
298
- label: string;
299
- detail: string;
300
- fallback: boolean;
301
- confidence: string;
302
- payerName: string;
303
- target?: string;
304
- chKey?: string;
305
- payerId?: string;
306
- printAndMail?: boolean;
307
- costUsd?: number;
308
- };
309
- type BillDeliveryOptions = {
310
- payerName: string;
311
- recommended: BillDeliveryOption;
312
- options: BillDeliveryOption[];
313
- contacts: {
314
- faxNumber?: string | null;
315
- claimsEmail?: string | null;
316
- portalUrl?: string | null;
317
- mailingAddress?: string | null;
318
- };
319
- };
320
- type BillSubmissionInput$1 = {
321
- route: BillSubmissionRoute;
322
- destination?: {
323
- faxNumber?: string;
324
- email?: string;
325
- mailingAddress?: string;
326
- };
327
- attention?: string;
328
- subject?: string;
329
- note?: string;
330
- };
331
- type BillReviewFormProps = {
332
- data: BillReviewData;
333
- mode?: "review" | "submission";
334
- initialSubmission?: BillSubmissionInput$1;
335
- onSave?: (input: BillReviewSaveInput) => Promise<BillReviewData | void>;
336
- onSubmit: (input: BillReviewSaveInput, submission: BillSubmissionInput$1) => Promise<void>;
337
- onGetDeliveryOptions?: () => Promise<BillDeliveryOptions>;
338
- onAddAttachment: (file: File, documentType: BillReviewDocumentType, description?: string) => Promise<void>;
339
- onRemoveAttachment: (attachmentId: string) => Promise<void>;
340
- onOpenAttachment?: (attachment: BillReviewAttachment) => void;
341
- onSearchClaimsAdministrators?: (query: string, claimNumber?: string) => Promise<BillReviewPayer[]>;
342
- className?: string;
343
- style?: CSSProperties;
344
- appearance?: MindBillReactAppearance;
345
- features?: BillReviewFeatures;
346
- disabled?: boolean;
347
- };
348
- type BillReviewDraft = {
349
- claimsAdminId: string;
350
- claimsAdminName: string;
351
- patientFirstName: string;
352
- patientMiddleName: string;
353
- patientLastName: string;
354
- patientDob: string;
355
- claimNumber: string;
356
- employer: string;
357
- doi: string;
358
- injuryEndDate: string;
359
- cumulativeTrauma: boolean;
360
- adjNumber: string;
361
- dos: string;
362
- dosEnd: string;
363
- authorizationNumber: string;
364
- billingProvider: BillReviewBillingProvider;
365
- clinician: BillReviewClinician;
366
- location: BillReviewLocation;
367
- lineItems: BillReviewLineItem[];
368
- };
369
- declare function buildBillReviewSaveInput(draft: BillReviewDraft): BillReviewSaveInput;
370
- declare function BillReviewForm({ data, mode, initialSubmission, onSave, onSubmit, onGetDeliveryOptions, onAddAttachment, onRemoveAttachment, onOpenAttachment, onSearchClaimsAdministrators, className, style, appearance, features, disabled, }: BillReviewFormProps): ReactElement;
371
- type BillStatusSummaryProps = {
372
- status: string;
373
- submittedAt?: string | null;
374
- agingDays?: number | null;
375
- updatedAt?: string | null;
376
- totalCharge: number;
377
- totalPaid: number;
378
- balanceDue: number;
379
- actions?: BillStatusAction[];
380
- className?: string;
381
- style?: CSSProperties;
382
- appearance?: MindBillReactAppearance;
383
- };
384
- type BillStatusAction = {
385
- id: string;
386
- label: string;
387
- onClick: () => void;
388
- primary?: boolean;
389
- disabled?: boolean;
390
- };
391
- declare function BillStatusSummary({ status, submittedAt, agingDays, updatedAt, totalCharge, totalPaid, balanceDue, actions, className, style, appearance }: BillStatusSummaryProps): ReactElement;
392
-
393
- type BillReadOnlyFormProps = {
394
- data: BillReviewData$1 & {
395
- delivery?: BillLifecycleDelivery;
396
- };
397
- appearance?: MindBillReactAppearance;
398
- className?: string;
399
- style?: CSSProperties;
400
- onOpenAttachment?: (attachment: BillReviewAttachment$1) => void | Promise<void>;
401
- };
402
- declare function BillReadOnlyForm({ data, appearance, className, style, onOpenAttachment }: BillReadOnlyFormProps): ReactElement;
403
-
404
- /** First plausible email address inside a raw contact string, or null. */
405
- declare function extractSendRouteEmail(raw: string | null | undefined): string | null;
406
- /** "(213) 555-0199" for 10/11-digit US numbers; anything else trimmed as-is. */
407
- declare function formatSendRouteFax(raw: string | null | undefined): string;
408
- type SendRouteSubmission = Pick<SubmitBillInput, "route" | "destination" | "attention" | "subject" | "note" | "cc">;
409
- type SendRouteDialogProps = {
410
- /** Dialog heading, e.g. "Send bill". */
411
- title?: ReactNode;
412
- delivery: BillDeliveryOptions$1;
413
- submitting?: boolean;
414
- /** Disables the confirm button while the caller uploads documents. */
415
- disabled?: boolean;
416
- error?: string | null;
417
- onCancel: () => void;
418
- onConfirm: (submission: SendRouteSubmission) => void;
419
- };
420
- declare function SendRouteDialog({ title, delivery, submitting, disabled, error, onCancel, onConfirm, }: SendRouteDialogProps): ReactElement;
421
-
422
- declare const BILL_SUBMISSION_DOCUMENT_TYPES: readonly ["final_report", "proof_of_service", "letter_of_attestation", "form_122", "return_to_work_voucher", "w9", "medical_records", "appeal", "other"];
423
- type BillSubmissionDocumentType = (typeof BILL_SUBMISSION_DOCUMENT_TYPES)[number];
424
- type BillSubmissionAttachmentReportTypeMode = "auto" | "hidden" | "visible";
425
- type BillSubmissionReportTypeOption = {
426
- code: string;
427
- label: string;
428
- };
429
- declare const MED_LEGAL_REPORT_TYPE_CODE = "OZ:J4";
430
- declare const BILL_SUBMISSION_REPORT_TYPES: readonly BillSubmissionReportTypeOption[];
431
- type BillSubmissionEvaluationType = "qme" | "ame" | "psych_qme";
432
- type BillSubmissionAddress = {
433
- line1: string;
434
- line2?: string;
435
- city: string;
436
- state: string;
437
- postalCode: string;
438
- };
439
- type BillSubmissionDiagnosisOption = {
440
- code: string;
441
- description: string;
442
- };
443
- type BillSubmissionProcedureOption = {
444
- code: string;
445
- description: string;
446
- allowedAmount?: number;
447
- };
448
- type BillSubmissionModifierOption = {
449
- code: string;
450
- description: string;
451
- };
452
- type BillSubmissionTaxonomyOption = {
453
- code: string;
454
- description: string;
455
- };
456
- type BillSubmissionPostalPlace = {
457
- city: string;
458
- state: string;
459
- };
460
- type BillSubmissionInput = {
461
- externalId?: string;
462
- billingMode?: "med_legal" | "professional";
463
- patient: {
464
- id?: string;
465
- externalId?: string;
466
- firstName: string;
467
- middleName?: string;
468
- lastName: string;
469
- dateOfBirth: string;
470
- ssn?: string;
471
- gender?: "M" | "F" | "X";
472
- phone?: string;
473
- address: BillSubmissionAddress;
474
- };
475
- claim: {
476
- id?: string;
477
- externalId?: string;
478
- claimNumber: string;
479
- adjNumber?: string;
480
- employer?: string;
481
- dateOfInjury?: string;
482
- injuryState?: string;
483
- description?: string;
484
- claimsAdministrator?: {
485
- id?: string;
486
- name: string;
487
- /** The chosen payer (subpayor) when the claims administrator requires payer selection. */
488
- payerId?: string;
489
- /** Directory metadata carried while editing; stripped from the submitted bill. */
490
- payerSelectionRequired?: boolean;
491
- payers?: BillReviewPayerOption[];
492
- };
493
- };
494
- service: {
495
- date: string;
496
- endDate?: string | null;
497
- authorizationNumber?: string | null;
498
- };
499
- billingProvider?: {
500
- name?: string;
501
- taxId?: string;
502
- npi?: string;
503
- phone?: string;
504
- address?: BillSubmissionAddress;
505
- };
506
- renderingProvider?: {
507
- name?: string;
508
- specialty?: string;
509
- npi?: string;
510
- taxonomy?: string;
511
- licenseNumber?: string;
512
- licenseState?: string;
513
- isQme?: boolean;
514
- isAme?: boolean;
515
- };
516
- serviceLocation?: {
517
- name?: string;
518
- address?: BillSubmissionAddress;
519
- placeOfServiceCode?: string;
520
- };
521
- diagnoses?: string[];
522
- serviceLines: Array<{
523
- code: string;
524
- modifiers?: string[];
525
- units?: number;
526
- serviceDate?: string;
527
- serviceDateEnd?: string | null;
528
- charge?: number;
268
+ charge?: number;
529
269
  diagnosisPointers?: number[];
530
270
  }>;
531
271
  };
532
272
  /** A validated, submission-ready bill. The form accepts partial provider data while editing,
533
273
  * but only emits this complete contract after every required field has passed validation. */
534
- type CompleteBillSubmissionInput = Omit<BillSubmissionInput, "claim" | "billingProvider" | "renderingProvider" | "serviceLocation" | "diagnoses" | "serviceLines"> & {
535
- claim: BillSubmissionInput["claim"] & {
274
+ type CompleteBillSubmissionInput = Omit<BillSubmissionInput$1, "claim" | "billingProvider" | "renderingProvider" | "serviceLocation" | "diagnoses" | "serviceLines"> & {
275
+ claim: BillSubmissionInput$1["claim"] & {
536
276
  employer: string;
537
277
  dateOfInjury: string;
538
278
  claimsAdministrator: {
@@ -544,21 +284,26 @@ type CompleteBillSubmissionInput = Omit<BillSubmissionInput, "claim" | "billingP
544
284
  billingProvider: {
545
285
  name: string;
546
286
  taxId: string;
287
+ taxIdType?: "EIN" | "SSN";
547
288
  npi: string;
548
289
  phone: string;
549
290
  address: BillSubmissionAddress;
291
+ } | {
292
+ savedProviderId: string;
293
+ } | {
294
+ sourceBillId: string;
550
295
  };
551
- renderingProvider: NonNullable<BillSubmissionInput["renderingProvider"]> & {
296
+ renderingProvider: NonNullable<BillSubmissionInput$1["renderingProvider"]> & {
552
297
  name: string;
553
298
  npi: string;
554
299
  taxonomy: string;
555
300
  };
556
- serviceLocation: NonNullable<BillSubmissionInput["serviceLocation"]> & {
301
+ serviceLocation: NonNullable<BillSubmissionInput$1["serviceLocation"]> & {
557
302
  address: BillSubmissionAddress;
558
303
  placeOfServiceCode: string;
559
304
  };
560
305
  diagnoses: string[];
561
- serviceLines: BillSubmissionInput["serviceLines"];
306
+ serviceLines: BillSubmissionInput$1["serviceLines"];
562
307
  };
563
308
  type BillSubmissionSourceAttachment = {
564
309
  id: string;
@@ -591,7 +336,11 @@ type BillSubmissionFormValue = {
591
336
  uploads: BillSubmissionUpload[];
592
337
  };
593
338
  type BillSubmissionFormProps = {
594
- initialBill: BillSubmissionInput;
339
+ initialBill: BillSubmissionInput$1;
340
+ /** Host-owned choices or organizationProfileOptions(profile). Selection copies a snapshot into this bill only. */
341
+ profileOptions?: BillSubmissionProfileOptions;
342
+ /** Compact keeps provider fields available behind an edit disclosure; validation errors expand it. */
343
+ profileDisplay?: "expanded" | "compact";
595
344
  attachments?: BillSubmissionSourceAttachment[];
596
345
  /**
597
346
  * Legacy custom submission escape hatch. Connected forms should omit this so
@@ -663,14 +412,14 @@ declare function prepareBillSubmissionDocuments({ attachments, selectedIds, uplo
663
412
  defaultReportTypeCode?: string;
664
413
  fetch?: typeof globalThis.fetch;
665
414
  }): Promise<BrowserBillSubmissionDocument[]>;
666
- declare function ensureTrailingBillSubmissionLine(lines: BillSubmissionInput["serviceLines"]): BillSubmissionInput["serviceLines"];
415
+ declare function ensureTrailingBillSubmissionLine(lines: BillSubmissionInput$1["serviceLines"]): BillSubmissionInput$1["serviceLines"];
667
416
  declare function parseBillSubmissionDate(value: string): string | undefined;
668
417
  declare function formatBillSubmissionDate(value: string | null | undefined): string;
669
- declare function applyBillSubmissionEvaluationModifiers(lines: BillSubmissionInput["serviceLines"], type: BillSubmissionEvaluationType): BillSubmissionInput["serviceLines"];
418
+ declare function applyBillSubmissionEvaluationModifiers(lines: BillSubmissionInput$1["serviceLines"], type: BillSubmissionEvaluationType): BillSubmissionInput$1["serviceLines"];
670
419
  declare const PSYCH_QME_DEFAULT_DIAGNOSIS = "Z04.6";
671
420
  /** Seed Psych QME's general examination code only when no diagnosis was supplied. */
672
421
  declare function applyBillSubmissionEvaluationDiagnoses(diagnoses: string[] | undefined, type: BillSubmissionEvaluationType): string[];
673
- declare function validateBillSubmission(bill: BillSubmissionInput): BillSubmissionValidation;
422
+ declare function validateBillSubmission(bill: BillSubmissionInput$1): BillSubmissionValidation;
674
423
  declare function normalizeClaimsAdministratorName(value: string): string;
675
424
  declare function exactClaimsAdministratorMatch(results: BillReviewPayer$1[], suppliedName: string): BillReviewPayer$1 | undefined;
676
425
  declare function claimsAdministratorRecommendations(results: BillReviewPayer$1[], limit?: number): BillReviewPayer$1[];
@@ -680,13 +429,13 @@ declare function claimsAdministratorRecommendations(results: BillReviewPayer$1[]
680
429
  * requires an explicit user choice; administrators without routing payers stay a
681
430
  * plain `{ id, name }` reference.
682
431
  */
683
- declare function chooseClaimsAdministrator(payer: Pick<BillReviewPayer$1, "id" | "name" | "payerSelectionRequired" | "payers">, selectedPayerId?: string): NonNullable<BillSubmissionInput["claim"]["claimsAdministrator"]>;
432
+ declare function chooseClaimsAdministrator(payer: Pick<BillReviewPayer$1, "id" | "name" | "payerSelectionRequired" | "payers">, selectedPayerId?: string): NonNullable<BillSubmissionInput$1["claim"]["claimsAdministrator"]>;
684
433
  /**
685
434
  * The claims administrator reference exactly as submitted to MindBill: picker
686
435
  * metadata (payerSelectionRequired, payers) stays client-side and the chosen
687
436
  * payerId rides on the wire only when set.
688
437
  */
689
- declare function submittedClaimsAdministrator(administrator: NonNullable<BillSubmissionInput["claim"]["claimsAdministrator"]>): {
438
+ declare function submittedClaimsAdministrator(administrator: NonNullable<BillSubmissionInput$1["claim"]["claimsAdministrator"]>): {
690
439
  id: string;
691
440
  name: string;
692
441
  payerId?: string;
@@ -699,7 +448,303 @@ declare function BillSubmissionProvidersSection(): ReactElement;
699
448
  declare function BillSubmissionServiceLinesSection(): ReactElement;
700
449
  declare function BillSubmissionAttachmentsSection(): ReactElement;
701
450
  declare function BillSubmissionActions(): ReactElement;
702
- declare function BillSubmissionForm({ initialBill, attachments, onSubmit, onSubmitted, getSession, sessionEndpoint, apiBaseUrl, fetch: fetchOverride, onListClaimsAdministrators, onSearchClaimsAdministrators, onGetClaimsAdministratorDirectory, claimsAdministratorSources, claimsAdministratorHint, diagnosisOptions, onSearchDiagnoses, onLookupPostalCode, procedureOptions, modifierOptions, taxonomyOptions, deliveryRoutePicker, deliveryRouteDialogTitle, attachmentReportTypeMode, attachmentReportTypes, defaultAttachmentReportType, appearance, className, style, disabled, submitLabel, heading, description, attentionFields, attentionMessage, children, }: BillSubmissionFormProps): ReactElement;
451
+ declare function BillSubmissionForm({ initialBill, attachments, onSubmit, onSubmitted, getSession, sessionEndpoint, apiBaseUrl, profileOptions, profileDisplay, fetch: fetchOverride, onListClaimsAdministrators, onSearchClaimsAdministrators, onGetClaimsAdministratorDirectory, claimsAdministratorSources, claimsAdministratorHint, diagnosisOptions, onSearchDiagnoses, onLookupPostalCode, procedureOptions, modifierOptions, taxonomyOptions, deliveryRoutePicker, deliveryRouteDialogTitle, attachmentReportTypeMode, attachmentReportTypes, defaultAttachmentReportType, appearance, className, style, disabled, submitLabel, heading, description, attentionFields, attentionMessage, children, }: BillSubmissionFormProps): ReactElement;
452
+
453
+ type BillSubmissionProfileOption<K extends "billingProvider" | "renderingProvider" | "serviceLocation"> = {
454
+ id: string;
455
+ label: string;
456
+ value: NonNullable<BillSubmissionInput$1[K]>;
457
+ };
458
+ /** Supply host-owned snapshots or convert a MindBill organization profile. SSNs use server-resolved references. */
459
+ type BillSubmissionProfileOptions = {
460
+ billingProviders?: readonly BillSubmissionProfileOption<"billingProvider">[];
461
+ renderingProviders?: readonly BillSubmissionProfileOption<"renderingProvider">[];
462
+ serviceLocations?: readonly BillSubmissionProfileOption<"serviceLocation">[];
463
+ };
464
+ /** Explicit adapter: does not fetch, auto-select, persist, or mutate existing bills. */
465
+ declare function organizationProfileOptions(profile: OrganizationProfileData): BillSubmissionProfileOptions;
466
+
467
+ type BillReviewDocumentType = "final_report" | "letter_of_attestation" | "proof_of_service" | "form_122" | "return_to_work_voucher" | "w9" | "medical_records" | "appeal" | "other";
468
+ type BillReviewBillingProvider = {
469
+ name: string;
470
+ taxId: string;
471
+ taxIdType?: "EIN" | "SSN";
472
+ taxIdConfigured?: boolean;
473
+ taxIdLast4?: string;
474
+ npi: string;
475
+ billType: "Professional" | "Institutional";
476
+ phone?: string;
477
+ billingStreet?: string;
478
+ billingCity?: string;
479
+ billingState?: string;
480
+ billingZip?: string;
481
+ };
482
+ type BillReviewClinician = {
483
+ name: string;
484
+ specialty: string;
485
+ npi: string;
486
+ taxonomy?: string;
487
+ licenseNumber?: string;
488
+ licenseState?: string;
489
+ signaturePng?: string;
490
+ signatureKey?: string;
491
+ isQME?: boolean;
492
+ isAME?: boolean;
493
+ email?: string;
494
+ active?: boolean;
495
+ };
496
+ type BillReviewLocation = {
497
+ billingProviderId?: string;
498
+ name: string;
499
+ nickname?: string;
500
+ street: string;
501
+ city: string;
502
+ state: string;
503
+ zip: string;
504
+ county?: string;
505
+ posCode?: string;
506
+ isPrimary?: boolean;
507
+ active?: boolean;
508
+ };
509
+ type BillReviewLineItem = {
510
+ id?: string;
511
+ code: string;
512
+ modifiers: string[];
513
+ units: number;
514
+ charge: number;
515
+ feeSchedule?: number;
516
+ serviceDate?: string | null;
517
+ serviceDateEnd?: string | null;
518
+ diagnosisPointers?: number[];
519
+ };
520
+ /** Keeps completed/partial lines plus one keyboard-ready empty row. */
521
+ declare function ensureTrailingProcedureLine(lines: readonly BillReviewLineItem[]): BillReviewLineItem[];
522
+ type BillReviewAttachment = {
523
+ id: string;
524
+ filename: string;
525
+ description?: string | null;
526
+ documentType: string;
527
+ reportType?: string | null;
528
+ source?: string;
529
+ addedAt?: string;
530
+ contentUrl?: string;
531
+ };
532
+ type BillReviewPayer = {
533
+ id: string;
534
+ name: string;
535
+ hasElectronic?: boolean;
536
+ states?: string[];
537
+ confidence?: "high" | "medium" | "directory";
538
+ recommended?: boolean;
539
+ signals?: Array<{
540
+ kind: "name" | "claim_number";
541
+ state: "match" | "warning";
542
+ label: string;
543
+ }>;
544
+ /** True when a bill for this claims administrator must name one of `payers`. */
545
+ payerSelectionRequired?: boolean;
546
+ /** Selectable payers (subpayors) under this claims administrator. */
547
+ payers?: Array<{
548
+ id: string;
549
+ label: string;
550
+ default?: boolean;
551
+ }>;
552
+ };
553
+ type BillReviewFeatures = {
554
+ authorizationNumber?: boolean;
555
+ serviceDateRange?: boolean;
556
+ wcabNumber?: boolean;
557
+ codingPresets?: boolean;
558
+ };
559
+ type BillReviewClaimPatternStatus = {
560
+ state: "match" | "warning" | "unknown";
561
+ label: string;
562
+ detail?: string;
563
+ suggestion?: string;
564
+ };
565
+ type BillReviewData = {
566
+ bill: {
567
+ id: string;
568
+ billingMode: "med_legal" | "professional";
569
+ billNumber: string | number;
570
+ status: string;
571
+ transmissionState?: string;
572
+ dos: string;
573
+ dosEnd?: string | null;
574
+ authorizationNumber?: string | null;
575
+ billingSnapshot?: {
576
+ billingProvider?: BillReviewBillingProvider;
577
+ renderingProvider?: BillReviewClinician;
578
+ placeOfService?: BillReviewLocation;
579
+ } | null;
580
+ lineItems: BillReviewLineItem[];
581
+ attachments: BillReviewAttachment[];
582
+ totalCharge: number;
583
+ totalPaid: number;
584
+ balanceDue: number;
585
+ };
586
+ patient: {
587
+ name: string;
588
+ firstName?: string;
589
+ middleName?: string;
590
+ lastName?: string;
591
+ dob?: string;
592
+ };
593
+ injury: {
594
+ claimNumber?: string;
595
+ employer?: string;
596
+ doi?: string;
597
+ injuryEndDate?: string;
598
+ cumulativeTrauma?: boolean;
599
+ adjNumber?: string;
600
+ claimsAdminId?: string;
601
+ claimsAdminName?: string;
602
+ claimPatternStatus?: BillReviewClaimPatternStatus;
603
+ };
604
+ };
605
+ type BillReviewSaveInput = {
606
+ claimsAdminId: string;
607
+ /** The chosen payer (subpayor) when the claims administrator requires payer selection. */
608
+ payerId?: string;
609
+ patientOverrides?: {
610
+ firstName: string;
611
+ middleName?: string;
612
+ lastName: string;
613
+ dob?: string;
614
+ };
615
+ injuryOverrides?: {
616
+ claimNumber?: string;
617
+ employer?: string;
618
+ doi?: string;
619
+ injuryEndDate?: string;
620
+ cumulativeTrauma?: boolean;
621
+ adjNumber?: string;
622
+ };
623
+ dos: string;
624
+ dosEnd?: string | null;
625
+ authorizationNumber?: string | null;
626
+ billingProvider?: BillReviewBillingProvider;
627
+ renderingProvider?: BillReviewClinician;
628
+ placeOfService?: BillReviewLocation;
629
+ lineItems: Array<{
630
+ id?: string;
631
+ code: string;
632
+ modifiers: string[];
633
+ units: number;
634
+ charge?: number;
635
+ serviceDate?: string | null;
636
+ serviceDateEnd?: string | null;
637
+ diagnosisPointers?: number[];
638
+ }>;
639
+ };
640
+ type BillSubmissionRoute = "ebill" | "fax" | "mail" | "email";
641
+ type BillDeliveryOption = {
642
+ route: BillSubmissionRoute;
643
+ label: string;
644
+ detail: string;
645
+ fallback: boolean;
646
+ confidence: string;
647
+ payerName: string;
648
+ target?: string;
649
+ chKey?: string;
650
+ payerId?: string;
651
+ printAndMail?: boolean;
652
+ costUsd?: number;
653
+ };
654
+ type BillDeliveryOptions = {
655
+ payerName: string;
656
+ recommended: BillDeliveryOption;
657
+ options: BillDeliveryOption[];
658
+ contacts: {
659
+ faxNumber?: string | null;
660
+ claimsEmail?: string | null;
661
+ portalUrl?: string | null;
662
+ mailingAddress?: string | null;
663
+ };
664
+ };
665
+ type BillSubmissionInput = {
666
+ route: BillSubmissionRoute;
667
+ destination?: {
668
+ faxNumber?: string;
669
+ email?: string;
670
+ mailingAddress?: string;
671
+ };
672
+ attention?: string;
673
+ subject?: string;
674
+ note?: string;
675
+ };
676
+ type BillReviewFormProps = {
677
+ data: BillReviewData;
678
+ mode?: "review" | "submission";
679
+ initialSubmission?: BillSubmissionInput;
680
+ onSave?: (input: BillReviewSaveInput) => Promise<BillReviewData | void>;
681
+ onSubmit: (input: BillReviewSaveInput, submission: BillSubmissionInput) => Promise<void>;
682
+ onGetDeliveryOptions?: () => Promise<BillDeliveryOptions>;
683
+ onAddAttachment: (file: File, documentType: BillReviewDocumentType, description?: string) => Promise<void>;
684
+ onRemoveAttachment: (attachmentId: string) => Promise<void>;
685
+ onOpenAttachment?: (attachment: BillReviewAttachment) => void;
686
+ onSearchClaimsAdministrators?: (query: string, claimNumber?: string) => Promise<BillReviewPayer[]>;
687
+ className?: string;
688
+ style?: CSSProperties;
689
+ appearance?: MindBillReactAppearance;
690
+ features?: BillReviewFeatures;
691
+ disabled?: boolean;
692
+ };
693
+ type BillReviewDraft = {
694
+ claimsAdminId: string;
695
+ claimsAdminName: string;
696
+ patientFirstName: string;
697
+ patientMiddleName: string;
698
+ patientLastName: string;
699
+ patientDob: string;
700
+ claimNumber: string;
701
+ employer: string;
702
+ doi: string;
703
+ injuryEndDate: string;
704
+ cumulativeTrauma: boolean;
705
+ adjNumber: string;
706
+ dos: string;
707
+ dosEnd: string;
708
+ authorizationNumber: string;
709
+ billingProvider: BillReviewBillingProvider;
710
+ clinician: BillReviewClinician;
711
+ location: BillReviewLocation;
712
+ lineItems: BillReviewLineItem[];
713
+ };
714
+ declare function buildBillReviewSaveInput(draft: BillReviewDraft): BillReviewSaveInput;
715
+ declare function BillReviewForm({ data, mode, initialSubmission, onSave, onSubmit, onGetDeliveryOptions, onAddAttachment, onRemoveAttachment, onOpenAttachment, onSearchClaimsAdministrators, className, style, appearance, features, disabled, }: BillReviewFormProps): ReactElement;
716
+ type BillStatusSummaryProps = {
717
+ status: string;
718
+ submittedAt?: string | null;
719
+ agingDays?: number | null;
720
+ updatedAt?: string | null;
721
+ totalCharge: number;
722
+ totalPaid: number;
723
+ balanceDue: number;
724
+ actions?: BillStatusAction[];
725
+ className?: string;
726
+ style?: CSSProperties;
727
+ appearance?: MindBillReactAppearance;
728
+ };
729
+ type BillStatusAction = {
730
+ id: string;
731
+ label: string;
732
+ onClick: () => void;
733
+ primary?: boolean;
734
+ disabled?: boolean;
735
+ };
736
+ declare function BillStatusSummary({ status, submittedAt, agingDays, updatedAt, totalCharge, totalPaid, balanceDue, actions, className, style, appearance }: BillStatusSummaryProps): ReactElement;
737
+
738
+ type BillReadOnlyFormProps = {
739
+ data: BillReviewData$1 & {
740
+ delivery?: BillLifecycleDelivery;
741
+ };
742
+ appearance?: MindBillReactAppearance;
743
+ className?: string;
744
+ style?: CSSProperties;
745
+ onOpenAttachment?: (attachment: BillReviewAttachment$1) => void | Promise<void>;
746
+ };
747
+ declare function BillReadOnlyForm({ data, appearance, className, style, onOpenAttachment }: BillReadOnlyFormProps): ReactElement;
703
748
 
704
749
  /** Public-domain and MindBill-owned metadata. CPT descriptions are intentionally limited to the curated catalog. */
705
750
  declare const DEFAULT_BILL_SUBMISSION_PROCEDURES: BillSubmissionProcedureOption[];
@@ -853,13 +898,17 @@ type BillTasksDashboardProps = SurfaceProps$3 & {
853
898
  buckets?: BillTasksAgingBucket[];
854
899
  heading?: ReactNode;
855
900
  grandTotalLabel?: string;
901
+ /** Column heading; use "Bill Total" when displaying bills without tasks. */
902
+ totalLabel?: string;
903
+ /** Plural noun for accessible count labels, for example "bills". */
904
+ itemLabel?: string;
856
905
  emptyLabel?: string;
857
906
  onSelectCell?: (cell: BillTasksDashboardCell) => void;
858
907
  /** Rendered above the sections — hosts pass their own filters. */
859
908
  toolbar?: ReactNode;
860
909
  footnote?: ReactNode;
861
910
  };
862
- declare function BillTasksDashboard({ data, buckets, heading, grandTotalLabel, emptyLabel, onSelectCell, toolbar, footnote, appearance, className, style, }: BillTasksDashboardProps): ReactElement;
911
+ declare function BillTasksDashboard({ data, buckets, heading, grandTotalLabel, totalLabel, itemLabel, emptyLabel, onSelectCell, toolbar, footnote, appearance, className, style, }: BillTasksDashboardProps): ReactElement;
863
912
 
864
913
  type SurfaceProps$2 = {
865
914
  appearance?: MindBillReactAppearance;
@@ -1272,6 +1321,8 @@ type BillRegistryResult = {
1272
1321
  };
1273
1322
  type BillTasksResult = {
1274
1323
  dashboard: BillTasksDashboardData;
1324
+ /** Separate status inventory; not included in actionable task totals. */
1325
+ waiting?: BillTasksDashboardData;
1275
1326
  filters: {
1276
1327
  claimsAdministrators: Array<{
1277
1328
  id: string;
@@ -1389,4 +1440,4 @@ type MindBillWidgetProps = {
1389
1440
  declare function MindBillBillTimeline(props: MindBillWidgetProps): ReactElement;
1390
1441
  declare function MindBillBillReview(props: MindBillWidgetProps): ReactElement;
1391
1442
 
1392
- export { BILL_STATUS_AGING_BUCKETS, BILL_SUBMISSION_DIAGNOSIS_QUICK_PICKS, BILL_SUBMISSION_DOCUMENT_TYPES, BILL_SUBMISSION_REPORT_TYPES, BILL_SUBMISSION_REQUIRED_FIELDS, type BillActivityEvent, BillActivityTimeline, type BillActivityTimelineProps, type BillAgingBucket, type BillAgingBucketId, BillAgingSummary, type BillAgingSummaryProps, BillExplanationOfReview, type BillExplanationOfReviewProps, BillHistoryTable, type BillHistoryTableProps, BillLifecycleActions, type BillLifecycleActionsProps, BillLifecycleProgress, type BillLifecycleProgressProps, type BillLifecycleProgressStepsOptions, type BillLifecycleStage, BillList, type BillListProps, BillPayerContactCard, type BillPayerContactCardProps, BillPaymentLedger, type BillPaymentLedgerProps, BillReadOnlyForm, type BillReadOnlyFormProps, type BillRegistryAge, type BillRegistryItem, type BillRegistryQuery, type BillRegistryResult, type BillRegistrySort, type BillRegistryStatus, BillRejectionNotice, type BillRejectionNoticeProps, BillRemittanceCard, type BillRemittanceCardProps, type BillReviewAttachment, type BillReviewBillingProvider, type BillReviewClinician, type BillReviewData, type BillReviewDocumentType, type BillReviewDraft, type BillReviewFeatures, BillReviewForm, type BillReviewFormProps, type BillReviewLineItem, type BillReviewLocation, type BillReviewPayer, type BillReviewSaveInput, BillSnapshotSummary, type BillSnapshotSummaryProps, type BillStatusAction, type BillStatusAgingCell, BillStatusAgingMatrix, type BillStatusAgingMatrixData, type BillStatusAgingMatrixProps, type BillStatusAgingRow, type BillStatusClient, type BillStatusClientOptions, type BillStatusData, type BillStatusSession, type BillStatusSessionProvider, type BillStatusSessionRequest, BillStatusSummary, type BillStatusSummaryProps, BillSubmissionActions, type BillSubmissionAddress, type BillSubmissionAttachmentReportTypeMode, BillSubmissionAttachmentsSection, BillSubmissionClaimSection, type BillSubmissionDiagnosisOption, type BillSubmissionDocumentType, type BillSubmissionEvaluationType, BillSubmissionForm, type BillSubmissionFormProps, type BillSubmissionFormValue, BillSubmissionHeader, type BillSubmissionInput, type BillSubmissionModifierOption, BillSubmissionPatientSection, type BillSubmissionPostalPlace, type BillSubmissionProcedureOption, BillSubmissionProvidersSection, type BillSubmissionReportTypeOption, type BillSubmissionRibbonItem, type BillSubmissionRoute, type BillSubmissionSectionId, BillSubmissionServiceLinesSection, type BillSubmissionSourceAttachment, type BillSubmissionTaxonomyOption, type BillSubmissionUpload, type BillSubmissionValidation, BillSubmissionsRibbon, type BillSubmissionsRibbonProps, BillTasksDashboard, type BillTasksDashboardCell, type BillTasksDashboardProps, type BillTasksResult, type BillingComponentProps, BillingDashboard, type BillingDashboardBill, type BillingDashboardProps, type BillingDashboardSummary, type BillingOperationsClient, type BillingOperationsClientOptions, BillingReport, type BillingReportDimension, type BillingReportProps, type BillingReportRow, BillingSettings, ClaimsAdministratorDirectoryDialog, type ClaimsAdministratorDirectoryDialogProps, ConnectedBillLifecycle, type ConnectedBillLifecycleProps, ConnectedBillSearch, type ConnectedBillSearchProps, ConnectedBillStatus, type ConnectedBillStatusProps, ConnectedBillTasksDashboard, type ConnectedBillTasksDashboardProps, ConnectedBillingWorkspace, type ConnectedBillingWorkspaceProps, ConnectedProductivityReport, ConnectedServiceLineItemsReport, DEFAULT_BILL_SUBMISSION_MODIFIERS, DEFAULT_BILL_SUBMISSION_PROCEDURES, DEFAULT_BILL_SUBMISSION_TAXONOMIES, MED_LEGAL_REPORT_TYPE_CODE, MindBillBillReview, MindBillBillTimeline, type MindBillReactAppearance, type MindBillThemePreset, type MindBillWidgetProps, OrganizationOnboarding, type OrganizationOnboardingProps, PSYCH_QME_DEFAULT_DIAGNOSIS, type ProductivityReport, ReportBillStatusDialog, type ReportBillStatusDialogProps, SECOND_REVIEW_REASON_TEMPLATES, SecondReviewForm, type SecondReviewFormProps, SendRouteDialog, type SendRouteDialogProps, type SendRouteSubmission, type ServiceLineItemsReport, type UseBillLifecycleOptions, type UseBillLifecycleResult, type UseBillStatusOptions, type UseBillStatusResult, applyBillSubmissionEvaluationDiagnoses, applyBillSubmissionEvaluationModifiers, billActivityEventLabel, billAgingBucket, billAgingDays, billLifecycleDisplayLabel, billLifecycleStage, billSubmissionsRibbonDeliveryLabel, billSubmissionsRibbonFromHistory, buildBillReviewSaveInput, buildBillStatusAgingCsv, buildBillStatusAgingMatrix, buildBillingReportCsv, buildBillingReportRows, calculateBillSubmissionAllowedAmount, chooseClaimsAdministrator, claimsAdministratorRecommendations, createBillStatusClient, createBillingOperationsClient, ensureTrailingBillSubmissionLine, ensureTrailingProcedureLine, exactClaimsAdministratorMatch, extractSendRouteEmail, formatBillSubmissionDate, formatSendRouteFax, isBillLifecycleDraft, mindBillAppearanceStyle, mindBillThemePresets, normalizeClaimsAdministratorName, parseBillSubmissionDate, prepareBillSubmissionDocuments, resolveMindBillAppearance, submittedClaimsAdministrator, summarizeBillingDashboard, useBillLifecycle, useBillStatus, validateBillSubmission, visibleBillLifecycleActions };
1443
+ export { BILL_STATUS_AGING_BUCKETS, BILL_SUBMISSION_DIAGNOSIS_QUICK_PICKS, BILL_SUBMISSION_DOCUMENT_TYPES, BILL_SUBMISSION_REPORT_TYPES, BILL_SUBMISSION_REQUIRED_FIELDS, type BillActivityEvent, BillActivityTimeline, type BillActivityTimelineProps, type BillAgingBucket, type BillAgingBucketId, BillAgingSummary, type BillAgingSummaryProps, BillExplanationOfReview, type BillExplanationOfReviewProps, BillHistoryTable, type BillHistoryTableProps, BillLifecycleActions, type BillLifecycleActionsProps, BillLifecycleProgress, type BillLifecycleProgressProps, type BillLifecycleProgressStepsOptions, type BillLifecycleStage, BillList, type BillListProps, BillPayerContactCard, type BillPayerContactCardProps, BillPaymentLedger, type BillPaymentLedgerProps, BillReadOnlyForm, type BillReadOnlyFormProps, type BillRegistryAge, type BillRegistryItem, type BillRegistryQuery, type BillRegistryResult, type BillRegistrySort, type BillRegistryStatus, BillRejectionNotice, type BillRejectionNoticeProps, BillRemittanceCard, type BillRemittanceCardProps, type BillReviewAttachment, type BillReviewBillingProvider, type BillReviewClinician, type BillReviewData, type BillReviewDocumentType, type BillReviewDraft, type BillReviewFeatures, BillReviewForm, type BillReviewFormProps, type BillReviewLineItem, type BillReviewLocation, type BillReviewPayer, type BillReviewSaveInput, BillSnapshotSummary, type BillSnapshotSummaryProps, type BillStatusAction, type BillStatusAgingCell, BillStatusAgingMatrix, type BillStatusAgingMatrixData, type BillStatusAgingMatrixProps, type BillStatusAgingRow, type BillStatusClient, type BillStatusClientOptions, type BillStatusData, type BillStatusSession, type BillStatusSessionProvider, type BillStatusSessionRequest, BillStatusSummary, type BillStatusSummaryProps, BillSubmissionActions, type BillSubmissionAddress, type BillSubmissionAttachmentReportTypeMode, BillSubmissionAttachmentsSection, BillSubmissionClaimSection, type BillSubmissionDiagnosisOption, type BillSubmissionDocumentType, type BillSubmissionEvaluationType, BillSubmissionForm, type BillSubmissionFormProps, type BillSubmissionFormValue, BillSubmissionHeader, type BillSubmissionInput$1 as BillSubmissionInput, type BillSubmissionModifierOption, BillSubmissionPatientSection, type BillSubmissionPostalPlace, type BillSubmissionProcedureOption, type BillSubmissionProfileOption, type BillSubmissionProfileOptions, BillSubmissionProvidersSection, type BillSubmissionReportTypeOption, type BillSubmissionRibbonItem, type BillSubmissionRoute, type BillSubmissionSectionId, BillSubmissionServiceLinesSection, type BillSubmissionSourceAttachment, type BillSubmissionTaxonomyOption, type BillSubmissionUpload, type BillSubmissionValidation, BillSubmissionsRibbon, type BillSubmissionsRibbonProps, BillTasksDashboard, type BillTasksDashboardCell, type BillTasksDashboardProps, type BillTasksResult, type BillingComponentProps, BillingDashboard, type BillingDashboardBill, type BillingDashboardProps, type BillingDashboardSummary, type BillingOperationsClient, type BillingOperationsClientOptions, BillingReport, type BillingReportDimension, type BillingReportProps, type BillingReportRow, BillingSettings, ClaimsAdministratorDirectoryDialog, type ClaimsAdministratorDirectoryDialogProps, ConnectedBillLifecycle, type ConnectedBillLifecycleProps, ConnectedBillSearch, type ConnectedBillSearchProps, ConnectedBillStatus, type ConnectedBillStatusProps, ConnectedBillTasksDashboard, type ConnectedBillTasksDashboardProps, ConnectedBillingWorkspace, type ConnectedBillingWorkspaceProps, ConnectedProductivityReport, ConnectedServiceLineItemsReport, DEFAULT_BILL_SUBMISSION_MODIFIERS, DEFAULT_BILL_SUBMISSION_PROCEDURES, DEFAULT_BILL_SUBMISSION_TAXONOMIES, MED_LEGAL_REPORT_TYPE_CODE, MindBillBillReview, MindBillBillTimeline, type MindBillReactAppearance, type MindBillThemePreset, type MindBillWidgetProps, OrganizationOnboarding, type OrganizationOnboardingProps, PSYCH_QME_DEFAULT_DIAGNOSIS, type ProductivityReport, ReportBillStatusDialog, type ReportBillStatusDialogProps, SECOND_REVIEW_REASON_TEMPLATES, SecondReviewForm, type SecondReviewFormProps, SendRouteDialog, type SendRouteDialogProps, type SendRouteSubmission, type ServiceLineItemsReport, type UseBillLifecycleOptions, type UseBillLifecycleResult, type UseBillStatusOptions, type UseBillStatusResult, applyBillSubmissionEvaluationDiagnoses, applyBillSubmissionEvaluationModifiers, billActivityEventLabel, billAgingBucket, billAgingDays, billLifecycleDisplayLabel, billLifecycleStage, billSubmissionsRibbonDeliveryLabel, billSubmissionsRibbonFromHistory, buildBillReviewSaveInput, buildBillStatusAgingCsv, buildBillStatusAgingMatrix, buildBillingReportCsv, buildBillingReportRows, calculateBillSubmissionAllowedAmount, chooseClaimsAdministrator, claimsAdministratorRecommendations, createBillStatusClient, createBillingOperationsClient, ensureTrailingBillSubmissionLine, ensureTrailingProcedureLine, exactClaimsAdministratorMatch, extractSendRouteEmail, formatBillSubmissionDate, formatSendRouteFax, isBillLifecycleDraft, mindBillAppearanceStyle, mindBillThemePresets, normalizeClaimsAdministratorName, organizationProfileOptions, parseBillSubmissionDate, prepareBillSubmissionDocuments, resolveMindBillAppearance, submittedClaimsAdministrator, summarizeBillingDashboard, useBillLifecycle, useBillStatus, validateBillSubmission, visibleBillLifecycleActions };