@php use App\Models\School; @endphp @extends('admin.main') @section('content') {{-- --}}
{{-- --}}

Medical History

@if (Session::has('error_message')) @endif @if (Session::has('success_message')) @endif @if ($errors->any())
@endif

Student Biodata

@php $Schools = School::get(); @endphp @if (!empty($Schools)) @foreach ($Schools as $item) @if (!empty($StudentBiodata['School_Name']) && $StudentBiodata['School_Name'] == $item->id) @php $SchoolEmail = $item->email; @endphp @endif @endforeach @endif {{-- --}}
{{-- Emergency contact field added --}}
{{-- --}}
{{-- School Health Physician Tab --}}
@csrf

School Health Physician

{{-- --}}

Medical History

PHYSICAL EXAMINATION

Vital Signs and Measurements

Diagnosis, Impression and Plan

@php $provisionalArray = []; if (!empty($SchoolHealthPhysician['Provisional_Diagnosis'])) { $provisionalArray = explode( '|', $SchoolHealthPhysician['Provisional_Diagnosis'] ?? '', ); // echo "
";print_r($provisionalArray);exit;
                                                }
                                            @endphp

                                            


                                        

Refferals

@php $internal_referralsArr = []; if (!empty($SchoolHealthPhysician['internal_referrals'])) { $internal_referralsArr = explode( '|', $SchoolHealthPhysician['internal_referrals'] ?? '', ); // echo "
";print_r($internal_referralsArr);exit;
                                                }
                                            @endphp

                                            


                                        
@php $external_referralsArr = []; if (!empty($SchoolHealthPhysician['external_referrals'])) { $external_referralsArr = explode( '|', $SchoolHealthPhysician['external_referrals'] ?? '', ); } @endphp
{{-- --}}
@csrf

Nutritionist History & Evaluation Section

Anthropometric Measurements

Estimated Nutrition Requirements

Dietary Evaluation

24- hour Dietary Recall

Clinical Examination

Physical Appearance

Diagnosis, Impression and Plan


@php $provisionalArray = []; if ( !empty( $NutritionistHistoryEvaluationSection['Provisional_Diagnosis1'] ) ) { $provisionalArray = explode( '|', $NutritionistHistoryEvaluationSection['Provisional_Diagnosis1'], ); } @endphp

Diet Plan


Refferals

{{-- --}}
@csrf

Psychologist History & Assessment Section

Mental Status Examination

@php $selectedValues = []; if (!empty($PsychologistHistoryAssessmentSection['Affect'])) { $selectedValues = explode( '|', $PsychologistHistoryAssessmentSection['Affect'], ); } @endphp

Diagnosis, Impression and Plan


Refferals

{{-- --}}
@if (!empty($followUps)) @foreach ($followUps as $followUp)

Follow-Up {{ \Carbon\Carbon::parse($followUp->created_at)->format('Y-m-d') }}

{{$followUp->icd}}
{{$followUp->reason}}
{{$followUp->comment}}
@endforeach @endif {{-- Print --}}
@php $dataPoints1 = [ ["x" => 2, "y" => 1.6735], ["x" => 3, "y" => 1.619], ["x" => 4, "y" => 1.5673], ["x" => 5, "y" => 1.5182], ["x" => 38, "y" => 0.678], ["x" => 39, "y" => 0.6652], ["x" => 40, "y" => 0.6527], ["x" => 45, "y" => 0.5958], ["x" => 50, "y" => 0.5465], ["x" => 55, "y" => 0.5036], ["x" => 60, "y" => 0.466], ["x" => 65, "y" => 0.4329], ["x" => 70, "y" => 0.4035], ["x" => 75, "y" => 0.3774], ["x" => 80, "y" => 0.354] ]; $dataPoints2 = [ ["x" => 2, "y" => 0.9999], ["x" => 3, "y" => 1], ["x" => 4, "y" => 1], ]; @endphp @endsection {{-- --}}