@mindbill/react 0.77.31 → 0.77.33

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. */
@@ -2181,9 +2191,11 @@ type RfaAuthorizationDestinationProps = {
2181
2191
  onChange: (destination: RfaAuthorizationDestinationOption | null) => void;
2182
2192
  /** Render as a plain field group inside a host form section, without its own frame or legend. */
2183
2193
  compact?: boolean;
2194
+ /** Compact mode: offer one "enter manually" choice that hands entry to the host's own fields. */
2195
+ onManualEntry?: () => void;
2184
2196
  };
2185
2197
  /** Choose a destination without sending an RFA or treating email as fax. */
2186
- declare function RfaAuthorizationDestination({ contextKey, directory, savedContact, loading, error, disabled, onChange, onSelectionStart, compact }: RfaAuthorizationDestinationProps): ReactElement;
2198
+ declare function RfaAuthorizationDestination({ contextKey, directory, savedContact, loading, error, disabled, onChange, onSelectionStart, compact, onManualEntry }: RfaAuthorizationDestinationProps): ReactElement;
2187
2199
 
2188
2200
  type RfaLifecycleControlsProps = OrganizationClientOptions & TreatmentDraftAppearance & {
2189
2201
  rfa: RfaRecord;