@mindbill/react 0.77.30 → 0.77.32

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
@@ -956,6 +956,10 @@ type RfaFormDetails = {
956
956
  physician?: {
957
957
  specialty?: string | undefined;
958
958
  };
959
+ /** The organization's own fax line for responses; fills a blank Fax Number. */
960
+ returnFax?: string | undefined;
961
+ /** The organization's monitored e-mail address; fills a blank E-mail Address. */
962
+ returnEmail?: string | undefined;
959
963
  };
960
964
  /** Host-rendered lookups placed inside the matching official form section. */
961
965
  type RfaFormSelectors = {
@@ -1014,6 +1018,9 @@ type RfaDraftFormProps = TreatmentDraftAppearance & RfaContactDirectoryProps & {
1014
1018
  formDetails?: RfaFormDetails | undefined;
1015
1019
  /** Lookups rendered inside the Employee and Requesting Physician sections; they stay usable while the form is disabled. */
1016
1020
  selectors?: RfaFormSelectors;
1021
+ /** Open the host's in-place editor for the selected practice or location (null adds a location). The form reloads saved values when focus returns. */
1022
+ onEditPractice?: (practiceId: string) => void;
1023
+ onEditLocation?: (locationId: string | null, practiceId: string) => void;
1017
1024
  managePracticeHref?: string;
1018
1025
  manageLocationsHref?: string;
1019
1026
  onRefreshProfile?: () => Promise<void>;
@@ -1052,7 +1059,7 @@ type RfaDraftFormProps = TreatmentDraftAppearance & RfaContactDirectoryProps & {
1052
1059
  /** Remove blank optional item fields, retaining an explicitly cleared return fax. */
1053
1060
  declare function normalizeRfaDraft(draft: RfaDraftInput): RfaDraftInput;
1054
1061
  declare function validateRfaDraft(draft: RfaDraftInput): string | null;
1055
- declare function RfaDraftForm({ initialDraft, identity, officialForm, formDetails, selectors, managePracticeHref, manageLocationsHref, onRefreshProfile, onReview, onPreview, searchClaimsAdministrators, getClaimsAdministratorDirectory, embedded, onSave, onBack, mode, searchDiagnosisCodes, organizationProfile, savedDiagnosisCodes, supportingDocuments, disabled, ...appearance }: RfaDraftFormProps): ReactElement;
1062
+ declare function RfaDraftForm({ initialDraft, identity, officialForm, formDetails, selectors, onEditPractice, onEditLocation, managePracticeHref, manageLocationsHref, onRefreshProfile, onReview, onPreview, searchClaimsAdministrators, getClaimsAdministratorDirectory, embedded, onSave, onBack, mode, searchDiagnosisCodes, organizationProfile, savedDiagnosisCodes, supportingDocuments, disabled, ...appearance }: RfaDraftFormProps): ReactElement;
1056
1063
 
1057
1064
  type RfaClaimSelectorProps = {
1058
1065
  selectedClaimId: string;
@@ -1097,6 +1104,9 @@ type RfaDashboardProps = OrganizationClientOptions & TreatmentDraftAppearance &
1097
1104
  formPreviewUrl?: string;
1098
1105
  /** Official DWC-RFA creation layout; defaults to false for existing integrations. */
1099
1106
  officialForm?: boolean;
1107
+ /** Host in-place editors for the selected practice or location (official form). */
1108
+ onEditPractice?: (practiceId: string) => void;
1109
+ onEditLocation?: (locationId: string | null, practiceId: string) => void;
1100
1110
  managePracticeHref?: string;
1101
1111
  manageLocationsHref?: string;
1102
1112
  /** Opens the actual saved packet. Creation first saves and attaches files, then selects its detail view. */