Update
This commit is contained in:
No files matched your search
@@ -0,0 +1,222 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ $periksa->nmpasien }} ({{ $periksa->noregister }} - {{ $periksa->nofoto }})</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<table cellpadding="0" cellspacing="0" width="800" border="0">
|
||||
@if ($kopsurat == '')
|
||||
<tr>
|
||||
<td width="45" height="200"> </td>
|
||||
<td width="173" valign="top"> </td>
|
||||
<td width="12" valign="top"> </td>
|
||||
<td width="165" valign="top"> </td>
|
||||
<td width="115" valign="top"> </td>
|
||||
<td width="12" valign="top"> </td>
|
||||
<td width="128" valign="top"> </td>
|
||||
<td width="254" valign="top"> </td>
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="8"><img src="{!! $kopsurat !!}" width="100%" /></td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td colspan="8" align="center"><p><strong><u>HASIL PEMERIKSAAN MIKROBIOLOGI KLINIK</u></strong></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="45"> </td>
|
||||
<td valign="top" width="173">No. Laboratorium</td>
|
||||
<td valign="top" width="12">:</td>
|
||||
<td valign="top" width="165">{{ $periksa->nofoto }}</td>
|
||||
<td valign="top" width="115">Tanggal MRS</td>
|
||||
<td valign="top" width="12">:</td>
|
||||
<td valign="top" colspan="2">{!! $periksa->mulai !!}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td valign="top">Nama Pasien</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top">{{ $periksa->nmpasien }}</td>
|
||||
<td valign="top">Ruang Pengirim</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top" colspan="2">{!! $periksa->asalpasien !!}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"> </td>
|
||||
<td valign="top">No.Rekam Medik</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top">{{ $periksa->noregister }}</td>
|
||||
<td valign="top">Diagnosa</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top" colspan="2">{!! $periksa->klinis !!}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top"> </td>
|
||||
<td valign="top">Jenis Kelamin / Usia</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top">{{ $periksa->jkpasien }} / {{ $periksa->usia }}</td>
|
||||
<td valign="top">Jenis Pemeriksaan</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top" colspan="2">{!! $periksa->reques !!}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top"> </td>
|
||||
<td valign="top">Tanggal Kirim Sample</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top">{{ $periksa->daftar }}</td>
|
||||
<td valign="top"> </td>
|
||||
<td valign="top"> </td>
|
||||
<td valign="top" colspan="2"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top"> </td>
|
||||
<td valign="top">Tanggal Selesai Hasil</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top">{{ $periksa->verifikasi }}</td>
|
||||
<td valign="top"> </td>
|
||||
<td valign="top"> </td>
|
||||
<td valign="top" colspan="2"> </td>
|
||||
</tr>
|
||||
<tr><td colspan="8"> </td></tr>
|
||||
<tr>
|
||||
<td width="45"> </td>
|
||||
<td valign="top" colspan="7" width="755">
|
||||
@php
|
||||
$igg_parameter = '';
|
||||
$igm_parameter = '';
|
||||
$iggigm_interpretasi = '';
|
||||
$keterangan = $periksa->keterangan;
|
||||
if (!empty($komponens)){
|
||||
foreach($komponens as $rows){
|
||||
if (trim($rows->komponen) == 'igg_parameter') {$igg_parameter = $rows->isidata; }
|
||||
if (trim($rows->komponen) == 'igm_parameter') {$igm_parameter = $rows->isidata; }
|
||||
if (trim($rows->komponen) == 'iggigm_interpretasi') {$iggigm_interpretasi = $rows->isidata; }
|
||||
}
|
||||
}
|
||||
|
||||
@endphp
|
||||
<table style="width:100%">
|
||||
<tr>
|
||||
<td valign="top" style="width:20%">IgG Leptospira</td>
|
||||
<td valign="top" style="width:5%">:</td>
|
||||
<td valign="top" style="width:75%">{!! $igg_parameter !!}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">IgM Leptospira</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top">{!! $igm_parameter !!}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">Interpretasi</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top">
|
||||
{!! $iggigm_interpretasi !!}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@php
|
||||
$cekketerangan = explode('/table', $keterangan);
|
||||
@endphp
|
||||
|
||||
@if (!isset($cekketerangan[1]) && isset($antibiotiks) && $antibiotiks->isNotEmpty())
|
||||
@if ($bakteri != '')
|
||||
<p>Bakteri Yang ditemukan : <strong><i>{{$bakteri}}</i></strong> {{$data['bakterisir'] ?? ''}}</p>
|
||||
@endif
|
||||
@php
|
||||
// Filter antibiotik yang printrow == true
|
||||
$filtered = $antibiotiks->filter(function($row) {
|
||||
return $row->printrow;
|
||||
})->values(); // reset index
|
||||
|
||||
$total = $filtered->count();
|
||||
$half = ceil($total / 2);
|
||||
$left = $filtered->slice(0, $half)->values();
|
||||
$right = $filtered->slice($half)->values();
|
||||
@endphp
|
||||
<table style="width:100%" border="1" cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><strong>No</strong></th>
|
||||
<th><strong>Antibiotik</strong></th>
|
||||
<th><strong>Value</strong></th>
|
||||
<th><strong>Interpretation</strong></th>
|
||||
<th> </th>
|
||||
<th><strong>No</strong></th>
|
||||
<th><strong>Antibiotik</strong></th>
|
||||
<th><strong>Value</strong></th>
|
||||
<th><strong>Interpretation</strong></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for ($i = 0; $i < $half; $i++)
|
||||
<tr>
|
||||
{{-- Kolom kiri --}}
|
||||
@if (isset($left[$i]))
|
||||
<td>{{ $i + 1 }}</td>
|
||||
<td>{{ $left[$i]->antibiotic }}</td>
|
||||
@if (isset($left[$i]->printcol) && $left[$i]->printcol == 1)
|
||||
<td>{{ $left[$i]->value }}</td>
|
||||
@else
|
||||
<td> </td>
|
||||
@endif
|
||||
<td align="center">{{ $left[$i]->interpretation }}</td>
|
||||
@else
|
||||
<td colspan="4"> </td>
|
||||
@endif
|
||||
|
||||
<td> </td> {{-- Spacer kolom tengah --}}
|
||||
|
||||
{{-- Kolom kanan --}}
|
||||
@if (isset($right[$i]))
|
||||
<td>{{ $i + 1 + $half }}</td>
|
||||
<td>{{ $right[$i]->antibiotic }}</td>
|
||||
@if (isset($right[$i]->printcol) && $right[$i]->printcol == 1)
|
||||
<td>{{ $right[$i]->value }}</td>
|
||||
@else
|
||||
<td> </td>
|
||||
@endif
|
||||
<td align="center">{{ $right[$i]->interpretation }}</td>
|
||||
@else
|
||||
<td colspan="4"> </td>
|
||||
@endif
|
||||
</tr>
|
||||
@endfor
|
||||
</tbody>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
@if (isset($keterangan))
|
||||
<br />Komentar:<br />
|
||||
{!! $keterangan !!}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="8"> </td></tr>
|
||||
<tr><td colspan="8"> </td></tr>
|
||||
<tr>
|
||||
<td width="45"> </td>
|
||||
<td valign="top" colspan="4" align="center"> <br />Analis</td>
|
||||
<td valign="top" colspan="3" align="center">RSUD dr. Saiful Anwar <br />Dokter PJ Pemeriksaan Lab</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="45"> </td>
|
||||
<td valign="top" colspan="4" align="center">{!! $tandatangananalis !!}</td>
|
||||
<td colspan="3" align="center" valign="top">{!! $tandatangan !!}</td>
|
||||
</tr>
|
||||
<tr><td colspan="8"> </td></tr>
|
||||
<tr>
|
||||
<td width="45"> </td>
|
||||
<td valign="top" colspan="4" align="left">{{ $periksa->nmanalis }}</td>
|
||||
<td valign="top" colspan="3" align="center">{{ $periksa->nmdokter }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<font color="white">CCI</font>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user