mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
2638 lines
163 KiB
PHP
Executable File
2638 lines
163 KiB
PHP
Executable File
@extends('layouts.main')
|
|
|
|
|
|
@push('styles')
|
|
<style>
|
|
.hr_line {
|
|
background-color: #c2c3c3;
|
|
height: 1px;
|
|
margin: 2px 0;
|
|
border: none;
|
|
}
|
|
|
|
/* make table rows to fill full row on mobile */
|
|
.table-row-full-width {
|
|
padding: 10px;
|
|
/* border: 1px solid #ccc; */
|
|
}
|
|
</style>
|
|
@endpush
|
|
|
|
@section('content')
|
|
<div class="row bg-title">
|
|
<div class="col-lg-6 col-md-7 col-sm-7 col-xs-12">
|
|
<h4 class="page-title">{{ __('maternity.details_for_episode') }} :
|
|
{{ streamline_date(get_name($episode_id, 'id', 'created_at', 'patient_episodes')) }}</h4>
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-sm-5 col-md-5 col-xs-12">
|
|
<ol class="breadcrumb">
|
|
<li><a href="{{ route('home') }}">{{ __('maternity.dashboard') }}</a></li>
|
|
<li><a href="{{ route('patients.index') }}">{{ __('maternity.patient') }}</a></li>
|
|
<li class="active">{{ __('maternity.maternity_admission_details') }}</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
@include('patients::allergies.header')
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
@if (session('update_inpatient'))
|
|
<div class="alert alert-success alert-dismissible fade show" role="alert"
|
|
style="width: 100%; padding-top:-8px;">
|
|
{{ session('update_inpatient') }}
|
|
{{-- <button type="button" class="close" data-dismiss="alert" aria-label="Close" style="margin-top:-5px;">
|
|
<span aria-hidden="true">×</span>
|
|
</button> --}}
|
|
</div>
|
|
@endif
|
|
|
|
|
|
{{-- <div class="col-sm-12">
|
|
<div class="white-box">
|
|
<div class="row">
|
|
|
|
|
|
<div class="col-md-4 col-lg-4 col-xl-4 col-sm-12 col-xs-12">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<ul class="nav flex-column nav-pills">
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link active" data-toggle="pill" href="#overview">Overview</a>
|
|
</li>
|
|
<hr class="hr_line">
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-toggle="pill" href="#obstetric_history">Past Obstetric
|
|
History</a>
|
|
</li>
|
|
<hr class="hr_line">
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-toggle="pill"
|
|
href="#delivery_plan">{{ __('maternity.delivery_plan') }}</a>
|
|
</li>
|
|
<hr class="hr_line">
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-toggle="pill"
|
|
href="#menstrual_history">{{ __('antenatal.menstrual_history') }}</a>
|
|
</li>
|
|
<hr class="hr_line">
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-toggle="pill"
|
|
href="#medical_history">{{ __('antenatal.medical_history') }}</a>
|
|
</li>
|
|
<hr class="hr_line">
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-toggle="pill"
|
|
href="#family_history">{{ __('antenatal.family_history') }}</a>
|
|
</li>
|
|
<hr class="hr_line">
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-toggle="pill"
|
|
href="#surgical_history">{{ __('antenatal.surgical_history') }}</a>
|
|
</li>
|
|
<hr class="hr_line">
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-toggle="pill"
|
|
href="#blood_transfusion">{{ __('antenatal.blood_transfusion') }}</a>
|
|
</li>
|
|
<hr class="hr_line">
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<br><br>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-md-8 col-lg-8 col-xl-8 col-sm-12 col-xs-12 ">
|
|
<div class="tab-content ">
|
|
<div class="tab-pane fade show active " id="overview" style="margin-top:-28px;">
|
|
<div class="card ">
|
|
|
|
<div class="card-header bg-success text-white">
|
|
Overview of this pregnancy
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>Gravida</th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->gravida))
|
|
{{ $maternity_admission_details->gravida }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Para</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->para))
|
|
{{ $maternity_admission_details->para }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Abortion</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->abortion))
|
|
{{ $maternity_admission_details->abortion }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Ectopic pregnancies</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->ectopic_pregnancies))
|
|
{{ $maternity_admission_details->ectopic_pregnancies }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Post-partum</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->postpartum))
|
|
@if ($maternity_admission_details->postpartum == '1')
|
|
Yes
|
|
@elseif($maternity_admission_details->postpartum == '0')
|
|
No
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <br>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane fade " id="obstetric_history" style="margin-top:-28px;">
|
|
|
|
<div class="card ">
|
|
<div class="card-header bg-success text-white">
|
|
Obstetric history details
|
|
</div>
|
|
<div class="card-body p-4">
|
|
<h5 class="card-title">Special title treatment</h5>
|
|
</div>
|
|
</div> <br>
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane fade " id="delivery_plan" style="margin-top:-28px;">
|
|
<div class="card ">
|
|
|
|
<div class="card-header bg-success text-white">
|
|
Delivery plan details
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('maternity.person_you_live_with') }}</th>
|
|
<td class="text-start">data here</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.means_of_transport_to_facility') }}</th>
|
|
<td>3</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.person_to_accompany_you') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.person_to_look_after_home') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.family_planning_before_next_pregnancy') }}
|
|
</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.person_to_stay_at_facility') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.delivery_method') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.after_birth_disposal') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.backup_delivery_method') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.mother_partner_screened_for') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <br>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="menstrual_history" style="margin-top:-28px;">
|
|
<div class="card ">
|
|
|
|
<div class="card-header bg-success text-white">
|
|
{{ __('antenatal.menstrual_history') }}
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('antenatal.cycle_length') }}</th>
|
|
<td class="text-start">1</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('antenatal.menses_length') }}</th>
|
|
<td>3</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('antenatal.menses_amount') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.family_planning_method') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.date_discontinued') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.why') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <br>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="medical_history" style="margin-top:-28px;">
|
|
<div class="card ">
|
|
<div class="card-header">
|
|
{{ __('antenatal.medical_history') }}
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('maternity.history_of_aph') }}</th>
|
|
<td class="text-start">1</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.history_of_fits') }}</th>
|
|
<td>3</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div> <br>
|
|
|
|
<div class="card ">
|
|
<div class="card-header">
|
|
{{ __('antenatal.medical_presentations') }}
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
|
|
<div class="row">
|
|
<p>medical presentation here </p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div> <br>
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="family_history" style="margin-top:-28px;">
|
|
<div class="card ">
|
|
|
|
<div class="card-header">
|
|
{{ __('antenatal.family_history') }}
|
|
</div> <br>
|
|
|
|
<div class="card-header">
|
|
{{ __('antenatal.sgbv') }}
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('antenatal.sgbv_risk') }}</th>
|
|
<td class="text-start">1</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('antenatal.others') }}</th>
|
|
<td>3</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('antenatal.husband_health') }}</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div> <br>
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
{{ __('antenatal.other_comments') }}
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<p>Comment on health here </p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="surgical_history" style="margin-top:-28px;">
|
|
<div class="card ">
|
|
<div class="card-header">
|
|
{{ __('antenatal.surgical_history') }}
|
|
</div>
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<p>table of surgical history here </p>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div> <br>
|
|
|
|
<div class="card ">
|
|
<div class="card-header">
|
|
{{ __('antenatal.uterus_operations') }}
|
|
</div>
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<p>uterus operations </p>
|
|
</div>
|
|
</div>
|
|
|
|
</div> <br>
|
|
|
|
<div class="card ">
|
|
<div class="card-header">
|
|
{{ __('antenatal.operations') }}
|
|
</div>
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<p>other operations </p>
|
|
</div>
|
|
</div>
|
|
|
|
</div> <br>
|
|
|
|
<div class="card ">
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>Ever had blood transfusion</th>
|
|
<td class="text-start">1</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Why blood transfusion</th>
|
|
<td>3</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <br>
|
|
|
|
<div class="card ">
|
|
|
|
<div class="card-header">
|
|
{{ __('antenatal.fractures') }}
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>Ever had blood transfusion</th>
|
|
<td class="text-start">1</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Why blood transfusion</th>
|
|
<td>3</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <br>
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="blood_transfusion" style="margin-top:-28px;">
|
|
<div class="card ">
|
|
|
|
<div class="card-header">
|
|
{{ __('antenatal.blood_transfusion') }}
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>Gravida</th>
|
|
<td class="text-start">1</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Para</th>
|
|
<td>3</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Abortion</th>
|
|
<td>0</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Ectopic pregnancies</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Post-partum</th>
|
|
<td>0</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> --}}
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-12">
|
|
<div class="white-box">
|
|
<h3> {{ __('maternity.maternity_admission_details_for') }} <font style="color: blue">
|
|
{{ get_full_name($patient->id, 'id', 'first_name', 'last_name', 'patients') }} </font> as of,
|
|
{{ streamline_date_time_short($maternity_admission_details->created_at) }}
|
|
</h3>
|
|
|
|
|
|
{{-- gravida para abortions --}}
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
|
|
<div class="card ">
|
|
<div class="card-header bg-success text-white bg-success text-white">
|
|
Overview of this pregnancy
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<div class="row">
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>Gravida</th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->gravida))
|
|
{{ $maternity_admission_details->gravida }}
|
|
@else
|
|
<span>0</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Para</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->para))
|
|
{{ $maternity_admission_details->para }}
|
|
@else
|
|
<span> 0</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Abortion</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->abortion))
|
|
{{ $maternity_admission_details->abortion }}
|
|
@else
|
|
<span>0</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Ectopic pregnancies</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->ectopic_pregnancies))
|
|
{{ $maternity_admission_details->ectopic_pregnancies }}
|
|
@else
|
|
<span>0</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Post-partum</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->postpartum))
|
|
@if ($maternity_admission_details->postpartum == '1')
|
|
Yes
|
|
@elseif($maternity_admission_details->postpartum == '0')
|
|
No
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>LMP</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->lmp))
|
|
{{ streamline_date($maternity_admission_details->lmp) }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Accuracy</th>
|
|
<td>
|
|
{{ isset($accuracies[$maternity_admission_details->accuracy]) ? $accuracies[$maternity_admission_details->accuracy] : '' }}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.number_of_weeks_pregnant') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->weeks_of_amenorrhoea))
|
|
{{ $maternity_admission_details->weeks_of_amenorrhoea }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.edd') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->edd))
|
|
{{ streamline_date($maternity_admission_details->edd) }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.us_scan_edd') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->scan_edd))
|
|
{{ streamline_date($maternity_admission_details->scan_edd) }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Current Gestation from scan </th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->gestation_from_scan))
|
|
{{ $maternity_admission_details->gestation_from_scan }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.referral_in_from') }}</th>
|
|
<td>
|
|
{{ isset($referrals[$maternity_admission_details->referral_from]) ? $referrals[$maternity_admission_details->referral_from] : 'N/A' }}
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.progress') }}</th>
|
|
<td>
|
|
{{ isset($maternity_progress[$maternity_admission_details->progress]) ? $maternity_progress[$maternity_admission_details->progress] : '' }}
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <br>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{{-- past obstetrict history --}}
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
|
|
<div class="card ">
|
|
<div class="card-header bg-success text-white">
|
|
{{ __('antenatal.past_obstetric_history') }}
|
|
</div>
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
|
|
@if ($obstetric_history_details->count() > 0)
|
|
<div class="col-sm-12">
|
|
<div class="table-responsive">
|
|
<table class="table table-bordered color-bordered-table success-bordered-table"
|
|
id="table_1">
|
|
<thead>
|
|
<th>{{ __('antenatal.date') }}</th>
|
|
<th>{{ __('antenatal.gestation') }}</th>
|
|
<th>{{ __('antenatal.outcome') }}</th>
|
|
<th>{{ __('antenatal.name') }}</th>
|
|
<th>{{ __('antenatal.patient_number') }}</th>
|
|
<th>{{ __('antenatal.comments') }}</th>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($obstetric_history_details as $obstetric_history)
|
|
@php
|
|
$children = [];
|
|
if (!empty($obstetric_history->children)) {
|
|
$children = json_decode($obstetric_history->children);
|
|
}
|
|
@endphp
|
|
<tr>
|
|
<td>
|
|
{{ streamline_date($obstetric_history->obstetric_date) }}
|
|
</td>
|
|
<td>
|
|
{{ $obstetric_history->gestation }} weeks
|
|
</td>
|
|
<td>
|
|
{{ isset($anc_outcomes[$obstetric_history->outcome]) ? $anc_outcomes[$obstetric_history->outcome] : '' }}
|
|
|
|
</td>
|
|
<td>
|
|
@if (!empty($children))
|
|
<ol>
|
|
@foreach ($children as $child)
|
|
<li>
|
|
{{ $child->name }}</li>
|
|
@endforeach
|
|
</ol>
|
|
@endif
|
|
</td>
|
|
<td>
|
|
@if (!empty($children))
|
|
<ul style="list-style-type: none;">
|
|
@foreach ($children as $child)
|
|
<li><i class="fas fa-arrow-circle-right"></i>
|
|
{{ $child->patient_number }}</li>
|
|
@endforeach
|
|
</ul>
|
|
@endif
|
|
</td>
|
|
<td>
|
|
{{-- {{ $obstetric_history->comments }} --}}
|
|
@if (!empty($children))
|
|
<ul style="list-style-type: none;">
|
|
@foreach ($children as $child)
|
|
<li><i class="fas fa-arrow-circle-right"></i>
|
|
{{ $child->health_condition }}</li>
|
|
@endforeach
|
|
</ul>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div> <br>
|
|
</div>
|
|
<br>
|
|
</div>
|
|
|
|
{{-- delivery plan --}}
|
|
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
|
|
<div class="card ">
|
|
<div class="card-header bg-success text-white">
|
|
Delivery plan
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<div class="row">
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('maternity.person_you_live_with') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($delivery_plan_details->person_you_live_with))
|
|
{{ $delivery_plan_details->person_you_live_with }}
|
|
@else
|
|
<span> {{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.means_of_transport_to_facility') }}</th>
|
|
<td>
|
|
|
|
|
|
|
|
@if (!empty($delivery_plan_details->transport_means_to_facility))
|
|
@if ($delivery_plan_details->transport_means_to_facility == '1')
|
|
{{ __('maternity.foot') }}
|
|
@elseif($delivery_plan_details->transport_means_to_facility == '2')
|
|
{{ __('maternity.motor_bike') }}
|
|
@elseif($delivery_plan_details->transport_means_to_facility == '3')
|
|
{{ __('maternity.private_car') }}
|
|
@elseif($delivery_plan_details->transport_means_to_facility == '4')
|
|
{{ __('maternity.public_means') }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.person_to_accompany_you') }}</th>
|
|
<td>
|
|
@if (!empty($delivery_plan_details->person_to_accompany_you))
|
|
{{ $delivery_plan_details->person_to_accompany_you }}
|
|
@else
|
|
<span> {{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.person_to_look_after_home') }}</th>
|
|
<td>
|
|
@if (!empty($delivery_plan_details->person_to_look_after_home))
|
|
{{ $delivery_plan_details->person_to_look_after_home }}
|
|
@else
|
|
<span> {{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.family_planning_before_next_pregnancy') }}
|
|
</th>
|
|
<td>
|
|
@if (!empty($delivery_plan_details->family_planning_method_plan))
|
|
{{ $delivery_plan_details->family_planning_method_plan }}
|
|
@else
|
|
<span> {{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('maternity.person_to_stay_at_facility') }}</th>
|
|
<td>
|
|
@if (!empty($delivery_plan_details->person_to_stay_at_facility))
|
|
{{ $delivery_plan_details->person_to_stay_at_facility }}
|
|
@else
|
|
<span> {{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.delivery_method') }}</th>
|
|
<td>
|
|
@if (!empty($delivery_plan_details->delivery_method))
|
|
@if ($delivery_plan_details->delivery_method == '1')
|
|
{{ __('antenatal.vaginal_delivery') }}
|
|
@elseif($delivery_plan_details->delivery_method == '2')
|
|
{{ __('antenatal.vacuum_delivery') }}
|
|
@elseif($delivery_plan_details->delivery_method == '3')
|
|
{{ __('antenatal.forceps_delivery') }}
|
|
@elseif($delivery_plan_details->delivery_method == '4')
|
|
{{ __('antenatal.c_section') }}
|
|
@elseif($delivery_plan_details->delivery_method == '5')
|
|
{{ __('antenatal.vbac') }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.after_birth_disposal') }}</th>
|
|
<td>
|
|
@if (!empty($delivery_plan_details->after_birth_disposal))
|
|
@if ($delivery_plan_details->after_birth_disposal == '1')
|
|
{{ __('maternity.throw_in_placenta_pit') }}
|
|
@elseif($delivery_plan_details->after_birth_disposal == '2')
|
|
{{ __('maternity.take_it_home') }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.backup_delivery_method') }}</th>
|
|
<td>
|
|
|
|
@if (!empty($delivery_plan_details->backup_delivery_method))
|
|
{{ $delivery_plan_details->backup_delivery_method }}
|
|
@else
|
|
<span> {{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.mother_partner_screened_for') }}</th>
|
|
<td>
|
|
@php
|
|
$mother_screen_data = explode(
|
|
',',
|
|
$delivery_plan_details->mother_partner_screened_for,
|
|
);
|
|
@endphp
|
|
@if (!empty($mother_screen_data))
|
|
<ul class="list-group">
|
|
@foreach ($mother_screen_data as $key => $screened_item)
|
|
<li class="list-group-item">
|
|
@if ($screened_item == 'syphillis')
|
|
{{ __('antenatal.syphillis') }}
|
|
@elseif($screened_item == 'sickle_cell')
|
|
{{ __('maternity.sickle_cell') }}
|
|
@elseif($screened_item == 'hepatitis')
|
|
{{ __('antenatal.hepatitis') }}
|
|
@elseif($screened_item == 'hiv')
|
|
{{ __('antenatal.hiv') }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
|
|
</li>
|
|
@endforeach
|
|
</ul>
|
|
@else
|
|
<span>{{ __('maternity.na') }}
|
|
@endif
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <br>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- mothers history --}}
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
|
|
<div class="card ">
|
|
<div class="card-header bg-success text-white">
|
|
{{ __('antenatal.mother_history') }}
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<div class="row">
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<div class="col-md-12 text-left">
|
|
<h5 class="text-left">{{ __('antenatal.menstrual_history') }}</h5>
|
|
</div>
|
|
|
|
<table class="table">
|
|
<tbody>
|
|
<tr class="text-right">
|
|
<th>{{ __('antenatal.cycle_length') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_mother_history_details->cycle_length))
|
|
{{ $maternity_mother_history_details->cycle_length }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr class="text-right">
|
|
<th>{{ __('antenatal.menses_length') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_mother_history_details->menses_length))
|
|
{{ $maternity_mother_history_details->menses_length }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr class="text-right">
|
|
<th>{{ __('antenatal.menses_amount') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_mother_history_details->menses_amount))
|
|
{{ $maternity_mother_history_details->menses_amount }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="text-right">
|
|
<th>{{ __('maternity.family_planning_method') }}</th>
|
|
<td>
|
|
@php
|
|
$family_planning_methods_available =
|
|
$maternity_mother_history_details->family_planning_method;
|
|
@endphp
|
|
|
|
|
|
@if ($family_planning_methods_available == '1')
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@elseif($family_planning_methods_available == '2')
|
|
Condom
|
|
@elseif($family_planning_methods_available == '3')
|
|
Pill
|
|
@elseif($family_planning_methods_available == '4')
|
|
Depo
|
|
@elseif($family_planning_methods_available == '5')
|
|
Injections
|
|
@elseif($family_planning_methods_available == '6')
|
|
Implant
|
|
@elseif($family_planning_methods_available == '7')
|
|
BTL
|
|
@elseif($family_planning_methods_available == '8')
|
|
Vasectomy
|
|
@elseif($family_planning_methods_available == '9')
|
|
LAM
|
|
@elseif($family_planning_methods_available == '10')
|
|
Other
|
|
@elseif($family_planning_methods_available == '11')
|
|
IUD
|
|
@elseif($family_planning_methods_available == '12')
|
|
Currently Pregnant
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr class="text-right">
|
|
<th>{{ __('maternity.date_discontinued') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_mother_history_details->date_discontinued))
|
|
{{ streamline_date_time_short($maternity_mother_history_details->date_discontinued) }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="text-right">
|
|
<th>{{ __('maternity.why') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_mother_history_details->why_stop_family_planning))
|
|
{{ $maternity_mother_history_details->why_stop_family_planning }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
</table> <br>
|
|
|
|
<div class="col-md-12 text-left">
|
|
<h5 class="text-left">{{ __('antenatal.family_history') }}</h5>
|
|
</div>
|
|
|
|
|
|
<table class="table">
|
|
<tbody>
|
|
<tr class="text-right">
|
|
<th>{{ __('antenatal.sgbv') }}</th>
|
|
<td class="text-start">
|
|
@php
|
|
$sgbv_risks = explode(
|
|
',',
|
|
$maternity_mother_history_details->sgbv_risk,
|
|
);
|
|
@endphp
|
|
|
|
@if (!empty($sgbv_risks))
|
|
@foreach ($sgbv_risks as $key => $sgbv_risk)
|
|
@if ($sgbv_risk == 'sgbv_risk_present')
|
|
{{ __('antenatal.available') }}
|
|
@endif
|
|
@endforeach
|
|
</ul>
|
|
@else
|
|
<span>{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="text-right">
|
|
<th>{{ __('antenatal.other_sgbv') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_mother_history_details->other_sgbv_risk))
|
|
{{ $maternity_mother_history_details->other_sgbv_risk }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table><br>
|
|
|
|
<table class="table">
|
|
<tbody>
|
|
<tr class="text-right">
|
|
<th>{{ __('antenatal.husband_health') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_mother_history_details->husband_health))
|
|
{{ $maternity_mother_history_details->husband_health }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="text-right">
|
|
<th>{{ __('antenatal.other_comments') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_mother_history_details->other_medical_history_comment))
|
|
{{ $maternity_mother_history_details->other_medical_history_comment }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table><br>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<div class="col-md-12 text-left">
|
|
<h5 class="text-left">{{ __('antenatal.medical_history') }}</h5>
|
|
</div>
|
|
|
|
<table class="table">
|
|
<tbody>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.medical_presentations') }}</th>
|
|
<td>
|
|
@php
|
|
$medical_presentations = explode(
|
|
',',
|
|
$maternity_mother_history_details->medical_presentations,
|
|
);
|
|
@endphp
|
|
@if (!empty($medical_presentations))
|
|
<ul class="list-group">
|
|
@foreach ($medical_presentations as $key => $medical_presentation)
|
|
<li class="list-group-item">
|
|
@if ($medical_presentation == 'generalized_l_glands')
|
|
{{ __('antenatal.generalized_l_glands') }}
|
|
@elseif($medical_presentation == 'oral_thrush')
|
|
{{ __('antenatal.oral_thrush') }}
|
|
@elseif($medical_presentation == 'medical_presentations_sti')
|
|
{{ __('antenatal.sti') }}
|
|
@elseif($medical_presentation == 'arv')
|
|
{{ __('antenatal.arv') }}
|
|
@elseif($medical_presentation == 'dematitis')
|
|
{{ __('antenatal.dematitis') }}
|
|
@elseif($medical_presentation == 'complications_tb')
|
|
{{ __('antenatal.tb') }}
|
|
@elseif($medical_presentation == 'herpes_simplex')
|
|
{{ __('antenatal.herpes_simplex') }}
|
|
@elseif($medical_presentation == 'herpes_zoster')
|
|
{{ __('antenatal.herpes_zoster') }}
|
|
@endif
|
|
</li>
|
|
@endforeach
|
|
</ul>
|
|
@else
|
|
<span>{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.others_presentations') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_mother_history_details->other_medical_presentations))
|
|
{{ $maternity_mother_history_details->other_medical_presentations }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.history_of_aph') }}</th>
|
|
<td>
|
|
@php
|
|
$history_aph =
|
|
$maternity_mother_history_details->history_of_aph;
|
|
@endphp
|
|
|
|
@if (!empty($history_aph))
|
|
@if ($history_aph == '1')
|
|
{{ __('maternity.yes') }}
|
|
@elseif($history_aph == '0')
|
|
{{ __('maternity.no') }}
|
|
@endif
|
|
@else
|
|
<span>{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.aph_details') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_mother_history_details->history_aph_details))
|
|
{{ $maternity_mother_history_details->history_aph_details }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.fits_details') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_mother_history_details->history_fit_details))
|
|
{{ $maternity_mother_history_details->history_fit_details }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.history_of_fits') }}</th>
|
|
<td>
|
|
@php
|
|
$history_fits =
|
|
$maternity_mother_history_details->history_of_fits;
|
|
@endphp
|
|
|
|
@if (!empty($history_fits))
|
|
@if ($history_fits == '1')
|
|
{{ __('maternity.yes') }}
|
|
@elseif($history_fits == '0')
|
|
{{ __('maternity.no') }}
|
|
@endif
|
|
@else
|
|
<span>{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
@php
|
|
|
|
$uterine_surgeries = !empty($maternity_mother_history_details->uterine_surgeries)
|
|
? json_decode($maternity_mother_history_details->uterine_surgeries, true)
|
|
: [];
|
|
$other_surgeries = !empty($maternity_mother_history_details->other_surgeries)
|
|
? json_decode($maternity_mother_history_details->other_surgeries, true)
|
|
: [];
|
|
|
|
$uterus_operations = \Streamline\Models\UterusOperation::orderBy(
|
|
'name',
|
|
'asc',
|
|
)->get();
|
|
|
|
@endphp
|
|
|
|
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<div class="card-header bg-success text-white">
|
|
{{ __('antenatal.uterus_operations') }}
|
|
</div><br>
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('antenatal.operation_name') }}</th>
|
|
<th>{{ __('antenatal.date') }}</td>
|
|
<th>{{ __('antenatal.facility') }}</td>
|
|
</tr>
|
|
@forelse($uterine_surgeries as $key => $uterine_surgery)
|
|
<tr>
|
|
<td>
|
|
@if (!empty($uterine_surgery['name']))
|
|
@if ($uterine_surgery['name'] == '1')
|
|
{{ __('maternity.left_cut') }}
|
|
@elseif ($uterine_surgery['name'] == '2')
|
|
{{ __('maternity.right_cut') }}
|
|
@endif
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
|
|
</td>
|
|
<td>
|
|
@if (!empty($uterine_surgery['date']))
|
|
{{ streamline_date($uterine_surgery['date']) }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
<td>
|
|
@if (!empty($uterine_surgery['facility_name']))
|
|
{{ $uterine_surgery['facility_name'] }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
@empty
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endforelse
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
|
|
<div class="card-header bg-success text-white">
|
|
{{ __('antenatal.other_operations') }}
|
|
</div><br>
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('antenatal.operation_name') }}</th>
|
|
<th>{{ __('antenatal.date') }}</td>
|
|
<th>{{ __('antenatal.facility') }}</td>
|
|
</tr>
|
|
@forelse($other_surgeries as $key => $other_surgery)
|
|
<tr>
|
|
<td>
|
|
@if (!empty($other_surgery['name']))
|
|
{{ $other_surgery['name'] }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
|
|
</td>
|
|
<td>
|
|
@if (!empty($other_surgery['date']))
|
|
{{ streamline_date($other_surgery['date']) }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
<td>
|
|
@if (!empty($other_surgery['facility_name']))
|
|
{{ $other_surgery['facility_name'] }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
@empty
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endforelse
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<hr>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <br>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{-- blood transfusion --}}
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
|
|
<div class="card ">
|
|
<div class="card-header bg-success text-white bg-success text-white">
|
|
Blood Transfusion and fractures details
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<div class="row">
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('antenatal.blood_transfusion') }} </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->blood_transfusion_available))
|
|
@if ($maternity_admission_details->blood_transfusion_available == 'transfusion_checked')
|
|
{{ __('maternity.yes') }}
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('antenatal.why') }} </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->blood_transfusion_details))
|
|
{{ $maternity_admission_details->blood_transfusion_details }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.pelvis') }}</th>
|
|
<td class="text-start">
|
|
@php
|
|
$fractures = explode(
|
|
',',
|
|
$maternity_admission_details->fractures,
|
|
);
|
|
@endphp
|
|
|
|
|
|
@if (!empty($fractures))
|
|
@if (in_array('pelvis', $fractures))
|
|
{{ __('maternity.yes') }}
|
|
@endif
|
|
@else
|
|
<span>{{ __('maternity.no') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Pelvis date </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->pelvis_fracture_date))
|
|
{{ streamline_date($maternity_admission_details->pelvis_fracture_date) }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Pelvis details </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->pelvis_fracture_details))
|
|
{{ $maternity_admission_details->pelvis_fracture_details }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.femur') }}</th>
|
|
<td class="text-start">
|
|
|
|
@if (!empty($fractures))
|
|
@if (in_array('femur', $fractures))
|
|
{{ __('maternity.yes') }}
|
|
@endif
|
|
@else
|
|
<span>{{ __('maternity.no') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Femur date </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->femur_fracture_date))
|
|
{{ streamline_date($maternity_admission_details->femur_fracture_date) }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Femur details </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->femur_fracture_details))
|
|
{{ $maternity_admission_details->femur_fracture_details }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.spine') }}</th>
|
|
<td class="text-start">
|
|
|
|
@if (!empty($fractures))
|
|
@if (in_array('spine', $fractures))
|
|
{{ __('maternity.yes') }}
|
|
@endif
|
|
@else
|
|
<span>{{ __('maternity.no') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Spine date </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->spine_fracture_date))
|
|
{{ streamline_date($maternity_admission_details->spine_fracture_date) }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Spine details </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->spine_fracture_details))
|
|
{{ $maternity_admission_details->spine_fracture_details }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Other fractures </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->other_fracture_details))
|
|
{{ $maternity_admission_details->other_fracture_details }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
|
|
<tr>
|
|
<th>Blood group </th>
|
|
<td class="text-start">
|
|
{{-- missing --}}
|
|
{{ isset($blood_transfusion->blood_group_id) ? $blood_transfusion->blood_group_id : 'N/A' }}
|
|
{{-- @if (!empty($maternity_admission_details->other_fracture_details))
|
|
{{ $maternity_admission_details->other_fracture_details }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif --}}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>VDRL {{ __('maternity.result') }} </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->vdrl_result))
|
|
{{ $maternity_admission_details->vdrl_result }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th> VDRL {{ __('maternity.date') }} </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->vdrl_date))
|
|
{{ streamline_date($maternity_admission_details->vdrl_date) }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th> VDRL {{ __('maternity.location') }} </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->vdrl_location))
|
|
{{ $maternity_admission_details->vdrl_location }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.hiv_status') }}</th>
|
|
<td class="text-start">
|
|
@if ($maternity_admission_details->hiv_result_usaid == 0)
|
|
{{ __('maternity.negative') }}
|
|
@elseif ($maternity_admission_details->hiv_result_usaid == 1)
|
|
{{ __('maternity.positive') }}
|
|
@elseif ($maternity_admission_details->hiv_result_usaid == 3)
|
|
{{ __('maternity.unknown') }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th> Hiv {{ __('maternity.date') }} </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->hiv_date))
|
|
{{ streamline_date($maternity_admission_details->hiv_date) }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th> Hiv {{ __('maternity.location') }} </th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->hiv_location))
|
|
{{ $maternity_admission_details->hiv_location }}
|
|
@else
|
|
<span> <span>{{ __('maternity.no') }}</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <br>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- pelvic examination and assessement --}}
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
|
|
<div class="card ">
|
|
<div class="card-header bg-success text-white bg-success text-white">
|
|
{{ __('antenatal.pelvic_examination_and_assessement') }}
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<div class="row">
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('antenatal.vulva') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->vulva))
|
|
{{ $pelvic_examination_and_assessment_details->vulva }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.vagina') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->vagina))
|
|
{{ $pelvic_examination_and_assessment_details->vagina }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.cervix') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->cervix))
|
|
@if ($pelvic_examination_and_assessment_details->cervix == '1')
|
|
Efaced
|
|
@elseif ($pelvic_examination_and_assessment_details->cervix == '2')
|
|
Not Efaced
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.dilatation') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->dilatation))
|
|
{{ $pelvic_examination_and_assessment_details->dilatation }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.uterine_adnexa') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->uterine_adnexa))
|
|
{{ $pelvic_examination_and_assessment_details->uterine_adnexa }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.moniliasis') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->moniliasis))
|
|
{{ $pelvic_examination_and_assessment_details->moniliasis }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('antenatal.diagonal_conjugate') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->diagonal_conjugate))
|
|
{{ $pelvic_examination_and_assessment_details->diagonal_conjugate }}
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.sacrum') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->sacrum))
|
|
@if ($pelvic_examination_and_assessment_details->sacrum == '1')
|
|
Curve Deep
|
|
@elseif ($pelvic_examination_and_assessment_details->sacrum == '2')
|
|
Flat
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.ischial_spinces') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->ischial_spinces))
|
|
@if ($pelvic_examination_and_assessment_details->ischial_spinces == '1')
|
|
Not Prominent
|
|
@elseif ($pelvic_examination_and_assessment_details->ischial_spinces == '2')
|
|
Prominent
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.sub_public_angle') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->sub_public_angle))
|
|
@if ($pelvic_examination_and_assessment_details->sub_public_angle == '1')
|
|
Obtuse
|
|
@elseif ($pelvic_examination_and_assessment_details->sub_public_angle == '2')
|
|
Acute
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.ischial_tuberosities') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->ischial_tuberosities))
|
|
@if ($pelvic_examination_and_assessment_details->ischial_tuberosities == '1')
|
|
4 knuckles
|
|
@elseif ($pelvic_examination_and_assessment_details->ischial_tuberosities == '2')
|
|
Less
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('antenatal.pelvic_adequate') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($pelvic_examination_and_assessment_details->pelvic_adequate))
|
|
@if ($pelvic_examination_and_assessment_details->pelvic_adequate == '1')
|
|
Borderline
|
|
@elseif ($pelvic_examination_and_assessment_details->pelvic_adequate == '2')
|
|
Contracted
|
|
@endif
|
|
@else
|
|
<span>N/A</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <br>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{{-- this pregnancy --}}
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
|
|
<div class="card ">
|
|
<div class="card-header bg-success text-white bg-success text-white">
|
|
{{ __('maternity.this_pregnancy') }}
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xl-12 col-sm-12 col-xs-12">
|
|
<div class="row">
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('maternity.iufd') }}</th>
|
|
<td class="text-start">
|
|
@if ($maternity_admission_details->iufd == '1')
|
|
{{ __('maternity.yes') }}
|
|
@elseif($maternity_admission_details->iufd == '0')
|
|
{{ __('maternity.no') }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.born_before_arrival') }}</th>
|
|
<td class="text-start">
|
|
@if ($maternity_admission_details->born_before_arrival == '1')
|
|
{{ __('maternity.yes') }}
|
|
@elseif($maternity_admission_details->born_before_arrival == '0')
|
|
{{ __('maternity.no') }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
|
|
<th>{{ __('antenatal.pregnancy_complications') }}</th>
|
|
<td class="text-start">
|
|
@php
|
|
$pregnancy_complications_all = explode(
|
|
',',
|
|
$maternity_admission_details->pregnancy_complications,
|
|
);
|
|
$pregnancy_complications = array_diff(
|
|
$pregnancy_complications_all,
|
|
['tick_other_pregnancy_complications'],
|
|
);
|
|
@endphp
|
|
|
|
|
|
<ul class="list-group">
|
|
@forelse($pregnancy_complications as $key => $complication)
|
|
<li class="list-group-item">
|
|
@if ($complication == 'weight_loss')
|
|
{{ __('antenatal.weight_loss') }}
|
|
@elseif($complication == 'fever_one_month')
|
|
{{ __('maternity.fever_one_month') }}
|
|
@elseif($complication == 'diarrhoea_one_month')
|
|
{{ __('antenatal.diarrhoea_one_month') }}
|
|
@elseif($complication == 'pruritus')
|
|
{{ __('antenatal.pruritus') }}
|
|
@elseif($complication == 'vaginal_bleeding')
|
|
{{ __('antenatal.vaginal_bleeding') }}
|
|
@elseif($complication == 'draining')
|
|
{{ __('antenatal.draining') }}
|
|
@elseif($complication == 'tick_other_pregnancy_complications')
|
|
{{ __('antenatal.tick_other_pregnancy_complications') }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</li>
|
|
@empty
|
|
{{ __('maternity.na') }}
|
|
@endforelse
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Other pregnancy complications</th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->other_pregnancy_complications))
|
|
{{ $maternity_admission_details->other_pregnancy_complications }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.recomendation_of_delivery') }}</th>
|
|
<td class="text-start">
|
|
@if (!empty($maternity_admission_details->delivery_recomendation))
|
|
{{ $maternity_admission_details->delivery_recomendation }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
|
|
|
|
<table class="table">
|
|
<tr>
|
|
<th>
|
|
<div
|
|
class="card-header bg-success text-white bg-success text-white">
|
|
{{ __('maternity.physical_examination') }}
|
|
</div>
|
|
</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="text-start">
|
|
@php
|
|
$physical_examination_all = explode(
|
|
',',
|
|
$maternity_admission_details->physical_examination,
|
|
);
|
|
$physical_examinations = array_diff(
|
|
$physical_examination_all,
|
|
['other_physical_examination'],
|
|
);
|
|
@endphp
|
|
|
|
|
|
<ul class="list-group">
|
|
@forelse($physical_examinations as $key => $physical_examination)
|
|
<li class="list-group-item">
|
|
@if ($physical_examination == 'breasts')
|
|
{{ __('antenatal.breasts') }}
|
|
@elseif($physical_examination == 'legs')
|
|
{{ __('antenatal.legs') }}
|
|
@elseif($physical_examination == 'heart')
|
|
{{ __('antenatal.heart') }}
|
|
@elseif($physical_examination == 'lungs')
|
|
{{ __('antenatal.lungs') }}
|
|
@elseif($physical_examination == 'teeth')
|
|
{{ __('antenatal.teeth') }}
|
|
@else
|
|
<span>{{ __('maternity.na') }}</span>
|
|
@endif
|
|
</li>
|
|
@empty
|
|
{{ __('maternity.na') }}
|
|
@endforelse
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<table class="table">
|
|
<tr>
|
|
<th>
|
|
<div
|
|
class="card-header bg-success text-white bg-success text-white">
|
|
{{ __('maternity.heart_physical_examination_details') }}
|
|
</div>
|
|
</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->heart_physical_examination_details))
|
|
{{ $maternity_admission_details->heart_physical_examination_details }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<table class="table">
|
|
<tr>
|
|
<th>
|
|
<div
|
|
class="card-header bg-success text-white bg-success text-white">
|
|
{{ __('maternity.other_physical_examinations') }}
|
|
</div>
|
|
</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->other_physical_examinations))
|
|
{{ $maternity_admission_details->other_physical_examinations }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-6 col-sm-12 col-xl-6 col-xs-12">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>
|
|
<div class="card-header bg-success text-white">
|
|
{{ __('maternity.mother_current_obstetric_risk') }}
|
|
</div>
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="text-start">
|
|
@php
|
|
$obstetric_risk_factors_all = explode(
|
|
',',
|
|
$maternity_admission_details->obstetric_risk_factors,
|
|
);
|
|
$obstetric_risk_factors = array_diff(
|
|
$obstetric_risk_factors_all,
|
|
['other_obstetrics'],
|
|
);
|
|
@endphp
|
|
<ul class="list-group">
|
|
@forelse($obstetric_risk_factors as $key => $obstetric_risk_factor)
|
|
<li class="list-group-item">
|
|
@if ($obstetric_risk_factor == 'history_aph_pregnancy')
|
|
{{ __('maternity.history_aph_pregnancy') }}
|
|
@elseif ($obstetric_risk_factor == 'epilepsy')
|
|
{{ __('maternity.epilepsy') }}
|
|
@elseif ($obstetric_risk_factor == 'severe_pre_eclampsia')
|
|
{{ __('maternity.severe_pre_eclampsia') }}
|
|
@elseif ($obstetric_risk_factor == 'history_convulsion_pregnancy')
|
|
{{ __('maternity.history_convulsion_pregnancy') }}
|
|
@elseif ($obstetric_risk_factor == 'polyhydramnios')
|
|
{{ __('maternity.polyhydramnios') }}
|
|
@elseif ($obstetric_risk_factor == 'premature_rupture_of_membranes')
|
|
{{ __('maternity.premature_rupture_of_membranes') }}
|
|
@elseif ($obstetric_risk_factor == 'diabetes_mellitus')
|
|
{{ __('maternity.diabetes_mellitus') }}
|
|
@elseif ($obstetric_risk_factor == 'multiple_pregnancy')
|
|
{{ __('maternity.multiple_pregnancy') }}
|
|
@elseif ($obstetric_risk_factor == 'pph')
|
|
{{ __('maternity.pph') }}
|
|
@elseif ($obstetric_risk_factor == 'cardiac_disease')
|
|
{{ __('maternity.cardiac_disease') }}
|
|
@elseif ($obstetric_risk_factor == 'malpresentation')
|
|
{{ __('maternity.malpresentation') }}
|
|
@elseif ($obstetric_risk_factor == 'asthma')
|
|
{{ __('maternity.asthma') }}
|
|
@elseif ($obstetric_risk_factor == 'poor_obstetric_history')
|
|
{{ __('maternity.poor_obstetric_history') }}
|
|
@elseif ($obstetric_risk_factor == 'pre_term_labour')
|
|
{{ __('maternity.pre_term_labour') }}
|
|
@elseif ($obstetric_risk_factor == 'sickle_cell_disease')
|
|
{{ __('maternity.sickle_cell_disease') }}
|
|
@elseif ($obstetric_risk_factor == 'previous_csections')
|
|
{{ __('maternity.previous_csections') }}
|
|
@elseif ($obstetric_risk_factor == 'polio')
|
|
{{ __('maternity.polio') }}
|
|
@elseif ($obstetric_risk_factor == 'group_b_streptococcus_colonization')
|
|
{{ __('maternity.group_b_streptococcus_colonization') }}
|
|
@elseif ($obstetric_risk_factor == 'woman_advanced_age')
|
|
{{ __('maternity.woman_advanced_age') }}
|
|
@elseif ($obstetric_risk_factor == 'mental_illness')
|
|
{{ __('maternity.mental_illness') }}
|
|
@elseif ($obstetric_risk_factor == 'adolescent_pregnancy')
|
|
{{ __('maternity.adolescent_pregnancy') }}
|
|
@elseif ($obstetric_risk_factor == 'hypertension')
|
|
{{ __('maternity.hypertension') }}
|
|
@elseif ($obstetric_risk_factor == 'kidney_disease')
|
|
{{ __('maternity.kidney_disease') }}
|
|
@else
|
|
{{-- <span>{{ __('maternity.na') }}</span> --}}
|
|
@endif
|
|
</li>
|
|
@empty
|
|
{{ __('maternity.na') }}
|
|
@endforelse
|
|
|
|
</ul>
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th class="col-12 col-md-auto">
|
|
{{ __('maternity.other_obstetric_risk_factors') }}</th>
|
|
<td class="col-12 col-md-auto text-start">
|
|
@if (!empty($maternity_admission_details->other_physical_examinations))
|
|
{{ $maternity_admission_details->other_physical_examinations }}
|
|
@else
|
|
{{ __('maternity.na') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <br>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- <div class="row">
|
|
<div class="col-md-4">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('maternity.patient_number') }}</th>
|
|
<td>{{ $patient->number }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.blood_group') }}</th>
|
|
<td>{{ isset($blood_transfusion->blood_group_id) ? $blood_transfusion->blood_group_id : 'N/A' }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.blood_transfusion_date') }}</th>
|
|
<td>{{ isset($blood_transfusion->transfusion_date) ? streamline_date($blood_transfusion->transfusion_date) : '' }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.number_of_units') }}</th>
|
|
<td>{{ isset($blood_transfusion->number_of_units) ? $blood_transfusion->number_of_units : '' }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.comment') }}</th>
|
|
<td>{{ isset($blood_transfusion->comments) ? $blood_transfusion->comments : '' }}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{ __('maternity.gravida') }}</th>
|
|
<td>{{ $maternity_mother_history_details->gravida }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.para') }}</th>
|
|
<td>{{ $maternity_admission_details->para }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.abortion') }}</th>
|
|
<td>{{ $maternity_admission_details->abortion }}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.ectopic_pregnancies') }}</th>
|
|
<td>
|
|
@if (!empty($maternity_admission_details->ectopic_pregnancies))
|
|
{{ $maternity_admission_details->ectopic_pregnancies }}
|
|
@else
|
|
<span>0</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>{{ __('maternity.postpartum') }}</th>
|
|
<td>{{ $maternity_admission_details->postpartum }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.previous_pph') }}</th>
|
|
<td>{{ $maternity_admission_details->previous_pph ? 'Yes' : 'No' }}</td>
|
|
</tr>
|
|
<!-- display details if pevious pph is true -->
|
|
<tr>
|
|
<th>{{ __('maternity.previous_scar') }}</th>
|
|
<td>{{ $maternity_admission_details->previous_scar == 1 ? 'Yes' : 'No' }}</td>
|
|
</tr>
|
|
<!-- display scar number and indication if true -->
|
|
<tr>
|
|
<th>{{ __('maternity.comments_from_pph') }}</th>
|
|
<td>{{ $maternity_admission_details->other_comments_pph }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.lmp') }}</th>
|
|
<td>{{ streamline_date($maternity_admission_details->lmp) }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.accuracy') }}</th>
|
|
<td>{{ isset($accuracies[$maternity_admission_details->accuracy]) ? $accuracies[$maternity_admission_details->accuracy] : '' }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.edd') }}</th>
|
|
<td>{{ $maternity_admission_details->edd }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.referral_from') }}</th>
|
|
<td>{{ isset($referrals[$maternity_admission_details->referral_from]) ? $referrals[$maternity_admission_details->referral_from] : '' }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.progress') }}</th>
|
|
<td>{{ isset($maternity_progress[$maternity_admission_details->progress]) ? $maternity_progress[$maternity_admission_details->progress] : '' }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.hiv_status') }}</th>
|
|
@php
|
|
$result = '';
|
|
if ($maternity_admission_details->hiv_result_usaid == 0) {
|
|
$result = __('maternity.negative');
|
|
} elseif ($maternity_admission_details->hiv_result_usaid == 1) {
|
|
$result = __('maternity.positive');
|
|
} elseif ($maternity_admission_details->hiv_result_usaid == 3) {
|
|
$result = __('maternity.unknown');
|
|
}
|
|
@endphp
|
|
<td>{{ $result }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.hiv_date') }}</th>
|
|
<td>{{ streamline_date($maternity_admission_details->hiv_date) }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.scan_edd') }}</th>
|
|
<td>{{ streamline_date($maternity_admission_details->scan_edd) }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.gestation_from_scan') }}</th>
|
|
<td>{{ $maternity_admission_details->gestation_from_scan }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.history_of_fits') }}</th>
|
|
<td>{{ $maternity_admission_details->history_of_fits == 1 ? 'Yes' : 'No' }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.history_of_aph') }}</th>
|
|
<td>{{ $maternity_admission_details->history_of_aph == 1 ? 'Yes' : 'No' }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-bordered">
|
|
<tbody>
|
|
@if (!is_null($obstetric_history))
|
|
<tr>
|
|
<th>{{ __('maternity.obstetric_date') }}</th>
|
|
<td>
|
|
{{ streamline_date($obstetric_history->obstetric_date) }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.gestation') }}</th>
|
|
<td>
|
|
{{ $obstetric_history->gestation }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.outcome') }}</th>
|
|
<td>
|
|
{{ $obstetric_history->outcome }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.outcome_name') }}</th>
|
|
<td>
|
|
{{ $obstetric_history->outcome_name }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.comments') }}</th>
|
|
<td>
|
|
{{ $obstetric_history->comments }}
|
|
</td>
|
|
</tr>
|
|
@endif
|
|
<tr>
|
|
<th>{{ __('maternity.current_acute_problems') }}</th>
|
|
<td>
|
|
{{ $maternity_admission_details->current_acute_problems }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{{ __('maternity.obstetric_risk_factors') }}</th>
|
|
<td>
|
|
{{ $maternity_admission_details->obstetric_risk_factors }}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div> --}}
|
|
|
|
|
|
<div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-12">
|
|
<div class="white-box">
|
|
<div class="row">
|
|
<div class="col-md-1">
|
|
|
|
</div>
|
|
<div class="col-md-11 text-right">
|
|
{{-- href="print_ward_item_request_details/{{ $record->id }} --}}
|
|
<a href="{{ route('maternity.print_maternity_admission_details',$maternity_admission_details->id) }}" class="btn btn-success">
|
|
Print</a>
|
|
|
|
<a href="{{ route('patient_episodes.index') }}" class="btn btn-success">
|
|
{{ __('consultations.patient_home') }} </a>
|
|
|
|
<a href="{{ route('wards.home') }}" class="btn btn-success">
|
|
{{ __('consultations.ward_management') }} </a>
|
|
|
|
<a href="{{ route('maternity.edit_maternity_inpatient_admission') }}" class="btn btn-success">
|
|
{{ __('consultations.modify_maternity_inpatient') }} </a>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
@endsection
|
|
|
|
@push('scripts')
|
|
<script src="{{ asset('elite/js/validator.js') }}"></script>
|
|
@endpush
|
|
|
|
@push('styles')
|
|
<style type="text/css">
|
|
th {
|
|
font-weight: bolder;
|
|
}
|
|
</style>
|
|
@endpush
|