Files
2025-10-17 13:38:25 +07:00

86 lines
4.3 KiB
PHP

<body class="hold-transition skin-blue sidebar-mini">
<section class="content-header">
<h1>
<?php echo $title ?>
<small>Preview Resume Medis</small>
</h1>
<ol class="breadcrumb">
<li><a href="<?php echo base_url()?>index.php"><i class="fa fa-dashboard"></i> Dashboard</a></li>
<li class="active"><?php echo $title ?></li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<?php
foreach ($dr as $dataresume){
?>
<div class="col-md-12">
<div class="box box-default collapsed-box">
<div class="box-header with-border">
<h3 class="box-title">
<?php
echo date("d M Y H:i", strtotime($dataresume->pr_date_resume));
if($dataresume->pr_jenis_pelayanan==1){
echo " - IGD";
}elseif($dataresume->pr_jenis_pelayanan==2){
echo " - Rawat Jalan";
}elseif($dataresume->pr_jenis_pelayanan==3){
echo " - Rawat Inap";
}
?>
</h3>
<div class="box-tools pull-right">
<?php
if($dataresume->pr_user_dokter_id==""){
echo "<span class='label label-warning'>Proses</span>";
}else{
echo "<span class='label label-success'>Selesai</span>";
}
?>
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
</div><!-- /.box-tools -->
</div><!-- /.box-header -->
<div class="box-body">
<dl class="dl-horizontal">
<dt>Ruang</dt>
<dd><?php foreach ($ru as $dat){if($dat->mr_id==$dataresume->pr_ruang_id){echo $dat->mr_kode." - ".$dat->mr_nama;}}?></dd>
<dt>Spesialis</dt>
<dd><?php foreach ($sp as $dat){if($dat->ms_id==$dataresume->pr_spesialis_id){echo $dat->ms_kode." - ".$dat->ms_nama;}}?></dd>
<dt>Dokter</dt>
<dd><?php foreach ($dk as $dat){if($dat->mu_id==$dataresume->pr_user_dokter_id){echo $dat->mu_nama_lengkap." - ".$dat->ms_nama;}}?></dd>
<dt>DPJP</dt>
<dd><?php foreach ($dpjp as $dat){if($dat->mu_id==$dataresume->pr_user_dokter_dpjp_id){echo $dat->mu_nama_lengkap." - ".$dat->ms_nama;}}?></dd>
<dt>Diagnosa</dt>
<dd><?php echo $dataresume->pr_diagnosa; ?></dd>
<dt>Tindakan</dt>
<dd><?php echo $dataresume->pr_tindakan; ?></dd>
<dt>Keterangan</dt>
<dd><?php echo $dataresume->pr_keterangan; ?></dd>
</dl>
<table class="table table-bordered">
<thead>
<tr class="bg-gray">
<th>Date</th>
<th>Keterangan</th>
<th>File</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!-- /.col -->
<?php
}
?>
</div><!-- /.row -->
</section>
<div class="control-sidebar-bg"></div>
</body>