// Handlers
import { genCrudHandler } from '~/handlers/_handler'

// Services
import { create, update, remove } from '~/services/subspecialist.service'

export const {
  recId,
  recAction,
  recItem,
  isReadonly,
  isProcessing,
  isFormEntryDialogOpen,
  isRecordConfirmationOpen,
  onResetState,
  handleActionSave,
  handleActionEdit,
  handleActionRemove,
  handleCancelForm,
} = genCrudHandler({
  create,
  update,
  remove,
})
