first commit - report data

This commit is contained in:
2025-03-21 10:22:45 +07:00
commit 59963790c0
3493 changed files with 1353173 additions and 0 deletions

No files matched your search

@@ -0,0 +1,157 @@
<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_report/klaimlabmikro" 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">&times;</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>Status Pasien</th>
<th>APS</th>
<th>Tgl Order</th>
<th>Tgl Hasil</th>
<th>Nota</th>
<th>Bill</th>
<th>RM</th>
<th>KTP</th>
<th>Nama</th>
<th>Tgl Lahir</th>
<th>JK</th>
<th>Alamat</th>
<th>Penjamin</th>
<th>Ruang</th>
<th>No Lab</th>
<th>Kode Tarif</th>
<th>Kelompok</th>
<th>Jenis Pemeriksaan</th>
<th>StOrder</th>
<th>Status</th>
<th>Verif</th>
</tr>
</thead>
<tbody>
<?php
$no=0;
foreach ($klaimmikro as $dat) {
if($dat->strajal == "0"){$ststatus = "RANAP";}else{$ststatus = "RAJAL";}
if($dat->verstatusrajal == "1"){$stver = "YA";}else{$stver = "TIDAK";}
if($dat->statusorder == "1"){$stor = "YA";}else{$stor = "TIDAK";}
$nomr = ""; $ktp = ""; $namapasien = ""; $tgllahir = ""; $jeniskelamin = ""; $alamat = "";
$apsrajal = $dat->apsrajal;
$apsranap = $dat->apsranap;
$aps = (int)$apsrajal+(int)$apsranap;
if($aps > 0){
$aps = "APS";
$ktp = $dat->noktpaps;
$namapasien = $dat->namaaps;
$tgllahir = $dat->tgllahiraps;
$jeniskelamin = $dat->jkaps;
$alamat = $dat->alamataps;
}else{
$aps = "TIDAK";
$ktp = $dat->noktpreg;
$namapasien = $dat->namareg;
$tgllahir = $dat->tgllahirreg;
$jeniskelamin = $dat->jkreg;
$alamat = $dat->alamatreg;
}
$penjamin = $dat->namabayarrajal;if($penjamin==""){$penjamin = $dat->namabayarranap;}
$no++;
echo("
<tr>
<!--td>".$no."</td-->
<td>".$ststatus."</td>
<td>".$aps."</td>
<td>".$dat->tglorder."</td>
<td>".$dat->tglhasil."</td>
<td>".$dat->nonota."</td>
<td>".$dat->billranap."".$dat->billrajal."</td>
<td>".$dat->nomrreg."".$dat->nomraps."</td>
<td>".$ktp."</td>
<td>".$namapasien."</td>
<td>".$tgllahir."</td>
<td>".$jeniskelamin."</td>
<td>".$alamat."</td>
<td>".$penjamin."</td>
<td>".$dat->namaruang."</td>
<td>".$dat->nolokal."</td>
<td>".$dat->kodetarifrajal."".$dat->kodetarifranap."</td>
<td>".$dat->jenkel."</td>
<td>".$dat->jenpemeriksaan."</td>
<td>".$stor."</td>
<td>".$dat->statusrajal."".$dat->statusranap."</td>
<td>".$stver."</td>
</tr>
");
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
@@ -0,0 +1,161 @@
<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_report/labmikro" 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">&times;</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>Status Pasien</th>
<th>APS</th>
<th>Tgl Order</th>
<th>Tgl Hasil</th>
<th>Nota</th>
<th>Bill</th>
<th>RM</th>
<th>KTP</th>
<!--th>KTP Baru</th-->
<th>Nama</th>
<th>Tgl Lahir</th>
<th>JK</th>
<th>Alamat</th>
<th>Penjamin</th>
<th>Ruang</th>
<th>Poliklinik</th>
<th>Kode Tarif</th>
<th>Kelompok</th>
<th>Jenis Pemeriksaan</th>
<th>StOrder</th>
<th>Status</th>
<th>Verif</th>
</tr>
</thead>
<tbody>
<?php
$no=0;
foreach ($labmikroall as $dat) {
if($dat->strajal == "0"){$ststatus = "RANAP";}else{$ststatus = "RAJAL";}
if($dat->verstatus == "1"){$stver = "VERIF";}else{$stver = "TIDAK";}
if($dat->statusorder == "1"){$stor = "ORDER";}else{$stor = "TIDAK";}
$nomr = ""; $ktp = ""; $namapasien = ""; $tgllahir = ""; $jeniskelamin = ""; $alamat = "";
$apsrajal = $dat->tbsrajal;
$apsranap = $dat->tbsranap;
$aps = (int)$apsrajal+(int)$apsranap;
if($aps > 0){
$aps = "YA";
$ktp = $dat->ktpaps;
$namapasien = $dat->namapasienaps;
$tgllahir = $dat->tgllahiraps;
$jeniskelamin = $dat->jeniskelaminaps;
$alamat = $dat->alamataps;
}else{
$aps = "TIDAK";
$ktp = $dat->ktp;
$namapasien = $dat->namapasien;
$tgllahir = $dat->tgllahir;
$jeniskelamin = $dat->jeniskelamin;
$alamat = $dat->alamat;
}
$penjamin = $dat->namabayarrajal;if($penjamin==""){$penjamin = $dat->namabayarranap;}
$ruang = $dat->namaruangrajal;if($ruang==""){$ruang = $dat->namaruangranap;}
$no++;
echo("
<tr>
<!--td>".$no."</td-->
<td>".$ststatus."</td>
<td>".$aps."</td>
<td>".$dat->tglorder."</td>
<td>".$dat->tglhasil."</td>
<td>".$dat->nota."</td>
<td>".$dat->nobillrajal."</td>
<td>".$dat->nomr."</td>
<td>".$ktp."</td>
<!--td>".$dat->ktpbaru."</td-->
<td>".$namapasien."</td>
<td>".$tgllahir."</td>
<td>".$jeniskelamin."</td>
<td>".$alamat."</td>
<td>".$penjamin."</td>
<td>".$ruang."</td>
<td>".$dat->poliklinik."</td>
<td>".$dat->kodetarif."</td>
<td>".$dat->jeniskelompok."</td>
<td>".$dat->namafield."</td>
<td>".$stor."</td>
<td>".$dat->billstatus."</td>
<td>".$stver."</td>
</tr>
");
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>