mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 03:01:32 +00:00
187 lines
11 KiB
PHP
187 lines
11 KiB
PHP
{{-- primary diagnosis and other diagnosis --}}
|
|
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<div class="table-responsive">
|
|
<table class="table table-hover color-table success-table">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-center">#</th>
|
|
<th>{{ __('inpatient.primary_diagnosis') }}</th>
|
|
<th>{{ __('inpatient.prompt') }}</th>
|
|
<th>{{ __('inpatient.references') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="checkbox" name="chk" id="chk" /></td>
|
|
<td style="width: 30%;">
|
|
<div class="form-group">
|
|
{{ Form::select('primary_diagnosis', $diagnoses, '', ['id' => 'primary_diagnosis', 'class' => 'form-control col-sm-12 compulsory', 'required']) }}
|
|
</div>
|
|
</td>
|
|
<td style="width: 45%; color: #C85F6A;">
|
|
<div class="well well-sm" id="primary_diagnosis_prompt"> </div>
|
|
</td>
|
|
<td style="width: 25%">
|
|
<div class="well well-sm" id="primary_diagnosis_reference"> </div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="table-responsive table-condensed">
|
|
<table class="table color-table success-table table-condensed table-borderless"
|
|
id="other_diagnosis_table">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-center">#</th>
|
|
<th>{{ __('inpatient.other_diagnosis') }}</th>
|
|
<th>{{ __('inpatient.prompt') }}</th>
|
|
<th>{{ __('inpatient.references') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="checkbox" name="chk" id="chk"></td>
|
|
<td style="width: 30%;">
|
|
{{ Form::select('other_diagnosis[]', $diagnoses, '', ['class' => 'form-control col-sm-12 sec_d', 'id' => 'other_diagnosis']) }}
|
|
</td>
|
|
<td style="width: 45%">
|
|
<div class="well well-sm" id="secondary_diagnosis_prompt1"> </div>
|
|
</td>
|
|
<td style="width: 25%">
|
|
<div class="well well-sm" id="secondary_diagnosis_reference1"> </div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<a class="btn btn-success btn-sm m-t-10" id="add_row"
|
|
onclick="addRow('other_diagnosis_table')">{{ __('inpatient.add_row') }}</a>
|
|
<a class="btn btn-danger btn-sm m-t-10" id="delete_row"
|
|
onclick="deleteRow('other_diagnosis_table')">{{ __('inpatient.delete_row') }}</a>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<div class="panel panel-default">
|
|
<div class="panel-wrapper collapse in">
|
|
<ul class="nav customtab nav-tabs" role="tablist">
|
|
<li role="presentation" class="active nav-item"><a href="#triageSymptoms"
|
|
class="nav-link" aria-controls="home" role="tab" data-toggle="tab"
|
|
aria-expanded="true"><span class="visible-xs"><i
|
|
class="ti-home"></i></span><span class="hidden-xs">
|
|
{{ __('inpatient.symptoms_triage') }}</span></a></li>
|
|
<li role="presentation" class="nav-item"><a href="#opdInvestigations" class="nav-link"
|
|
aria-controls="profile" role="tab" data-toggle="tab"
|
|
aria-expanded="false"><span class="visible-xs"><i class="ti-user"></i></span>
|
|
<span class="hidden-xs">{{ __('inpatient.opd_invs') }}</span></a></li>
|
|
<li role="presentation" class="nav-item"><a href="#wardInvestigations" class="nav-link"
|
|
aria-controls="messages" role="tab" data-toggle="tab"><span
|
|
class="visible-xs"><i class="ti-email"></i></span> <span
|
|
class="hidden-xs">{{ __('inpatient.ward_invs') }}</span></a></li>
|
|
</ul>
|
|
<div class="panel-body">
|
|
<div class="tab-content m-t-0">
|
|
<div role="tabpanel" class="tab-pane fade active in" id="triageSymptoms">
|
|
<div class="col-md-12">
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th><b>{{ __('inpatient.symptoms') }}</b></th>
|
|
<th><b>{{ __('inpatient.duration') }}</b></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if ($triage)
|
|
@php
|
|
$symptoms_explode = explode(',', $triage->symptoms);
|
|
$duration_explode = explode(',', $triage->symptom_duration);
|
|
@endphp
|
|
@for ($i = 0; $i < count($symptoms_explode); $i++)
|
|
<tr>
|
|
<td>{{ $symptoms[$symptoms_explode[$i]] }}</td>
|
|
<td>{{ isset($duration_explode[$i]) ? $duration_explode[$i] : '' }}
|
|
</td>
|
|
</tr>
|
|
@endfor
|
|
@else
|
|
<tr>
|
|
<td colspan="2">{{ __('inpatient.no_symptoms_triage') }}
|
|
</td>
|
|
</tr>
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div role="tabpanel" class="tab-pane fade" id="opdInvestigations">
|
|
<div class="col-md-12">
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th><b>{{ __('inpatient.name') }}</b></th>
|
|
<th><b>{{ __('inpatient.value') }}</b></th>
|
|
<th><b>{{ __('inpatient.comment') }}</b></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if (count($opd_investigations) > 0)
|
|
@for ($i = 0; $i < count($opd_investigations['name']); $i++)
|
|
<tr>
|
|
<td>{{ $opd_investigations['name'][$i] }}</td>
|
|
<td>{{ $opd_investigations['value'][$i] }}</td>
|
|
<td>{{ $opd_investigations['comment'][$i] }}</td>
|
|
</tr>
|
|
@endfor
|
|
@else
|
|
<tr>
|
|
<td colspan="3">{{ __('inpatient.no_opd_invs') }}</td>
|
|
</tr>
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div role="tabpanel" class="tab-pane fade" id="wardInvestigations">
|
|
<div class="col-md-12">
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th><b>{{ __('inpatient.name') }}</b></th>
|
|
<th><b>{{ __('inpatient.value') }}</b></th>
|
|
<th><b>{{ __('inpatient.comment') }}</b></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if (count($ward_investigations) > 0)
|
|
@for ($i = 0; $i < count($ward_investigations['name']); $i++)
|
|
<tr>
|
|
<td>{{ $ward_investigations['name'][$i] }}</td>
|
|
<td>{{ $ward_investigations['value'][$i] }}</td>
|
|
<td>{{ $ward_investigations['comment'][$i] }}</td>
|
|
</tr>
|
|
@endfor
|
|
@else
|
|
<tr>
|
|
<td colspan="3">{{ __('inpatient.no_ward_invs') }}</td>
|
|
</tr>
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a href="#" class="label label-info"> > {{ __('inpatient.historical_investigations') }}</a>
|
|
<a href="{{ url('investigations/investigations_review') }}" class="label label-info"> >
|
|
{{ __('inpatient.order_investigations') }}</a>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
{{-- end diagnosis --}} |