update
This commit is contained in:
@@ -103,9 +103,19 @@
|
||||
$lsg_pewarnaanlain = '';
|
||||
$lsg_ditemukanmorfologi = '';
|
||||
$bakteri = '';
|
||||
$nuggentscoreket = '';
|
||||
$data = [];
|
||||
$keterangan = $periksa->keterangan;
|
||||
if (!empty($komponens)){
|
||||
foreach($komponens as $rows){
|
||||
$key = trim($rows->komponen);
|
||||
if (!empty($key)) {
|
||||
if ($key == 'keterangan') {
|
||||
|
||||
} else {
|
||||
$data[$key] = $rows->isidata;
|
||||
}
|
||||
}
|
||||
if (trim($rows->komponen) == 'lsg_selepitel') {$lsg_selepitel = $rows->isidata; }
|
||||
if (trim($rows->komponen) == 'lsg_selradang') {$lsg_selradang = $rows->isidata; }
|
||||
if (trim($rows->komponen) == 'lsg_mikroorganisme') {$lsg_mikroorganisme = $rows->isidata; }
|
||||
@@ -120,7 +130,7 @@
|
||||
if (trim($rows->komponen) == 'lsg_pewarnaanspora') {$lsg_pewarnaanspora = $rows->isidata; }
|
||||
if (trim($rows->komponen) == 'lsg_pewarnaanlain') {$lsg_pewarnaanlain = $rows->isidata; }
|
||||
if (trim($rows->komponen) == 'lsg_ditemukanmorfologi') {$lsg_ditemukanmorfologi = $rows->isidata; }
|
||||
if (trim($rows->komponen) == 'bakteri') {$bakteri = $rows->isidata; }
|
||||
if (trim($rows->komponen) == 'bakteri') {$bakteri = $rows->isidata; }
|
||||
}
|
||||
}
|
||||
@endphp
|
||||
@@ -218,6 +228,91 @@
|
||||
<td valign="top">{!! $lsg_pewarnaanlain !!}</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if (isset($data['lsg_jumlahlactobacillus']) OR isset($data['lsg_jumlahgardnerella']) OR isset($data['lsg_jumlahmobiluncus']) OR isset($data['lsg_lactobacillus']) OR isset($data['lsg_gardnerella']) OR isset($data['lsg_mobiluncus']))
|
||||
<tr><td colspan="3"> </td></tr>
|
||||
<tr>
|
||||
<td valign="top"> </td>
|
||||
<td valign="top" colspan="2">
|
||||
<table cellpadding="0" cellspacing="0" width="100%" border="1">
|
||||
<tr>
|
||||
<td width="30%" align="center"><strong>NUGGENT SCORE</strong></td>
|
||||
<td width="40%" align="center"><strong>Jumlah per lapang pandang besar</strong></td>
|
||||
<td width="30%" align="center"><strong>skor</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lactobacillus</td>
|
||||
<td align="center">
|
||||
@if (isset($data['lsg_jumlahlactobacillus']))
|
||||
{!! $data['lsg_jumlahlactobacillus'] !!}
|
||||
@endif
|
||||
</td>
|
||||
<td align="center">
|
||||
@if (isset($data['lsg_lactobacillus']))
|
||||
{!! $data['lsg_lactobacillus'] !!}
|
||||
@php $lsg_lactobacillus = $data['lsg_lactobacillus']; @endphp
|
||||
@else
|
||||
@php $lsg_lactobacillus = 0; @endphp
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gardnerella</td>
|
||||
<td align="center">
|
||||
@if (isset($data['lsg_jumlahgardnerella']))
|
||||
{!! $data['lsg_jumlahgardnerella'] !!}
|
||||
@endif
|
||||
</td>
|
||||
<td align="center">
|
||||
@if (isset($data['lsg_gardnerella']))
|
||||
{!! $data['lsg_gardnerella'] !!}
|
||||
@php $lsg_gardnerella = $data['lsg_gardnerella']; @endphp
|
||||
@else
|
||||
@php $lsg_gardnerella = 0; @endphp
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mobiluncus</td>
|
||||
<td align="center">
|
||||
@if (isset($data['lsg_jumlahmobiluncus']))
|
||||
{!! $data['lsg_jumlahmobiluncus'] !!}
|
||||
@endif
|
||||
</td>
|
||||
<td align="center">
|
||||
@if (isset($data['lsg_mobiluncus']))
|
||||
{!! $data['lsg_mobiluncus'] !!}
|
||||
@php $lsg_mobiluncus = $data['lsg_mobiluncus']; @endphp
|
||||
@else
|
||||
@php $lsg_mobiluncus = 0; @endphp
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total Score</td>
|
||||
<td> </td>
|
||||
<td align="center">
|
||||
@php
|
||||
$jumlah = (int)$lsg_lactobacillus + (int)$lsg_gardnerella + (int)$lsg_mobiluncus;
|
||||
echo $jumlah;
|
||||
if ($jumlah >= 0 && $jumlah <= 3) {
|
||||
$nuggentscoreket = "Normal";
|
||||
} elseif ($jumlah >= 4 && $jumlah <= 6) {
|
||||
$nuggentscoreket = "Intermediate";
|
||||
} elseif ($jumlah >= 7 && $jumlah <= 10) {
|
||||
$nuggentscoreket = "Bacterial vaginosis";
|
||||
} else {
|
||||
$nuggentscoreket = "Nilai tidak valid";
|
||||
}
|
||||
@endphp
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">KET : {{$nuggentscoreket}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if ($lsg_ditemukanmorfologi != '')
|
||||
<tr>
|
||||
<td valign="top">Ditemukan morfologi</td>
|
||||
|
||||
@@ -1574,6 +1574,7 @@
|
||||
<option value="">Pilih Salah Satu</option>
|
||||
<option value="TCM-RNA HIV">TCM-RNA HIV</option>
|
||||
<option value="TCM-HCV VL">TCM-HCV VL</option>
|
||||
<option value="EID PCR DNA HIV">EID PCR DNA HIV</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-3">
|
||||
|
||||
@@ -1672,6 +1672,7 @@
|
||||
<option value="">Pilih Salah Satu</option>
|
||||
<option value="TCM-RNA HIV">TCM-RNA HIV</option>
|
||||
<option value="TCM-HCV VL">TCM-HCV VL</option>
|
||||
<option value="EID PCR DNA HIV">EID PCR DNA HIV</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-3">
|
||||
|
||||
@@ -1040,6 +1040,93 @@
|
||||
<label for="lsg_pewarnaanlain" class="col-form-label">8. Pewarnaan Lain-Lain</label>
|
||||
<textarea id="lsg_pewarnaanlain" style="width: 100%; height: 200px; font-size: 12px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;"></textarea>
|
||||
</div>
|
||||
<div class="form-group col-lg-12">
|
||||
<label>Nuggent Score</label>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-lg-4">
|
||||
<label for="lsg_lactobacillus" class="col-form-label">Lactobacillus</label>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-lg-6">
|
||||
<select class="form-control ekspertiseseletc" id="lsg_jumlahlactobacillus" name="lsg_jumlahlactobacillus">
|
||||
<option value="">Pilih Jumlah Per Lapang</option>
|
||||
@if(isset($jsonjumlahlactobacillus) && !empty($jsonjumlahlactobacillus))
|
||||
@foreach($jsonjumlahlactobacillus as $rows)
|
||||
<option value="{!! $rows->name !!}">{!! $rows->name !!}</option>
|
||||
@endforeach
|
||||
@endif
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-6">
|
||||
<select class="form-control ekspertiseseletc" id="lsg_lactobacillus" name="lsg_lactobacillus">
|
||||
<option value="">Pilih Skore</option>
|
||||
@php
|
||||
$mulai = 0;
|
||||
while ($mulai != 5){
|
||||
echo '<option value="'.$mulai.'">'.$mulai.'</option>';
|
||||
$mulai++;
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-lg-4">
|
||||
<label for="lsg_gardnerella" class="col-form-label">Gardnerella</label>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-lg-6">
|
||||
<select class="form-control ekspertiseseletc" id="lsg_jumlahgardnerella" name="lsg_jumlahgardnerella">
|
||||
<option value="">Pilih Jumlah Per Lapang</option>
|
||||
@if(isset($jsonjumlahgardnerella) && !empty($jsonjumlahgardnerella))
|
||||
@foreach($jsonjumlahgardnerella as $rows)
|
||||
<option value="{!! $rows->name !!}">{!! $rows->name !!}</option>
|
||||
@endforeach
|
||||
@endif
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-6">
|
||||
<select class="form-control ekspertiseseletc" id="lsg_gardnerella" name="lsg_gardnerella">
|
||||
<option value="">Pilih Skore</option>
|
||||
@php
|
||||
$mulai = 0;
|
||||
while ($mulai != 5){
|
||||
echo '<option value="'.$mulai.'">'.$mulai.'</option>';
|
||||
$mulai++;
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-lg-4">
|
||||
<label for="lsg_mobiluncus" class="col-form-label">Mobiluncus</label>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-lg-6">
|
||||
<select class="form-control ekspertiseseletc" id="lsg_jumlahmobiluncus" name="lsg_jumlahmobiluncus">
|
||||
<option value="">Pilih Jumlah Per Lapang</option>
|
||||
@if(isset($jsonjumlahmobiluncus) && !empty($jsonjumlahmobiluncus))
|
||||
@foreach($jsonjumlahmobiluncus as $rows)
|
||||
<option value="{!! $rows->name !!}">{!! $rows->name !!}</option>
|
||||
@endforeach
|
||||
@endif
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-6">
|
||||
<select class="form-control ekspertiseseletc" id="lsg_mobiluncus" name="lsg_mobiluncus">
|
||||
<option value="">Pilih Skore</option>
|
||||
@php
|
||||
$mulai = 0;
|
||||
while ($mulai != 5){
|
||||
echo '<option value="'.$mulai.'">'.$mulai.'</option>';
|
||||
$mulai++;
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row templatejawaban" id="templatetbc">
|
||||
<div class="form-group col-lg-12">
|
||||
@@ -1673,6 +1760,7 @@
|
||||
<option value="TCM-RNA HIV">TCM-RNA HIV</option>
|
||||
<option value="TCM-HCV VL">TCM-HCV VL</option>
|
||||
<option value="PCR HIV Viral load">PCR HIV Viral load</option>
|
||||
<option value="EID PCR DNA HIV">EID PCR DNA HIV</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-3" id="vl_hasildiv1select">
|
||||
|
||||
Reference in New Issue
Block a user