update
This commit is contained in:
No files matched your search
@@ -2020,6 +2020,7 @@ class DokterController extends Controller
|
||||
'kodedok' => $row->kodedok,
|
||||
'atu' => $row->atu,
|
||||
'kelompok' => $row->kelompok,
|
||||
'setmanual' => $row->setmanual,
|
||||
'antibiotikall' => $row->subantibiotik !== null && $row->subantibiotik !== ''
|
||||
? $row->subantibiotik
|
||||
: $row->antibiotik,
|
||||
|
||||
@@ -28,6 +28,7 @@ use App\PendaftaranOnListiner;
|
||||
use App\Subjawaban;
|
||||
use App\Organisms;
|
||||
use App\Dokter;
|
||||
use App\SiraB;
|
||||
use Validator;
|
||||
use Session;
|
||||
use DateTime;
|
||||
@@ -193,6 +194,7 @@ class FrontpageController extends Controller
|
||||
'antrkrmsitu' => 0,
|
||||
];
|
||||
$allOrganisms = Organisms::orderBy('name', 'ASC')->get();
|
||||
$allASTManual = SiraB::whereNotNull('setmanual')->select('setmanual')->orderBy('setmanual', 'ASC')->get();
|
||||
$groupOrganisms = function ($kelompok) use ($allOrganisms) {
|
||||
$organisms = $allOrganisms->where('kelompok', $kelompok);
|
||||
if ($organisms->isEmpty()) {
|
||||
@@ -251,7 +253,8 @@ class FrontpageController extends Controller
|
||||
];
|
||||
foreach ($kelompokMapping as $key => $kelompok) {
|
||||
$data[$key] = $allOrganisms->where('kelompok', $kelompok)->values();
|
||||
}
|
||||
}
|
||||
$data['antibiotics'] = $allASTManual;
|
||||
if (Session::get('previlage') == 'developer'){
|
||||
return view('dokter.ppdsdeveloper', $data);
|
||||
} else {
|
||||
|
||||
@@ -231,6 +231,35 @@ class ListController extends Controller
|
||||
}
|
||||
$arraylist = $arraylist->get();
|
||||
} else {
|
||||
$cairansteril = [15,16,43,47,48,66,96,205,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223];
|
||||
$cci = 20;
|
||||
$darah = [7,8,13,17,29,33,44,107,114,115,199,200,201,202];
|
||||
$feces = [37,38,148,149,204];
|
||||
$hiv = 30;
|
||||
$kukukulit = [165,179,180,181,183,184,185,187,188,189,190,192,194,195,196,198];
|
||||
$kulturtb = [26,40,45,52,53,56,60,61,68,69,75,92,102,122,123,136,137,144,145,152,153,233];
|
||||
$pusdanjaringan = [18,19,32,35,46,49,50,54,57,58,59,72,160,182,186,191,193,197,206,207,208,224,225,226,227,228,234,235,236,237];
|
||||
$sputum = [1,12,23,24,36,39,229,230,231,232];
|
||||
$swab = [2,4,5,9,10,11,12,21,22,27,34,41,42,51,63,64,65,85,86,87,88,93,97,118,120,121,125,126,127,128,129,130,132,133,134,135,140,147,158,159,161,162,163,164,166,167,168,169,170,171,172,173,174,175,176,177,178];
|
||||
$tcmnontb = [79,80,81,82,83,84,203];
|
||||
$tcmtb = [14,28,55,62,94,104,105,124,138,146];
|
||||
$urine = [3,6,25,31,154,155,156,157];
|
||||
//jikabukan_array_tambahkan_kurung
|
||||
$mapped = array_merge(
|
||||
$cairansteril,
|
||||
[$cci],
|
||||
$darah,
|
||||
$feces,
|
||||
[$hiv],
|
||||
$kukukulit,
|
||||
$kulturtb,
|
||||
$pusdanjaringan,
|
||||
$sputum,
|
||||
$swab,
|
||||
$tcmnontb,
|
||||
$tcmtb,
|
||||
$urine
|
||||
);
|
||||
|
||||
$arraylist = Periksa::select(
|
||||
'id', 'mulai', 'akhir', 'orderid', 'noloket', 'nofoto', 'noregister', 'asalpasien', 'nmrs', 'pasien_id', 'nmpasien',
|
||||
@@ -355,6 +384,34 @@ class ListController extends Controller
|
||||
$arraylist = $arraylist->where('nm_spesimen', 'SWAB TENGGOROKAN');
|
||||
} else if ($master == 'TUBO'){
|
||||
$arraylist = $arraylist->where('nm_spesimen', 'TUBO O');
|
||||
} else if ($master == 'buku01'){
|
||||
$arraylist = $arraylist->whereIn('poli_id', $cairansteril);
|
||||
} else if ($master == 'buku02') {
|
||||
$arraylist = $arraylist->where('poli_id', $cci);
|
||||
} else if ($master == 'buku03') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $darah);
|
||||
} else if ($master == 'buku04') {
|
||||
$arraylist = $arraylist->where('poli_id', $hiv);
|
||||
} else if ($master == 'buku05') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $kukukulit);
|
||||
} else if ($master == 'buku06') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $kulturtb);
|
||||
} else if ($master == 'buku07') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $pusdanjaringan);
|
||||
} else if ($master == 'buku08') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $sputum);
|
||||
} else if ($master == 'buku09') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $swab);
|
||||
} else if ($master == 'buku10') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $tcmtb);
|
||||
} else if ($master == 'buku11') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $tcmnontb);
|
||||
} else if ($master == 'buku12') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $urine);
|
||||
} else if ($master == 'buku13') {
|
||||
$arraylist = $arraylist->whereIn('poli_id', $feces);
|
||||
} else if ($master == 'buku0') {
|
||||
$arraylist = $arraylist->whereNotIn('poli_id', $mapped);
|
||||
} else if ($master == '' OR $master == 'all'){
|
||||
// no filter
|
||||
} else {
|
||||
|
||||
@@ -26,6 +26,7 @@ return new class extends Migration
|
||||
$table->string('atu', 50)->nullable();
|
||||
$table->string('kelompok', 50)->nullable();
|
||||
$table->integer('cek')->nullable();
|
||||
$table->string('setmanual', 255)->nullable();
|
||||
$table->timestamp('created_at')->useCurrent();
|
||||
$table->timestamp('updated_at')->useCurrent();
|
||||
});
|
||||
|
||||
@@ -22,6 +22,9 @@ return new class extends Migration
|
||||
$table->integer('orderid')->nullable();
|
||||
$table->boolean('printrow')->nullable();
|
||||
$table->boolean('printcol')->nullable();
|
||||
$table->string('batasatas', 150)->nullable();
|
||||
$table->string('midrange', 150)->nullable();
|
||||
$table->string('batasbawah', 150)->nullable();
|
||||
$table->timestamp('created_at')->useCurrent();
|
||||
$table->timestamp('updated_at')->useCurrent();
|
||||
});
|
||||
|
||||
@@ -26,26 +26,39 @@ class DatabaseSeeder extends Seeder
|
||||
'previlage' => 'developer',
|
||||
]);
|
||||
}
|
||||
$ceksudah = User::where('username', 'doktestes')->count();
|
||||
if ($ceksudah == 0){
|
||||
User::create([
|
||||
'nama' => 'doktestes',
|
||||
'username' => 'doktestes',
|
||||
'password' => bcrypt('doktestes'),
|
||||
'previlage' => 'supervisor',
|
||||
]);
|
||||
}
|
||||
$ceksudah = User::where('username', 'ppdstes')->count();
|
||||
if ($ceksudah == 0){
|
||||
User::create([
|
||||
'nama' => 'ppdstes',
|
||||
'username' => 'ppdstes',
|
||||
'password' => bcrypt('ppdstes'),
|
||||
'previlage' => 'ppds',
|
||||
]);
|
||||
}
|
||||
$ceksudah = User::where('username', 'analistes')->count();
|
||||
if ($ceksudah == 0){
|
||||
User::create([
|
||||
'nama' => 'analistes',
|
||||
'username' => 'analistes',
|
||||
'password' => bcrypt('analistes'),
|
||||
'previlage' => 'analis',
|
||||
]);
|
||||
}
|
||||
$json1 = file_get_contents(database_path('seeders/data/ruangan.json'));
|
||||
$data1 = json_decode($json1, true);
|
||||
DB::table('ruangan')->insert($data1);
|
||||
$this->call(JawabanSeeder::class);
|
||||
$this->call(OrganismSeeder::class);
|
||||
$this->call(SirabSeeder::class);
|
||||
DB::table('poli')->insert([
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '10 SPUTUM - 10 3 4 KULTUR AEROB SPUTUM DAN UJI KEPEKAAN AB', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '2.3.5 KULTUR AEROB SEKRET DAN UJI KEPEKAAN AB', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '1.3.1 PEWARNAAN GRAM URINE', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '7.3.1 PEWARNAAN GRAM SWAB TELINGA', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '8.3.1 PEWARNAAN GRAM SPESIMEN MATA', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '1.3.4 KULTUR AEROP URINE DAN UJI KEPEKAAN AB', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '4.3.3 KULTUR DARAH AEROB DEWASA 1 BOTOL DAN UJI KEPEKAAN AB', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '4.3.7 KULTUR JAMUR DARAH', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '5.3.1 PEWARNAAN GRAM SWAB TENGGOROK', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '5.3.2 PEWARNAAN NEISSER SWAB TENGGOROK', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '5.3.4 KULTUR AEROB SWAB TENGGOROK DAN UJI KEPEKAAN AB', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '10.3.4 KULTUR AEROB SPUTUM DAN UJI KEPEKAAN AB', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
['poli' => 'Mikrobiologi', 'subpoli' => '4.3.5 KULTUR DARAH AEROB PEDIATRI 1 BOTOL DAN UJI KEPEKAAN AB', 'subsubpoli' => '', 'modaliti' => '', 'modaliti2' => ''],
|
||||
]);
|
||||
$this->call(PoliSeeder::class);
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,8 @@ class JawabanSeeder extends Seeder
|
||||
['kategori' => '1', 'judul' => 'Pewarna Langsung', 'subjawaban' => '', 'kesimpulan' => ''],
|
||||
['kategori' => '1', 'judul' => 'TBC', 'subjawaban' => '', 'kesimpulan' => ''],
|
||||
['kategori' => '1', 'judul' => 'Viral Load', 'subjawaban' => '', 'kesimpulan' => ''],
|
||||
['kategori' => '1', 'judul' => 'PCR COVID', 'subjawaban' => '', 'kesimpulan' => '']
|
||||
['kategori' => '1', 'judul' => 'PCR COVID', 'subjawaban' => '', 'kesimpulan' => ''],
|
||||
['kategori' => '1', 'judul' => 'IgM/IgG Leptospira', 'subjawaban' => '', 'kesimpulan' => '']
|
||||
]);
|
||||
DB::table('dokter')->insert([
|
||||
[ 'id' => 2, 'nama' => 'NON DOKTER', 'jk' => '', 'tgl_lahir' => null, 'kota' => 'ND', 'alamat' => 'UMUM', 'created_at' => '2025-08-02 07:14:51', 'updated_at' => '2025-08-02 07:14:51'],
|
||||
|
||||
@@ -75,6 +75,10 @@
|
||||
<input type="text" class="form-control" id="kelompok">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<label>Manual AST Groups</label>
|
||||
<input type="text" class="form-control" id="setmanual">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group account-btn text-center m-t-10">
|
||||
<div class="col-12">
|
||||
@@ -110,6 +114,7 @@
|
||||
{ name: 'kodedok',type: 'text'},
|
||||
{ name: 'atu',type: 'text'},
|
||||
{ name: 'kelompok',type: 'text'},
|
||||
{ name: 'setmanual',type: 'text'},
|
||||
],
|
||||
type: 'POST',
|
||||
data: { val01:'sirab', _token: token },
|
||||
@@ -146,20 +151,22 @@
|
||||
$("#sumber").val(dataRecord.sumber);
|
||||
$("#atu").val(dataRecord.atu);
|
||||
$("#kelompok").val(dataRecord.kelompok);
|
||||
$("#setmanual").val(dataRecord.setmanual);
|
||||
$('#modalsirab').modal('show');
|
||||
}
|
||||
},
|
||||
{ text: 'Family', datafield: 'family', width: '10%', cellsalign: 'left', align: 'center' },
|
||||
{ text: 'Spesies', datafield: 'spesies', width: '20%', cellsalign: 'left', align: 'center' },
|
||||
{ text: 'Antibiotik', datafield: 'antibiotik', width: '13%', cellsalign: 'left', align: 'center' },
|
||||
{ text: 'Family', filtertype: 'checkedlist', datafield: 'family', width: '10%', cellsalign: 'left', align: 'center' },
|
||||
{ text: 'Spesies', datafield: 'spesies', width: '13%', cellsalign: 'left', align: 'center' },
|
||||
{ text: 'Antibiotik', datafield: 'antibiotik', width: '10%', cellsalign: 'left', align: 'center' },
|
||||
{ text: 'Sub', datafield: 'subantibiotik', width: '11%', cellsalign: 'left', align: 'center' },
|
||||
{ text: 'Disk Content', datafield: 'diskcontent', width: '7%', cellsalign: 'left', align: 'center' },
|
||||
{ text: 'S', datafield: 'batasatas', width: '5%', cellsalign: 'center', align: 'center' },
|
||||
{ text: 'I', datafield: 'midrange', width: '5%', cellsalign: 'center', align: 'center' },
|
||||
{ text: 'R', datafield: 'batasbawah', width: '5%', cellsalign: 'center', align: 'center' },
|
||||
{ text: 'Contributor', datafield: 'kodedok', width: '6%', cellsalign: 'center', align: 'center' },
|
||||
{ text: 'Contributor', filtertype: 'checkedlist', datafield: 'kodedok', width: '6%', cellsalign: 'center', align: 'center' },
|
||||
{ text: 'ATU', datafield: 'atu', width: '5%', cellsalign: 'center', align: 'center' },
|
||||
{ text: 'Groub', datafield: 'kelompok', width: '5%', cellsalign: 'center', align: 'center' },
|
||||
{ text: 'Group', datafield: 'kelompok', width: '5%', cellsalign: 'center', align: 'center' },
|
||||
{ text: 'AST Manual', datafield: 'setmanual', filtertype: 'checkedlist', width: '10%', cellsalign: 'left', align: 'center' },
|
||||
{ text: 'Del', editable: false, sortable: false, filterable: false, columntype: 'button', width: '4%', cellsrenderer: function () {
|
||||
return "Del";
|
||||
}, buttonclick: function (row) {
|
||||
@@ -216,6 +223,7 @@
|
||||
var set10 = document.getElementById('atu').value;
|
||||
var set11 = document.getElementById('kelompok').value;
|
||||
var set12 = document.getElementById('id').value;
|
||||
var set13 = document.getElementById('setmanual').value;
|
||||
if (set01 == '' || set02 == '' || set03 == ''){
|
||||
swal({
|
||||
title : 'Mohon diLengkapi',
|
||||
@@ -237,6 +245,7 @@
|
||||
form_data.append('atu', set10);
|
||||
form_data.append('kelompok', set11);
|
||||
form_data.append('id', set12);
|
||||
form_data.append('setmanual', set13);
|
||||
form_data.append('tabel', 'SIRAB');
|
||||
form_data.append('_token', '{{csrf_token()}}');
|
||||
$.ajax({
|
||||
|
||||
@@ -71,36 +71,20 @@
|
||||
<li class="has-submenu">
|
||||
<a href="#"><i class="fa fa-user-md"></i>Specimen</a>
|
||||
<ul class="submenu">
|
||||
<li><a href="/mikro/all">All</a></li>
|
||||
<li><a href="/mikro/ABSES">ABSES HEPAR</a></li>
|
||||
<li><a href="/mikro/PERITONEUM">C. PERITONEUM</a></li>
|
||||
<li><a href="/mikro/PLEURA">C. PLEURA</a></li>
|
||||
<li><a href="/mikro/SENDI">C. SENDI</a></li>
|
||||
<li><a href="/mikro/ASPIRASI">CAIRAN ASPIRASI</a></li>
|
||||
<li><a href="/mikro/CCI">CCI</a></li>
|
||||
<li><a href="/mikro/DARAH">DARAH</a></li>
|
||||
<li><a href="/mikro/FECES">FECES</a></li>
|
||||
<li><a href="/mikro/JARINGAN">JARINGAN</a></li>
|
||||
<li><a href="/mikro/KUKU">KUKU</a></li>
|
||||
<li><a href="/mikro/LCS">LCS</a></li>
|
||||
<li><a href="/mikro/MATA">MATA</a></li>
|
||||
<li><a href="/mikro/PCR">PCR</a></li>
|
||||
<li><a href="/mikro/PMDT">PMDT</a></li>
|
||||
<li><a href="/mikro/PUS">PUS</a></li>
|
||||
<li><a href="/mikro/RAMBUT">RAMBUT</a></li>
|
||||
<li><a href="/mikro/SEKRET">SEKRET</a></li>
|
||||
<li><a href="/mikro/SPUTUM">SPUTUM</a></li>
|
||||
<li><a href="/mikro/SU">SU</a></li>
|
||||
<li><a href="/mikro/SV">SV</a></li>
|
||||
<li><a href="/mikro/SWAB">SWAB</a></li>
|
||||
<li><a href="/mikro/HIDUNG">SWAB HIDUNG</a></li>
|
||||
<li><a href="/mikro/SWABLAIN">SWAB LAIN LAIN</a></li>
|
||||
<li><a href="/mikro/TELINGA">SWAB TELINGA</a></li>
|
||||
<li><a href="/mikro/TENGGOROKAN">SWAB TENGGOROK</a></li>
|
||||
<li><a href="/mikro/TCM">TCM</a></li>
|
||||
<li><a href="/mikro/TUBO">TUBO O</a></li>
|
||||
<li><a href="/mikro/TULANG">TULANG</a></li>
|
||||
<li><a href="/mikro/URINE">URINE</a></li>
|
||||
<li><a href="/mikro/buku01">Cairan Steril</a></li>
|
||||
<li><a href="/mikro/buku02">CCI</a></li>
|
||||
<li><a href="/mikro/buku03">Darah</a></li>
|
||||
<li><a href="/mikro/buku04">HIV</a></li>
|
||||
<li><a href="/mikro/buku05">Kuku, Kulit, Adnexa</a></li>
|
||||
<li><a href="/mikro/buku06">Kultur TB</a></li>
|
||||
<li><a href="/mikro/buku07">Pus dan Jaringan</a></li>
|
||||
<li><a href="/mikro/buku08">Sputum</a></li>
|
||||
<li><a href="/mikro/buku09">Swab</a></li>
|
||||
<li><a href="/mikro/buku10">TCM TB</a></li>
|
||||
<li><a href="/mikro/buku11">TCM non-TB</a></li>
|
||||
<li><a href="/mikro/buku12">Urine</a></li>
|
||||
<li><a href="/mikro/buku13">Feces</a></li>
|
||||
<li><a href="/mikro/buku0">Selainnya</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/pasien"><i class="fa fa-wheelchair"></i>Patient</a></li>
|
||||
|
||||
@@ -4458,7 +4458,7 @@
|
||||
hideAfter : 5000,
|
||||
stack : 1
|
||||
});
|
||||
window.location.href = "{{ url('/mikro') }}";
|
||||
//window.location.href = "{{ url('/mikro/all') }}";
|
||||
return false;
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
|
||||
@@ -1724,6 +1724,28 @@
|
||||
<textarea id="viralload" style="width: 100%; height: 200px; font-size: 12px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row templatejawaban" id="templateleptospira">
|
||||
<div class="form-group col-lg-6">
|
||||
<label for="igg_parameter" class="col-form-label">IgG Leptospira</label>
|
||||
<select class="form-control ekspertiseseletc" id="igg_parameter" name="igg_parameter">
|
||||
<option value="">Pilih Salah Satu</option>
|
||||
<option value="Positif">Positif</option>
|
||||
<option value="Negatif">Negatif</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-6">
|
||||
<label for="igm_parameter" class="col-form-label">IgM Leptospira</label>
|
||||
<select class="form-control ekspertiseseletc" id="igm_parameter" name="igm_parameter">
|
||||
<option value="">Pilih Salah Satu</option>
|
||||
<option value="Positif">Positif</option>
|
||||
<option value="Negatif">Negatif</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-12">
|
||||
<label for="iggigm_interpretasi" class="col-form-label">Interpretasi</label>
|
||||
<textarea id="iggigm_interpretasi" style="width: 100%; height: 200px; font-size: 12px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group setelahdipilihtemplate">
|
||||
<div class="form-group account-btn text-center m-t-10">
|
||||
<button type="button" class="btn btn-light waves-effect" id="btnbachtect">
|
||||
@@ -1839,7 +1861,7 @@
|
||||
<div class="card-body">
|
||||
<div class="form-group col-lg-12 table-responsive p-0">
|
||||
<div class="row">
|
||||
<div class="form-group col-lg-4">
|
||||
<div class="form-group col-lg-3">
|
||||
<select class="form-control select2" id="id_bakteri01" name="id_bakteri01" style="width: 100%;">
|
||||
<option>Pilih Salah Satu</option>
|
||||
@php
|
||||
@@ -1860,7 +1882,17 @@
|
||||
@endphp
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-4">
|
||||
<div class="form-group col-lg-3">
|
||||
<select class="form-control" id="id_antibiotikmanual1" name="id_antibiotikmanual1">
|
||||
<option value="default">Default</option>
|
||||
@if(isset($antibiotics) && count($antibiotics) > 0)
|
||||
@foreach($antibiotics as $antibiotic)
|
||||
<option value="{{ $antibiotic->setmanual }}">{{ $antibiotic->setmanual }}</option>
|
||||
@endforeach
|
||||
@endif
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-2">
|
||||
<select class="form-control ekspertiseseletc" id="id_bakterisir01" name="id_bakterisir01">
|
||||
<option value="">Pilih Salah Satu</option>
|
||||
<option value="ESBL">ESBL</option>
|
||||
@@ -1873,7 +1905,7 @@
|
||||
<option value="XDR Carbapenem Resistant">XDR Carbapenem Resistant</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-4" id="id_bakterihitungkol01select">
|
||||
<div class="form-group col-lg-2" id="id_bakterihitungkol01select">
|
||||
<select class="form-control ekspertiseseletc" id="id_bakterihitungkol01" name="id_bakterihitungkol01">
|
||||
<option value="">Pilih Salah Satu</option>
|
||||
<option value="≥ 10⁵ CFU/ml Urine (Bakteriuria bermakna)">≥ 10⁵ CFU/ml Urine (Bakteriuria bermakna)</option>
|
||||
@@ -1883,9 +1915,14 @@
|
||||
<option value="lainnya">lainnya</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-lg-4" id="id_bakterihitungkol01teks">
|
||||
<div class="form-group col-lg-2" id="id_bakterihitungkol01teks">
|
||||
<input type="text" id="id_bakterihitungkolteks01" name="id_bakterihitungkolteks01" class="form-control ekspertiseteks">
|
||||
</div>
|
||||
<div class="form-group col-lg-2">
|
||||
<button type="button" class="btn btn-warninng btn-rounded" id="btnsimpannewkumanmanual1">
|
||||
<i class="fa fa-plus mr-1"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<table class="table table-striped table-valign-middle" id="tblkumanmanual1">
|
||||
<thead>
|
||||
@@ -1998,6 +2035,7 @@
|
||||
<div id="gridsirab"></div>
|
||||
</div>
|
||||
<div class="form-group col-lg-12">
|
||||
<label for="keterangan" class="col-form-label">Expertise</label>
|
||||
<textarea id="keterangan" style="width: 100%; height: 300px;"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
@@ -4001,6 +4039,7 @@
|
||||
CKEDITOR.replace( 'lsg_ditemukanmorfologi');
|
||||
CKEDITOR.replace( 'lsg_pewarnaanlain');
|
||||
CKEDITOR.replace( 'viralload');
|
||||
CKEDITOR.replace( 'iggigm_interpretasi');
|
||||
$("#mulai").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
||||
$("#akhir").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
||||
$("#id_tanggalpengambilancontohuji").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
||||
@@ -4458,7 +4497,7 @@
|
||||
hideAfter : 5000,
|
||||
stack : 1
|
||||
});
|
||||
window.location.href = "{{ url('/mikro') }}";
|
||||
//window.location.href = "{{ url('/mikro') }}";
|
||||
return false;
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
@@ -4963,66 +5002,6 @@
|
||||
}
|
||||
|
||||
});
|
||||
$("#id_bakteri01").on('change', function() {
|
||||
var komponen = $(this).attr('id');
|
||||
var isi = document.getElementById('id_bakteri01').value;
|
||||
var jenis = document.getElementById('dlp').value;
|
||||
var idne = document.getElementById('periksa_id').value;
|
||||
var form_data = new FormData();
|
||||
form_data.append('nofoto', document.getElementById('nofoto').value);
|
||||
form_data.append('val10', jenis);
|
||||
form_data.append('komponen', komponen);
|
||||
form_data.append('isi', isi);
|
||||
form_data.append('periksa_id', idne);
|
||||
form_data.append('keterangan', 'kumanmanual');
|
||||
form_data.append('_token', '{{csrf_token()}}');
|
||||
$.ajax({
|
||||
url : '{{ route("getResult") }}',
|
||||
data : form_data,
|
||||
type : 'POST',
|
||||
contentType : false,
|
||||
processData : false,
|
||||
success : function (response) {
|
||||
console.log(response);
|
||||
btncreateantibiotikkumanmanual1();
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
var response = xhr.responseJSON || {};
|
||||
var traceText = response.trace ? JSON.stringify(response.trace) : null;
|
||||
console.log(traceText);
|
||||
}
|
||||
});
|
||||
});
|
||||
$("#id_bakteri02").on('change', function() {
|
||||
var komponen = $(this).attr('id');
|
||||
var isi = document.getElementById('id_bakteri02').value;
|
||||
var jenis = document.getElementById('dlp').value;
|
||||
var idne = document.getElementById('periksa_id').value;
|
||||
var form_data = new FormData();
|
||||
form_data.append('nofoto', document.getElementById('nofoto').value);
|
||||
form_data.append('val10', jenis);
|
||||
form_data.append('komponen', komponen);
|
||||
form_data.append('isi', isi);
|
||||
form_data.append('periksa_id', idne);
|
||||
form_data.append('keterangan', 'kumanmanual');
|
||||
form_data.append('_token', '{{csrf_token()}}');
|
||||
$.ajax({
|
||||
url : '{{ route("getResult") }}',
|
||||
data : form_data,
|
||||
type : 'POST',
|
||||
contentType : false,
|
||||
processData : false,
|
||||
success : function (response) {
|
||||
console.log(response);
|
||||
btncreateantibiotikkumanmanual2();
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
var response = xhr.responseJSON || {};
|
||||
var traceText = response.trace ? JSON.stringify(response.trace) : null;
|
||||
console.log(traceText);
|
||||
}
|
||||
});
|
||||
});
|
||||
$(".pilihankirby").on('change', function() {
|
||||
var komponen = $(this).attr('id');
|
||||
var isi = $(this).val();
|
||||
|
||||
Reference in New Issue
Block a user