mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
resolved conflicts
This commit is contained in:
Executable
+275
@@ -0,0 +1,275 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ app()->getLocale() }}">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('uploads/streamline/color/streamline_icon-02.png') }}">
|
||||
<title>{{ config('app.name', 'Theatre Details - Stre@mline') }}</title>
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{{ asset('bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
|
||||
|
||||
<style style="text-css">
|
||||
thead {
|
||||
display: table-header-group;
|
||||
}
|
||||
tfoot {
|
||||
display: table-row-group;
|
||||
}
|
||||
tr {
|
||||
page-break-before: always;
|
||||
page-break-after: always;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container-fluid">
|
||||
@include('layouts.header_pdf_print')
|
||||
<h5 class="heading" style="text-align: center;">
|
||||
{{ __('surgery.surgery_details') }} : <span style="color: #0000FF">{{ streamline_date($anaesthesia->created_at) }}</span>
|
||||
</h5>
|
||||
|
||||
<br>
|
||||
|
||||
@php
|
||||
$total_amount_to_pay = 0;
|
||||
@endphp
|
||||
|
||||
<div class="row">
|
||||
<table class="table table-light table-sm table-borderless">
|
||||
<tr>
|
||||
<th scope="row">{{ __('surgery.patient_number') }}</th>
|
||||
<td>{{ $patient->number}}</td>
|
||||
<td width="60" style="border-top: 0px;"> </td>
|
||||
<th>Anaethesia Type</th>
|
||||
<td>
|
||||
{{ get_name($anaesthesia->anaesthesia_type , 'id', 'name', 'procedures') }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{{ __('surgery.patient_names') }}</th>
|
||||
<td>{{ $patient->first_name}} {{ $patient->last_name}}</td>
|
||||
<td width="60" style="border-top: 0px;"> </td>
|
||||
<th>{{ __('inpatient.age') }}</th>
|
||||
<td>
|
||||
{{ get_patients_age($patient->date_of_birth) }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{{ __('inpatient.residence') }}</th>
|
||||
<td>{{ patient_residence($patient->id) }}</td>
|
||||
<td width="60" style="border-top: 0px;"> </td>
|
||||
<th>{{ __('inpatient.gender') }}</th>
|
||||
<td>
|
||||
{{ $patient->gender == 1 ? __('inpatient.male') : __('inpatient.female') }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<table class="table color-bordered-table success-bordered-table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.procedure') }}</th>
|
||||
<td>{{ get_name($anaesthesia->procedure_id, 'id', 'name', 'procedures') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.primary_diagnosis') }}</th>
|
||||
<td>{{ isset($diagnoses[$anaesthesia->primary_diagnosis]) ? $diagnoses[$anaesthesia->primary_diagnosis] : "" }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.other_diagnoses') }}</th>
|
||||
<td>
|
||||
@php
|
||||
$other_diagnoses_array = @unserialize($anaesthesia->other_diagnoses);
|
||||
@endphp
|
||||
|
||||
@if(!empty($other_diagnoses_array) && $other_diagnoses_array[0] != "")
|
||||
@foreach($other_diagnoses_array as $diagnosis)
|
||||
<ul>
|
||||
@if($diagnosis != "")
|
||||
<li>{{ $diagnoses[$diagnosis] }}</li>
|
||||
@endif
|
||||
</ul>
|
||||
@endforeach
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.date') }}</th>
|
||||
<td>{{ streamline_date($anaesthesia->created_at) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.time_anaesthesia_commenced') }}</th><!-- time_anaesthesia_commenced -->
|
||||
<td>{{ date('h:i:s A', strtotime($anaesthesia->time_commenced)) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.anaesthetist') }}</th>
|
||||
<td>{{ get_full_name($anaesthesia->anaesthetist, 'id', 'first_name', 'last_name', 'users') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.anaesthetics') }}</th>
|
||||
<td>{{ get_name($anaesthesia->anaesthesia_type, 'id', 'name', 'procedures') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.blood_given') }}</th>
|
||||
<td>{{ $anaesthesia->blood_given }} units</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.anaesthesia_checklist') }}</th>
|
||||
<td>
|
||||
@php
|
||||
$anaesthesia_checklist = '';
|
||||
$anaesthesia_checklist_array = unserialize($anaesthesia->anaesthesia_checklist);
|
||||
foreach ($anaesthesia_checklist_array as $key => $value) {
|
||||
if ($value == 1) {
|
||||
$anaesthesia_checklist .= $key . ', ';
|
||||
}
|
||||
}
|
||||
@endphp
|
||||
{{ rtrim($anaesthesia_checklist, ', ') }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.monitoring_signs') }}</th>
|
||||
<td>
|
||||
@php
|
||||
$monitoring_signs = '';
|
||||
$monitoring_signs_array = unserialize($anaesthesia->monitoring_signs);
|
||||
foreach ($monitoring_signs_array as $k => $v) {
|
||||
if ($v == 1) {
|
||||
$monitoring_signs .= $k . ', ';
|
||||
}
|
||||
}
|
||||
@endphp
|
||||
{{ rtrim($monitoring_signs, ', ') }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.type_of_needle_used') }}</th>
|
||||
<td>{{ get_name($anaesthesia->needle_type, 'id', 'name', 'needle_types') }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<table class="table color-bordered-table success-bordered-table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.volume_administered') }}</th>
|
||||
<td>{{ $anaesthesia->volume_administered }} mls</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.muscle_relaxants') }}</th>
|
||||
<td>{{ get_name($anaesthesia->muscle_relaxant, 'id', 'name', 'muscle_relaxants') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.checklist_confirmed_by') }}</th>
|
||||
<td>{{ get_full_name($anaesthesia->checklist_confirmed_by, 'id', 'first_name', 'last_name', 'users') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.induction') }}</th>
|
||||
<td>{{ get_name($anaesthesia->induction, 'id', 'name', 'anaesthesia_inductions') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.antibiotics') }}</th>
|
||||
<td>
|
||||
@php
|
||||
$antibiotics_array = explode(",", $anaesthesia->antibiotics)
|
||||
@endphp
|
||||
@for($i = 0; $i < count($antibiotics_array); $i++)
|
||||
<b>{{ $i + 1 }}</b> - {{ get_name($antibiotics_array[$i], 'id', 'name', 'drugs') }} <br>
|
||||
@endfor
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.airway') }}</th>
|
||||
<td>{{ get_name($anaesthesia->airway, 'id', 'name', 'anaesthesia_airways') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>ETT</th>
|
||||
<td>{{ get_name($anaesthesia->ETT, 'id', 'name', 'anaesthesia_etts') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.agent_used') }}</th>
|
||||
<td>{{ get_name($anaesthesia->agent_used, 'id', 'name', 'anaesthetic_agents') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.technique') }}</th>
|
||||
<td>{{ get_name($anaesthesia->technique, 'id', 'name', 'anaesthetic_techniques') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.analgesics') }}</th>
|
||||
<td>
|
||||
@php
|
||||
$analgesics_array = explode(",", $anaesthesia->analgesic);
|
||||
@endphp
|
||||
@if (count($analgesics_array) > 0)
|
||||
<ul>
|
||||
@for ($i = 0; $i < count($analgesics_array); $i++)
|
||||
<li>{{ get_name($analgesics_array[$i], 'id', 'name', 'analgesics') }}</li>
|
||||
@endfor
|
||||
</ul>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.volatile_liquid_anaethetics') }}</th>
|
||||
<td>{{ get_name($anaesthesia->volatile_liquid_anaethetics, "id", "name", "volatile_liquid_anaesthetics") }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.volatile_liquid_anaesthetic_used') }}</th>
|
||||
<td>{{ $anaesthesia->volatile_liquid_anaesthetic_used }} mls</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('anaesthetics.iv_fluids_used') }}</th>
|
||||
<td>
|
||||
@php
|
||||
$iv_fluids = '';
|
||||
$iv_fluid_array = unserialize($anaesthesia->iv_fluids);
|
||||
$iv_fluid_ids = $iv_fluid_array['iv_fluids'];
|
||||
$iv_fluid_units = $iv_fluid_array['units'];
|
||||
|
||||
if (!empty($iv_fluid_ids)) {
|
||||
foreach ($iv_fluid_ids as $x => $y) {
|
||||
$iv_fluids .= '* ' . (isset($iv_fluid_units[$x]) ? $iv_fluid_units[$x] : "") . ': ' . $iv_fluid_units[$x] . ' mls<br>';
|
||||
}
|
||||
}
|
||||
@endphp
|
||||
{!! $iv_fluids !!}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
<b>{{ __('surgery.comments') }}</b>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<table class="table color-bordered-table success-bordered-table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
{!! nl2br(e($anaesthesia->comments)) !!}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user