@extends('layout.master') @section('css') @stop @section('content')

{{ 'Patient Details' }}

@if (!empty($patient->getUserDetails->username)) {{ $patient->getUserDetails->username }} @else {{ '- - -' }} @endif
@if (!empty($patient->getUserDetails->email)) {{ $patient->getUserDetails->email }} @else {{ '- - -' }} @endif
@if ($patient->assosiated_type != '') {{ $patient->assosiated_type }} @else {{ 'Company' }} @endif
@if ($assosiate != '')
{{ $assosiate }}
@endif
@if (!empty($patient->plan_type)) {{ ucfirst($patient->plan_type) }} @else {{ '- - -' }} @endif @if ($patient->plan_type == 'planning') ({{ $patient->user_program_type }}) @endif
{{ $doctor ? $doctor : '- - -' }}
@if (is_null($patient->conceive_date)) {{ '- - -' }} @else {{ date(config('app.date_format'), strtotime($patient->conceive_date)) }} @endif
{{ $patient->country ? $patient->country : '- - -' }}
{{ '+' }} {{ $patient->phone_code }} {{ $patient->mobile_number }}
{{ $patient->pincode ?? '- - -' }}
@if (is_null($patient->delivery_date)) {{ '- - -' }} @else {{ date(config('app.date_format'), strtotime($patient->delivery_date)) }} @endif
@if (is_null($patient->ovumpickup_date)) {{ '- - -' }} @else {{ date(config('app.date_format'), strtotime($patient->ovumpickup_date)) }} @endif
@if (is_null($patient->ovumtransfer_date)) {{ '- - -' }} @else {{ date(config('app.date_format'), strtotime($patient->ovumtransfer_date)) }} @endif
@if ($patient->language == 'en') English @elseif ($patient->language=="hi") Hindi @elseif ($patient->language=="gu") Gujarati @endif
@if ($patient->getUserDetails->status == 1)
{{ 'Active' }}
@else
{{ 'Deactive' }}
@endif
@if(!is_null($pins_usage_history)) {{ $pins_usage_history->pin_number }} @else {{ '- - -' }} @endif
@if($patient->is_three_day_activation==1)
{{ $patient->activation_expiry_date!=NULL ? date(config('app.date_format'), strtotime($patient->activation_expiry_date)) : "- - -" }}
@endif
{{ date(config('app.date_format'), strtotime($patient->getUserDetails->created_at)) }}
@if(($patient->is_three_day_activation==1)) @php $activation_expiry_date = \Carbon\Carbon::parse($patient->activation_expiry_date); @endphp
@if(($activation_expiry_date->lt(\Carbon\Carbon::now()))) Free Trail (Expired) @else Free Trail (Active) @endif
@elseif (is_null($is_pin_used))
{{ '- - -' }}
@else
Paid - Code
@endif
@if (!is_null($patient->baby_details))

{{ 'Patients Baby Details' }}

@if (is_null($patient->baby_details))

No Details

@else
{{ $patient->baby_details->hospital_name }}
{{ $patient->baby_details->doctor_name }}
{{ $patient->baby_details->city }}
{{ $patient->baby_details->birth_date }}
{{ $patient->baby_details->weight }} kg
{{ $patient->baby_details->gender }}
{{ $patient->baby_details->delivery_type }}
{{ $patient->baby_details->feedback }}
{{ $patient->baby_details->is_premature == 1 ? 'yes' : 'no' }}
@endif
@endif @if (!is_null($patient->miscarriage_details))

{{ 'Patients Miscarriage Details' }}

@if (is_null($patient->miscarriage_details))

No Details

@else
{{ $patient->miscarriage_details->miscarriage_date }}
{{ $patient->miscarriage_details->feedback }}
@if (!empty($patient->miscarriage_details->feedback))
{{ $patient->miscarriage_details->remark }}
@endif
@endif
@endif

Patients Reset Account

After the Resetting account, Patients will have to fill all the required details of their next pregnancy. Patients do not have to Register again after Resetting Account.
@stop @section('script') @stop