{{-- style="font-size: 24px;" --}}
@if(isset($data->bannerUrl) && $data->bannerUrl != "") @endif
Prescription No: {{$data->prescriptionNo}}
Patient Name:  @if(isset($data->patientMaster->name)) {{$data->patientMaster->name}} @endif   @if(isset($data->patientMaster->gender)) G: {{$data->patientMaster->gender}} @endif @if(isset($data->patientMaster->dob)) Age: {{\Carbon\Carbon::parse($data->patientMaster->dob)->diff(\Carbon\Carbon::now())->format('%y Years, %m Months')}} @endif {{--{{\Carbon\Carbon::parse($data->patientMaster->dob)->diff(\Carbon\Carbon::now())->format('%y years, %m months and %d days')}}--}} @if($data->patientMaster->patientAnimal) Species: {{$data->patientMaster->patientAnimal->species}} @endif
@if(isset($data->patientMaster->mobileNo)) Phone: {{$data->patientMaster->mobileNo}} @endif @if(isset($data->patientMaster->registrationNo)) Reg: {{$data->patientMaster->registrationNo}}
@endif @if($data->patientMaster->patientAnimal) @if(isset($data->patientMaster->owner)) Owner Name: {{$data->patientMaster->owner->name}} Owner Id: {{$data->patientMaster->owner->billToRegistrationNo}}
@endif @endif @if(isset($data->doctorProfile)) Doctor Name: {{$data->doctorProfile->userInfoMaster->name}} @endif @if(isset($data->doctorProfile->degree) && $data->doctorProfile->degree) Degree: {{$data->doctorProfile->degree}} @endif
@if(isset($data->coMorbidIllness)) Co-Morbid Illness :  {{$data->coMorbidIllness}} @endif
Prescription No
@if(count($data->chiefComplainList) > 0) @foreach($data->chiefComplainList as $index => $item) @endforeach
Cheif Complain
{{$index + 1}}. {{$item->name}} @if(isset($item->duration)) {{$item->duration}} @endif @if(isset($item->durationUnit)) {{$item->durationUnit}} @endif @if(isset($item->remarks)) {{$item->remarks}} @endif
@endif
@if(isset($data->temprerature) || isset($data->bloodPressure) || isset($data->bloodSugerAm) || isset($data->bloodSugerBm) || isset($data->respiratoryRate) || isset($data->oxygenLabel) || isset($data->heartRate) || isset($data->height) || isset($data->weight)|| isset($data->bmiResult) || isset($data->bmiResult) || count($data->onExaminationList) > 0 ) @endif @if(isset($data->temprerature) || isset($data->bloodPressure))) @endif @if(isset($data->bloodSugerAm) || isset($data->bloodSugerBm) || isset($data->respiratoryRate))) @endif @if(isset($data->oxygenLabel) || isset($data->heartRate) || isset($data->height) || isset($data->weight))) @endif @if(isset($data->bmiResult) || isset($data->bmiResult)) @endif @if(count($data->onExaminationList) > 0) @foreach($data->onExaminationList as $index => $item) @endforeach @endif
On Examination
@if(isset($data->temprerature)) BT: {{$data->temprerature->primaryValue}}F, @endif @if(isset($data->bloodPressure)) BP(Sys):{{$data->bloodPressure->primaryValue}}, BP(Dia):{{$data->bloodPressure->secondaryValue}}, @endif
@if(isset($data->bloodSugerAm)) BS(AM): {{$data->bloodSugerAm->primaryValue}}, @endif @if(isset($data->bloodSugerBm)) BS(BM): {{$data->bloodSugerBm->primaryValue}}, @endif @if(isset($data->respiratoryRate)) RR: {{$data->respiratoryRate->primaryValue}}, @endif
@if(isset($data->oxygenLabel)) OL: {{$data->oxygenLabel->primaryValue}}, @endif @if(isset($data->heartRate)) HR: {{$data->heartRate->primaryValue}}, @endif @if(isset($data->height)) HT: {{$data->height->primaryValue}}, @endif @if(isset($data->weight)) WT: {{$data->weight->primaryValue}}, @endif
@if(isset($data->bmiResult)) BMI: {{number_format($data->bmiResult->result, 2)}}, @endif @if(isset($data->bmiResult)) Msg: {{$data->bmiResult->message}} @endif
{{$index + 1}}. {{$item->name}}
@if(count($data->investigationList) > 0) @foreach($data->investigationList as $index => $item) @endforeach
Investigations
{{$index + 1}}. {{$item->name}}
@endif
@if(count($data->investigationHighlightList) > 0) @foreach($data->investigationHighlightList as $index => $item) @endforeach
Investigation Highlight
{{$index + 1}}. {{$item->name}}
@endif
@if(count($data->diagnosisList) > 0) @foreach($data->diagnosisList as $index => $item) @endforeach
Diagnosis
{{$index + 1}}. {{$item->name}}
@endif
@if(count($data->medicationList) > 0) @foreach($data->medicationList as $index => $item) @endforeach
Rx.
{{$index + 1}}. {{$item->name}}
@if($item->timeString != null) {{$item->timeString}} @endif @if($item->direction != null) {{$item->direction}} @endif -- @if($item->duration != null) {{$item->duration}} @endif @if($item->durationUnit != null) {{$item->durationUnit}}
@endif @if(isset($item->remarks)) {{$item->remarks}} @endif
@endif
@if(count($data->adviceList) > 0) @foreach($data->adviceList as $index => $item) @endforeach
Advice
{{$index + 1}}. {{$item->name}}
@endif
@if(isset($data->remarks)) Remarks: {{$data->remarks}} @endif
@if(isset($data->followUpDate)) Next Followup: {{($Controller::dateFormatter($data->followUpDate))}} @endif
@if($data->referDoctor != null) Referred To: {{$data->referDoctor}} @endif