/* EXAMPLE ONLY: an extract from the Superbill Review prototype, kept as reference for porting. ECW/eClinicalWorks, Tebra, 'Example Client', SPB_* tables and patient/ticket wording are that project's examples. Don't copy them into a new project. */ import { useCallback, useEffect, useRef, useState } from 'react' import { useQuery } from '@tanstack/react-query' import { api } from '../api' import { BAND_VAR } from '../bands' import type { ReviewActions } from './ReviewPane' /** * The source page, as pixels the page owns. * * This used to be the browser's own PDF plugin in an