@if(! $hasAny)
No patient history recorded yet. Click Edit below to add it.
@else
{{-- Obstetric --}}
Obstetric
Miscarriages: {{ $h->abortions ?? '—' }}
Living children: {{ $h->living_children ?? '—' }}
Previous CS: {{ $h->previous_cs ? 'Yes' . ($h->previous_cs_count ? " ({$h->previous_cs_count})" : '') : 'No' }}
Previous PPH: {{ $h->previous_pph ? 'Yes' : 'No' }}
@if($h->previous_stillbirth)
Stillbirth: Yes
@endif
@if($h->previous_preeclampsia)
Pre-eclampsia: Yes
@endif
@if($h->previous_eclampsia)
Eclampsia: Yes
@endif
@if($h->previous_preterm)
Preterm: Yes
@endif
@if($h->previous_low_birth_weight)
LBW: Yes
@endif
@if($h->previous_congenital_anomaly)
Congenital anomaly: Yes
@endif
@if($h->previous_neonatal_death)
Neonatal death: Yes
@endif
{{-- Medical --}}
Medical
@php
$med = array_filter([
'Hypertension' => $h->hx_hypertension,
'Diabetes' => $h->hx_diabetes,
'Cardiac' => $h->hx_cardiac,
'Asthma' => $h->hx_asthma,
'TB' => $h->hx_tb,
'HIV' => $h->hx_hiv,
'Epilepsy' => $h->hx_epilepsy,
'Sickle cell' => $h->hx_sickle_cell,
'Renal disease'=> $h->hx_renal,
'Mental health'=> $h->hx_mental_health,
]);
@endphp
@if(count($med))
@foreach(array_keys($med) as $cond)
{{ $cond }}
@endforeach
@else
No chronic conditions.
@endif
@if($h->drug_allergies)Drug allergies: {{ $h->drug_allergies }}
@endif
@if($h->current_medications)Current meds: {{ $h->current_medications }}
@endif
@if($h->other_medical_history)Other: {{ $h->other_medical_history }}
@endif
{{-- Surgical --}}
@if($h->surgical_history)
Surgical
{{ $h->surgical_history }}
@endif
{{-- Family --}}
@php
$fam = array_filter([
'Hypertension' => $h->family_hx_hypertension,
'Diabetes' => $h->family_hx_diabetes,
'Twins' => $h->family_hx_twins,
'Congenital' => $h->family_hx_congenital,
]);
@endphp
@if(count($fam))
Family
@foreach(array_keys($fam) as $cond)
{{ $cond }}
@endforeach
@endif
{{-- Social --}}
@php
$soc = array_filter([
'Smoking' => $h->social_smoking,
'Alcohol' => $h->social_alcohol,
'Substance use' => $h->social_substance_use,
'IPV screened' => $h->social_ipv_screened,
'IPV disclosed' => $h->social_ipv_positive,
]);
@endphp
@if(count($soc))
Social
@foreach(array_keys($soc) as $f)
@php $c = in_array($f, ['IPV disclosed']) ? '#fee2e2;color:#991b1b' : '#e0e7ff;color:#3730a3'; @endphp
{{ $f }}
@endforeach
@endif
@if($h->obstetric_history_notes)
Additional Notes
{{ $h->obstetric_history_notes }}
@endif
@endif
Edit History
Changes are saved to this visit. Click Save when done, then close the drawer.
{{-- Obstetric --}}
Obstetric
@include('maternity.partials._fields.input', ['name'=>'abortions', 'label'=>'Miscarriages', 'type'=>'number'])
@include('maternity.partials._fields.input', ['name'=>'living_children', 'label'=>'Living Children', 'type'=>'number'])
@include('maternity.partials._fields.input', ['name'=>'previous_cs_count','label'=>'Prev CS count', 'type'=>'number'])
@include('maternity.partials._fields.checkbox', ['name'=>'previous_cs', 'label'=>'Previous C-section'])
@include('maternity.partials._fields.checkbox', ['name'=>'previous_pph', 'label'=>'Previous PPH'])
@include('maternity.partials._fields.checkbox', ['name'=>'previous_stillbirth', 'label'=>'Previous stillbirth'])
@include('maternity.partials._fields.checkbox', ['name'=>'previous_preeclampsia', 'label'=>'Pre-eclampsia'])
@include('maternity.partials._fields.checkbox', ['name'=>'previous_eclampsia', 'label'=>'Eclampsia'])
@include('maternity.partials._fields.checkbox', ['name'=>'previous_preterm', 'label'=>'Preterm'])
@include('maternity.partials._fields.checkbox', ['name'=>'previous_low_birth_weight', 'label'=>'Low birth weight'])
@include('maternity.partials._fields.checkbox', ['name'=>'previous_congenital_anomaly', 'label'=>'Congenital anomaly'])
@include('maternity.partials._fields.checkbox', ['name'=>'previous_neonatal_death', 'label'=>'Neonatal death'])
{{-- Medical --}}
Medical
@include('maternity.partials._fields.checkbox', ['name'=>'hx_hypertension', 'label'=>'Hypertension'])
@include('maternity.partials._fields.checkbox', ['name'=>'hx_diabetes', 'label'=>'Diabetes'])
@include('maternity.partials._fields.checkbox', ['name'=>'hx_cardiac', 'label'=>'Cardiac'])
@include('maternity.partials._fields.checkbox', ['name'=>'hx_asthma', 'label'=>'Asthma'])
@include('maternity.partials._fields.checkbox', ['name'=>'hx_tb', 'label'=>'TB'])
@include('maternity.partials._fields.checkbox', ['name'=>'hx_hiv', 'label'=>'HIV'])
@include('maternity.partials._fields.checkbox', ['name'=>'hx_epilepsy', 'label'=>'Epilepsy'])
@include('maternity.partials._fields.checkbox', ['name'=>'hx_sickle_cell', 'label'=>'Sickle cell'])
@include('maternity.partials._fields.checkbox', ['name'=>'hx_renal', 'label'=>'Renal'])
@include('maternity.partials._fields.checkbox', ['name'=>'hx_mental_health', 'label'=>'Mental health'])
@include('maternity.partials._fields.compact_input', ['name'=>'drug_allergies', 'label'=>'Drug allergies'])
@include('maternity.partials._fields.compact_input', ['name'=>'current_medications', 'label'=>'Current medications'])
@include('maternity.partials._fields.compact_input', ['name'=>'other_medical_history','label'=>'Other medical history'])
{{-- Surgical --}}
Surgical
@include('maternity.partials._fields.compact_input', ['name'=>'surgical_history', 'label'=>'Previous surgeries', 'help'=>'e.g. appendectomy 2018'])
{{-- Family --}}
Family
@include('maternity.partials._fields.checkbox', ['name'=>'family_hx_hypertension', 'label'=>'Hypertension'])
@include('maternity.partials._fields.checkbox', ['name'=>'family_hx_diabetes', 'label'=>'Diabetes'])
@include('maternity.partials._fields.checkbox', ['name'=>'family_hx_twins', 'label'=>'Twins'])
@include('maternity.partials._fields.checkbox', ['name'=>'family_hx_congenital', 'label'=>'Congenital anomaly'])
{{-- Social --}}
Social
@include('maternity.partials._fields.checkbox', ['name'=>'social_smoking', 'label'=>'Smoking'])
@include('maternity.partials._fields.checkbox', ['name'=>'social_alcohol', 'label'=>'Alcohol use'])
@include('maternity.partials._fields.checkbox', ['name'=>'social_substance_use', 'label'=>'Substance use'])
@include('maternity.partials._fields.checkbox', ['name'=>'social_ipv_screened', 'label'=>'IPV screened'])
@include('maternity.partials._fields.checkbox', ['name'=>'social_ipv_positive', 'label'=>'IPV disclosed'])
Additional notes
@include('maternity.partials._fields.textarea', ['name'=>'obstetric_history_notes', 'label'=>'Free-text notes', 'rows'=>3])
Cancel
Save