Por favor, revisa los campos obligatorios indicados con un asterisco (*).
Invalid route action: [App\Livewire\Doctor\ConsultationForm].
Illuminate\Routing\RouteAction::makeInvokable()Illuminate\Routing\RouteAction::makeInvokable()Illuminate\Routing\RouteAction::parse()Illuminate\Routing\Route->parseAction()Illuminate\Routing\Route->__construct()Illuminate\Routing\Router->newRoute()Illuminate\Routing\Router->createRoute()Illuminate\Routing\Router->addRoute()Illuminate\Routing\Router->get()Illuminate\Support\Facades\Facade::__callStatic()118 Route::get('/patients', \App\Livewire\Doctor\PatientsIndex::class)->name('patients');119 Route::get('/patients/{patient}', \App\Livewire\Doctor\PatientShow::class)->name('patients.show');120 Route::get('/wallet', \App\Livewire\Doctor\Wallet::class)->name('wallet');121 Route::get('/history/{history}/print-recipe', [\App\Http\Controllers\Doctor\MedicalDocumentController::class, 'printRecipe'])->name('history.print-recipe');122 Route::get('/reports', \App\Livewire\Doctor\Reports::class)->name('reports');123 Route::get('/patients/{patient}/consultation', \App\Livewire\Doctor\ConsultationForm::class)->name('patients.consultation');124 Route::get('/prescription/{prescription}/print', [\App\Http\Controllers\PrescriptionController::class, 'print'])->name('prescription.print');125 Route::get('/medical-order/{medicalOrder}/print', [\App\Http\Controllers\MedicalOrderController::class, 'print'])->name('medical-order.print');126 Route::get('/documents/certificate/{history}', [\App\Http\Controllers\Doctor\DocumentController::class, 'certificate'])->name('documents.certificate');127 Route::get('/documents/justification/{history}', [\App\Http\Controllers\Doctor\DocumentController::class, 'justification'])->name('documents.justification');128 Route::get('/documents/report/{history}', [\App\Http\Controllers\Doctor\DocumentController::class, 'report'])->name('documents.report');129 Route::get('/services', \App\Livewire\Doctor\ServiceManager::class)->name('services');130 Route::get('/appointments', \App\Livewire\Doctor\AppointmentsIndex::class)->name('appointments');131 Route::get('/quick-consultation', \App\Livewire\Doctor\QuickConsultation::class)->name('quick-consultation');132 Route::get('/assistants', \App\Livewire\Doctor\AssistantManager::class)->name('assistants');133 Route::get('/prescription-templates', \App\Livewire\Doctor\PrescriptionTemplates::class)->name('prescription-templates');134 });135Illuminate\Routing\RouteFileRegistrar->{closure}()Illuminate\Routing\Router->loadRoutes()Illuminate\Routing\Router->group()Illuminate\Routing\RouteRegistrar->group()112 Route::get('/profile', \App\Livewire\Doctor\Profile::class)->name('profile');113 Route::get('/subscription', \App\Livewire\Doctor\SubscriptionManager::class)->name('subscription');114 Route::get('/payment-methods', \App\Livewire\Doctor\PaymentMethods::class)->name('payment-methods');115116 // Accesibles SOLO tras verificación del Admin117 Route::middleware(['verified_doctor'])->group(function () {118 Route::get('/patients', \App\Livewire\Doctor\PatientsIndex::class)->name('patients');119 Route::get('/patients/{patient}', \App\Livewire\Doctor\PatientShow::class)->name('patients.show');120 Route::get('/wallet', \App\Livewire\Doctor\Wallet::class)->name('wallet');121 Route::get('/history/{history}/print-recipe', [\App\Http\Controllers\Doctor\MedicalDocumentController::class, 'printRecipe'])->name('history.print-recipe');122 Route::get('/reports', \App\Livewire\Doctor\Reports::class)->name('reports');123 Route::get('/patients/{patient}/consultation', \App\Livewire\Doctor\ConsultationForm::class)->name('patients.consultation');124 Route::get('/prescription/{prescription}/print', [\App\Http\Controllers\PrescriptionController::class, 'print'])->name('prescription.print');125 Route::get('/medical-order/{medicalOrder}/print', [\App\Http\Controllers\MedicalOrderController::class, 'print'])->name('medical-order.print');126 Route::get('/documents/certificate/{history}', [\App\Http\Controllers\Doctor\DocumentController::class, 'certificate'])->name('documents.certificate');127 Route::get('/documents/justification/{history}', [\App\Http\Controllers\Doctor\DocumentController::class, 'justification'])->name('documents.justification');128 Route::get('/documents/report/{history}', [\App\Http\Controllers\Doctor\DocumentController::class, 'report'])->name('documents.report');129Illuminate\Routing\RouteFileRegistrar->{closure}()Illuminate\Routing\Router->loadRoutes()Illuminate\Routing\Router->group()Illuminate\Routing\RouteRegistrar->group()102 103 // Ruta para completar perfil (accesible sin documentos completos)104 Route::get('/complete-profile', \App\Livewire\Doctor\CompleteProfile::class)->name('profile.complete');105106 // Rutas protegidas que requieren documentos completos107 Route::middleware([\App\Http\Middleware\EnsureDoctorProfileComplete::class])->group(function () {108 // Accesibles SIN verificación (para ver estado y corregir documentos)109 Route::get('/dashboard', \App\Livewire\Doctor\Dashboard::class)->name('dashboard');110 Route::get('/settings/documents', \App\Livewire\Doctor\DocumentSettings::class)->name('settings.documents');111 Route::get('/schedule', \App\Livewire\Doctor\ScheduleSettings::class)->name('schedule'); // Allow schedule setup while waiting? Maybe yes.112 Route::get('/profile', \App\Livewire\Doctor\Profile::class)->name('profile');113 Route::get('/subscription', \App\Livewire\Doctor\SubscriptionManager::class)->name('subscription');114 Route::get('/payment-methods', \App\Livewire\Doctor\PaymentMethods::class)->name('payment-methods');115116 // Accesibles SOLO tras verificación del Admin117 Route::middleware(['verified_doctor'])->group(function () {118 Route::get('/patients', \App\Livewire\Doctor\PatientsIndex::class)->name('patients');119Illuminate\Routing\RouteFileRegistrar->{closure}()Illuminate\Routing\Router->loadRoutes()Illuminate\Routing\Router->group()Illuminate\Routing\RouteRegistrar->group()96})->middleware('auth')->name('logout');9798Route::middleware(['auth'])->group(function () {99100 // Portal Doctor101 Route::prefix('app/doctor')->name('doctor.')->group(function () {102 103 // Ruta para completar perfil (accesible sin documentos completos)104 Route::get('/complete-profile', \App\Livewire\Doctor\CompleteProfile::class)->name('profile.complete');105106 // Rutas protegidas que requieren documentos completos107 Route::middleware([\App\Http\Middleware\EnsureDoctorProfileComplete::class])->group(function () {108 // Accesibles SIN verificación (para ver estado y corregir documentos)109 Route::get('/dashboard', \App\Livewire\Doctor\Dashboard::class)->name('dashboard');110 Route::get('/settings/documents', \App\Livewire\Doctor\DocumentSettings::class)->name('settings.documents');111 Route::get('/schedule', \App\Livewire\Doctor\ScheduleSettings::class)->name('schedule'); // Allow schedule setup while waiting? Maybe yes.112 Route::get('/profile', \App\Livewire\Doctor\Profile::class)->name('profile');113Illuminate\Routing\RouteFileRegistrar->{closure}()Illuminate\Routing\Router->loadRoutes()Illuminate\Routing\Router->group()Illuminate\Routing\RouteRegistrar->group()93 }9495 return redirect('/');96})->middleware('auth')->name('logout');9798Route::middleware(['auth'])->group(function () {99100 // Portal Doctor101 Route::prefix('app/doctor')->name('doctor.')->group(function () {102 103 // Ruta para completar perfil (accesible sin documentos completos)104 Route::get('/complete-profile', \App\Livewire\Doctor\CompleteProfile::class)->name('profile.complete');105106 // Rutas protegidas que requieren documentos completos107 Route::middleware([\App\Http\Middleware\EnsureDoctorProfileComplete::class])->group(function () {108 // Accesibles SIN verificación (para ver estado y corregir documentos)109 Route::get('/dashboard', \App\Livewire\Doctor\Dashboard::class)->name('dashboard');110require(string)Illuminate\Routing\RouteFileRegistrar->register()Illuminate\Routing\Router->loadRoutes()Illuminate\Routing\Router->group()Illuminate\Routing\RouteRegistrar->group()Illuminate\Foundation\Configuration\ApplicationBuilder->Illuminate\Foundation\Configuration\{closure}()Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()Illuminate\Container\Util::unwrapIfClosure()Illuminate\Container\BoundMethod::callBoundMethod()Illuminate\Container\BoundMethod::call()Illuminate\Container\Container->call()Illuminate\Foundation\Support\Providers\RouteServiceProvider->loadRoutes()Illuminate\Foundation\Support\Providers\RouteServiceProvider->Illuminate\Foundation\Support\Providers\{closure}()Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()Illuminate\Container\Util::unwrapIfClosure()Illuminate\Container\BoundMethod::callBoundMethod()Illuminate\Container\BoundMethod::call()Illuminate\Container\Container->call()Illuminate\Support\ServiceProvider->callBootedCallbacks()Illuminate\Foundation\Application->bootProvider()array_walk()Illuminate\Foundation\Application->boot()Illuminate\Foundation\Bootstrap\BootProviders->bootstrap()Illuminate\Foundation\Application->bootstrapWith()Illuminate\Foundation\Http\Kernel->bootstrap()Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()Illuminate\Foundation\Http\Kernel->handle()Illuminate\Foundation\Application->handleRequest()1516// Bootstrap Laravel and handle the request...17/** @var Application $app */18$app = require_once __DIR__.'/../bootstrap/app.php';1920$app->handleRequest(Request::capture());21