first commit - report data
This commit is contained in:
No files matched your search
@@ -0,0 +1,129 @@
|
||||
<section class="content-header">
|
||||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="<?php echo base_url();?>">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><?php echo $parent;?></li>
|
||||
<li class="breadcrumb-item active"><?php echo $title;?></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-default">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><?php
|
||||
echo $title;
|
||||
$tglawal = $awal;
|
||||
$tglakhir= $akhir;
|
||||
$tglgabung = date("m/d/Y", strtotime($awal))." - ".date("m/d/Y", strtotime($akhir));
|
||||
?></h3>
|
||||
</div>
|
||||
<form action="<?php echo(base_url()); ?>index.php/lp_simrs_kemenkes/icd" method="post" autocomplete="off">
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-1 col-form-label">Tanggal :</label>
|
||||
<div class="col-sm-4">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<i class="far fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
<input type="text" name="tanggal" class="form-control float-right" id="reservation" value="<?php echo $tglgabung;?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<button type="submit" class="btn btn-outline-info">Search </button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="card-body">
|
||||
<?php if($this->session->flashdata('message')){?>
|
||||
<div id="alert" class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<i class="icon fa fa-check"></i> Alert!
|
||||
<?php echo $this->session->flashdata('message');?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
$('#alert').hide('fast');
|
||||
}, 3000);
|
||||
</script>
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Asal Masuk</th>
|
||||
<th>ICD 10</th>
|
||||
<th>JML Lanjut Ranap</th>
|
||||
<th>JML BILL Lanjut Ranap</th>
|
||||
<th>JML KRS</th>
|
||||
<th>JML BILL KRS</th>
|
||||
<th>Total Kasus ICD</th>
|
||||
<th>Total BILL</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$no=0;
|
||||
foreach ($icd as $daticd) {
|
||||
//----------------------------------------------------------------Billing Dibuat
|
||||
$billmrs = 0; $billkrs = 0; $billall = 0;
|
||||
foreach($billrj as $datbillrj){
|
||||
if($daticd->dxutama == $datbillrj->dxutama && $daticd->asalmasuk == $datbillrj->asalmasuk){
|
||||
$billmrs = $datbillrj->mrs;
|
||||
$billkrs = $datbillrj->krs;
|
||||
$billall = $datbillrj->allbill;
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------------------Billing Batal
|
||||
$billbtlmrs = 0; $billbtlkrs = 0; $billbtlall = 0;
|
||||
foreach($billbtl as $datbillbtl){
|
||||
if($daticd->dxutama == $datbillbtl->dxutama && $daticd->asalmasuk == $datbillbtl->asalmasuk){
|
||||
$billbtlmrs = $datbillbtl->mrs;
|
||||
$billbtlkrs = $datbillbtl->krs;
|
||||
$billbtlall = $datbillbtl->allbill;
|
||||
}
|
||||
}
|
||||
|
||||
$billtotmrs = $billmrs-$billbtlmrs;
|
||||
$billtotkrs = $billkrs-$billbtlkrs;
|
||||
$billtotall = $billall-$billbtlall;
|
||||
|
||||
$no++;
|
||||
echo("
|
||||
<tr>
|
||||
<td>".$no."</td>
|
||||
<td>".$daticd->asalmasuk."</td>
|
||||
<td>".$daticd->dxutama." - ".$daticd->jepenyakit."</td>
|
||||
<td>".$daticd->mrs."</td>
|
||||
<td>".$billtotmrs."</td>
|
||||
<td>".$daticd->krs."</td>
|
||||
<td>".$billtotkrs."</td>
|
||||
<td>".$daticd->allicd."</td>
|
||||
<td>".$billtotall."</td>
|
||||
</tr>
|
||||
");
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,110 @@
|
||||
<section class="content-header">
|
||||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="<?php echo base_url();?>">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><?php echo $parent;?></li>
|
||||
<li class="breadcrumb-item active"><?php echo $title;?></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-default">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><?php
|
||||
echo $title;
|
||||
$tglawal = $awal;
|
||||
$tglakhir= $akhir;
|
||||
$tglgabung = date("m/d/Y", strtotime($awal))." - ".date("m/d/Y", strtotime($akhir));
|
||||
?></h3>
|
||||
</div>
|
||||
<form action="<?php echo(base_url()); ?>index.php/lp_simrs_kemenkes/tes" method="post" autocomplete="off">
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-1 col-form-label">Tanggal :</label>
|
||||
<div class="col-sm-4">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<i class="far fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
<input type="text" name="tanggal" class="form-control float-right" id="reservation" value="<?php echo $tglgabung;?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<button type="submit" class="btn btn-outline-info">Search </button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="card-body">
|
||||
<?php if($this->session->flashdata('message')){?>
|
||||
<div id="alert" class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<i class="icon fa fa-check"></i> Alert!
|
||||
<?php echo $this->session->flashdata('message');?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
$('#alert').hide('fast');
|
||||
}, 3000);
|
||||
</script>
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Ruang</th>
|
||||
<th>Kelompok</th>
|
||||
<th>SMF</th>
|
||||
<th>Jenis Lab dan Diagnostik</th>
|
||||
<th>JML TES Lanjut Ranap</th>
|
||||
<th>Total Biaya TES Lanjut Ranap</th>
|
||||
<th>JML TES KRS</th>
|
||||
<th>Total Biaya TES KRS</th>
|
||||
<th>JML TES</th>
|
||||
<th>Total Biaya TES</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$no=0;
|
||||
foreach ($pnj as $datpnj) {
|
||||
$no++;
|
||||
echo("
|
||||
<tr>
|
||||
<td>".$no."</td>
|
||||
<td>".$datpnj->kelompok."</td>
|
||||
<td>".$datpnj->kelompoktarif."</td>
|
||||
<td>".$datpnj->kelompoksmf."</td>
|
||||
<td>".$datpnj->kodetarif." - ".$datpnj->tarif."</td>
|
||||
<td>".$datpnj->mrs."</td>
|
||||
<td>Rp. ".number_format($datpnj->trmrs).",-</td>
|
||||
<td>".$datpnj->krs."</td>
|
||||
<td>Rp. ".number_format($datpnj->trkrs).",-</td>
|
||||
<td>".$datpnj->allbill."</td>
|
||||
<td>Rp. ".number_format($datpnj->alltrkrs).",-</td>
|
||||
</tr>
|
||||
");
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,106 @@
|
||||
<section class="content-header">
|
||||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="<?php echo base_url();?>">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><?php echo $parent;?></li>
|
||||
<li class="breadcrumb-item active"><?php echo $title;?></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-default">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><?php
|
||||
echo $title;
|
||||
$tglawal = $awal;
|
||||
$tglakhir= $akhir;
|
||||
$tglgabung = date("m/d/Y", strtotime($awal))." - ".date("m/d/Y", strtotime($akhir));
|
||||
?></h3>
|
||||
</div>
|
||||
<form action="<?php echo(base_url()); ?>index.php/lp_simrs_kemenkes/tindakan" method="post" autocomplete="off">
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-1 col-form-label">Tanggal :</label>
|
||||
<div class="col-sm-4">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<i class="far fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
<input type="text" name="tanggal" class="form-control float-right" id="reservation" value="<?php echo $tglgabung;?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<button type="submit" class="btn btn-outline-info">Search </button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="card-body">
|
||||
<?php if($this->session->flashdata('message')){?>
|
||||
<div id="alert" class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<i class="icon fa fa-check"></i> Alert!
|
||||
<?php echo $this->session->flashdata('message');?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
$('#alert').hide('fast');
|
||||
}, 3000);
|
||||
</script>
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Asal Masuk</th>
|
||||
<th>Jenis Tindakan</th>
|
||||
<th>JML Lanjut Ranap</th>
|
||||
<th>JML Tarif Lanjut Ranap</th>
|
||||
<th>JML KRS</th>
|
||||
<th>JML Tarif KRS</th>
|
||||
<th>Total Tindakan</th>
|
||||
<th>Total Tarif</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$no=0;
|
||||
foreach ($icdcm as $daticdcm) {
|
||||
$no++;
|
||||
echo("
|
||||
<tr>
|
||||
<td>".$no."</td>
|
||||
<td>".$daticdcm->asalmasuk."</td>
|
||||
<td>".$daticdcm->icd9." - ".$daticdcm->icdcmketerangan."</td>
|
||||
<td>".$daticdcm->mrs."</td>
|
||||
<td>Rp. ".number_format($daticdcm->trmrs).",-</td>
|
||||
<td>".$daticdcm->krs."</td>
|
||||
<td>Rp. ".number_format($daticdcm->trkrs).",-</td>
|
||||
<td>".$daticdcm->allicdm."</td>
|
||||
<td>Rp. ".number_format($daticdcm->alltr).",-</td>
|
||||
</tr>
|
||||
");
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,191 @@
|
||||
<section class="content-header">
|
||||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="<?php echo base_url();?>">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><?php echo $parent;?></li>
|
||||
<li class="breadcrumb-item active"><?php echo $title;?></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-default">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><?php
|
||||
echo $title;
|
||||
$tglawal = $awal;
|
||||
$tglakhir= $akhir;
|
||||
$tglgabung = date("m/d/Y", strtotime($awal))." - ".date("m/d/Y", strtotime($akhir));
|
||||
?></h3>
|
||||
</div>
|
||||
<form action="<?php echo(base_url()); ?>index.php/lp_simrs_kemenkes/variable_klaim" method="post" autocomplete="off">
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-1 col-form-label">Tanggal :</label>
|
||||
<div class="col-sm-4">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<i class="far fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
<input type="text" name="tanggal" class="form-control float-right" id="reservation" value="<?php echo $tglgabung;?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<button type="submit" class="btn btn-outline-info">Search </button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="card-body">
|
||||
<?php if($this->session->flashdata('message')){?>
|
||||
<div id="alert" class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<i class="icon fa fa-check"></i> Alert!
|
||||
<?php echo $this->session->flashdata('message');?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
$('#alert').hide('fast');
|
||||
}, 3000);
|
||||
</script>
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>NO SEP</th>
|
||||
<th>Tgl Masuk</th>
|
||||
<th>Tgl Keluar</th>
|
||||
<th>Tgl Keluar RS</th>
|
||||
<th>Status Keluar</th>
|
||||
<th>LOS</th>
|
||||
<th>Gender</th>
|
||||
<th>Tgl Lahir</th>
|
||||
<th>Keluhan Utama</th>
|
||||
<th>DX Masuk</th>
|
||||
<!--th>DX</th-->
|
||||
<th>Diaglist</th>
|
||||
<th>Proclist</th>
|
||||
<th>Cara Masuk</th>
|
||||
<!--th>Transport</th-->
|
||||
<th>Triase</th>
|
||||
<th>Trauma</th>
|
||||
<!--th>Obstetri</th-->
|
||||
<th>KLL</th>
|
||||
<th>Cara Bayar</th>
|
||||
<th>Status Ranap</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$no=0;
|
||||
foreach ($pxigd as $datpxigd) {
|
||||
$trauma = "Tidak";
|
||||
if($datpxigd->statuskll!="Bukan Kecelakaan"){
|
||||
$trauma = "Ya";
|
||||
}
|
||||
$rujuk = "Datang Sendiri";
|
||||
if($datpxigd->rujuk!=0){
|
||||
$rujuk = "Rujukan";
|
||||
}
|
||||
$ranap = "Tidak";
|
||||
$keluarrs = $datpxigd->keluarpoly;
|
||||
if($datpxigd->kdstatuskeluar==2){
|
||||
$ranap = "Ya";
|
||||
$keluarrs = $datpxigd->keluarrs;
|
||||
}
|
||||
|
||||
$jeniskelamin = "";
|
||||
if($datpxigd->gender=="P"){
|
||||
$jeniskelamin = "Perempuan";
|
||||
}elseif($datpxigd->gender=="L"){
|
||||
$jeniskelamin = "Laki-laki";
|
||||
}
|
||||
|
||||
//$triage = "TD : $datpxigd->tekanandarah | TB : $datpxigd->tinggibadan | BB : $datpxigd->beratbadan | GD : $datpxigd->golongandarah";
|
||||
$masuk = date_create($datpxigd->masukpoly);
|
||||
$pulang = date_create($keluarrs);
|
||||
$diff = date_diff( $masuk, $pulang );
|
||||
$los = "Hari :".$diff->d." / Jam :".$diff->h." / Menit :".$diff->i;
|
||||
$triage = "";
|
||||
if($datpxigd->kodepoly == 211 || $datpxigd->kodepoly == 214){
|
||||
$triage = "Merah";
|
||||
}elseif($datpxigd->kodepoly == 212 || $datpxigd->kodepoly == 215 || $datpxigd->kodepoly == 390){
|
||||
$triage = "Kuning";
|
||||
}elseif($datpxigd->kodepoly == 213 || $datpxigd->kodepoly == 216 || $datpxigd->kodepoly == 73 || $datpxigd->kodepoly == 204){
|
||||
$triage = "Hijau";
|
||||
}elseif($datpxigd->kodepoly == 257 || $datpxigd->kodepoly == 258){
|
||||
$triage = "Hitam";
|
||||
}
|
||||
|
||||
$icdcm = "";
|
||||
foreach($icdcmigd as $daticdcm){
|
||||
if($daticdcm->idxdaftar == $datpxigd->idxdaftar){
|
||||
$icdcm = $icdcm." ".$daticdcm->icd9." - ".$daticdcm->icdcmketerangan."; </br>";
|
||||
//$icdcm = $icdcm." ".$daticdcm->icd9.";";
|
||||
}
|
||||
}
|
||||
|
||||
$icd10 = ""; $dxawal = "";
|
||||
foreach($icdigd as $daticd){
|
||||
if($daticd->idxdaftar == $datpxigd->idxdaftar){
|
||||
$icd10 = $icd10." ".$daticd->icd10." - ".$daticd->icdketerangan."; </br>";
|
||||
//$icd10 = $icd10." ".$daticd->icdketerangan.";";
|
||||
//$icd10 = $icd10." ".$daticd->icd10.";";
|
||||
if($dxawal === ""){
|
||||
$dxawal = $daticd->icd10." - ".$daticd->icdketerangan;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($datpxigd->statuskeluar!="BATAL"){
|
||||
$no++;
|
||||
echo("
|
||||
<tr>
|
||||
<td>".$no."</td>
|
||||
<td>".$datpxigd->nosep."</td>
|
||||
<td>".$datpxigd->masukpoly."</td>
|
||||
<td>".$datpxigd->keluarpoly."</td>
|
||||
<td>$keluarrs</td>
|
||||
<td>".$datpxigd->statuskeluar."</td>
|
||||
<td>$los</td>
|
||||
<td>".$jeniskelamin."</td>
|
||||
<td>".$datpxigd->tgllahir."</td>
|
||||
<td>".$datpxigd->anamnesa."</td>
|
||||
<td>".$dxawal."</td>
|
||||
<!--td>".$datpxigd->jepenyakit."</td-->
|
||||
<td>$icd10</td>
|
||||
<td>$icdcm</td>
|
||||
<td>$rujuk</td>
|
||||
<!--td></td-->
|
||||
<td>".$datpxigd->namapoly." (".$triage.")</td>
|
||||
<td>$trauma</td>
|
||||
<!--td></td-->
|
||||
<td>$trauma</td>
|
||||
<td>".$datpxigd->carabayar."</td>
|
||||
<td>$ranap</td>
|
||||
</tr>
|
||||
");
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user