{{--
--}}
{{--
--}}
{{--
--}}
@php
$birthYear = '';
$birthMonth = '';
$birthDay = '';
@endphp
@if(isset($patient->account_contact->date_of_birth))
@php
$birthYear = date('Y',strtotime($patient->account_contact->date_of_birth));
$birthMonth = date('m',strtotime($patient->account_contact->date_of_birth));
$birthDay = date('d',strtotime($patient->account_contact->date_of_birth));
@endphp
@endif
The date of birth or age are required.