@extends('operations.layout.mainlayout') @section('content')

Visit No. {{ $patient->id }}

@if(isset($errors) && $errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(isset($success))
{{ $success }}
@endif
Patient Information
@if(isset($errors) && $errors->has('patient_id'))
{{ $errors->first('patient_id') }}
@endif
@if(isset($errors) && $errors->has('nationality_id'))
{{ $errors->first('nationality_id') }}
@endif
Gender @foreach ($genders as $key => $value) gender_id == $key) ? 'checked' : '' }} /> @endforeach
@if(isset($errors) && $errors->has('gender_id'))
{{ $errors->first('gender_id') }}
@endif
@if(isset($errors) && $errors->has('age'))
{{ $errors->first('age') }}
@endif
@if(isset($errors) && $errors->has('file_no'))
{{ $errors->first('file_no') }}
@endif
@if(isset($errors) && $errors->has('visit_date'))
{{ $errors->first('visit_date') }}
@endif
@if(isset($errors) && $errors->has('type_of_visit_id'))
{{ $errors->first('type_of_visit_id') }}
@endif
Visit Information
@if(isset($errors) && $errors->has('region_id'))
{{ $errors->first('region_id') }}
@endif
@if(isset($errors) && $errors->has('hospital_id'))
{{ $errors->first('hospital_id') }}
@endif
Type of Diabetes @foreach ($typesOfDiabetes as $key => $value) @if ($value != 'N/A') type_of_diabetes_id == $key) ? 'checked' : '' }} /> @endif @endforeach
@if(isset($errors) && $errors->has('type_of_diabetes_id'))
{{ $errors->first('type_of_diabetes_id') }}
@endif
Smoker @foreach ($smokers as $key => $value) smoker_id == $key) ? 'checked' : '' }} /> @endforeach
@if(isset($errors) && $errors->has('smoker_id'))
{{ $errors->first('smoker_id') }}
@endif
@if(isset($errors) && $errors->has('hba1c_level_id'))
{{ $errors->first('hba1c_level_id') }}
@endif
@if(isset($errors) && $errors->has('type_of_footwear_id'))
{{ $errors->first('type_of_footwear_id') }}
@endif
Type of Condition
@if(isset($errors) && $errors->has('affected_area_id'))
{{ $errors->first('affected_area_id') }}
@endif
@if(isset($errors) && $errors->has('diabetic_ulcers'))
{{ $errors->first('diabetic_ulcers') }}
@endif
@if(isset($errors) && $errors->has('charcot_foot'))
{{ $errors->first('charcot_foot') }}
@endif
Peripheral Artery Disease
@if(isset($errors) && $errors->has('pad'))
{{ $errors->first('pad') }}
@endif
@if(isset($errors) && $errors->has('gangrene'))
{{ $errors->first('gangrene') }}
@endif
@if(isset($errors) && $errors->has('foot_deformities'))
{{ $errors->first('foot_deformities') }}
@endif
@if(isset($errors) && $errors->has('type_of_amputation_id'))
{{ $errors->first('type_of_amputation_id') }}
@endif
@if(isset($errors) && $errors->has('referral_to_emergency'))
{{ $errors->first('referral_to_emergency') }}
@endif
@if(isset($errors) && $errors->has('diabetes_duration'))
{{ $errors->first('diabetes_duration') }}
@endif
@if(isset($errors) && $errors->has('wound_duration_id'))
{{ $errors->first('wound_duration_id') }}
@endif
@if(isset($errors) && $errors->has('final_diagnosis'))
{{ $errors->first('final_diagnosis') }}
@endif
@endsection @section('footer-scripts') @endsection