@mindbill/react 0.41.1 → 0.41.2
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 +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -195,7 +195,7 @@ The component includes the interaction model, not just the markup:
|
|
|
195
195
|
- QME, AME, and Psych QME evaluation modes with medical-legal modifier defaults; Psych QME also seeds `Z04.6` when no more specific diagnosis was supplied, and exposes it as a Psych quick pick;
|
|
196
196
|
- a searchable rendering-provider taxonomy combobox that accepts either a human-readable specialty search or an exact 10-character taxonomy code;
|
|
197
197
|
- searchable workers-comp procedure/modifier controls, medical-legal fee-schedule amounts, totals, valid manual CPT/HCPCS entry, and an automatically maintained empty line;
|
|
198
|
-
- removable source documents with new-tab previews
|
|
198
|
+
- removable source documents with new-tab previews and a full-width click, panel-drop, or whole-page PDF upload area. Auto-attached documents can be removable when the host sets `removable: true`; otherwise they remain locked by default. Med-legal mode assigns every document to `J4 - Med-Legal Report` without showing another control; professional mode shows the complete searchable PWK01 report-type directory. Override that presentation with `attachmentReportTypeMode`, `attachmentReportTypes`, and `defaultAttachmentReportType`.
|
|
199
199
|
|
|
200
200
|
Partners supply tenant-specific bootstrap data, one short-lived browser session callback, and optionally an `onSubmitted` callback to persist the returned `billId`. Required fields, validation, ZIP lookup, ICD-10 and payer directories, service-line behavior, PDF encoding, wire-format serialization, atomic submission, attachments, and submission UX stay inside `@mindbill/react`, so every integration receives the same billing workflow. Optional `diagnosisOptions`, `procedureOptions`, `modifierOptions`, and lookup callbacks extend or replace defaults when a partner has licensed or organization-specific data.
|
|
201
201
|
|
package/dist/index.d.ts
CHANGED
|
@@ -532,8 +532,9 @@ type BillSubmissionSourceAttachment = {
|
|
|
532
532
|
description?: string;
|
|
533
533
|
/** @deprecated Source attachments shown in the form are included until removed. */
|
|
534
534
|
selected?: boolean;
|
|
535
|
-
/**
|
|
535
|
+
/** Marks a document that the host selected by default. This does not imply that it is locked. */
|
|
536
536
|
autoAttached?: boolean;
|
|
537
|
+
/** Controls whether the user can remove the document from this submission packet. Defaults to false for auto-attached documents and true otherwise. */
|
|
537
538
|
removable?: boolean;
|
|
538
539
|
previewUrl?: string;
|
|
539
540
|
/** Authenticated source loader used when the document is not available at a public URL. */
|
package/dist/index.js
CHANGED
|
@@ -3020,11 +3020,11 @@ function BillSubmissionForm({
|
|
|
3020
3020
|
/* @__PURE__ */ jsxs5("div", { className: "mbsf-attach-list", children: [
|
|
3021
3021
|
attachments.filter((attachment) => !removedSourceIds.includes(attachment.id)).map((attachment) => {
|
|
3022
3022
|
const auto = attachment.autoAttached || attachment.documentType === "w9";
|
|
3023
|
-
const removable =
|
|
3023
|
+
const removable = attachment.removable ?? !auto;
|
|
3024
3024
|
const reportTypeCode = sourceAttachmentReportTypes[attachment.id] || attachment.reportTypeCode || defaultAttachmentReportType || "";
|
|
3025
3025
|
return /* @__PURE__ */ jsxs5("div", { className: "mbsf-attach-row", "data-auto": auto, children: [
|
|
3026
3026
|
/* @__PURE__ */ jsxs5("div", { className: "mbsf-attach-main", children: [
|
|
3027
|
-
auto ? /* @__PURE__ */ jsx5("span", { "aria-label": "
|
|
3027
|
+
auto ? /* @__PURE__ */ jsx5("span", { "aria-label": "Auto-attached", role: "img", children: "\u2713" }) : null,
|
|
3028
3028
|
/* @__PURE__ */ jsxs5("span", { className: "mbsf-file", children: [
|
|
3029
3029
|
/* @__PURE__ */ jsx5("strong", { children: attachment.fileName }),
|
|
3030
3030
|
/* @__PURE__ */ jsx5("span", { className: "mbsf-badge", children: auto ? "Auto-attached" : documentLabels[attachment.documentType] }),
|