@extends('layouts.nurse') @section('title', 'Mother Profile') @section('content')

Mother Profile

Read-only view of mother's profile information

Back to Dashboard
@if($expectantMother->avatar_url) Profile Picture @elseif($user->profile_picture) Profile Picture @else
{{ strtoupper(substr($expectantMother->mother_full_name ?? $user->name ?? 'U', 0, 1)) }}{{ strtoupper(substr(explode(' ', $expectantMother->mother_full_name ?? $user->name ?? 'U')[1] ?? 'U', 0, 1)) }}
@endif

{{ $expectantMother->mother_full_name ?? $user->name }}

Series Number: {{ $expectantMother->series_number ?? 'N/A' }}

Email: {{ $user->email }}

@if($expectantMother->phone_number)

Phone: {{ $expectantMother->phone_number }}

@endif

Mother Information

{{ $expectantMother->ic_number ?? 'Not provided' }}

{{ $expectantMother->mother_full_name ?? 'Not provided' }}

{{ $expectantMother->ethnicity ?? 'Not provided' }}

{{ $expectantMother->nationality ?? 'Not provided' }}

@if($expectantMother->nationality === 'Foreigner' && $expectantMother->nationality_other)

({{ $expectantMother->nationality_other }})

@endif

{{ $expectantMother->educational_level ? ucwords($expectantMother->educational_level) : 'Not provided' }}

{{ $expectantMother->occupation ?? 'Not provided' }}

{{ $expectantMother->phone_number ?? 'Not provided' }}

{{ $expectantMother->home_address ?? 'Not provided' }}

@if($expectantMother->family_home_address)

{{ $expectantMother->family_home_address }}

@endif @if($expectantMother->work_address)

{{ $expectantMother->work_address }}

@endif
@if($expectantMother->husband_full_name || $expectantMother->husband_ic_number || $expectantMother->husband_occupation)

Husband Information

@if($expectantMother->husband_full_name)

{{ $expectantMother->husband_full_name }}

@endif @if($expectantMother->husband_ic_number)

{{ $expectantMother->husband_ic_number }}

@endif @if($expectantMother->husband_occupation)

{{ $expectantMother->husband_occupation }}

@endif @if($expectantMother->husband_phone_number)

{{ $expectantMother->husband_phone_number }}

@endif @if($expectantMother->husband_work_address)

{{ $expectantMother->husband_work_address }}

@endif
@endif

General Information

@if($expectantMother->number_of_fetus)

{{ $expectantMother->number_of_fetus }}

@endif @if($expectantMother->number_of_living_children !== null)

{{ $expectantMother->number_of_living_children }}

@endif @if($expectantMother->marriage_date)

{{ \Carbon\Carbon::parse($expectantMother->marriage_date)->format('F j, Y') }}

@endif @if($expectantMother->menache)

{{ $expectantMother->menache }}

@endif @if($expectantMother->family_planning_method !== null)

{{ $expectantMother->family_planning_method == 1 ? 'Yes' : 'No' }} @if($expectantMother->family_planning_method == 1 && $expectantMother->family_planning_method_specify) - {{ $expectantMother->family_planning_method_specify }} @endif

@endif @if($expectantMother->mother_smoking_status)

{{ $expectantMother->mother_smoking_status }}

@endif @if($expectantMother->husband_smoking_status)

{{ $expectantMother->husband_smoking_status }}

@endif @if($expectantMother->tibi_screening_cough !== null)

{{ $expectantMother->tibi_screening_cough == 1 ? 'Yes' : 'No' }}

@endif

Family Health

Mother

@php $motherConditions = []; $conditions = ['diabetes', 'hipertension', 'allergy', 'psychiatry', 'asthma', 'heart_disease', 'tibi', 'anemia', 'thalasemia', 'tiroid', 'cancer']; foreach($conditions as $condition) { if($expectantMother->{'mother_' . $condition}) { $motherConditions[] = ucfirst(str_replace('_', ' ', $condition)); } } if($expectantMother->mother_other && $expectantMother->mother_other_specify) { $motherConditions[] = $expectantMother->mother_other_specify; } @endphp @if(count($motherConditions) > 0)
    @foreach($motherConditions as $condition)
  • {{ $condition }}
  • @endforeach
@else

No health conditions reported

@endif

Father

@php $fatherConditions = []; foreach($conditions as $condition) { if($expectantMother->{'father_' . $condition}) { $fatherConditions[] = ucfirst(str_replace('_', ' ', $condition)); } } if($expectantMother->father_other && $expectantMother->father_other_specify) { $fatherConditions[] = $expectantMother->father_other_specify; } @endphp @if(count($fatherConditions) > 0)
    @foreach($fatherConditions as $condition)
  • {{ $condition }}
  • @endforeach
@else

No health conditions reported

@endif

This is a read-only view. Profile information is managed by the clinic.

@endsection