@mindbill/react 0.77.39 → 0.77.41

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
@@ -1020,6 +1020,8 @@ type RfaDraftFormProps = TreatmentDraftAppearance & RfaContactDirectoryProps & {
1020
1020
  managePracticeHref?: string;
1021
1021
  manageLocationsHref?: string;
1022
1022
  onRefreshProfile?: () => Promise<void>;
1023
+ /** The organization profile is still loading: show the practice as information, not as empty boxes to type into. */
1024
+ profilePending?: boolean;
1023
1025
  /** Save unsigned content and continue to the host's reviewed signing workflow. */
1024
1026
  onReview?: (draft: RfaDraftInput) => Promise<void>;
1025
1027
  /** Save unsigned content before opening the host's actual PDF packet preview. */
@@ -1055,7 +1057,7 @@ type RfaDraftFormProps = TreatmentDraftAppearance & RfaContactDirectoryProps & {
1055
1057
  /** Remove blank optional item fields, retaining an explicitly cleared return fax. */
1056
1058
  declare function normalizeRfaDraft(draft: RfaDraftInput): RfaDraftInput;
1057
1059
  declare function validateRfaDraft(draft: RfaDraftInput): string | null;
1058
- declare function RfaDraftForm({ initialDraft, identity, officialForm, formDetails, selectors, onEditPractice, onEditLocation, treatmentTemplates, onSaveTreatmentTemplate, onManageTreatmentTemplates, managePracticeHref, manageLocationsHref, onRefreshProfile, onReview, onPreview, searchClaimsAdministrators, getClaimsAdministratorDirectory, embedded, onSave, onBack, mode, searchDiagnosisCodes, organizationProfile, savedDiagnosisCodes, supportingDocuments, disabled, ...appearance }: RfaDraftFormProps): ReactElement;
1060
+ declare function RfaDraftForm({ initialDraft, identity, officialForm, formDetails, selectors, onEditPractice, onEditLocation, treatmentTemplates, onSaveTreatmentTemplate, onManageTreatmentTemplates, managePracticeHref, manageLocationsHref, onRefreshProfile, profilePending, onReview, onPreview, searchClaimsAdministrators, getClaimsAdministratorDirectory, embedded, onSave, onBack, mode, searchDiagnosisCodes, organizationProfile, savedDiagnosisCodes, supportingDocuments, disabled, ...appearance }: RfaDraftFormProps): ReactElement;
1059
1061
 
1060
1062
  /** A saved set of requested treatments. Diagnoses stay with the claim, so templates do not carry them. */
1061
1063
  type RfaTreatmentTemplate = {
@@ -1086,6 +1088,11 @@ type RfaClaimSelectorProps = {
1086
1088
  selectedClaimId: string;
1087
1089
  onSelectClaim: (claimId: string) => void;
1088
1090
  disabled: boolean;
1091
+ /** Show the chosen patient's printed name and date of birth before a claim is selected (official form). */
1092
+ onPreviewEmployee: (employee: {
1093
+ formName?: string;
1094
+ dateOfBirth?: string;
1095
+ } | null) => void;
1089
1096
  };
1090
1097
  type RfaProviderSelectorProps = {
1091
1098
  options: Array<{