@extends('layouts.master') @section('browserTitle') @if(isset($_SESSION['logged'])&&($_SESSION['logged']==true)) @if($_SESSION['role']=='clinician') @if(isset($patient->id)) {{ trans('menu.editPatient') }} @else {{ trans('menu.addPatient') }} @endif @elseif($_SESSION['role']=='patient') {{ trans('menu.esitProfile') }} @endif @endif @endsection @section('breadcrumb') @if(isset($_SESSION['logged'])&&($_SESSION['logged']==true)) @if($_SESSION['role']=='clinician') @if(isset($patient->id)) @else @endif @elseif($_SESSION['role']=='patient') @if(isset($patient->id)) @endif @endif @endif @endsection @section('title') @if(isset($_SESSION['logged'])&&($_SESSION['logged']==true)) @if($_SESSION['role']=='clinician') @if(isset($patient->id)) {{ trans('menu.editPatient') }} @else {{ trans('menu.addPatient') }} @endif @elseif($_SESSION['role']=='patient') @if(isset($patient->id)) {{ trans('menu.editProfile') }} @endif @endif @endif @endsection @section('body') @if(($_SESSION['role']=='clinician') && !(isset($patient))) @elseif(isset($patient)) @if($_SESSION['role']=='clinician') @elseif($_SESSION['role']=='patient') @endif @endif
@if(isset($patient->id)) @if($_SESSION['role'] == 'patient')
@method('PUT') @else @method('PUT') @endif @else @endif @csrf
@if(isset($patient->id)) @else @endif
@if(isset($patient->id)) @else @endif
@if(isset($patient->id)) @else @endif
@if(isset($_SESSION['logged'])&&($_SESSION['logged']==true)) @if($_SESSION['role']=='clinician')
@if(isset($patient->id) && (($patient->sex) == 0))
@else
@endif
@if(isset($patient->id)) @else @endif
@if(isset($patient->id)) @else @endif
@if(isset($patient->id)) @if(($patient->lateralization) == 0)
@else
@endif @else
@endif
@if(isset($patient->id)) @if(($patient->chemoterapy) == 1)
@else
@endif @else
@endif
@if(isset($patient->id)) @if(($patient->radioterapy) == 1)
@else
@endif @else
@endif
@if(isset($patient->id)) @if(($patient->dominant_hand) == 0)
@else
@endif @else
@endif
@if(isset($patient->id)) @if(($patient->antieplileptics) == 1)
@else
@endif @else
@endif
@if(isset($patient->id)) @if(($patient->tranquilizers) == 1)
@else
@endif @else
@endif
@if(isset($patient->id)) @if(($patient->cortisone) == 1)
@else
@endif @else
@endif
@if(isset($patient->id)) @if(($patient->neurosurgery) == 1)
@else
@endif @else
@endif
@endif @endif
@if(isset($patient->id)) @else @endif
@if(isset($_SESSION['logged'])&&($_SESSION['logged']==true)) @if($_SESSION['role']=='clinician') @if(!isset($patient->id))
@endif @endif @endif
@if(isset($patient->id)) {{ trans('btn.cancel') }} @else {{ trans('btn.cancel') }} @endif
@endsection