add semakin imut
@@ -0,0 +1,65 @@
|
||||
<nav class="navbar navbar-expand-md btn-group" style="background: #e6ffec; font-size:9pt;">
|
||||
<div class="container-fluid">
|
||||
<div class="btn-group">
|
||||
<a href="#input" class="btn btn-outline-success btn-sm" aria-current="page" data-bs-toggle="modal" data-bs-target="#input" title="input pasien baru">Input Data</a>
|
||||
<a href="./index.php?link=viewdata2" class="btn btn-outline-success btn-sm" title="Rekap Pasien jaga">Rekap Pasien</a>
|
||||
<a href="#" class="btn btn-outline-success btn-sm"data-bs-toggle="modal" data-bs-target="#pasien_manajer" title="Rekap Pasien IGD Excel">Rekap Excel</a>
|
||||
<a class="btn btn-outline-success btn-sm"href="#perawat" data-bs-toggle="modal" class="dropdown-item">Log book</a>
|
||||
<a class="btn btn-outline-success btn-sm"href="#maternal" data-bs-toggle="modal" class="dropdown-item">Laporan Kebidanan</a>
|
||||
<a class="btn btn-outline-success btn-sm"href="https://notebooklm.google.com/notebook/bd281b18-8b10-4faa-a64d-ded9ce9ea914?pli=1" target="_blank"><img src="./images/logo_ai.png" alt="AI_semakin-imut" width="75" height="30"></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- ================================= -->
|
||||
<style>
|
||||
.blink_me {
|
||||
animation: blinker 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes blinker {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<p id="mymodal"></p>
|
||||
<div class="jquery" style="margin-inline: 3pt;">
|
||||
<table id="" class="table table-striped table-hover datatable" width="100%" cellspacing="0" style="font-size: 12px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Triage | Kode</th>
|
||||
<th width="15%">Nama Pasien</th>
|
||||
<th>Nama PPA</th>
|
||||
<th>Register</th>
|
||||
<th>SMF</th>
|
||||
<th>Pengkajian</th>
|
||||
<th>Rencana</th>
|
||||
<th>Keluar</th>
|
||||
<th width="20%">Waktu Tunggu</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
load_tabel();
|
||||
|
||||
load_modal();
|
||||
|
||||
document.getElementById('dashboard_ok').hidden = false;
|
||||
document.getElementById('excell').hidden = false;
|
||||
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<script src="js/jquery-1.12.0.min.js"></script>
|
||||
<script src="js/jquery.dataTables.min.js"></script>
|
||||
<script src="js/input.js"></script>
|
||||
@@ -0,0 +1,112 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" />
|
||||
<!-- <link rel="stylesheet" href="index.css" /> -->
|
||||
<title>Voice Announcer</title>
|
||||
</head>
|
||||
|
||||
<body class="container mt-5 bg-dark">
|
||||
<h1 class="text-light">Voice Announcer IGD RSSA</h1>
|
||||
<p class="lead text-light mt-4">Setting</p>
|
||||
|
||||
|
||||
<div class="input-group input-group-sm mb-3">
|
||||
<span class="input-group-text" id="inputGroup-sizing-sm">atribut</span>
|
||||
<select class="form-select" id="atribut" name="atribut" aria-label="Default select example">
|
||||
|
||||
<option value=""selected>Atribut</option>
|
||||
<option value="tuan">Tn</option>
|
||||
<option value="nyonya">Ny</option>
|
||||
<option value="nona">Nn</option>
|
||||
<option value="anak">Anak</option>
|
||||
<option value="bayi nyonya">By Ny</option>
|
||||
</select>
|
||||
|
||||
<span class="input-group-text" id="inputGroup-sizing-sm">Nama</span>
|
||||
<input type="text" id="nama" name="nama" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-sm">
|
||||
<span class="input-group-text" id="inputGroup-sizing-sm">Tujuan</span>
|
||||
<select class="form-select" id="tujuan" name="tujuan" aria-label="Default select example">
|
||||
<option selected>Pilih menu...</option>
|
||||
<option value="loket pendaftaran" selected>Loket pendaftaran</option>
|
||||
<option value="loket pembayaran">Loket pembayaran</option>
|
||||
<option value="ruang triase">Triase</option>
|
||||
<option value="ruang K I E"> KIE</option>
|
||||
<option value="ruang roe, IGD lantai 2"> ROE </option>
|
||||
<option value="ruang ICU, IGD lantai 2"> ICU lt 2 </option>
|
||||
<option value="ruang operasi, IGD lantai 4"> Operasi </option>
|
||||
<option value="ruang perawatan emerjensi">EC</option>
|
||||
<option value="ruang IGD unit Infeksi">IGD Infeksi</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<!-- Select Menu for Voice -->
|
||||
<select id="voices" class="form-select bg-secondary text-light"></select>
|
||||
|
||||
<!-- Range Slliders for Volume, Rate & Pitch -->
|
||||
|
||||
<div class="d-flex mt-4 text-light">
|
||||
<div>
|
||||
<p class="lead">Volume</p>
|
||||
<input type="range" min="0" max="1" value="1" step="0.1" id="volume" disabled />
|
||||
<span id="volume-label" class="ms-2">1</span>
|
||||
</div>
|
||||
<div class="mx-5">
|
||||
<p class="lead">Rate</p>
|
||||
<input type="range" min="0.1" max="10" value="0.7" id="rate" step="0.1" disabled/>
|
||||
<span id="rate-label" class="ms-2">0.7</span>
|
||||
</div>
|
||||
<div>
|
||||
<p class="lead">Pitch</p>
|
||||
<input type="range" min="0" max="2" value="1.1" step="0.3" id="pitch" disabled />
|
||||
<span id="pitch-label" class="ms-2">1.1</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Text Area for the User to Type -->
|
||||
|
||||
|
||||
|
||||
<textarea hidden="true" id="text" name="text" class="form-control bg-dark text-light mt-5" cols="30" rows="10" placeholder="Type here..."></textarea>
|
||||
|
||||
<!-- Control Buttons -->
|
||||
<div class="mb-5">
|
||||
<audio id="myAudio" src="./audio/original-nokia-tune meloboom.mp3" type="audio/mp3"></audio>
|
||||
<audio id="myAudio2" src="./audio/original-nokia-tune meloboom.mp3" type="audio/mp3"></audio>
|
||||
|
||||
<button id="start" onclick="myFunction()" class="btn btn-success mt-5 me-3" ><img src="./images/img/play-button.png" alt="" width="30" height="30"></button>
|
||||
<button id="pause" class="btn btn-warning mt-5 me-3"><img src="./images/img/pause-button.png" alt="" width="30" height="30"></button>
|
||||
<button id="resume" class="btn btn-info mt-5 me-3"><img src="./images/img/end.png" alt="" width="30" height="30"></button>
|
||||
<button id="cancel" class="btn btn-danger mt-5 me-3"><img src="./images/img/stop-button.png" alt="" width="30" height="30"></button>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
<script src="./textToSpeech.js"></script>
|
||||
|
||||
<script>
|
||||
window.addEventListener('load',function(){
|
||||
myFunction();
|
||||
})
|
||||
function myFunction(){
|
||||
|
||||
let nama= document.getElementById('nama').value.toLowerCase();
|
||||
let atribut= document.getElementById('atribut').value;
|
||||
let tujuan= document.getElementById('tujuan').value;
|
||||
let text= document.getElementById('text').value='mohon perhatian........! panggilan ditujukan kepada keluarga pasien atas nama '+atribut+' ' + nama +'! diharap menuju'+tujuan+',..............................sekali lagi panggilan ditujukan kepada keluarga pasien atas nama'+atribut+' ' + nama +'! diharap menuju'+tujuan+',.....................terima kasih.'
|
||||
|
||||
}
|
||||
|
||||
|
||||
const queryString= window.location.search;
|
||||
console.log(queryString);
|
||||
|
||||
const urlParams= new URLSearchParams(queryString);
|
||||
const stridpasien= urlParams.get('id_pasien')
|
||||
const strnama= urlParams.get('nama')
|
||||
const strgender= urlParams.get('gender')
|
||||
document.querySelector('select').value= strgender;
|
||||
document.getElementById('nama').value=strnama;
|
||||
document.getElementById('id_pasien').value=stridpasien;
|
||||
|
||||
|
||||
</script>
|
||||
</html>
|
||||
@@ -0,0 +1,426 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v5.0.2 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2021 The Bootstrap Authors
|
||||
* Copyright 2011-2021 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
:root {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
background-color: #fff;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 1rem 0;
|
||||
color: inherit;
|
||||
background-color: currentColor;
|
||||
border: 0;
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
hr:not([size]) {
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
h6, h5, h4, h3, h2, h1 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: calc(1.375rem + 1.5vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: calc(1.325rem + 0.9vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: calc(1.3rem + 0.6vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h3 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: calc(1.275rem + 0.3vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h4 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
abbr[title],
|
||||
abbr[data-bs-original-title] {
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul,
|
||||
dl {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: 0.5rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
mark {
|
||||
padding: 0.2em;
|
||||
background-color: #fcf8e3;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
position: relative;
|
||||
font-size: 0.75em;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0d6efd;
|
||||
text-decoration: underline;
|
||||
}
|
||||
a:hover {
|
||||
color: #0a58ca;
|
||||
}
|
||||
|
||||
a:not([href]):not([class]), a:not([href]):not([class]):hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 1em;
|
||||
direction: ltr /* rtl:ignore */;
|
||||
unicode-bidi: bidi-override;
|
||||
}
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
font-size: 0.875em;
|
||||
}
|
||||
pre code {
|
||||
font-size: inherit;
|
||||
color: inherit;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 0.875em;
|
||||
color: #d63384;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
a > code {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
kbd {
|
||||
padding: 0.2rem 0.4rem;
|
||||
font-size: 0.875em;
|
||||
color: #fff;
|
||||
background-color: #212529;
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
kbd kbd {
|
||||
padding: 0;
|
||||
font-size: 1em;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
img,
|
||||
svg {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table {
|
||||
caption-side: bottom;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
color: #6c757d;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
text-align: -webkit-match-parent;
|
||||
}
|
||||
|
||||
thead,
|
||||
tbody,
|
||||
tfoot,
|
||||
tr,
|
||||
td,
|
||||
th {
|
||||
border-color: inherit;
|
||||
border-style: solid;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
button:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
[role=button] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
select {
|
||||
word-wrap: normal;
|
||||
}
|
||||
select:disabled {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[list]::-webkit-calendar-picker-indicator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
button,
|
||||
[type=button],
|
||||
[type=reset],
|
||||
[type=submit] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
button:not(:disabled),
|
||||
[type=button]:not(:disabled),
|
||||
[type=reset]:not(:disabled),
|
||||
[type=submit]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: calc(1.275rem + 0.3vw);
|
||||
line-height: inherit;
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
legend {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
legend + * {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
::-webkit-datetime-edit-fields-wrapper,
|
||||
::-webkit-datetime-edit-text,
|
||||
::-webkit-datetime-edit-minute,
|
||||
::-webkit-datetime-edit-hour-field,
|
||||
::-webkit-datetime-edit-day-field,
|
||||
::-webkit-datetime-edit-month-field,
|
||||
::-webkit-datetime-edit-year-field {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::-webkit-inner-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
[type=search] {
|
||||
outline-offset: -2px;
|
||||
-webkit-appearance: textfield;
|
||||
}
|
||||
|
||||
/* rtl:raw:
|
||||
[type="tel"],
|
||||
[type="url"],
|
||||
[type="email"],
|
||||
[type="number"] {
|
||||
direction: ltr;
|
||||
}
|
||||
*/
|
||||
::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
::-webkit-color-swatch-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::file-selector-button {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
output {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
||||
@@ -0,0 +1,8 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v5.0.2 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2021 The Bootstrap Authors
|
||||
* Copyright 2011-2021 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){h2{font-size:2rem}}h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){h3{font-size:1.75rem}}h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){h4{font-size:1.5rem}}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:.875em}mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}
|
||||
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
||||
@@ -0,0 +1,423 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v5.0.2 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2021 The Bootstrap Authors
|
||||
* Copyright 2011-2021 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
:root {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
background-color: #fff;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 1rem 0;
|
||||
color: inherit;
|
||||
background-color: currentColor;
|
||||
border: 0;
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
hr:not([size]) {
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
h6, h5, h4, h3, h2, h1 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: calc(1.375rem + 1.5vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: calc(1.325rem + 0.9vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: calc(1.3rem + 0.6vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h3 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: calc(1.275rem + 0.3vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h4 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
abbr[title],
|
||||
abbr[data-bs-original-title] {
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul,
|
||||
dl {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: 0.5rem;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
mark {
|
||||
padding: 0.2em;
|
||||
background-color: #fcf8e3;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
position: relative;
|
||||
font-size: 0.75em;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0d6efd;
|
||||
text-decoration: underline;
|
||||
}
|
||||
a:hover {
|
||||
color: #0a58ca;
|
||||
}
|
||||
|
||||
a:not([href]):not([class]), a:not([href]):not([class]):hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 1em;
|
||||
direction: ltr ;
|
||||
unicode-bidi: bidi-override;
|
||||
}
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
font-size: 0.875em;
|
||||
}
|
||||
pre code {
|
||||
font-size: inherit;
|
||||
color: inherit;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 0.875em;
|
||||
color: #d63384;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
a > code {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
kbd {
|
||||
padding: 0.2rem 0.4rem;
|
||||
font-size: 0.875em;
|
||||
color: #fff;
|
||||
background-color: #212529;
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
kbd kbd {
|
||||
padding: 0;
|
||||
font-size: 1em;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
img,
|
||||
svg {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table {
|
||||
caption-side: bottom;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
color: #6c757d;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
text-align: -webkit-match-parent;
|
||||
}
|
||||
|
||||
thead,
|
||||
tbody,
|
||||
tfoot,
|
||||
tr,
|
||||
td,
|
||||
th {
|
||||
border-color: inherit;
|
||||
border-style: solid;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
button:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
[role=button] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
select {
|
||||
word-wrap: normal;
|
||||
}
|
||||
select:disabled {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[list]::-webkit-calendar-picker-indicator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
button,
|
||||
[type=button],
|
||||
[type=reset],
|
||||
[type=submit] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
button:not(:disabled),
|
||||
[type=button]:not(:disabled),
|
||||
[type=reset]:not(:disabled),
|
||||
[type=submit]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
float: right;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: calc(1.275rem + 0.3vw);
|
||||
line-height: inherit;
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
legend {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
legend + * {
|
||||
clear: right;
|
||||
}
|
||||
|
||||
::-webkit-datetime-edit-fields-wrapper,
|
||||
::-webkit-datetime-edit-text,
|
||||
::-webkit-datetime-edit-minute,
|
||||
::-webkit-datetime-edit-hour-field,
|
||||
::-webkit-datetime-edit-day-field,
|
||||
::-webkit-datetime-edit-month-field,
|
||||
::-webkit-datetime-edit-year-field {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::-webkit-inner-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
[type=search] {
|
||||
outline-offset: -2px;
|
||||
-webkit-appearance: textfield;
|
||||
}
|
||||
|
||||
[type="tel"],
|
||||
[type="url"],
|
||||
[type="email"],
|
||||
[type="number"] {
|
||||
direction: ltr;
|
||||
}
|
||||
::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
::-webkit-color-swatch-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::file-selector-button {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
output {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-reboot.rtl.css.map */
|
||||
@@ -0,0 +1,8 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v5.0.2 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2021 The Bootstrap Authors
|
||||
* Copyright 2011-2021 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){h2{font-size:2rem}}h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){h3{font-size:1.75rem}}h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){h4{font-size:1.5rem}}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-right:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-right:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:.875em}mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:right}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:right;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:right}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=email],[type=number],[type=tel],[type=url]{direction:ltr}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}
|
||||
/*# sourceMappingURL=bootstrap-reboot.rtl.min.css.map */
|
||||
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
// db settings
|
||||
date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
session_start();
|
||||
// db connection
|
||||
// $con = mysqli_connect($hostname, $username, $password, $database) or die("Error " . mysqli_error($con));
|
||||
|
||||
// fetch records
|
||||
$nama_login = $_SESSION['nama'];
|
||||
$sql = "SELECT * FROM datapasien_ok WHERE ruang= 'kamar operasi' AND status_tunggu= 'menunggu'";
|
||||
$result = mysqli_query($open, $sql);
|
||||
$array = array();
|
||||
$no = 0;
|
||||
|
||||
while ($data = mysqli_fetch_assoc($result)) {
|
||||
$no++;
|
||||
$tsql = "SELECT * FROM tb_tindakan WHERE id_pasien='$data[id_pasien]' AND ruang= 'kamar operasi' AND masalah='belum'";
|
||||
$sqlcount = mysqli_num_rows(mysqli_query($open, $tsql));
|
||||
if ($sqlcount > 0) {
|
||||
$count = 'Proses';
|
||||
} else {
|
||||
$count = '';
|
||||
}
|
||||
|
||||
$awal = date_create($data['jam_daftar']);
|
||||
$akhir = date_create(); // waktu sekarang
|
||||
$diff = date_diff($awal, $akhir);
|
||||
$jam_daftar = date('d-m-Y H:i', strtotime($data['jam_daftar']));
|
||||
$hour = $diff->h < 6;
|
||||
$day = $diff->d == 0;
|
||||
|
||||
if ($hour && $day) {
|
||||
$btnprolong = "btn btn-success btn-sm";
|
||||
} else {
|
||||
$btnprolong = "btn btn-danger btn-sm";
|
||||
}
|
||||
|
||||
$sub_array['no'] = "<p class='btn btn-light position-relative'style='font-size: 10pt;' href='' >$no</p>";
|
||||
$sub_array['nama'] = "<p onclick='warning()'class=''style='font-size: 8pt;font-weight:bold;'title='Detail pasien $data[nama]'>$data[nama]</p>
|
||||
<p style='font-size: 8pt;'>No.RM : $data[register]<br>
|
||||
Ruang : $data[ruang_asal]</p>";
|
||||
|
||||
$sub_array['prioritas'] = "<a onclick='warning()'class='btn btn-light position-relative' style='font-size: 8pt; font-weight:bold;' >$data[kriteria_tindakan]<span class='position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger'>$count</span></a>";
|
||||
$sub_array['diagnosa_medis'] = "<p style='font-size: 8pt;'>$data[diagnosa_medis]</p>";
|
||||
$sub_array['rencana'] = "<p style='font-size: 8pt;'>Rencana $data[rencana_tindakan]</p>";
|
||||
$sub_array['operator'] = "<select class='form-select' style='font-size: 8pt; font-weight: bold;'>
|
||||
<option value=''style='font-weight: bold;' >Operator</option>
|
||||
<option value='' > $data[operator]</option>
|
||||
<option><li role='divider'></li></option>
|
||||
<option value='' style='font-weight: bold;'>Anestesi</option>
|
||||
<option value='' >$data[anestesi]</option>
|
||||
</select>";
|
||||
$sub_array['waktu_tunggu'] = "<a class= '$btnprolong' style='font-size: 10pt;' data-bs-toggle='modal' data-bs-target='#prolong_ok$data[id_pasien]'> $diff->d hari- $diff->h jam- $diff->i menit</a>";
|
||||
$array[] = $sub_array;
|
||||
}
|
||||
|
||||
$dataset = array(
|
||||
"echo" => 1,
|
||||
"totalrecords" => count($array),
|
||||
"totaldisplayrecords" => count($array),
|
||||
"data" => $array
|
||||
);
|
||||
echo json_encode($dataset);
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
// db settings
|
||||
date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
session_start();
|
||||
// db connection
|
||||
// $con = mysqli_connect($hostname, $username, $password, $database) or die("Error " . mysqli_error($con));
|
||||
|
||||
// fetch records
|
||||
$nama_login = $_SESSION['nama'];
|
||||
$sql = "SELECT * FROM datapasien_ok WHERE ruang='$nama_login' AND status_tunggu= 'menunggu'";
|
||||
$result = mysqli_query($open, $sql);
|
||||
$array = array();
|
||||
$no = 0;
|
||||
|
||||
while ($data = mysqli_fetch_assoc($result)) {
|
||||
$no++;
|
||||
// $tsql = "SELECT * FROM tb_tindakan WHERE id_pasien='$data[id_pasien]' AND ruang='$nama_login' AND masalah='belum'";
|
||||
// $sqlcount = mysqli_num_rows(mysqli_query($open, $tsql));
|
||||
// if ($sqlcount > 0) {
|
||||
// $count = 'Proses';
|
||||
// } else {
|
||||
$count = '';
|
||||
// }
|
||||
|
||||
$awal = date_create($data['jam_daftar']);
|
||||
$akhir = date_create(); // waktu sekarang
|
||||
$diff = date_diff($awal, $akhir);
|
||||
$jam_daftar = date('d-m-Y H:i', strtotime($data['jam_daftar']));
|
||||
$hour = $diff->h < 6;
|
||||
$day = $diff->d == 0;
|
||||
|
||||
// if ($hour && $day) {
|
||||
// $btnprolong = "btn btn-success btn-sm";
|
||||
// } else {
|
||||
// $btnprolong = "btn btn-danger btn-sm";
|
||||
// }
|
||||
|
||||
$sub_array['no'] = "<a class='btn btn-light position-relative'style='font-size: 9pt;' href='dataview.php?id_pasien=$data[id_pasien]' >$no</a>";
|
||||
$sub_array['nama'] = "<a class=''style='font-size:9pt;font-weight:bold;' href='dataview.php?id_ok=$data[id_ok]&id_pasien=$data[id_pasien]&status_keluar=$data[status_keluar]' title='Detail pasien $data[nama]'>$data[nama]</a>
|
||||
<p style='font-size: 8pt;'>No.RM : $data[register]<br>
|
||||
Ruang : $data[ruang_asal]</p>";
|
||||
|
||||
$sub_array['prioritas'] = "<a class='btn btn-light position-relative' style='font-size: 9pt;' >$data[kriteria_tindakan]<span class='position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger'>$count</span></a>";
|
||||
$sub_array['diagnosa_medis'] = "<p style='font-size: 9pt;'>$data[diagnosa_medis]</p>";
|
||||
$sub_array['rencana'] = "<p style='font-size: 9pt;'>Rencana $data[rencana_tindakan]</p>";
|
||||
$sub_array['operator'] = "<select class='form-select' style='font-size: 9pt; font-weight: bold;'>
|
||||
<option value=''style='font-weight: bold;' >Operator</option>
|
||||
<option value='' > $data[operator]</option>
|
||||
<option><li role='divider'></li></option>
|
||||
<option value='' style='font-weight: bold;'>Anestesi</option>
|
||||
<option value='' >$data[anestesi]</option>
|
||||
</select>";
|
||||
$sub_array['waktu_tunggu'] = "<a class= '$btnprolong' style='font-size: 9pt;' data-bs-toggle='modal' data-bs-target='#prolong$data[id_pasien]'> $diff->d hari- $diff->h jam- $diff->i menit</a>";
|
||||
$array[] = $sub_array;
|
||||
}
|
||||
|
||||
$dataset = array(
|
||||
"echo" => 1,
|
||||
"totalrecords" => count($array),
|
||||
"totaldisplayrecords" => count($array),
|
||||
"data" => $array
|
||||
);
|
||||
|
||||
echo json_encode($dataset);
|
||||
@@ -0,0 +1,114 @@
|
||||
<!--form action_edit-->
|
||||
|
||||
<?php
|
||||
// session_start();
|
||||
include "koneksi.php";
|
||||
|
||||
//Kirimkan Variabel
|
||||
|
||||
$id_pasien = $_POST['id_pasien'];
|
||||
$register = $_POST['register'];
|
||||
$nik = $_POST['nik'];
|
||||
$nama = strtoupper($_POST['nama']);
|
||||
$umur = $_POST['umur'];
|
||||
$jenis_kelamin = $_POST['jenis_kelamin'];
|
||||
$triage = $_POST['triage'];
|
||||
$ruang = $_POST['ruang'];
|
||||
$tanggal = $_POST['tanggal'];
|
||||
$alamat = strtoupper($_POST['alamat']);
|
||||
$kedatangan = $_POST['kedatangan'];
|
||||
$smf = $_POST['smf'];
|
||||
$prolong = $_POST['editprolong'];
|
||||
|
||||
|
||||
|
||||
// hak akses manajer edit
|
||||
if (($_SESSION['hak_akses'] == 'Manajer')) {
|
||||
|
||||
$keterangan = $_POST['keterangan'];
|
||||
$status_keluar = $_POST['status_keluar'];
|
||||
$status_tunggu = $_POST['status_tunggu'];
|
||||
$jam_keluar = $_POST['jam_keluar'];
|
||||
// insert form edit manajer ke data base
|
||||
$input = "UPDATE datapasien SET register= '$register',
|
||||
nik='$nik',
|
||||
nama='$nama',
|
||||
umur='$umur',
|
||||
jenis_kelamin='$jenis_kelamin',
|
||||
triage='$triage',
|
||||
ruang='$ruang',
|
||||
tanggal='$tanggal',
|
||||
alamat='$alamat',
|
||||
kedatangan='$kedatangan',
|
||||
smf='$smf',
|
||||
keterangan='$keterangan',
|
||||
prolong='$prolong',
|
||||
status_keluar= '$status_keluar',
|
||||
status_tunggu= '$status_tunggu',
|
||||
jam_keluar = '$jam_keluar'
|
||||
|
||||
WHERE id_pasien = '$id_pasien' ";
|
||||
$query_input = mysqli_query($open, $input);
|
||||
if ($query_input) {
|
||||
|
||||
|
||||
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
document.location = '/perawat/index.php?link=<?= $_SESSION['hak_akses']; ?>.php';
|
||||
</script>
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
} else {
|
||||
|
||||
if ($_SESSION['hak_akses'] == 'Admin') {
|
||||
|
||||
// jika edit selain manajer
|
||||
$input = "UPDATE datapasien SET register= '$register',
|
||||
nik='$nik',
|
||||
nama='$nama',
|
||||
umur='$umur',
|
||||
jenis_kelamin='$jenis_kelamin',
|
||||
triage='$triage',
|
||||
ruang='$ruang',
|
||||
alamat='$alamat',
|
||||
kedatangan='$kedatangan',
|
||||
smf='$smf',
|
||||
prolong='$prolong'
|
||||
|
||||
WHERE id_pasien = '$id_pasien' ";
|
||||
|
||||
$query_input = mysqli_query($open, $input);
|
||||
if ($query_input) {
|
||||
|
||||
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
document.location = '/perawat/index.php?link=<?= $_SESSION['hak_akses']; ?>.php';
|
||||
</script>
|
||||
<?php
|
||||
|
||||
}
|
||||
} else {
|
||||
// jika gagal input
|
||||
echo "Maaf Data tidak bisa diedit!";
|
||||
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
document.location = '/perawat/index.php?link=<?= $_SESSION['hak_akses']; ?>.php';
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Tutup koneksi engine MySQL
|
||||
mysqli_close($open);
|
||||
|
||||
?>
|
||||
<!-- jika tidak ada koneksi -->
|
||||
<script language="JavaScript">
|
||||
document.location = '/perawat/index.php?link=<?= $_SESSION['hak_akses']; ?>.php';
|
||||
</script>
|
||||
@@ -0,0 +1,70 @@
|
||||
<!--form exit_action-->
|
||||
|
||||
<?php
|
||||
// session_start();
|
||||
include "koneksi.php";
|
||||
|
||||
//Kirimkan Variabel
|
||||
$id_pasien = $_GET['id_pasien'];
|
||||
$register = $_GET['register'];
|
||||
$ruang = $_POST['ruang'];
|
||||
$waktu = date('d-m-Y H:i');
|
||||
if ($ruang == 'Reguler') {
|
||||
$r = 'Covid';
|
||||
}
|
||||
if ($ruang == 'Covid') {
|
||||
$r = 'Reguler';
|
||||
}
|
||||
|
||||
|
||||
//input data ke table assesment dalam database
|
||||
|
||||
if (empty($_POST['status_keluar'])) {
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
alert('Status keluar tidak boleh kosong');
|
||||
document.location = '/perawat/index.php?link=<?= $_SESSION['hak_akses']; ?>.php&id_pasien=<?= $id_pasien; ?>®ister=<?= $register; ?>';
|
||||
</script>
|
||||
<?php
|
||||
|
||||
} else {
|
||||
if (($_POST['status_keluar'] == 'Pindah IGD')) {
|
||||
$status_tunggu = 'menunggu';
|
||||
$room = $r;
|
||||
$status_keluar = "OBSERVASI";
|
||||
$keterangan = "$_POST[keterangan]";
|
||||
$prolong = "$_POST[view_keterangan]\n$waktu- Pindah dari ugd $ruang. Lama tinggal: $_POST[waktu]. $_POST[keterangan]";
|
||||
$jam_keluar = '';
|
||||
$waiting = '';
|
||||
} else {
|
||||
$status_tunggu = 'selesai';
|
||||
$room = $ruang;
|
||||
$status_keluar = $_POST['status_keluar'];
|
||||
$keterangan = "$_POST[keterangan]";
|
||||
$prolong = "$_POST[view_keterangan]\n$waktu- Keluar dari ugd $ruang. Lama tinggal: $_POST[waktu]. $_POST[keterangan]";
|
||||
$jam_keluar = $_POST['tanggal'];
|
||||
$waiting = $_POST['waktu'];
|
||||
}
|
||||
|
||||
$input = "UPDATE datapasien SET status_tunggu='$status_tunggu',keterangan ='$keterangan\n',status_keluar ='$status_keluar',ruang='$room',jam_keluar='$jam_keluar', prolong='$prolong _ ', waiting ='$waiting' WHERE id_pasien= '$id_pasien' ";
|
||||
|
||||
$query_input = mysqli_query($open, $input);
|
||||
if ($query_input) {
|
||||
//Jika Sukses
|
||||
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
document.location = '/perawat/index.php?link=<?= $_SESSION['hak_akses']; ?>.php';
|
||||
</script>
|
||||
<?php
|
||||
} else {
|
||||
//Jika Gagal
|
||||
echo "Data pasien Gagal diinput, Silahkan diulangi!";
|
||||
}
|
||||
}
|
||||
//Tutup koneksi engine MySQL
|
||||
mysqli_close($open);
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
document.location = '/perawat/index.php?link=<?= $_SESSION['hak_akses']; ?>.php?id_pasien=<?= $id_pasien; ?>®ister=<?= $register; ?>';
|
||||
</script>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
ob_start();
|
||||
// session_start();
|
||||
|
||||
include "koneksi.php";
|
||||
|
||||
//memanggil auto number
|
||||
|
||||
//Kirimkan Variabel
|
||||
$id_pasien = $_POST['id_pasien'];
|
||||
$bidan_ppa = $_POST['bidan_ppa'];
|
||||
$register = $_POST['register'];
|
||||
$billing = $_POST['billing'];
|
||||
$nama = $_POST['nama'];
|
||||
$nama_suami = $_POST['nama_suami'];
|
||||
$umur = $_POST['umur'];
|
||||
$umur_suami = $_POST['umur_suami'];
|
||||
$alamat = $_POST['alamat'];
|
||||
$alamat_suami = $_POST['alamat_suami'];
|
||||
$pendidikan = $_POST['pendidikan'];
|
||||
$pendidikan_suami = $_POST['pendidikan_suami'];
|
||||
$pekerjaan = $_POST['pekerjaan'];
|
||||
$pekerjaan_suami = $_POST['pekerjaan_suami'];
|
||||
$hpht = $_POST['hpht'];
|
||||
$kb = $_POST['kb'];
|
||||
$anc = $_POST['anc'];
|
||||
$persalinan = $_POST['persalinan'];
|
||||
$diagnosa_medis = $_POST['diagnosa_medis'];
|
||||
$jenis_persalinan = $_POST['jenis_persalinan'];
|
||||
$bayi = $_POST['bayi'];
|
||||
|
||||
|
||||
//input data ke table assesment dalam database
|
||||
//cek RM dan status tunggu di database
|
||||
$cek = mysqli_num_rows(mysqli_query($open, "SELECT id_pasien,register FROM tb_maternal WHERE id_pasien='$id_pasien' AND register='$register'"));
|
||||
if ($cek > 0) {
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
alert('No RM sudah terdaftar !, silahkan diulang kembali');
|
||||
document.location = '/perawat/index.php?link=<?= "view_pengkajian.php" ?>&id_pasien=<?= $id_pasien; ?>®ister=<?= $register; ?>&nama=<?= $nama; ?>';
|
||||
</script>
|
||||
<?php
|
||||
|
||||
}
|
||||
if (($cek == 0) && (!empty($bidan_ppa))) {
|
||||
$input = "INSERT INTO tb_maternal (id_pasien,bidan_ppa, register, billing,nama, nama_suami, umur, umur_suami, alamat, alamat_suami, pendidikan, pendidikan_suami, pekerjaan, pekerjaan_suami, hpht, kb, anc, persalinan, diagnosa_medis, jenis_persalinan, bayi) VALUES ( '$id_pasien', '$bidan_ppa',
|
||||
'$register', '$billing', '$nama','$nama_suami','$umur','$umur_suami','$alamat','$alamat_suami','$pendidikan','$pendidikan_suami','$pekerjaan', '$pekerjaan_suami','$hpht','$kb','$anc','$persalinan','$diagnosa_medis','$jenis_persalinan','$bayi' )";
|
||||
|
||||
$query_input = mysqli_query($open, $input);
|
||||
if ($query_input) {
|
||||
//Jika Sukses
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
document.location = '/perawat/index.php?link=<?= "view_pengkajian.php" ?>&id_pasien=<?= $id_pasien; ?>®ister=<?= $register; ?>&nama=<?= $nama; ?>';
|
||||
</script>
|
||||
<?php
|
||||
|
||||
} else {
|
||||
//Jika Gagal
|
||||
echo "Data pasien Gagal diinput, Silahkan diulangi!";
|
||||
}
|
||||
}
|
||||
|
||||
//Tutup koneksi engine MySQL
|
||||
mysqli_close($open);
|
||||
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
alert('Data pasien tidak lengkap, Silahkan diulangi!');
|
||||
document.location = '/perawat/index.php?link=<?= "view_pengkajian.php" ?>&id_pasien=<?= $id_pasien; ?>®ister=<?= $register; ?>&nama=<?= $nama; ?>';
|
||||
</script>
|
||||
@@ -0,0 +1,72 @@
|
||||
<nav class="navbar navbar-expand-md" style="background: #e6ffec;">
|
||||
<ul class="navbar-nav me-auto mb-1 mb-sm-0">
|
||||
<div class="container-fluid">
|
||||
<li class="nav-item" style="background: #e6ffec;">
|
||||
<a class="nav-link h6 mb-1 text-gray-800" href="" data-bs-toggle="modal" data-bs-target="#input" title="input pasien baru">Input data</a>
|
||||
</li>
|
||||
</div>
|
||||
</ul>
|
||||
</nav>
|
||||
<!-- ================================= -->
|
||||
|
||||
<body>
|
||||
<div class="jquery" style="margin-inline: 3pt;">
|
||||
<table class="table table-stripped table-hover datatab">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nomer</th>
|
||||
<th>Triage | Kode</th>
|
||||
<th>Nama</th>
|
||||
<th>Register</th>
|
||||
<th>SMF</th>
|
||||
<th>Pengkajian</th>
|
||||
<th>Rencana</th>
|
||||
<th>Keluar</th>
|
||||
<th>Waktu Tunggu</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id='datatab'>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
load_data();
|
||||
|
||||
function load_data() {
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "datapasien.php",
|
||||
method: "post",
|
||||
success: function(data) {
|
||||
$('#datatab').html(data);
|
||||
$('.datatab').DataTable();
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
<p id="mymodal"></p>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
load_modal();
|
||||
|
||||
function load_modal() {
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "modal.php",
|
||||
method: "post",
|
||||
success: function(data) {
|
||||
$('#mymodal').html(data);
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script src="../perawat/js/jquery-1.12.0.min.js"></script>
|
||||
<script src="../perawat/js/jquery.dataTables.min.js"></script>
|
||||
<script src="../perawat/js/input.js"></script>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
|
||||
//view data datapasien di dalam database
|
||||
|
||||
$Lihat = "SELECT * FROM datapasien WHERE status_tunggu='menunggu' ";
|
||||
$Tampil = mysqli_query($open, $Lihat);
|
||||
$p1count = mysqli_num_rows(mysqli_query($open, "SELECT * FROM datapasien WHERE ruang= 'covid'AND status_tunggu='menunggu' AND triage='p1'"));
|
||||
$p2count = mysqli_num_rows(mysqli_query($open, "SELECT * FROM datapasien WHERE ruang= 'covid'AND status_tunggu='menunggu' AND triage='p2'"));
|
||||
$p3count = mysqli_num_rows(mysqli_query($open, "SELECT * FROM datapasien WHERE ruang= 'covid'AND status_tunggu='menunggu' AND triage='p3'"));
|
||||
$p0count = mysqli_num_rows(mysqli_query($open, "SELECT * FROM datapasien WHERE ruang= 'covid'AND status_tunggu='menunggu' AND triage='p0'"));
|
||||
|
||||
|
||||
$p1regcount = mysqli_num_rows(mysqli_query($open, "SELECT * FROM datapasien WHERE ruang= 'reguler'AND status_tunggu='menunggu' AND triage='p1'"));
|
||||
$p2regcount = mysqli_num_rows(mysqli_query($open, "SELECT * FROM datapasien WHERE ruang= 'reguler'AND status_tunggu='menunggu' AND triage='p2'"));
|
||||
$p3regcount = mysqli_num_rows(mysqli_query($open, "SELECT * FROM datapasien WHERE ruang= 'reguler'AND status_tunggu='menunggu' AND triage='p3'"));
|
||||
$p0regcount = mysqli_num_rows(mysqli_query($open, "SELECT * FROM datapasien WHERE ruang= 'reguler'AND status_tunggu='menunggu' AND triage='p0'"));
|
||||
|
||||
|
||||
if (isset($_POST['submit'])) {
|
||||
|
||||
$_SESSION['session_pencarian'] = ($_POST['isearch']);
|
||||
$keyword = $_SESSION['session_pencarian'];
|
||||
if (empty($keyword)) {
|
||||
$keyword_str = "ruang= '$_SESSION[nama]'AND status_tunggu='menunggu'";
|
||||
} else {
|
||||
$keyword_str = "nama LIKE'%$keyword%' OR alamat LIKE '%$keyword%'OR register LIKE '%$keyword%'";
|
||||
}
|
||||
}
|
||||
$query = mysqli_query($open, "SELECT * FROM datapasien WHERE $keyword_str");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// table nama perawat
|
||||
|
||||
// call the function
|
||||
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
include "model/koneksi.php";
|
||||
session_start();
|
||||
$nama_login = $_SESSION['nama'];
|
||||
|
||||
$query = $open->query("SELECT id_pasien, nama, register, smf, ruang, triage,nik,tanggal FROM datapasien WHERE status_tunggu= 'menunggu'");
|
||||
$no = 0;
|
||||
$total_row = mysqli_num_rows($query);
|
||||
|
||||
if ($total_row > 0) {
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
$no++;
|
||||
$tsql = "SELECT * FROM tb_tindakan WHERE id_pasien='$data[id_pasien]' AND masalah='belum'";
|
||||
$sqlcount = mysqli_num_rows(mysqli_query($open, $tsql));
|
||||
if ($sqlcount > 0) {
|
||||
$count = $sqlcount;
|
||||
} else {
|
||||
$count = '';
|
||||
}
|
||||
|
||||
$awal = date_create($data['tanggal']);
|
||||
$akhir = date_create(); // waktu sekarang
|
||||
$diff = date_diff($awal, $akhir);
|
||||
$hour = $diff->h < 6;
|
||||
$day = $diff->d == 0;
|
||||
|
||||
if ($hour && $day) {
|
||||
$btnprolong = "btn btn-success";
|
||||
} else {
|
||||
$btnprolong = "btn btn-danger";
|
||||
}
|
||||
|
||||
echo "<tr style='font-size: 10pt;'>
|
||||
<td><a class=btn btn-light href='index.php?link=dataview.php&id_pasien=$data[id_pasien]' >$no</a></td>
|
||||
<td>$data[triage]-$data[ruang] | $data[nik]</td>
|
||||
<td><a class='btn btn-light position-relative' style='font-size: 10pt;'href='index.php?link=dataview.php&id_pasien=$data[id_pasien]' >$data[nama]</a></td>
|
||||
<td>$data[register]</td>
|
||||
<td>$data[smf]</td>
|
||||
<td><a class='btn btn-light position-relative' style='font-size: 10pt;' onclick='warning()'>Pengkajian</a></td>
|
||||
<td><a class='btn btn-light position-relative' style='font-size: 10pt;' onclick='warning()'>Tindakan<span class='position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger'>$count</span></a></td>
|
||||
<td><a class='btn btn-light'style='font-size: 10pt;' onclick='warning()'>keluar</a></td>
|
||||
<td><a class= '$btnprolong' style='font-size: 10pt;' data-bs-toggle='modal' data-bs-target='#prolong$data[id_pasien]'> $diff->d hari- $diff->h jam- $diff->i menit</a></td>
|
||||
</tr>";
|
||||
}
|
||||
} else {
|
||||
|
||||
echo '<tr><td colspan="10" align="center">Data tidak ditemukan</td></tr>';
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 5.0.2
|
||||
-- https://www.phpmyadmin.net/
|
||||
--
|
||||
-- Host: 127.0.0.1
|
||||
-- Waktu pembuatan: 01 Okt 2021 pada 05.21
|
||||
-- Versi server: 10.4.11-MariaDB
|
||||
-- Versi PHP: 7.4.6
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
START TRANSACTION;
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
|
||||
--
|
||||
-- Database: `perawatigd`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Struktur dari tabel `datapasien_ok`
|
||||
--
|
||||
|
||||
CREATE TABLE `datapasien_ok` (
|
||||
`id_ok` int(12) NOT NULL,
|
||||
`id_pasien` int(11) NOT NULL,
|
||||
`register` int(12) NOT NULL,
|
||||
`nama` text NOT NULL,
|
||||
`ruang` text NOT NULL,
|
||||
`ruang_asal` text NOT NULL,
|
||||
`jam_daftar` datetime DEFAULT NULL,
|
||||
`status_tunggu` text NOT NULL,
|
||||
`rencana_tindakan` text NOT NULL,
|
||||
`kriteria_tindakan` text NOT NULL,
|
||||
`status_keluar` text NOT NULL,
|
||||
`jam_keluar` datetime DEFAULT NULL,
|
||||
`perawat_ppa` text NOT NULL,
|
||||
`waiting` varchar(20) NOT NULL,
|
||||
`smf` text NOT NULL,
|
||||
`prolong` text NOT NULL,
|
||||
`diagnosa_medis` text NOT NULL,
|
||||
`operator` text NOT NULL,
|
||||
`dpjp_operator` text NOT NULL,
|
||||
`anestesi` text NOT NULL,
|
||||
`dpjp_anestesi` text NOT NULL,
|
||||
`perawat_kajaga_ok` text NOT NULL,
|
||||
`perawat_sirkuler` text NOT NULL,
|
||||
`perawat_instrumen` text NOT NULL,
|
||||
`perawat_anestesi` text NOT NULL,
|
||||
`jam_respon` datetime NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
--
|
||||
-- Indexes for dumped tables
|
||||
--
|
||||
|
||||
--
|
||||
-- Indeks untuk tabel `datapasien_ok`
|
||||
--
|
||||
ALTER TABLE `datapasien_ok`
|
||||
ADD PRIMARY KEY (`id_ok`);
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT untuk tabel yang dibuang
|
||||
--
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT untuk tabel `datapasien_ok`
|
||||
--
|
||||
ALTER TABLE `datapasien_ok`
|
||||
MODIFY `id_ok` int(12) NOT NULL AUTO_INCREMENT;
|
||||
COMMIT;
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
include "model/koneksi.php";
|
||||
session_start();
|
||||
$nama_login = $_SESSION['nama'];
|
||||
|
||||
$query = $open->query("SELECT id_pasien, nama, register, smf, ruang, triage,nik,tanggal FROM datapasien WHERE ruang='$nama_login' AND status_tunggu= 'menunggu'");
|
||||
$no = 0;
|
||||
$total_row = mysqli_num_rows($query);
|
||||
|
||||
if ($total_row > 0) {
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
$no++;
|
||||
$tsql = "SELECT * FROM tb_tindakan WHERE id_pasien='$data[id_pasien]' AND masalah='belum'";
|
||||
$sqlcount = mysqli_num_rows(mysqli_query($open, $tsql));
|
||||
if ($sqlcount > 0) {
|
||||
$count = $sqlcount;
|
||||
} else {
|
||||
$count = '';
|
||||
}
|
||||
|
||||
$awal = date_create($data['tanggal']);
|
||||
$akhir = date_create(); // waktu sekarang
|
||||
$diff = date_diff($awal, $akhir);
|
||||
$hour = $diff->h < 6;
|
||||
$day = $diff->d == 0;
|
||||
|
||||
if ($hour && $day) {
|
||||
$btnprolong = "btn btn-success";
|
||||
} else {
|
||||
$btnprolong = "btn btn-danger";
|
||||
}
|
||||
|
||||
echo "<tr style='font-size: 10pt;'>
|
||||
|
||||
<td><a class=btn btn-light href='index.php?link=dataview.php&id_pasien= $data[id_pasien]'>$no</a></td>
|
||||
<td>$data[triage] | $data[nik]</td>
|
||||
<td><a href='index.php?link=dataview.php&id_pasien= $data[id_pasien]'>$data[nama]</a></td>
|
||||
<td>$data[register]</td>
|
||||
<td>$data[smf]</td>
|
||||
<td><a class='btn btn-light position-relative' style='font-size: 10pt;' href='index.php?link=admin.php&link=view_pengkajian.php&id_pasien=$data[id_pasien]®ister=$data[register]&nama=$data[nama]'>Pengkajian</a></td>
|
||||
<td><a class='btn btn-light position-relative' style='font-size: 10pt;' href='index.php?link=admin.php&link=view_implementasi.php&id_pasien=$data[id_pasien]®ister=$data[register]&nama=$data[nama]'>Tindakan<span class='position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger'>$count</span></a></td>
|
||||
<td><a class='btn btn-light' style='font-size: 10pt;' href='' data-bs-toggle='modal' data-bs-target='#exit$data[id_pasien]'>keluar</a></td>
|
||||
<td><a class= '$btnprolong' style='font-size: 10pt;' href='' data-bs-toggle='modal' data-bs-target='#prolong$data[id_pasien]'> $diff->d hari- $diff->h jam- $diff->i menit</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
";
|
||||
}
|
||||
} else {
|
||||
|
||||
echo '<tr><td colspan="10" align="center">Data tidak ditemukan</td></tr>';
|
||||
}
|
||||
@@ -0,0 +1,588 @@
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
|
||||
$id_pasien = $_GET['id_pasien'];
|
||||
$query = mysqli_query($open, "SELECT * FROM datapasien WHERE id_pasien= '$id_pasien'");
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
?>
|
||||
<div class="page-wrapper">
|
||||
|
||||
<!-- Preloader -->
|
||||
<!-- <div class="preloader"></div> -->
|
||||
<!-- Preloader -->
|
||||
<!-- edit pasien -->
|
||||
<div class="modal fade" id="edit<?php echo $data['id_pasien']; ?>" role="document">
|
||||
<form id="editpasien" action="index.php?link=admin.php&link=model/action_edit.php&id_pasien=<?= $data['id_pasien']; ?>®ister=<?= $data['register']; ?>" method="POST" enctype="multipart/form-data">
|
||||
<div class="modal-dialog modal-fullscreen">
|
||||
<div class="modal-content " style="background: rgb(124,223,231);background: linear-gradient(0deg, rgba(124,223,231,1) 4%, rgba(223,249,255,1) 100%);">
|
||||
<div class="modal-header navbar navbar-default" align="center">
|
||||
<h4>EDIT Data Laporan Perawat UGD <?= $nama_login ?></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="container ">
|
||||
<div class="row mb-1 ">
|
||||
<label class="col-sm-2 col-form-label-sm" for="perawat_ppa">Perawat PPA</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input type="text" id="editperawat_ppa" name="perawat_ppa" class="form-control form-control-sm" placeholder="nama perawat " list="ppa" value="<?= $data['perawat_ppa']; ?>">
|
||||
|
||||
<datalist id="ppa">
|
||||
<option selected>Pilih perawat...</option>
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
$sql = " SELECT nama_perawat FROM tb_perawat ORDER BY nama_perawat ASC";
|
||||
$prwsql = (mysqli_query($open, $sql));
|
||||
while ($ppa = mysqli_fetch_array($prwsql)) {
|
||||
$prwppa = stripslashes($ppa['nama_perawat']);
|
||||
?>
|
||||
<option value="<?= $prwppa; ?>"><?= $prwppa; ?></option>
|
||||
<?php } ?>
|
||||
</datalist>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input hidden="hidden" type="" name="id_pasien" value="<?= $data['id_pasien'] ?>">
|
||||
|
||||
<div class="row mb-1">
|
||||
<label for="nama_pasien" class="col-sm-2 col-form-label col-form-label-sm">Nama Pasien</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input type="text" class="form-control form-control-sm" id="nama_pasien" placeholder="nama pasien" name="nama" value="<?= $data['nama']; ?>">
|
||||
</div>
|
||||
|
||||
<label for="register" class="col-sm-2 col-form-label col-form-label-sm">No RM</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input type="text" class="form-control form-control-sm" id="register" placeholder="nomer rekam medis" name="register" value="<?= $data['register']; ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-1">
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="jenis_kelamin">Jenis Kelamin</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input type="text" name="jenis_kelamin" list="jenis_kelamin" class="form-control form-control-sm" value="<?= $data['jenis_kelamin']; ?>">
|
||||
<datalist id="jenis_kelamin">
|
||||
<option value="Laki-laki">Laki-laki</option>
|
||||
<option value="Perempuan">Perempuan</option>
|
||||
</datalist>
|
||||
</div>
|
||||
<label for="editumur" class="col-sm-2 col-form-label col-form-label-sm">Umur</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input type="text" class="form-control form-control-sm" id="editumur" placeholder="umur" name="umur" value="<?= $data['umur']; ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<label for="editalamat" class="col-sm-2 col-form-label col-form-label-sm">Alamat</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<textarea type="text" class="form-control form-control-sm" id="editalamat" placeholder="alamat tinggal" name="alamat"><?= $data['alamat']; ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-1">
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="edittriage">Triage</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input hidden="hidden" id="alihtriage" value="<?= $data['triage']; ?>">
|
||||
<select name="triage" id="edittriage" onchange="triagefunction()" class="form-control form-control-sm">
|
||||
<option value="<?= $data['triage']; ?>"><?= $data['triage']; ?></option>
|
||||
<option value="P1">P1</option>
|
||||
<option value="P2">P2</option>
|
||||
<option value="P3">P3</option>
|
||||
<option value="P0">P0</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="editnik">No.BED</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input type="number" name="nik" id="editnik" class="form-control form-control-sm" value="<?= $data['nik']; ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-3">
|
||||
<label for="editruang" class="col-sm-2 col-form-label col-form-label-sm">Ruang</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<select name="ruang" class="form-control form-control-sm" id="editruang" size="1pt">
|
||||
<option value="<?= $data['ruang'] ?>" selected><?= $data['ruang'] ?></option>
|
||||
<option value="REGULER"> REGULER</option>
|
||||
<option value="COVID"> COVID</option>
|
||||
</select>
|
||||
</div>
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="jam_masuk">Jam Masuk</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input type="text" readonly class="form-control form-control-sm plaintext" id="tanggalmasuk" onclick="showdate()" name="tanggal" value="<?= $data['tanggal']; ?>">
|
||||
<input hidden="hidden" type="datetime-local" id="jam_masuk" class="form-control form-control-sm" onchange="entrytime(this.value)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1" hidden="hidden" id="edstkl">
|
||||
<label for="editstatus_keluar" class="col-sm-2 col-form-label col-form-label-sm">Status Keluar</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<select name="status_keluar" class="form-control form-control-sm" id="editstatus_keluar" size="1pt">
|
||||
<option value="<?= $data['status_keluar'] ?>" selected><?= $data['status_keluar'] ?></option>
|
||||
<option value="OBSERVASI"> OBSERVASI</option>
|
||||
<option value="MRS"> MRS</option>
|
||||
<option value="KRS"> KRS</option>
|
||||
<option value="PAPS"> PAPS</option>
|
||||
<option value="MENINGGAL DUNIA"> MENINGGAL DUNIA</option>
|
||||
<option value="MELARIKAN DIRI"> MELARIKAN DIRI</option>
|
||||
</select>
|
||||
</div>
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="editketerangan">Keterangan</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input type="text" name="keterangan" id="editketerangan" class="form-control form-control-sm" value="<?= $data['keterangan']; ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1" hidden="hidden" id=edstt>
|
||||
<label for="editstatus_tunggu" class="col-sm-2 col-form-label col-form-label-sm">status_tunggu</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<select name="status_tunggu" class="form-control form-control-sm" id="editstatus_tunggu" size="1pt">
|
||||
<option value="<?= $data['status_tunggu'] ?>" selected><?= $data['status_tunggu'] ?></option>
|
||||
<option value="menunggu"> menunggu</option>
|
||||
<option value="selesai"> selesai</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="editjam_keluar">Jam Keluar</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input id="editjam_keluar" type="datetime" name="jam_keluar" list="jam_keluar" class="form-control form-control-sm" value="<?= $data['jam_keluar']; ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-1">
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="editkedatangan">Kedatangan</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input type="text" name="kedatangan" list="kedatangan" class="form-control form-control-sm" value="<?= $data['kedatangan']; ?>">
|
||||
<datalist id="editkedatangan">
|
||||
|
||||
<option value="DS"> DS</option>
|
||||
<option value="Rujukan">Rujukan</option>
|
||||
<option value="Terlantar">Terlantar</option>
|
||||
<option value="Pindahan">Pindahan</option>
|
||||
</datalist>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="editsmf">SMF</label>
|
||||
<div class="col-md-4" style="margin-bottom: 1pt;">
|
||||
<input hidden="hidden" id="alihdpjp" value="<?= $data['smf']; ?>">
|
||||
|
||||
<select type="text" name="smf" id="smf" onchange="smfunction()" class="form-control form-control-sm">
|
||||
<option value="<?= $data['smf']; ?>"><?= $data['smf']; ?></option>
|
||||
<option value="IPD">IPD </option>
|
||||
<option value="IKA">IKA </option>
|
||||
<option value="NEURO">NEURO </option>
|
||||
<option value="PARU">PARU </option>
|
||||
<option value="ANESTESI">ANESTESI </option>
|
||||
<option value="KARDIO">KARDIO </option>
|
||||
<option value="BEDAH">BEDAH </option>
|
||||
<option value="ORTHO">ORTHO </option>
|
||||
<option value="UROLOGI">UROLOGI </option>
|
||||
<option value="THT">THT </option>
|
||||
<option value="MATA">MATA </option>
|
||||
<option value="KULIT">KULIT </option>
|
||||
<option value="EM">EM </option>
|
||||
<option value="OBG">OBG </option>
|
||||
<option value="JIWA">JIWA </option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-2" hidden="hidden" id=viewketerangan>
|
||||
<label for="editprolong" class="col-sm-2 col-form-label col-form-label-sm">Keterangan dan sebab lama tinggal</label>
|
||||
<div class="col-md-10" style="margin-bottom: 2pt;">
|
||||
<input hidden="hidden" id="addwaktuprolong" name="addwaktuprolong" value="<?= date('d-m-Y H:i'); ?>">
|
||||
<textarea type="text" style="font-size: 10pt;" type="text" rows="10" id="editprolong" name="editprolong" class="form-control col-sm-2" placeholder="Catatan Pasien keluar"><?= "$data[prolong]"; ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer" align="left">
|
||||
<input type="submit" id="submit" name="submit" value="Simpan" class="btn btn-primary">
|
||||
<input type="button" data-bs-dismiss="modal" value="Tutup" class="btn btn-light">
|
||||
<input hidden="hidden" id="btnbtl" type="button" onclick="btl()" value="Batal Keluar" class="btn btn-light">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<input hidden="hidden" for="" id="akses" value="<?= $_SESSION['hak_akses']; ?>">
|
||||
|
||||
<script type="text/javascript">
|
||||
var text = "Manajer";
|
||||
|
||||
if (document.getElementById('akses').value == text) {
|
||||
|
||||
$(document).ready(function() {
|
||||
load_button();
|
||||
|
||||
function load_button() {
|
||||
document.getElementById('edstt').hidden = false;
|
||||
document.getElementById('edstkl').hidden = false;
|
||||
document.getElementById('btnbtl').hidden = false;
|
||||
document.getElementById('viewketerangan').hidden = false;
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
function btl() {
|
||||
document.getElementById('editstatus_tunggu').value = "menunggu";
|
||||
document.getElementById('editstatus_keluar').value = "OBSERVASI";
|
||||
var waktuprolong = document.getElementById('addwaktuprolong').value;
|
||||
var prolong = document.getElementById('editprolong').value
|
||||
document.getElementById('editprolong').value = prolong + "\n" + waktuprolong + "- batal keluar / pindah _ "
|
||||
document.getElementById('btnbtl').type = 'submit';
|
||||
// document.getElementById('editjam_keluar').value = 0;
|
||||
}
|
||||
|
||||
function showdate() {
|
||||
document.getElementById('jam_masuk').hidden = false;
|
||||
}
|
||||
}
|
||||
|
||||
function entrytime(str) {
|
||||
|
||||
document.getElementById('tanggalmasuk').value = str;
|
||||
document.getElementById('jam_masuk').hidden = true;
|
||||
return;
|
||||
}
|
||||
|
||||
function smfunction() {
|
||||
var waktuprolong = document.getElementById('addwaktuprolong').value;
|
||||
var alih_dpjp = document.getElementById('alihdpjp').value;
|
||||
var smf = document.getElementById('smf').value;
|
||||
var prolong = document.getElementById('editprolong').value
|
||||
document.getElementById('editprolong').value = prolong + "\n" + waktuprolong + "- Alih DPJP dari " + alih_dpjp + " ke " + smf + " _ "
|
||||
|
||||
}
|
||||
|
||||
function triagefunction() {
|
||||
var waktuprolong = document.getElementById('addwaktuprolong').value;
|
||||
var alihtriage = document.getElementById('alihtriage').value;
|
||||
var edittriage = document.getElementById('edittriage').value;
|
||||
var prolong = document.getElementById('editprolong').value
|
||||
document.getElementById('editprolong').value = prolong + "\n" + waktuprolong + "- Pindah triage " + alihtriage + " ke " + edittriage + " _ "
|
||||
}
|
||||
</script>
|
||||
<div class="modal-body " style="background: rgb(246,246,251);background: linear-gradient(0deg, rgba(246,246,251,1) 1%, rgba(230,251,255,1) 21%, rgba(255,255,255,1) 100%);">
|
||||
<div class=" modal-header navbar navbar-default" align="center">
|
||||
<h4>Detail Biodata Pasien UGD</h4>
|
||||
</div>
|
||||
<div class="modal-body" style="font-size: 10pt;">
|
||||
<div class="row mb-2">
|
||||
<label for="viewnama" class=" col-sm-2 col-form-label col-form-label-sm">Nama</label>
|
||||
<div class="col-md-6" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewnama" placeholder="nama" name="nama" value="<?= $data['nama']; ?>" readonly>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="viewumur" class="col-sm-2 col-form-label col-form-label-sm">Umur</label>
|
||||
<div class="col-md-3" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewumur" placeholder="umur" name="umur" value="<?= $data['umur']; ?>" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="viewjenis_kelamin" class="col-sm-2 col-form-label col-form-label-sm">Jenis Kelamin</label>
|
||||
<div class="col-md-3" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewjenis_kelamin" placeholder="jenis Kelamin" name="jenis Kelamin" value="<?= $data['jenis_kelamin']; ?>" readonly>
|
||||
</div>
|
||||
<label for="viewregister" class="col-sm-2 col-form-label col-form-label-sm">No RM</label>
|
||||
<div class="col-md-2" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewregister" placeholder="nomer rekam medis" name="register" value="<?= $data['register']; ?>" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="viewruang" class="col-sm-2 col-form-label col-form-label-sm">Ruang Perawatan</label>
|
||||
<div class="col-md-3" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewruang" placeholder="ruang" name="ruang" value="<?= $data['ruang']; ?>" readonly>
|
||||
</div>
|
||||
<label for="viewtriage" class="col-sm-2 col-form-label col-form-label-sm">Triage</label>
|
||||
<div class="col-md-2" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewtriage" placeholder="triage" name="triage" value="<?= $data['triage']; ?>" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
|
||||
<label for="viewkedatangan" class="col-sm-2 col-form-label col-form-label-sm">Kedatangan</label>
|
||||
<div class="col-md-3" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewkedatangan" placeholder="kedatangan" name="kedatangan" value="<?= $data['kedatangan']; ?>" readonly>
|
||||
</div>
|
||||
<label for="viewsmf" class="col-sm-2 col-form-label col-form-label-sm">SMF</label>
|
||||
<div class="col-md-2" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewsmf" placeholder="smf" name="smf" value="<?= $data['smf']; ?>" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="viewtanggal" class="col-sm-2 col-form-label col-form-label-sm">Tanggal Masuk</label>
|
||||
<div class="col-md-3" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewtanggal" placeholder="tanggal" name="tanggal" value="<?= DATE('d-m-Y H:i', strtotime($data['tanggal'])); ?>" readonly>
|
||||
</div>
|
||||
<label for="viewjam_keluar" class="col-sm-2 col-form-label col-form-label-sm">Status Keluar-[Jam]</label>
|
||||
<div class="col-md-5" style="margin-bottom: 2pt;">
|
||||
<input style="font-size: 10pt;" type="text" class="form-control form-control-sm" id="viewjam_keluar" placeholder="jam_keluar" name="jam_keluar" value="<?= $data['status_keluar']; ?>-Jam : <?= $data['jam_keluar']; ?>" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="viewwaiting" class="col-sm-2 col-form-label col-form-label-sm">Lama Tinggal</label>
|
||||
<div class="col-md-3" style="margin-bottom: 5pt;">
|
||||
|
||||
<input style="font-size: 10pt;" align="center" class="form-control form-control-sm" id="viewwaiting" name="waktu" value="<?php echo $data['waiting']; ?>" readonly>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="viewalamat" class="col-sm-2 col-form-label col-form-label-sm">Alamat</label>
|
||||
<div class="col-md-6" style="margin-bottom: 2pt;">
|
||||
<textarea style="font-size: 10pt;" rows="3" type="text" class="form-control form-control-sm" id="viewalamat" placeholder="alamat" name="alamat" readonly><?= $data['alamat']; ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="viewketarangan" class="col-sm-2 col-form-label col-form-label-sm">Keterangan dan sebab lama tinggal</label>
|
||||
<div class="col-md-8" style="margin-bottom: 2pt; font-size:12px">
|
||||
<?php
|
||||
$cetak = (explode(" _ ", $data['prolong']));
|
||||
for ($start = 0; $start < count($cetak); $start++) {
|
||||
$start < count($cetak);
|
||||
print $cetak[$start] . "<BR>";
|
||||
}
|
||||
?>
|
||||
<textarea hidden="hidden" style="font-size: 10pt;" type="text" rows="10" id="viewketarangan" name="keterangan" class="form-control col-sm-2" placeholder="Catatan Pasien keluar" readonly><?= "$data[keterangan]\n$data[prolong]\n"; ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="hapus" class="col-sm-2 col-form-label col-form-label-sm"></label>
|
||||
<div class="col-md-2" style="margin-bottom: 2pt;">
|
||||
<a href="model/action_hapus.php?id_pasien=<?= $data['id_pasien']; ?>®=<?= $data['register']; ?>"><input type="button" class="btn btn-danger" value="Hapus"></a>
|
||||
<input hidden="hidden" type="text" name="id_pasien" value="<?= $data['id_pasien'] ?>">
|
||||
</div>
|
||||
<label for="edit" class="col-sm-4 col-form-label col-form-label-sm"></label>
|
||||
<div class="col-md-3" style="margin-bottom: 2pt;">
|
||||
<a href="" data-bs-toggle="modal" data-bs-target="#edit<?= $data['id_pasien']; ?>"> <input type="button" value="Edit" class="btn btn-info" data-bs-dismiss="modal"></a>
|
||||
<a href="index.php?link=print_resume.php&id_pasien=<?= $data['id_pasien']; ?>&nama=<?= $data['nama']; ?>"> <input type="button" id="printresume" value="cetak" class="btn btn-info noPrint"></a>
|
||||
<input type="button" class="btn btn-info" onclick=" window.history.back();" data-bs-dismiss="modal" value="Kembali">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<form id="view_pengkajian" class="container-fluid">
|
||||
|
||||
<table class="table table-bordered table-striped" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<div class="h5 mb-2 text-gray-800 ">Pengkajian Keperawatan</div>
|
||||
|
||||
<tr align="left" height="10px" bgcolor="DFE6EF">
|
||||
<th style="width:2%">No</th>
|
||||
<th style="width:5%">Ruang</th>
|
||||
<th style="width:10%">Tgl/jam</th>
|
||||
<th style="width:30%">Subyektif </th>
|
||||
<th style="width:30%">Obyektif</th>
|
||||
<th style="width:30%">Diagnosa</th>
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
//view data datapasien dari database
|
||||
include "model/koneksi.php";
|
||||
$lihat_pengkajian = "SELECT * FROM tb_pengkajian WHERE id_pasien= '$id_pasien'";
|
||||
|
||||
$tampil_pengkajian = mysqli_query($open, $lihat_pengkajian);
|
||||
|
||||
$nomer = 0;
|
||||
while ($hasil_pengkajian = mysqli_fetch_array($tampil_pengkajian)) {
|
||||
$id_pengkajian = stripslashes($hasil_pengkajian['id_pengkajian']);
|
||||
$time_pengkajian = stripslashes($hasil_pengkajian['timestamp']);
|
||||
$subyektif = stripslashes($hasil_pengkajian['subyektif']);
|
||||
$obyektif = stripslashes($hasil_pengkajian['obyektif']);
|
||||
$diagnosa_medis = stripslashes($hasil_pengkajian['diagnosa_medis']);
|
||||
$ruang = stripslashes($hasil_pengkajian['ruang']); {
|
||||
|
||||
$nomer++;
|
||||
?>
|
||||
<tr style="font-size: 10pt;">
|
||||
<td><?= $nomer ?><div align="center"></div>
|
||||
</td>
|
||||
<td><?= $ruang ?><div align="center"></div>
|
||||
</td>
|
||||
<td><?= DATE('d-m-Y H:i:s', strtotime($hasil_pengkajian['timestamp'])); ?><div align="center"></div>
|
||||
</td>
|
||||
<td><?= $subyektif ?><div align="center"></div>
|
||||
</td>
|
||||
<td><?= $obyektif ?><div align="center"></div>
|
||||
</td>
|
||||
<td><?= $diagnosa_medis ?><div align="center"></div>
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
//Tutup koneksi engine MySQL
|
||||
mysqli_close($open);
|
||||
?>
|
||||
</table>
|
||||
</form>
|
||||
<form id="view_pengkajian" class="container-fluid" methode=" get">
|
||||
<table class="table table-bordered table-striped" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<div class="h5 mb-2 text-gray-800 ">Pengkajian Kebidanan</div>
|
||||
<tr align="left" height="10px" bgcolor="DFE6EF">
|
||||
<th style="width:2%">No</th>
|
||||
<th style="width:15%">Data Pasien </th>
|
||||
<th style="width:15%">Data Suami</th>
|
||||
<th style="width:25%">Riwayat Maternal </th>
|
||||
<th style="width:15%">Diagnosa</th>
|
||||
<th style="width:20%">Outcome</th>
|
||||
<th style="width:15%">PPA</th>
|
||||
<th style="width:1%">
|
||||
<h6>action</h6>
|
||||
</th>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
//view data datapasien dari database
|
||||
include "model/koneksi.php";
|
||||
$lihat_pengkajian = "SELECT * FROM tb_maternal WHERE id_pasien= '$id_pasien'";
|
||||
|
||||
$tampil_pengkajian = mysqli_query($open, $lihat_pengkajian);
|
||||
|
||||
$nomer = 0;
|
||||
while ($hasil_pengkajian = mysqli_fetch_array($tampil_pengkajian)) {
|
||||
|
||||
$id_mat = stripslashes($hasil_pengkajian['id_mat']);
|
||||
$id_pasien = stripslashes($hasil_pengkajian['id_pasien']);
|
||||
$bidan_ppa = stripslashes($hasil_pengkajian['bidan_ppa']);
|
||||
$register = stripslashes($hasil_pengkajian['register']);
|
||||
$billing = stripslashes($hasil_pengkajian['billing']);
|
||||
$nama = stripslashes($hasil_pengkajian['nama']);
|
||||
$nama_suami = stripslashes($hasil_pengkajian['nama_suami']);
|
||||
$umur = stripslashes($hasil_pengkajian['umur']);
|
||||
$umur_suami = stripslashes($hasil_pengkajian['umur_suami']);
|
||||
$alamat = stripslashes($hasil_pengkajian['alamat']);
|
||||
$alamat_suami = stripslashes($hasil_pengkajian['alamat_suami']);
|
||||
$pendidikan = stripslashes($hasil_pengkajian['pendidikan']);
|
||||
$pendidikan_suami = stripslashes($hasil_pengkajian['pendidikan_suami']);
|
||||
$pekerjaan = stripslashes($hasil_pengkajian['pekerjaan']);
|
||||
$pekerjaan_suami = stripslashes($hasil_pengkajian['pekerjaan_suami']);
|
||||
$hpht = stripslashes($hasil_pengkajian['hpht']);
|
||||
$kb = stripslashes($hasil_pengkajian['kb']);
|
||||
$anc = stripslashes($hasil_pengkajian['anc']);
|
||||
$persalinan = stripslashes($hasil_pengkajian['persalinan']);
|
||||
$diagnosa_medis = stripslashes($hasil_pengkajian['diagnosa_medis']);
|
||||
$jenis_persalinan = stripslashes($hasil_pengkajian['jenis_persalinan']);
|
||||
$bayi = stripslashes($hasil_pengkajian['bayi']); {
|
||||
|
||||
$nomer++;
|
||||
?>
|
||||
<tr style="font-size: 10pt;">
|
||||
<td>
|
||||
|
||||
<li><?= $nomer ?></li>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<li><?= $nama ?>/<?= $umur ?></li>
|
||||
<li> Alamat <?= $alamat ?></li>
|
||||
<li> Pendidikan <?= $pendidikan ?></li>
|
||||
<li> Pekerjaan <?= $pekerjaan ?></li>
|
||||
</td>
|
||||
<td>
|
||||
<li><?= $nama_suami ?>/<?= $umur_suami ?></li>
|
||||
<li> Alamat-<?= $alamat_suami ?></li>
|
||||
<li> Pendidikan-<?= $pendidikan_suami ?></li>
|
||||
<li> Pekerjaan-<?= $pekerjaan_suami ?></li>
|
||||
</td>
|
||||
<td>
|
||||
<li>HPHT-<?= $hpht; ?></li>
|
||||
<li>Riwayat KB- <?= $kb ?></li>
|
||||
<li>Riwayat ANC-<?= $anc ?></li>
|
||||
<li>Riwayat Persalinan-<?= $persalinan ?></li>
|
||||
</td>
|
||||
<td>
|
||||
<li><?= $diagnosa_medis ?></li>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<li>Jenis Persalinan-<?= $jenis_persalinan ?></li>
|
||||
<li>kondisi bayi </li> <?php
|
||||
$cetak = (explode("#", $bayi));
|
||||
for ($start = 1; $start < count($cetak); $start++) {
|
||||
$start < count($cetak);
|
||||
print "." . $cetak[$start] . "<br>";
|
||||
} ?>
|
||||
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<li><?= $bidan_ppa ?></li>
|
||||
</td>
|
||||
<td>
|
||||
<a href='index.php?link=view_pengkajian.php&<?= 'id_pasien=' . $id_pasien . '®ister=' . $register . '&nama=' . $nama ?>'><i class='fa fa-edit'>more</i></a>
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
//Tutup koneksi engine MySQL
|
||||
?>
|
||||
</table>
|
||||
</form>
|
||||
<form class="container-fluid">
|
||||
<!-- Page Heading -->
|
||||
<table class="table table-bordered table-striped" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<div class="h5 mb-2 text-gray-800 ">Tindakan Keperawatan dan Kebidanan</div>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Ruang</th>
|
||||
<th>Waktu</th>
|
||||
<th>Uraian</th>
|
||||
<th>Pelaksana</th>
|
||||
<th>Status</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
$query = mysqli_query($open, "SELECT * FROM tb_tindakan WHERE id_pasien= '$id_pasien' ORDER BY masalah ASC ");
|
||||
$no = 1;
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
?>
|
||||
<tr style="font-size: 10pt;">
|
||||
<td>
|
||||
<?= $no++ ?></a>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo $data['ruang']; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= DATE('d-m-Y H:i:s', strtotime($data['timestamp'])); ?>
|
||||
|
||||
</td>
|
||||
<td><?php echo $data['tindakan']; ?></td>
|
||||
<td><?php echo $data['perawat_ppa']; ?></td>
|
||||
|
||||
|
||||
<?php
|
||||
if ($data['masalah'] == 'belum') {
|
||||
?>
|
||||
<td style="background-color:#F8E208;"><?php echo $data['masalah']; ?></td>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<td style="background-color:#7CF808;"><?php echo $data['masalah']; ?></td>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,108 @@
|
||||
<nav class="navbar navbar-expand-md" style="background: #e6ffec;">
|
||||
<ul class="navbar-nav me-auto mb-1 mb-sm-0">
|
||||
<div class="container-fluid">
|
||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0 h5 mb-2 text-gray-800">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="nav-link h5 mb-2 text-gray-800 dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Input
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-dark">
|
||||
<li>
|
||||
<a href="#myUser" data-bs-toggle="modal" class=" dropdown-item">Input User </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#myModal" data-bs-toggle="modal" class=" dropdown-item">Input Perawat </a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="nav-link h5 mb-2 text-gray-800 dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Report
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-dark">
|
||||
|
||||
<li>
|
||||
<a href="#tindakan" data-bs-toggle="modal" class=" dropdown-item">Tindakan</a>
|
||||
</li>
|
||||
<li role="separator"></li>
|
||||
<li>
|
||||
<a href="#pasien" data-bs-toggle="modal" class="dropdown-item">Pasien</a>
|
||||
</li>
|
||||
<li role="separator"></li>
|
||||
<li>
|
||||
<a href="#perawat" data-bs-toggle="modal" class="dropdown-item">Supervisi</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<!-- ================================= -->
|
||||
<div class="jquery" style="margin-inline: 2pt;">
|
||||
<table class="table table-stripped table-hover datatab">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nomer</th>
|
||||
<th>Triage | Kode</th>
|
||||
<th>Nama</th>
|
||||
<th>Register</th>
|
||||
<th>SMF</th>
|
||||
<th>Pengkajian</th>
|
||||
<th>Rencana</th>
|
||||
<th>Keluar</th>
|
||||
<th>Waktu Tunggu</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id='datatab'>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
load_data();
|
||||
|
||||
function load_data() {
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "datamanajer.php",
|
||||
method: "post",
|
||||
success: function(data) {
|
||||
$('#datatab').html(data);
|
||||
$('.datatab').DataTable();
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<script src="js/jquery-1.12.0.min.js"></script>
|
||||
<script src="js/jquery.dataTables.min.js"></script>
|
||||
|
||||
<p id="mymodal"></p>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
load_modal_manajer();
|
||||
|
||||
function load_modal_manajer() {
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "modalmanajer.php",
|
||||
method: "post",
|
||||
success: function(data) {
|
||||
$('#mymodal').html(data);
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
function warning() {
|
||||
alert("maaf anda bukan admin ruangan");
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,261 @@
|
||||
<!-- Bootstrap javascript -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
|
||||
<script src="../perawat/js/jquery-1.12.0.min.js"></script>
|
||||
<script src="js/input.js"></script>
|
||||
|
||||
|
||||
|
||||
<div class="modal" id="input" role="document">
|
||||
<div class="modal-dialog modal-fullscreen">
|
||||
<div class="page-wrapper">
|
||||
<div class="header-top">
|
||||
</div>
|
||||
<div class="h5 mb-0 text-gray-500 alert alert-info" style="background: rgb(124,223,231);background: linear-gradient(0deg, rgba(124,223,231,1) 4%, rgba(223,249,255,1) 100%);">
|
||||
</div>
|
||||
<nav class="navbar navbar-expand-lg" style="background: #48D1CC;">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">
|
||||
<div class="h5 mb-2 text-gray-500 alert alert-info">WorkSheet Perawat UGD <?php session_start();
|
||||
echo $_SESSION['nama'] ?></div>
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0 h5 mb-2 text-gray-800">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active h5 mb-2 text-gray-800" aria-current="page" href="index.php?link=<?= $_SESSION['hak_akses']; ?>.php">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link h5 mb-2 text-gray-800" aria-current="page" href="export_html.php">Excel</a>
|
||||
</li>
|
||||
<!-- <li class="nav-item">
|
||||
<a class="nav-link h5 mb-2 text-gray-800" href="#" data-bs-toggle="modal" data-bs-target="#input">Input data</a>
|
||||
</li> -->
|
||||
</ul>
|
||||
<form class="d-flex" id="tampil" action="index.php?link=search.php" method="POST" enctype="multipart/form-data">
|
||||
<input class="form-control me-2" type="search" id="isearch" name="isearch" placeholder="cari pasien" aria-label="Search">
|
||||
<button class="btn btn-outline-success" onclick="loadDoc()" type="submit" name="submit">Cari</button>
|
||||
</form>
|
||||
<a class="nav-link h5 mb-2 text-gray-800" href="model/logout.php">logout <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-circle" viewBox="0 0 16 16">
|
||||
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z" />
|
||||
<path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z" />
|
||||
</svg></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- input pasien baru -->
|
||||
|
||||
<div class="modal-content " style="background: rgb(124,223,231);background: linear-gradient(0deg, rgba(124,223,231,1) 4%, rgba(223,249,255,1) 100%);">
|
||||
<div class="modal-header navbar navbar-default" align="center" id="success">
|
||||
<h6>Input data pasien UGD <?php echo $_SESSION['nama'] ?></h6>
|
||||
</div>
|
||||
<form id="input">
|
||||
<?php date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
?>
|
||||
<div class="container ">
|
||||
<div class="row mb-2" style="margin-top: 10pt; margin-bottom: 15pt;">
|
||||
<label class="col-sm-2 col-form-label-sm" for="inputperawat_ppa">Perawat PPA</label>
|
||||
<div class="col-md-5" style="margin-bottom:5pt;">
|
||||
<input type="text" id="inputperawat_ppa" name="perawat_ppa" class="form-control form-control-sm" placeholder="nama perawat " list="inputppa">
|
||||
|
||||
<datalist id="inputppa">
|
||||
<option selected>Pilih perawat...</option>
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
$sql = " SELECT nama_perawat FROM tb_perawat ORDER BY nama_perawat ASC";
|
||||
$prwsql = (mysqli_query($open, $sql));
|
||||
while ($ppa = mysqli_fetch_array($prwsql)) {
|
||||
$prwppa = stripslashes($ppa['nama_perawat']);
|
||||
?>
|
||||
<option value="<?= $prwppa; ?>"><?= $prwppa; ?></option>
|
||||
<?php } ?>
|
||||
</datalist>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="inputregister" class="col-sm-2 col-form-label col-form-label-sm">No RM</label>
|
||||
<div class="col-md-5" style="margin-bottom: 1pt;">
|
||||
<input type="text" class="form-control form-control-sm" id="inputregister" placeholder="nomer rekam medis" name="register">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-2">
|
||||
<label for="inputnama" class="col-sm-2 col-form-label col-form-label-sm">Nama Pasien</label>
|
||||
<div class="col-md-5" style="margin-bottom: 1pt;">
|
||||
<input type="text" class="form-control form-control-sm" id="inputnama" placeholder="nama pasien" name="nama">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="inputumur" class="col-sm-2 col-form-label col-form-label-sm">Umur</label>
|
||||
<div class="col-md-3" style="margin-bottom: 1pt;">
|
||||
<input type="text" class="form-control form-control-sm" id="inputumur" placeholder="umur" name="umur">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label for="inputalamat" class="col-sm-2 col-form-label col-form-label-sm">Alamat</label>
|
||||
<div class="col-md-5" style="margin-bottom: 1pt;">
|
||||
<textarea type="text" class="form-control form-control-sm" id="inputalamat" placeholder="alamat tinggal" name="alamat"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-2">
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="inputjenis_kelamin">Jenis Kelamin</label>
|
||||
<div class="col-md-2" style="margin-bottom: 1pt;">
|
||||
<select type="text" name="jenis_kelamin" id="jenis_kelamin" class="form-control form-control-sm">
|
||||
<option value="" selected>Jenis Kelamin</option>
|
||||
<option value="Laki-laki">Laki-laki</option>
|
||||
<option value="Perempuan">Perempuan</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="inputtriage">Triage</label>
|
||||
<div class="col-md-2" style="margin-bottom: 1pt;">
|
||||
<select type="text" name="triage" id="triage" class="form-control form-control-sm">
|
||||
<option value="" selected>triage</option>
|
||||
<option value="P1"> P1</option>
|
||||
<option value="P2">P2</option>
|
||||
<option value="P3">P3</option>
|
||||
<option value="P0">P0</option>
|
||||
</select>
|
||||
</div>
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="inputnik">No.BED</label>
|
||||
<div class="col-md-2" style="margin-bottom: 1pt;">
|
||||
<input type="number" name="nik" id="inputnik" class="form-control form-control-sm">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="inputkedatangan">Kedatangan</label>
|
||||
<div class="col-md-2" style="margin-bottom: 1pt;">
|
||||
<input type="text" name="kedatangan" id="kedatangan" list="inputkedatangan" class="form-control form-control-sm">
|
||||
<datalist id="inputkedatangan">
|
||||
<option value="" selected>kedatangan</option>
|
||||
<option value="DS"> DS</option>
|
||||
<option value="Rujukan">Rujukan</option>
|
||||
<option value="Terlantar">Terlantar</option>
|
||||
<option value="Pindahan">Pindahan</option>
|
||||
</datalist>
|
||||
</div>
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="inputnik">Jam Masuk</label>
|
||||
<div class="col-md-2" style="margin-bottom: 1pt;">
|
||||
<input text="datetime" name="tanggal" id="tanggal" readonly class="form-control form-control-sm plaintext" value="<?php echo date('Y-m-d H:i:s '); ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<label class="col-sm-2 col-form-label col-form-label-sm" for="inputsmf">SMF</label>
|
||||
<div class="col-md-2" style="margin-bottom: 3pt;">
|
||||
<input type="text" name="smf" id="smf" list="inputsmf" class="form-control form-control-sm">
|
||||
<datalist id="inputsmf">
|
||||
<option value="" selected>SMF</option>
|
||||
<option value="IPD">IPD </option>
|
||||
<option value="IKA">IKA </option>
|
||||
<option value="NEURO">NEURO </option>
|
||||
<option value="PARU">PARU </option>
|
||||
<option value="ANESTESI">ANESTESI </option>
|
||||
<option value="KARDIO">KARDIO </option>
|
||||
<option value="BEDAH">BEDAH </option>
|
||||
<option value="ORTHO">ORTHO </option>
|
||||
<option value="UROLOGI">UROLOGI </option>
|
||||
<option value="THT">THT </option>
|
||||
<option value="MATA">MATA </option>
|
||||
<option value="KULIT">KULIT </option>
|
||||
<option value="EM">EM </option>
|
||||
<option value="OBG">OBG </option>
|
||||
<option value="JIWA">JIWA </option>
|
||||
</datalist>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer mb-3" align="right">
|
||||
<button id="inputsubmit" value="Simpan" class="btn btn-primary">S i m p a n</button>
|
||||
<input type="reset" name="reset" data-bs-dismiss="modal" value="Batal" class="btn btn-secondary">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$query = mysqli_query($open, "SELECT * FROM datapasien where status_tunggu='menunggu'ORDER BY id_pasien");
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
?>
|
||||
<!-- modal data-bs pasien prolong -->
|
||||
<div class="modal fade" id="prolong<?php echo $data['id_pasien']; ?>" tabindex="-1" aria-labelledby="exampleModalLabel1" aria-hidden="true">
|
||||
<form action="index.php?link=model/action_prolong.php&id_pasien=<?= $data['id_pasien']; ?>" method="POST" enctype="multipart/form-data">
|
||||
<div class="modal-dialog modal-xl">
|
||||
<div class="modal-content" style="background: rgb(124,223,231); background: linear-gradient(0deg, rgba(124,223,231,1) 4%, rgba(223,249,255,1) 100%);">
|
||||
<div class="modal-header navbar navbar-default">
|
||||
<label class="btn-style-one">
|
||||
<h4>Alasan Lama Tinggal di UGD</h4>
|
||||
</label>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<span class="btn-style-one" style="margin-bottom: 5pt;"><?= $data['nama'] ?> | No RM :<?= $data['register'] ?></span>
|
||||
<textarea hidden="hidden" name="view_prolong" readonly class="form-control"><?= "$data[prolong]" ?></textarea>
|
||||
<input type="text" id="prolong" name="prolong" class="form-control" placeholder="rencana tindak lanjut, sebab lama tinggal, dll">
|
||||
<textarea type="text" rows="15" readonly class="form-control"><?= "$data[prolong]\n" ?></textarea>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="submit" class="btn btn-primary" name="prolongsubmit">Save</button>
|
||||
<button type="reset" class="btn btn-secondary">Reset</button>
|
||||
<button type="button" class="btn btn-default" data-bs-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- modal data pasien keluar -->
|
||||
<?php $awal = date_create($data['tanggal']);
|
||||
$akhir = date_create(); // waktu sekarang
|
||||
$diff = date_diff($awal, $akhir);
|
||||
?>
|
||||
<div class="modal fade" id="exit<?php echo $data['id_pasien']; ?>" tabindex="-1" aria-labelledby="exampleModalLabel2" aria-hidden="true">
|
||||
<form action="index.php?link=admin.php&link=model/action_exit.php&id_pasien=<?= $data['id_pasien']; ?>®ister=<?= $data['register']; ?>" method="post" enctype="multipart/form-data">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content" style="background: rgb(124,223,231); background: linear-gradient(0deg, rgba(124,223,231,1) 4%, rgba(223,249,255,1) 100%);">
|
||||
<div class="modal-header navbar navbar-default">
|
||||
<label class="btn-style-one">
|
||||
<h4>Catatan Pasien Keluar IGD </h4>
|
||||
</label>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<h6 class="btn-style-one" align="left" style="margin-top: 2pt;"> <?= $data['nama'] ?>
|
||||
| No.RM: <?= $data['register'] ?></h6>
|
||||
<input type="hidden" id="exitstatus" name="status">
|
||||
<input type="hidden" id="exitruang" name="ruang" value="<?= $data['ruang']; ?>">
|
||||
<select type="text" name="status_keluar" class="form-control md-2" size="1" style="font-size: 15pt; margin-top: 5pt;margin-bottom: 5pt;">
|
||||
<option value="" selected="pilih">status keluar</option>
|
||||
<option value="Pindah IGD">Pindah IGD</option>
|
||||
<option value="KRS">KRS</option>
|
||||
<option value="MRS">MRS</option>
|
||||
<option value="PAPS">PAPS</option>
|
||||
<option value="Melarikan Diri">Melarikan diri</option>
|
||||
<option value="Meninggal">Meninggal</option>
|
||||
</select>
|
||||
<textarea hidden="hidden" id="view_keterangan" name="view_keterangan"><?= "$data[prolong]" ?></textarea>
|
||||
<textarea type="text" id="keterangan" rows="2" name="keterangan" class="form-control col-md-2" placeholder="Catatan Pasien keluar"></textarea>
|
||||
<div class="row">
|
||||
<div class="col-md-6" style="margin-top: 5pt;">
|
||||
<label>Lama Tinggal</label>
|
||||
<input align="center" type="" name="waktu" value="<?php echo $diff->d . ' hari ' . $diff->h . ' jam ' . $diff->i . ' menit '; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<input type="submit" id="exitsubmit" name="submit" value="Simpan" class="btn btn-primary">
|
||||
<input type="reset" name="reset" value="Batal" class="btn btn-secondary">
|
||||
<button type="button" name="close" data-bs-dismiss="modal" class="btn btn-default">Tutup</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@@ -0,0 +1,218 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 5.0.2
|
||||
-- https://www.phpmyadmin.net/
|
||||
--
|
||||
-- Host: 127.0.0.1
|
||||
-- Waktu pembuatan: 29 Sep 2021 pada 07.41
|
||||
-- Versi server: 10.4.11-MariaDB
|
||||
-- Versi PHP: 7.4.6
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
START TRANSACTION;
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
|
||||
--
|
||||
-- Database: `perawatigd`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Struktur dari tabel `tb_perawat`
|
||||
--
|
||||
|
||||
CREATE TABLE `tb_perawat` (
|
||||
`id_perawat` int(11) NOT NULL,
|
||||
`nip` varchar(30) NOT NULL,
|
||||
`nama_perawat` varchar(30) NOT NULL,
|
||||
`status_pegawai` varchar(20) NOT NULL,
|
||||
`alamat` varchar(60) NOT NULL,
|
||||
`telepon` varchar(12) NOT NULL,
|
||||
`kode` text NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
--
|
||||
-- Dumping data untuk tabel `tb_perawat`
|
||||
--
|
||||
|
||||
INSERT INTO `tb_perawat` (`id_perawat`, `nip`, `nama_perawat`, `status_pegawai`, `alamat`, `telepon`, `kode`) VALUES
|
||||
(1, '19740213 200701 1 007', 'ABDUL KHOLIL, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(2, '302-13081985-032007-5592', 'AGUSWANTO, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(3, '302-14041981-122013-6090', 'ANCIK PRIATNASARI OLI`I, Amd.K', 'ASN', '', '','ugd'),
|
||||
(4, '19810617 200801 1 012', 'ANDRI JUNIANTO, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(5, '19681212 199603 2 001', 'ANI ROSDIANA, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(6, '19910609 201403 2 001', 'ANIK NUR AFIDAH, Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(7, '19681214 199103 2 007', 'ANIS CHABIBAH, Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(8, '302-03061991-102016-8169', 'ARDEAN WAHYU NENGTYAS, S.Kep.N', 'ASN', '', '','ugd'),
|
||||
(9, '302-14111991-102016-8182', 'ARI CATUR NUGRAINI, Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(10, '302-02101990-112015-7505', 'ARISTYA WIDIARINI SUSILO, AMd.', 'ASN', '', '','ugd'),
|
||||
(11, '19621112 198503 2 005', 'ASRI', 'ASN', '', '','ugd'),
|
||||
(12, '302-08071989-052012-5972', 'BAYU PRASETYA, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(13, '302-05081989-112015-7506', 'BHAKTIAR RAHYUNG DWI ARMYANTO,', 'ASN', '', '','ugd'),
|
||||
(14, '19810923 200801 1 005', 'BRIAN SEPTA SETYO PUTRO, Amd.K', 'ASN', '', '','ugd'),
|
||||
(15, '302-14041990-102016-8172', 'CHRISTINA PASKALIA ROSIANTI Am', 'ASN', '', '','ugd'),
|
||||
(16, '19801213 200801 1 007', 'DANANG GURITNO, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(17, '302-30061991-102016-8182', 'DANING DANIAR WIDHASTY,S.Tr.Ke', 'ASN', '', '','ugd'),
|
||||
(18, '302-04021988-042019-6975', 'DENY ALFIAN SUBEKTI TIGOR S, S', 'ASN', '', '','ugd'),
|
||||
(19, '302-27051991-102016-8170', 'DIAH MEGA PRAMESTI S.Kep.Ns', 'ASN', '', '','ugd'),
|
||||
(20, '19730629 200701 1 008', 'DIDIK SUBAGIO, AMK', 'ASN', '', '','ugd'),
|
||||
(21, '302-07111990-122013-6088', 'DODY DWI LAKSONO, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(22, '19890521 201903 2 000', 'DWI CAHYANINGSIH ELOK SUGIARTO', 'ASN', '', '','ugd'),
|
||||
(23, '302-02031979-082009-5650', 'DWI MURWANI, Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(24, '302-17051990-112014-6213', 'EKA SETIYA FABRIYANI Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(25, '302-17051990-112014-6213', 'EKA SULISTYOWATI, Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(26, '302-03041992-102016-8180', 'ELLY SAFITRI NUR KHOLIDA, Amd.', 'ASN', '', '','ugd'),
|
||||
(27, '19691104 198903 2 003', 'ENDANG NANIK FATMAWATI, S.Kep.', 'ASN', '', '','ugd'),
|
||||
(28, '302-07041991-122014-6039', 'ERDA PUTRI APRILIANINGRUM, Amd', 'ASN', '', '','ugd'),
|
||||
(29, '302-12071990-112015-7513', 'ERIC JUAN MALDINI, S.Kep.Ns', 'ASN', '', '','ugd'),
|
||||
(30, '302-19101991-112015-7515', 'ESTHI DARMASTUTI, S Kep NS', 'ASN', '', '','ugd'),
|
||||
(31, '19750829 200701 1 005', 'FAHRUR ALI MASRURI, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(32, '302-30011991-122013-6091', 'FEBY HANA FALISTIN, Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(33, '302-22021993-102016-8175', 'FERI DWI SETYAWAN, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(34, '302-21021992-112015-7517', 'FETRIANA AYU DWITANTI, S Kep.N', 'ASN', '', '','ugd'),
|
||||
(35, '302-20021992-042019-5956', 'FIKKO ARDI SUMARWAN, A.Md.Kep', 'ASN', '', '','ugd'),
|
||||
(36, '302-02031988-112014-6159', 'GESTI RIFANDINI, S Kep.Ns', 'ASN', '', '','ugd'),
|
||||
(37, '302-06051986-122013-6085', 'HAMALA DANNIA, S Kep.Ns', 'ASN', '', '','ugd'),
|
||||
(38, '302-26071987-112014-6156', 'HERLAMBANG ADI WIJANARKO, S.Ke', 'ASN', '', '','ugd'),
|
||||
(39, '302-14081993-102016-8178', 'IKA PUTRI MARYANDHINI, Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(40, '302-14061992-042019-6005', 'IMAM BASORI, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(41, '302-02111991-102016-8179', 'ISMI SIFATUL AULIYAH, Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(42, '302-16121993-112015-7526', 'LAILATUL MUKARROMAH, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(43, '302-06051993-102016-8176', 'LILIES TRIE PRAWESTY, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(44, '19630625 198701 1 001', 'MADJADI', 'ASN', '', '','ugd'),
|
||||
(45, '19811027 200501 2 012', 'MARIANA INDAH HAMASTUTI, S.Kep', 'ASN', '', '','ugd'),
|
||||
(46, '19801023 200801 1 003', 'MOKHAMMAD RIZA SYARIF, S.Kep.N', 'ASN', '', '','ugd'),
|
||||
(47, '302-22071992-122013-6089', 'MUCHAMMAD FARIED S, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(48, '302-26011985-052008-5626', 'MUDJI LESTARI, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(49, '302-29101983-032007-5587', 'MUDRIK KRIDO LAKSONO, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(50, '302-02031980-082009-5652', 'MULYONO, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(51, '19751207 200701 2 005', 'NANIK SRI LESTARI, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(52, '302-29081987-0520126022', 'NINDIA KUSUMA ASTUTI P, S.Kep.', 'ASN', '', '','ugd'),
|
||||
(53, '19800607 201101 2 004', 'NORA YUSFIANA, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(54, '302-10111986-042010-5813', 'NOVELTI DWI SULISTYANI, Amd.Ke', 'ASN', '', '','ugd'),
|
||||
(55, '19621103 198110 2 001', 'NURHAYATI', 'ASN', '', '','ugd'),
|
||||
(56, '19870929 201903 1 004', 'PRISMA KURNIANTO WIJAYA, AMd.K', 'ASN', '', '','ugd'),
|
||||
(57, '19690209 199103 1 008', 'PURWOKO SUGENG HARIANTO, S.Kep', 'ASN', '', '','ugd'),
|
||||
(58, '302-26071990-112014-6212', 'RAGIL PRASTHIKA YULIAS T, Amd', 'ASN', '', '','ugd'),
|
||||
(59, '19700516 199603 2 006', 'RAHAYU RETNANINGTYAS, AMK', 'ASN', '', '','ugd'),
|
||||
(60, '19711231 199312 1 001', 'RAMELAN, S. Kep.Ns', 'ASN', '', '','ugd'),
|
||||
(61, '19741218 200701 2 003', 'RELA SISWANTI, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(62, '19721022 199703 1 004', 'RIANTO, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(63, '302-02091988-042011-5880', 'RIFDA INGGAR FIRTARINA, Amd.Ke', 'ASN', '', '','ugd'),
|
||||
(64, '19850511 201403 2 001', 'RIFNGATUL LAILIYAH, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(65, '302-01011986-082009-5653', 'RIZKY ANDA RINSYAH, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(66, '302-03091987-082009-5673', 'SEPTI KUSDARIATI, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(67, '302-02091993-042019-6558', 'SEPTIAN ARI NOVIANTO, AMd.Kep.', 'ASN', '', '','ugd'),
|
||||
(68, '19701114 199703 2 004', 'SOLIKHATOEN. AMK', 'ASN', '', '','ugd'),
|
||||
(69, '19660223 198703 2 004', 'SUCIATI, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(70, '18630802 198902 2 002', 'SUNDARI, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(71, '19631001 198503 2 009', 'SYAMSURIDAH, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(72, '19720702 199703 1 006', 'TAUFAN RACHMANOEDIN, SST', 'ASN', '', '','ugd'),
|
||||
(73, '302-30071987-082009-5706', 'TAUFIK AKBAR NURHUDA, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(74, '', 'TARUNA, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(75, '19790813 200801 2 009', 'TETTI NURACHMAWATI FITRIA, AM', 'ASN', '', '','ugd'),
|
||||
(76, '19820225 200801 2 006', 'WAHYU DWI WULANDARI, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(77, '302-20011994-102016-8174', 'WIENDA ARIANIKAWATI, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(78, '302-07021994-042019-9639', 'WIWIK MIFTACHUL JANNAH, S.Kep.', 'ASN', '', '','ugd'),
|
||||
(79, '19730819 200701 2 006', 'WIYATI, S.Kep.Ns', 'ASN', '', '','ugd'),
|
||||
(80, '19750704 200501 2 013', 'YULIATI, S Kep.Ns', 'ASN', '', '','ugd'),
|
||||
(81, '302-30061980-072005-5560', 'YUNI FARIDA, AMd.Kep', 'ASN', '', '','ugd'),
|
||||
(82, '302-23041993-112015-7548', 'ZULINDA RISQI APRILINA, AMd.Ke', 'ASN', '', '','ugd'),
|
||||
(83, '197610072007012000', 'SITI ISTIANAH,Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(84, '3,0219101980072E+20', 'HELIN NARWIYATI,Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(85, '3,0216051985052E+20', 'WAHYU TRIONO,Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(86, '3,0220061991112E+20', 'INDRA DANNY, S.Kep.Ns', 'ASN', '', '','ugd'),
|
||||
(87, '3,0229061983112E+20', 'HOSNAN BASRI,Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(88, '197404142007012000', 'HENY LATHIFAH', 'ASN', '', '','ugd'),
|
||||
(89, '', 'GATOT SUBROTO', 'ASN', '', '','ugd'),
|
||||
(90, '198907192014032000', 'LEGA UMAMI, S.Kep.Ners', 'ASN', '', '','ugd'),
|
||||
(91, '', 'ISWATUL DEVI,Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(92, '', 'DITA DWI,AMK', 'ASN', '', '','ugd'),
|
||||
(93, '', 'INGGID SENDITIYA PERTIWI, Amd.', 'ASN', '', '','ugd'),
|
||||
(94, '', 'ANITA WULANDARI, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(95, '', 'SITI RAHMAWATI Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(96, '', 'RENDRA HERRA Y.S. S.Kep.Ns', 'ASN', '', '','ugd'),
|
||||
(97, '', 'TATIK RAGIL RAKAWENI,Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(98, '', 'FAISAL ANAM,Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(99, '', 'ANNISA HIDAYAH,Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(100, '', 'YUANANTA BUDIMAN,Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(101, '', 'IKE VERAWATI,Amd.Keb', 'ASN', '', '','ugd'),
|
||||
(102, '', 'HELIN NARWIYATI, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(103, 'B20.1802', 'TRIANANDA M, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(104, '', 'M. BASHOFI, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(105, '', 'SIGIT DWI N, Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(106, '', 'TEGUH WAHYUDI Amd.Kep', 'ASN', '', '','ugd'),
|
||||
(107, '302-31101991-102020-1714', 'GUPITA AYU MUSTIKASARI S.Kep.N', 'BLUD', 'PERUM GARUDA KENCANA B2 JL GARUDA PAKISASI', '81233458044','ugd'),
|
||||
(109, '302-21041990-12203-6071', 'NOVA LAILATUS AMd.Keb', 'BLUD', '', '','ugd'),
|
||||
(111, 'B.20.1793', 'NADHIRA WAHYU L, S.Kep.Ns', 'BLUD', '', '','ugd'),
|
||||
(112, '302-09011990-052012-5958', 'SRI WINDYA H AMd.Keb', 'BLUD', '', '','ugd'),
|
||||
(113, 'B.20.1794', 'NEINA MAYA DAMAYANTI SKep.Ns', 'BLUD', '', '','ugd'),
|
||||
(114, 'B.20.1792', 'M.SHAHRUL FAJAR SKep.Ns', 'BLUD', '', '','ugd'),
|
||||
(115, '19910191 201903 2 012', 'MUTIA PUTRI S AMd.Keb', 'ASN', '', '','ugd'),
|
||||
(116, 'B.20.1800', 'RETNO SETYANINGRUM AMd.Kep', 'BLUD', '', '','ugd'),
|
||||
(117, '302-29101983-032007-5587', 'MUKHAMAD SUDRAJAT P AMd.Kep', 'BLUD', '', '','ugd'),
|
||||
(118, '19730301 199703 1 000', 'HERRY INDRIYANI SURYATMOJO, SS', 'ASN', 'JL. BANDULAN VI H B2 NO. 36 BANDULAN RT.4 RW.6 KEC. SUKUN KO', '81334533992','ugd'),
|
||||
(119, '302-17111969-012012-6489', 'ARIEF RACHMAN', 'ASN', 'JL BALEAN BARAT NO 67 KOTA MALANG', '85785515374','ugd'),
|
||||
(120, '302-28121973-012012-5495', 'UMAR SENOAJI', 'ASN', 'JL SEGARAN GG MANGIR ', '','ugd'),
|
||||
(121, '19800125 200501 1 013', 'HERU CAHYONO,SST', 'ASN', 'MALANG', '0341','ok'),
|
||||
(122, '', 'BAMBANG PRIYO S.,SST', 'ASN', 'MALANG', '','ok'),
|
||||
(123, '', 'WIWIK ENDANG S.AMK', 'ASN', 'MALANG', '','ok'),
|
||||
(124, '', 'YAYUK RAHAYU', 'ASN', 'MALANG', '','ok'),
|
||||
(125, '', 'AROFIK', 'ASN', 'MALANG', '','ok'),
|
||||
(126, '', 'VIKI C', 'ASN', 'MALANG', '','ok'),
|
||||
(127, '', 'RONI WAHYUDI, SST', 'ASN', 'MALANG', '','ok'),
|
||||
(128, '', 'YUANA Y', 'ASN', 'MALANG', '','ok'),
|
||||
(129, '', 'LUSIANI', 'ASN', 'MALANG', '','ok'),
|
||||
(130, '', 'ARIF SUTRIONO', 'ASN', 'MALANG', '','ok'),
|
||||
(131, '', 'AGUNG PAMUJI', 'ASN', 'MALANG', '','ok'),
|
||||
(132, '', 'MAULIDIA', 'ASN', 'MALANG', '','ok'),
|
||||
(133, '', 'ZAHRO ISAMIA', 'ASN', 'MALANG', '','ok'),
|
||||
(134, '', 'MARIYA ULFA', 'ASN', 'MALANG', '','ok'),
|
||||
(135, '', 'SHANTI K', 'ASN', 'MALANG', '','ok'),
|
||||
(136, '', 'AYU T', 'ASN', 'MALANG', '','ok'),
|
||||
(137, '', 'IBRAHIM', 'ASN', 'MALANG', '','ok'),
|
||||
(138, '', 'AHMAD FUDHOLI', 'ASN', 'MALANG', '','ok'),
|
||||
(139, '', 'ABDUL WAKHID', 'ASN', 'MALANG', '','ok'),
|
||||
(140, '', 'AVIEF ', 'ASN', 'MALANG', '','ok'),
|
||||
(141, '', 'RIFANDI', 'ASN', 'MALANG', '','ok'),
|
||||
(142, '', 'MERY KRISMASARI', 'ASN', 'MALANG', '','ok'),
|
||||
(143, '', 'EKA F', 'ASN', 'MALANG', '','ok'),
|
||||
(144, '', 'M NURUS SHOBAH', 'ASN', 'MALANG', '','ok'),
|
||||
(145, '', 'ABD WAKHID', 'ASN', 'MALANG', '','ok'),
|
||||
(146, '', 'DEWANGGA', 'ASN', 'MALANG', '','ok'),
|
||||
(147, '', 'MULYO HANDOKO', 'ASN', 'MALANG', '','ok'),
|
||||
(148, '', 'SUWARNI', 'ASN', 'MALANG', '','ok'),
|
||||
(149, '', 'IRMA', 'ASN', 'MALANG', '','ok'),
|
||||
(150, '', 'TIRA', 'ASN', 'MALANG', '','ok');
|
||||
|
||||
|
||||
--
|
||||
-- Indexes for dumped tables
|
||||
--
|
||||
|
||||
--
|
||||
-- Indeks untuk tabel `tb_perawat`
|
||||
--
|
||||
ALTER TABLE `tb_perawat`
|
||||
ADD PRIMARY KEY (`id_perawat`);
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT untuk tabel yang dibuang
|
||||
--
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT untuk tabel `tb_perawat`
|
||||
--
|
||||
ALTER TABLE `tb_perawat`
|
||||
MODIFY `id_perawat` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=123;
|
||||
COMMIT;
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
|
||||
date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
$id_pasien = $_GET['id_pasien'];
|
||||
$register = $_GET['register'];
|
||||
$nama = $_GET['nama'];
|
||||
|
||||
|
||||
if (empty($_GET['prwppa'])) {
|
||||
$prwppa = '';
|
||||
} else {
|
||||
|
||||
$prwppa = $_GET['prwppa'];
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="row">
|
||||
<form id="rencanafrm">
|
||||
<div class="modal-body" style="border-style: groove;">
|
||||
<div class="form-group-inline" style="margin-top: 5pt;">
|
||||
<div class="row mt-3">
|
||||
<label for="nama" class="col-sm-1 col-form-label col-form-label-sm">Nama Pasien</label>
|
||||
<div class="col-md-3" style="margin-bottom: 3pt;">
|
||||
<input type="text" class="form-control form-control-sm" id="nama" value="<?= $nama; ?>" name="nama" disabled>
|
||||
</div>
|
||||
<label for="perawat_ppa" class="col-sm-2 col-form-label col-form-label-sm">Nama Perawat PPA</label>
|
||||
<div class="col-md-4" style="margin-bottom: 5pt;">
|
||||
<input type="text" id="perawat_ppa" name="perawat_ppa" class="form-control form-control-sm" list="ppa" placeholder="Penanggung Jawab Asuhan (kaur,katim,kajaga)" value="<?= $prwppa; ?>">
|
||||
<datalist id="ppa">
|
||||
<option value="">perawat</option>
|
||||
|
||||
<?php
|
||||
$sql = " SELECT nama_perawat FROM tb_perawat ORDER BY nama_perawat ASC";
|
||||
$prwsql = (mysqli_query($open, $sql));
|
||||
while ($ppa = mysqli_fetch_array($prwsql)) {
|
||||
$prwppa = stripslashes($ppa['nama_perawat']);
|
||||
?>
|
||||
<option value="<?= $prwppa; ?>"><?= $prwppa; ?></option>
|
||||
<?php } ?>
|
||||
</datalist>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="register" class="col-sm-1 col-form-label col-form-label-sm">No.RM</label>
|
||||
<div class="col-sm-3" style="margin-bottom: 1pt;">
|
||||
<input type="text" class="form-control form-control-sm" id="register" value=" <?= $register; ?>" name="register" disabled>
|
||||
</h5>
|
||||
</div>
|
||||
<label for="tindakan" class="col-sm-2 col-form-label col-form-label-sm">Input Tindakan</label>
|
||||
<div class="col-md-6">
|
||||
<div class="input-group">
|
||||
<input type="text" id="uraian" name="uraian" oninput="DoAction()" class="form-control form-control-sm" list="uraian_tindakan" placeholder="input tindakan" autofocus>
|
||||
<datalist id="uraian_tindakan">
|
||||
<option value=""></option>
|
||||
</datalist>
|
||||
<span class="input-group-btn">
|
||||
<input type="submit" id="rencanasubmit" value="Add" class="btn btn-primary" onclick="add_load()">
|
||||
<button type="reset" name="reset" class="btn btn-secondary">Batal</button>
|
||||
</span>
|
||||
</div><!-- /input-group -->
|
||||
</div><!-- /.col-lg-6 -->
|
||||
<div class="row mt-3">
|
||||
<label for="colFormLabelSm" class="col-sm-1 col-form-label col-form-label-sm">Paket Tindakan</label>
|
||||
<div class="col-md-8">
|
||||
<!-- <input type="submit" name="submit" value="Add" class="btn btn-primary"> -->
|
||||
<input type="button" id="template" name="template" value="Pasien Baru" class="btn btn-primary" onclick="lines();">
|
||||
<input type="button" id="template2" name="template2" value="Swab antigen" class="btn btn-primary" onclick="antigen();">
|
||||
<input type="button" id="template3" name="template3" value="Neonatus" class="btn btn-primary" onclick="neonatus();">
|
||||
<input type="button" id="template4" name="template4" value="Partus Normal" class="btn btn-primary" onclick="partus();">
|
||||
<input type="button" id="template5" name="template5" value="Partus SC" class="btn btn-primary" onclick="sc();">
|
||||
<input type="button" id="template6" name="template6" value="Daftar OK" class="btn btn-primary">
|
||||
<input hidden="hidden" id="id_pasien" name="id_pasien" value="<?= $id_pasien ?>">
|
||||
<textarea hidden="hidden" type="text" id="tindakan" name="tindakan"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="jquery" style="margin-inline: 3pt;">
|
||||
<div class="table-responsive ">
|
||||
<table class="table table-stripped table-hover datatab">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>ruang</th>
|
||||
<th>Waktu</th>
|
||||
<th>Uraian</th>
|
||||
<th>Pelaksana</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
$query = mysqli_query($open, "SELECT * FROM tb_tindakan WHERE id_pasien= '$id_pasien' ORDER BY masalah ASC ");
|
||||
$no = 0;
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
$no++;
|
||||
$waktu = (DATE('d-m-Y H:i:s', strtotime($data['timestamp'])));
|
||||
if ($data['masalah'] == 'belum') {
|
||||
$style = "background-color:#F8E208;";
|
||||
} else {
|
||||
$style = "background-color:#7CF808;";
|
||||
}
|
||||
echo "<tr style='font-size:9pt;'>
|
||||
|
||||
<td>$no</td>
|
||||
<td>$data[ruang]</td>
|
||||
<td>$waktu</td>
|
||||
<td>$data[tindakan]</td>
|
||||
<td>$data[perawat_ppa]</td>
|
||||
<td style= '$style'>$data[masalah]</td>
|
||||
<td><input type='button' id='$data[id_tindakan]' class='btn-xs btn-delete' value='hapus'></td>
|
||||
</tr>";
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- ############################## -->
|
||||
|
||||
<script src="js/jquery-1.12.0.min.js"></script>
|
||||
<script src="js/jquery.dataTables.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('.datatab').DataTable();
|
||||
});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,71 @@
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped table-hover datatab">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Ruang</th>
|
||||
<th>Waktu</th>
|
||||
<th>Uraian</th>
|
||||
<th width="15%">Pelaksana</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php
|
||||
|
||||
session_start();
|
||||
include "model/koneksi.php";
|
||||
$id_pasien = $_GET['id_pasien'];
|
||||
$nama_login = $_SESSION['nama'];
|
||||
$register = $_GET['register'];
|
||||
$nama = $_GET['nama'];
|
||||
$query = mysqli_query($open, "SELECT * FROM tb_tindakan WHERE id_pasien= '$id_pasien' ORDER BY masalah ASC ");
|
||||
$no = 0;
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
$no++;
|
||||
$waktu = (DATE('d-m-Y H:i:s', strtotime($data['timestamp'])));
|
||||
if ($data['masalah'] == 'belum') {
|
||||
$style = "background-color:#F8E208;";
|
||||
} else {
|
||||
$style = "background-color:#7CF808;";
|
||||
}
|
||||
?>
|
||||
<tr style='font-size:9pt;'>
|
||||
<td><?= $no; ?></td>
|
||||
<td><?= $data['ruang']; ?></td>
|
||||
<td><?= $waktu; ?></td>
|
||||
<td><?= $data['tindakan']; ?></td>
|
||||
<td><?= $data['perawat_ppa']; ?></td>
|
||||
<td ><a style='<?= $style; ?>'href='model/action_tindakan.php?id_tindakan=<?= $data['id_tindakan']; ?>&perawat_ppa=<?= $data['perawat_ppa'] ?>' style='font-size:10px;' name='klik_selesai' class="btn btn-primary btn-sm"><?= $data['masalah']; ?></a> </td>
|
||||
<td><a href='' data-bs-toggle='modal' data-bs-target='#delimplementasi<?= $data['id_tindakan'] ?>' style='font-size:10px;' name='hapus'>hapus</a></td>
|
||||
</tr>
|
||||
<div class="modal" id="delimplementasi<?= $data['id_tindakan']; ?>">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
Tindakan <?= $data['tindakan']; ?> akan dihapus?
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href='model/action_hapus_tindakan.php?id_tindakan=<?= $data['id_tindakan']; ?>' style='font-size:10px;' name='hapus' class="btn btn-primary btn-sm">Hapus</a>
|
||||
<button type="reset" class="btn btn-default btn-sm" name="batal" data-bs-dismiss="modal">Batal</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
} ?>
|
||||
</div>
|
||||
</tbody>
|
||||
</div>
|
||||
</table>
|
||||
|
||||
<?php echo $prwppa; ?>
|
||||
<script src="js/jquery.dataTables.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('.datatab').DataTable();
|
||||
})
|
||||
</script>
|
||||
@@ -0,0 +1,69 @@
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped table-hover datatab">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Ruang</th>
|
||||
<th>Waktu</th>
|
||||
<th>Uraian</th>
|
||||
<th width="15%">Pelaksana</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php
|
||||
|
||||
session_start();
|
||||
include "model/koneksi.php";
|
||||
$id_pasien = $_GET['id_pasien'];
|
||||
$nama_login = $_SESSION['nama'];
|
||||
$register = $_GET['register'];
|
||||
$nama = $_GET['nama'];
|
||||
$query = mysqli_query($open, "SELECT * FROM tb_tindakan WHERE id_pasien= '$id_pasien' ORDER BY masalah ASC ");
|
||||
$no = 0;
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
$no++;
|
||||
$waktu = (DATE('d-m-Y H:i:s', strtotime($data['timestamp'])));
|
||||
if ($data['masalah'] == 'belum') {
|
||||
$style = "background-color:#F8E208;";
|
||||
} else {
|
||||
$style = "background-color:#7CF808;";
|
||||
}
|
||||
?>
|
||||
<tr style='font-size:9pt;'>
|
||||
<td><?= $no; ?></td>
|
||||
<td><?= $data['ruang']; ?></td>
|
||||
<td><?= $waktu; ?></td>
|
||||
<td><?= $data['tindakan']; ?></td>
|
||||
<td><?= $data['perawat_ppa']; ?></td>
|
||||
<td style='<?= $style; ?>'><?= $data['masalah']; ?></td>
|
||||
<td><a href='' data-bs-toggle='modal' data-bs-target='#delimplementasi<?= $data['id_tindakan'] ?>' style='font-size:10px;' name='hapus'>hapus</a></td>
|
||||
</tr>
|
||||
<div class="modal" id="delimplementasi<?= $data['id_tindakan']; ?>">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
Tindakan <?= $data['tindakan']; ?> akan dihapus?
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href='model/action_hapus_tindakan.php?id_tindakan=<?= $data['id_tindakan']; ?>' style='font-size:10px;' name='hapus' class="btn btn-primary btn-sm">Hapus</a>
|
||||
<button type="reset" class="btn btn-default btn-sm" name="batal" data-bs-dismiss="modal">Batal</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
} ?>
|
||||
</div>
|
||||
</tbody>
|
||||
</div>
|
||||
</table>
|
||||
<script src="js/jquery.dataTables.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('.datatab').DataTable();
|
||||
})
|
||||
</script>
|
||||
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
// db settings
|
||||
date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
session_start();
|
||||
// db connection
|
||||
// $con = mysqli_connect($hostname, $username, $password, $database) or die("Error " . mysqli_error($con));
|
||||
|
||||
// fetch records
|
||||
$nama_login = $_SESSION['nama'];
|
||||
$sql = "SELECT id_pasien, nama, register, smf, ruang, triage,nik,tanggal FROM datapasien WHERE status_tunggu= 'menunggu'";
|
||||
$result = mysqli_query($open, $sql);
|
||||
$array = array();
|
||||
$no = 0;
|
||||
|
||||
while ($data = mysqli_fetch_assoc($result)) {
|
||||
$no++;
|
||||
// $tsql = "SELECT * FROM tb_tindakan WHERE id_pasien='$data[id_pasien]' AND masalah='belum'";
|
||||
// $sqlcount = mysqli_num_rows(mysqli_query($open, $tsql));
|
||||
// if ($sqlcount > 0) {
|
||||
// $count = $sqlcount;
|
||||
// } else {
|
||||
$count = '0';
|
||||
// }
|
||||
$count = '';
|
||||
$awal = date_create($data['tanggal']);
|
||||
$akhir = date_create(); // waktu sekarang
|
||||
$diff = date_diff($awal, $akhir);
|
||||
$hour = $diff->h < 6;
|
||||
$day = $diff->d == 0;
|
||||
|
||||
if ($hour && $day) {
|
||||
$btnprolong = "btn btn-success btn-sm";
|
||||
} else {
|
||||
$btnprolong = "btn btn-danger btn-sm";
|
||||
}
|
||||
|
||||
$sub_array['no'] = "<a class='btn btn-light btn-sm position-relative'style='font-size: 9pt;' href='dataview.php?id_pasien=$data[id_pasien]' >$no</a>";
|
||||
$sub_array['triage'] = "<p style='font-size: 9pt;'>$data[triage]-$data[ruang] | $data[nik]</p>";
|
||||
$sub_array['nama'] = "<a class='btn btn-light btn-sm 'style='font-size:9pt;font-weight:bold;' href='dataview.php?id_pasien=$data[id_pasien]' title='Detail pasien $data[nama]'>$data[nama]</a>";
|
||||
$sub_array['register'] = "<p style='font-size: 9pt;' >$data[register]</p>";
|
||||
$sub_array['smf'] = "<p style='font-size: 9pt;' >$data[smf]</p>";
|
||||
$sub_array['pengkajian'] = "<a class='btn btn-light btn-sm position-relative' style='font-size: 9pt;' onclick='warning()'>Pengkajian</a>";
|
||||
$sub_array['rencana'] = "<a class='btn btn-light btn-sm position-relative' style='font-size: 9pt;' onclick='warning()'>Tindakan<span class='position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger'>$count</span></a>";
|
||||
$sub_array['keluar'] = "<a class='btn btn-light btn-sm'style='font-size: 9pt;' onclick='warning()'>keluar</a>";
|
||||
$sub_array['waktu_tunggu'] = "<a class= '$btnprolong' style='font-size: 9pt;' data-bs-toggle='modal' data-bs-target='#prolong$data[id_pasien]'> $diff->d hari- $diff->h jam- $diff->i menit</a>";
|
||||
$array[] = $sub_array;
|
||||
}
|
||||
|
||||
$dataset = array(
|
||||
"echo" => 1,
|
||||
"totalrecords" => count($array),
|
||||
"totaldisplayrecords" => count($array),
|
||||
"data" => $array
|
||||
);
|
||||
|
||||
echo json_encode($dataset);
|
||||
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
// db settings
|
||||
date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
session_start();
|
||||
// db connection
|
||||
// $con = mysqli_connect($hostname, $username, $password, $database) or die("Error " . mysqli_error($con));
|
||||
|
||||
// fetch records
|
||||
$nama_login = $_SESSION['nama'];
|
||||
$sql = "SELECT id_pasien, nama, register, smf, ruang, triage,nik,tanggal,perawat_ppa, file_text, keterangan,jenis_kelamin FROM datapasien WHERE ruang='$nama_login' AND status_tunggu= 'menunggu'";
|
||||
$result = mysqli_query($open, $sql);
|
||||
$array = array();
|
||||
$no = 0;
|
||||
$statuscode = '200';
|
||||
while ($data = mysqli_fetch_assoc($result)) {
|
||||
$no++;
|
||||
$tsql = "SELECT * FROM tb_announcer WHERE id_pasien='$data[id_pasien]' AND announcer ='1'";
|
||||
$sqlcount = mysqli_num_rows(mysqli_query($opencost, $tsql));
|
||||
if ($sqlcount > 0) {
|
||||
$count = "<img src='./images/img/stop-button.png'20 height='20' class='blink_me' ></img>";
|
||||
} else {
|
||||
$count = "<img src='./images/img/Speaker_icon-icons.com_54138.svg' width='20' height='20' ></img>";
|
||||
}
|
||||
|
||||
$awal = date_create($data['tanggal']);
|
||||
$akhir = date_create(); // waktu sekarang
|
||||
$diff = date_diff($awal, $akhir);
|
||||
$hour = $diff->h < 6;
|
||||
$day = $diff->d == 0;
|
||||
|
||||
if ($hour && $day) {
|
||||
$btnprolong = "background: rgb(91,254,0);
|
||||
background: linear-gradient(274deg, rgba(91,254,0,1) 0%, rgba(11,136,1,1) 33%);";
|
||||
} else {
|
||||
$btnprolong = "background: rgb(254,0,0);
|
||||
background: linear-gradient(74deg, rgba(254,0,0,1) 66%, rgba(255,208,51,0.8356384790244222) 100%);";
|
||||
}
|
||||
|
||||
$sub_array['no'] = "<a class='btn btn-light position-relative'style='font-size: 9pt;' href='dataview.php?id_pasien=$data[id_pasien]®ister=$data[register]&nama=$data[nama]&prwppa=$data[perawat_ppa]&triage=$data[triage]'>$no</a><a style='font-size: 9pt;' href='' data-bs-toggle='modal' data-bs-target='#announcer$data[id_pasien]'title='panggilan pasien igd'>$count</a>";
|
||||
$sub_array['triage'] = "<p style='font-size: 10pt;font-weight:bold; '>$data[triage] | bed $data[nik]-$data[file_text]</p>";
|
||||
$sub_array['nama'] = "<a style='font-size: 9pt; font-weight:bold; color: blue;text-decoration:none' href='dataview.php?id_pasien=$data[id_pasien]®ister=$data[register]&nama=$data[nama]&prwppa=$data[perawat_ppa]&triage=$data[triage]'title='Detail pasien $data[nama]' >$data[nama]</a>";
|
||||
$sub_array['perawat'] = "<p style='font-size: 9pt; font-weight:bold;'>$data[perawat_ppa]</p>";
|
||||
$sub_array['register'] = "<p style='font-size: 9pt;' >$data[register]</p>";
|
||||
$sub_array['smf'] = "<p style='font-size: 9pt;' >$data[smf]</p>";
|
||||
$sub_array['pengkajian'] = "<a style='font-size: 9pt;' class='btn btn-light btn-sm position-relative' href='view_pengkajian.php?id_pasien=$data[id_pasien]®ister=$data[register]&nama=$data[nama]' title='isi pengkajian keperawatan'>Pengkajian</a>";
|
||||
$sub_array['rencana'] = "<a style='font-size: 9pt;' class='btn btn-light btn-sm position-relative' href='view_implementasi.php?id_pasien=$data[id_pasien]®ister=$data[register]&nama=$data[nama]&prwppa=$data[perawat_ppa]&triage=$data[triage]' title='isi tindakan keperawatan'>Rencana</a>";
|
||||
$sub_array['keluar'] = "<a style='font-size: 9pt;' class='btn btn-light btn-sm' href='' data-bs-toggle='modal' data-bs-target='#exit$data[id_pasien]' title='catatan pasien keluar ugd'>keluar</a>";
|
||||
$sub_array['waktu_tunggu'] = "<div class= 'btn btn-secondary btn-sm'href='' style='font-size: 9px; $btnprolong' title='lama tinggal di ugd' data-bs-toggle='' data-bs-target=''> $diff->d hari- $diff->h jam- $diff->i menit</div><br> <div style='font-weight:bold;'>$data[keterangan]</div>";
|
||||
$array[] = $sub_array;
|
||||
}
|
||||
|
||||
$dataset = array(
|
||||
"echo" => 1,
|
||||
"totalrecords" => count($array),
|
||||
"totaldisplayrecords" => count($array),
|
||||
"data" => $array
|
||||
);
|
||||
|
||||
echo json_encode($dataset);
|
||||
@@ -0,0 +1,63 @@
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped table-hover datatab">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 1%;">No</th>
|
||||
<th style="width: 15%;">NIP/NIPTT</th>
|
||||
<th>Nama Perawat</th>
|
||||
<th style="width: 15%;">Status Pegawai</th>
|
||||
<th>Alamat</th>
|
||||
<th>Telepon</th>
|
||||
<th>Hak Akses</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php
|
||||
|
||||
session_start();
|
||||
include "model/koneksi.php";
|
||||
|
||||
$query = mysqli_query($open, "SELECT * FROM tb_perawat");
|
||||
$no = 0;
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
$no++;
|
||||
?>
|
||||
|
||||
<tr style='font-size:9pt;'>
|
||||
<td><?= $no; ?></td>
|
||||
<td><?= $data['nip']; ?></td>
|
||||
<td><?= $data['nama_perawat']; ?></td>
|
||||
<td><?= $data['status_pegawai']; ?></td>
|
||||
<td><?= $data['alamat']; ?></td>
|
||||
<td><?= $data['telepon']; ?></td>
|
||||
<td><?= $data['kode']; ?></td>
|
||||
<td><a href='' data-bs-toggle='modal' data-bs-target='#delimplementasi<?= $data['id_perawat'] ?>' style='font-size:10px;' name='edit' class="btn btn-primary btn-sm">action</a></td>
|
||||
</tr>
|
||||
<div class="modal" id="delimplementasi<?= $data['id_perawat']; ?>">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
Yakin data Perawat <?= $data['nama_perawat']; ?> akan dihapus?
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="setting_user.php?id_perawat=<?= $data['id_perawat']; ?>&edit_perawat=" style='font-size:10px;' class="btn btn-primary btn-sm" name='edit_perawat'>edit</a>
|
||||
<a href="setting_user.php?id_perawat=<?= $data['id_perawat']; ?>&delete_perawat=" style='font-size:10px;' name='delete_perawat' class="btn btn-primary btn-sm">Hapus</a>
|
||||
<button type="reset" class="btn btn-default btn-sm" name="batal" data-bs-dismiss="modal">Batal</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
} ?>
|
||||
</div>
|
||||
</tbody>
|
||||
</div>
|
||||
</table>
|
||||
<script src="js/jquery.dataTables.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('.datatab').DataTable();
|
||||
})
|
||||
</script>
|
||||
@@ -0,0 +1,173 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
$tanggal = DATE('d-M-Y');
|
||||
$jam = Date('H:i');
|
||||
|
||||
header("Content-Type: application/vnd-html");
|
||||
header("Content-Disposition: attachment; filename=Update_Tanggal_$tanggal-jam_$jam.html");
|
||||
header("Pragma: no-cache");
|
||||
header("Expires: 0");
|
||||
session_start();
|
||||
$nama_login = $_SESSION['nama'];
|
||||
|
||||
?>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div align="center" class="Content-Disposition">
|
||||
|
||||
<div>
|
||||
<th>
|
||||
<h2>Update Laporan Perawat UGD <?php echo "$nama_login" ?>
|
||||
<p>Daftar Pasien Tinggal <?PHP echo DATE('d-m-Y H:i') ?></p>
|
||||
</h2>
|
||||
</th>
|
||||
</div>
|
||||
|
||||
<table class="modal" width="100%" border="1px" align="center" cellpadding="0px" cellspacing="0px">
|
||||
<tr bgcolor="#D5DBDB">
|
||||
<h7>
|
||||
<th style="width: 3%;">No</th>
|
||||
<th style="width: 25%;">Nama</th>
|
||||
<!-- <th>NIK</th> -->
|
||||
|
||||
<!-- <th>Umur</th> -->
|
||||
<!-- <th>Jenis Kelamin</th> -->
|
||||
|
||||
<!-- <th>Alamat</th> -->
|
||||
<!-- <th>Telp</th> -->
|
||||
<!-- <th>Tanggal Masuk</th> -->
|
||||
<th style="width: 7%;">SMF</th>
|
||||
<!-- <th>Skrining</th> -->
|
||||
<!-- <th>kedatangan</th> -->
|
||||
<th style="width: 20%;">Status Keluar</th>
|
||||
<!-- <th>Jam Keluar</th> -->
|
||||
|
||||
<th style="width: 60%;">Keterangan</th>
|
||||
</h7>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
|
||||
include "model/koneksi.php";
|
||||
//view data datapasien di dalam database
|
||||
|
||||
|
||||
|
||||
$Lihat = "SELECT * FROM datapasien WHERE ruang= '$nama_login' AND status_tunggu='menunggu' ORDER BY 'triage' ASC";
|
||||
|
||||
$Tampil = mysqli_query($open, $Lihat);
|
||||
|
||||
$nomer = 0;
|
||||
while ($hasil = mysqli_fetch_array($Tampil)) {
|
||||
$id_pasien = stripcslashes($hasil['id_pasien']);
|
||||
$nama = stripslashes($hasil['nama']);
|
||||
$nik = stripslashes($hasil['nik']);
|
||||
$register = stripslashes($hasil['register']);
|
||||
$umur = stripslashes($hasil['umur']);
|
||||
$jenis_kelamin = stripslashes($hasil['jenis_kelamin']);
|
||||
$triage = stripslashes($hasil['triage']);
|
||||
$alamat = stripslashes($hasil['alamat']);
|
||||
$telp = stripslashes($hasil['telp']);
|
||||
$tanggal = stripcslashes($hasil['tanggal']);
|
||||
$skrining = stripslashes($hasil['skrining']);
|
||||
$kedatangan = stripslashes($hasil['kedatangan']);
|
||||
$keterangan = stripslashes($hasil['keterangan']);
|
||||
$status_keluar = stripslashes($hasil['status_keluar']);
|
||||
$jam_keluar = stripslashes($hasil['jam_keluar']);
|
||||
$waiting = stripslashes($hasil['waiting']);
|
||||
$smf = stripslashes($hasil['smf']);
|
||||
$status_tunggu = stripslashes($hasil['status_tunggu']);
|
||||
$prolong = stripslashes($hasil['prolong']);
|
||||
|
||||
$awal = date_create($tanggal);
|
||||
$akhir = date_create(); // waktu sekarang
|
||||
$diff = date_diff($awal, $akhir);
|
||||
$waktu = DATE('d-m-Y H:i:s', strtotime($hasil['tanggal']));
|
||||
$waktu_keluar = DATE('d-m-Y H:i:s', strtotime($hasil['jam_keluar']));
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// call the function
|
||||
|
||||
{
|
||||
|
||||
$nomer++;
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td><?= $nomer ?></td>
|
||||
<td>
|
||||
<ul>
|
||||
<li>
|
||||
<?= $nama ?>
|
||||
</li>
|
||||
<li>
|
||||
Register : <?= $register ?>
|
||||
</li>
|
||||
<li>
|
||||
Triage : <?= $triage ?> /No bed <?= $nik ?>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
<td><?= $smf ?></td>
|
||||
<td>
|
||||
<li>
|
||||
|
||||
<?php
|
||||
if (strlen($status_keluar) == 0) {
|
||||
echo "OBSERVASI";
|
||||
} else {
|
||||
echo $status_keluar;
|
||||
}
|
||||
?>
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<?php
|
||||
if (strlen($jam_keluar) == 0) {
|
||||
|
||||
echo "lama tunggu :" . $diff->d . ' hari-' . $diff->h . ' jam-' . $diff->i . 'menit';
|
||||
} else {
|
||||
echo "lama tunggu :" . $waiting;
|
||||
}
|
||||
?>
|
||||
</li>
|
||||
</td>
|
||||
<td>
|
||||
<li>
|
||||
<?= $keterangan ?>
|
||||
</li>
|
||||
<?php
|
||||
$cetak = (explode(" _ ", $prolong));
|
||||
for ($start = 0; $start < count($cetak); $start++) {
|
||||
$start < count($cetak);
|
||||
print $cetak[$start] . "<BR>";
|
||||
}
|
||||
?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
//Tutup koneksi engine MySQL
|
||||
mysqli_close($open);
|
||||
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,407 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style type="text/css">
|
||||
#viewpasien {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#page-nav {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
@media print {
|
||||
#PrintTable {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#viewpasien {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#timemarquee {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#page-nav {
|
||||
display: none;
|
||||
}
|
||||
#formFilter {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<h3 align="center">Buku Laporan Keperawatan</h3>
|
||||
<h5 align="center" id="ruang"></h5>
|
||||
<h6 align="center" id="tanggal">Tanggal </h6>
|
||||
|
||||
<div id="formFilter" role="menu" data-bs-backdrop="statis" data-bs-keyboard="false">
|
||||
<div class="modal-dialog ">
|
||||
<div class="modal-content">
|
||||
|
||||
<form id="pasienfrm" action="viewdata2.html" method="POST" enctype="multipart/form-data">
|
||||
<div class="modal-body">
|
||||
<div class="row mb-3">
|
||||
<label for="pasienawal" class="col-sm-2 col-form-label col-form-label-sm">Tanggal</label>
|
||||
<div class="col-md-8" style="margin-bottom: 2pt;">
|
||||
<!-- <input type="datetime-local" name="awal" id="pasienawal" class="form-control"> -->
|
||||
<input required type="datetime-local" class="form-control form-control-sm" id="awal" placeholder="masukkan tanggal" name="awal">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-3">
|
||||
<label for="pasienakhir" class="col-sm-2 col-form-label col-form-label-sm">Sampai dengan</label>
|
||||
<div class="col-md-8" style="margin-bottom: 2pt;">
|
||||
<!-- <input type="datetime-local" name="akhir" id="pasienakhir" class="form-control"> -->
|
||||
<input required type="datetime-local" class="form-control form-control-sm" id="akhir" placeholder="masukkan tanggal" name="akhir">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-3">
|
||||
<label class="col-sm-2 col-form-label-sm" for="pasienruang">per ruang</label>
|
||||
|
||||
<div class="col-md-8" style="margin-bottom: 2pt;">
|
||||
<form>
|
||||
<select class="form-select form-select-sm" id="pasienruang" name="ruang" onchange="pxroom()">
|
||||
<option value="Triase">Triase</option>
|
||||
<option value="Covid">Unit Infeksi (IPIT)</option>
|
||||
<option value="Reguler">Unit EC Reguler</option>
|
||||
<option value="ROE" selected>ROE</option>
|
||||
|
||||
</select>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-3">
|
||||
<label for="kriteria" class="col-sm-2 col-form-label-sm">Kriteria Filter</label>
|
||||
<div class="col-md-10" style="margin-bottom: 2pt;">
|
||||
|
||||
<form>
|
||||
<div class="input-group">
|
||||
<!-- <input type="text" list="list_ruang" class="form-control" id="pasienruang" name="ruang" placeholder="ruang pelayanan" > -->
|
||||
|
||||
<select class="form-select form-select-sm" id="kriteria" name="kriteria">
|
||||
<option value="all">Semua</option>
|
||||
<option value="date_in" >Tanggal Masuk</option>
|
||||
<option value="date_out" >Tanggal Keluar</option>
|
||||
</select>
|
||||
|
||||
<span class="input-group-btn">
|
||||
<!-- <button id="cetak_ruang" type="submit" name="cetak_ruang" class="btn btn-primary btn-sm">cetak</button> -->
|
||||
<button type="button" id="filter" class="btn btn-success btn-sm" onclick="myFilter()" >filter</button>
|
||||
<button type="button" id="filter" class="btn btn-info btn-sm" onclick="myPrint()" >Print</button>
|
||||
</span>
|
||||
</div><!-- /input-group -->
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="PrintTable" class="container" style="margin-top: 20px;" hidden>
|
||||
<table id="Tablerekap" class="table table-bordered" style="font-size: 9pt;" width="100%" align="left" cellpadding="0" cellspacing="0" style="margin-bottom:10px;">
|
||||
<tr class="table-striped" align="left" height="10px"style="font-weight:bold; width:10%">
|
||||
<td>P1</td>
|
||||
<td id="P1"></td>
|
||||
<td>MRS</td>
|
||||
<td id="MRS" ></td>
|
||||
<td>MELARIKAN DIRI</td>
|
||||
<td id="lari"></td>
|
||||
|
||||
<tr class="table-striped" align="left" height="10px"style="font-weight:bold; width:10%">
|
||||
|
||||
<td>P2</td>
|
||||
<td id="P2"></td>
|
||||
<td >KRS</td>
|
||||
<td id="KRS"></td>
|
||||
<td >OBSERVASI</td>
|
||||
<td id="OBSERVASI"></td>
|
||||
</tr>
|
||||
<tr class="table-striped" align="left" height="10px"style="font-weight:bold; width:10%">
|
||||
<td >P3</td>
|
||||
<td id="P3" ></td>
|
||||
<td >MENINGGAL</td>
|
||||
<td id="Meninggal"></td>
|
||||
<td>-</td>
|
||||
<td id="OB"></td>
|
||||
</tr>
|
||||
<tr class="table-striped" align="left" height="10px"style="font-weight:bold; width:10%">
|
||||
<td >P0</td>
|
||||
<td id="P0" ></td>
|
||||
<td >PAPS</td>
|
||||
<td id="PAPS" ></td>
|
||||
<td >OK</td>
|
||||
<td id="OK" ></td>
|
||||
</tr>
|
||||
<tr class="table-striped" align="left" height="10px"style="font-weight:bold; width:10%" bgcolor="4FDA47">
|
||||
<td >SKRINING DROPZONE</td>
|
||||
<td id="Skrining" ></td>
|
||||
<td></td>
|
||||
<td> </td>
|
||||
<td> TOTAL PASIEN </td>
|
||||
<td id="Total" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="tableView"></div>
|
||||
</div>
|
||||
<div id="imp"></div>
|
||||
|
||||
<script>
|
||||
|
||||
function myPrint(){
|
||||
$(document).ready(function() {
|
||||
window.print()
|
||||
});
|
||||
}
|
||||
|
||||
function myFilter(){
|
||||
|
||||
const xmlhttp = new XMLHttpRequest();
|
||||
xmlhttp.onload = function() {
|
||||
myObj = JSON.parse(this.responseText);
|
||||
|
||||
const OBSERVASI = myObj.filter(arr=>{
|
||||
if(arr.status_keluar.match('OBSERVASI')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("OBSERVASI").innerHTML = OBSERVASI;
|
||||
|
||||
|
||||
const P1 = myObj.filter(arr=>{
|
||||
if(arr.triage.match('P1')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("P1").innerHTML = P1;
|
||||
|
||||
const P2 = myObj.filter(arr=>{
|
||||
if(arr.triage.match('P2')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("P2").innerHTML = P2;
|
||||
|
||||
const P3 = myObj.filter(arr=>{
|
||||
if(arr.triage.match('P3')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("P3").innerHTML = P3;
|
||||
|
||||
const P0 = myObj.filter(arr=>{
|
||||
if(arr.triage.match('P0')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("P0").innerHTML = P0;
|
||||
|
||||
const Skrining = myObj.filter(arr=>{
|
||||
if(arr.triage.match('Skrining')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("Skrining").innerHTML = Skrining;
|
||||
|
||||
const KRS = myObj.filter(arr=>{
|
||||
if(arr.status_keluar.match('KRS')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("KRS").innerHTML = KRS;
|
||||
|
||||
const MRS = myObj.filter(arr=>{
|
||||
if(arr.status_keluar.match('MRS')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("MRS").innerHTML = MRS;
|
||||
|
||||
const Meninggal = myObj.filter(arr=>{
|
||||
if(arr.status_keluar.match('Meninggal')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("Meninggal").innerHTML = Meninggal;
|
||||
|
||||
const PAPS = myObj.filter(arr=>{
|
||||
if(arr.status_keluar.match('PAPS')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("PAPS").innerHTML = PAPS;
|
||||
|
||||
// Melarikan Diri
|
||||
const lari = myObj.filter(arr=>{
|
||||
if(arr.status_keluar.match('Melarikan Diri')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("lari").innerHTML = lari;
|
||||
|
||||
|
||||
|
||||
|
||||
const OB = myObj.filter(arr=>{
|
||||
if(arr.status_keluar.match('OK')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("OB").innerHTML = OB;
|
||||
|
||||
|
||||
|
||||
const OK = myObj.filter(arr=>{
|
||||
if(arr.status_keluar.match('OK')){
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
}).length;
|
||||
document.getElementById("OK").innerHTML = OK;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const Total = myObj.length;
|
||||
document.getElementById("Total").innerHTML =Total;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
let text = "<table class='table table-stripped table-bordered' width='100%' border='' align='center'>"+
|
||||
"<thead bgcolor='4FDA47'>"+
|
||||
"<th>No</th>" +
|
||||
"<th width='10%'>Tanggal</th>"+
|
||||
"<th>Nama</th>"+
|
||||
"<th width='10%'>Triase</th>"+
|
||||
"<th>SMF</th>"+
|
||||
"<th>Keluar</th>"+
|
||||
"<th>PPA</th>"+
|
||||
"<th>Keterangan</th></thead>";
|
||||
for (let x=0; x<myObj.length;x++) {
|
||||
|
||||
let num = x+1;
|
||||
let tanggal_masuk =new Date(myObj[x].tanggal);
|
||||
let tanggal_keluar =new Date(myObj[x].jam_keluar);
|
||||
let diffTime;
|
||||
|
||||
|
||||
diffTime = Math.abs(new Date().valueOf() - tanggal_masuk.valueOf());
|
||||
let days = diffTime / (24*60*60*1000);
|
||||
let hours = (days % 1) * 24;
|
||||
let minutes = (hours % 1) * 60;
|
||||
let secs = (minutes % 1) * 60;
|
||||
[days, hours, minutes, secs] = [Math.floor(days), Math.floor(hours), Math.floor(minutes), Math.floor(secs)]
|
||||
|
||||
var hour= days+' hari- '+ hours+' jam- '+ minutes+' menit';
|
||||
let jam;
|
||||
let jam_keluar;
|
||||
let keterangan;
|
||||
if(myObj[x].waiting == null){
|
||||
jam=hour;
|
||||
jam_keluar="-";
|
||||
keterangan="-";
|
||||
} else{
|
||||
jam= myObj[x].waiting;
|
||||
jam_keluar= myObj[x].jam_keluar;
|
||||
keterangan= myObj[x].keterangan;
|
||||
}
|
||||
text += "<tr style='font-size: 12px;'>"+
|
||||
"<td align='center'>" + num + "</td>"+
|
||||
"<td width='10%' >" + myObj[x].tanggal + "</td>"+
|
||||
"<td>" + myObj[x].nama + "<br> Register : "+ myObj[x].register +"</td>"+
|
||||
"<td>" + myObj[x].triage +"/ Bed : "+myObj[x].nik + "<br> No Triase : "+myObj[x].file_text +"</td>"+
|
||||
"<td>" + myObj[x].smf + "</td>"+
|
||||
"<td>" + myObj[x].status_keluar + "</td>"+
|
||||
"<td> Nama Perawat PPA : <br>" + myObj[x].perawat_ppa +"</td>"+
|
||||
"<td> Jam Keluar : "+jam_keluar+"<br> Lama Tinggal : ( "+ jam+" ) <br> Keterangan Keluar : "+keterangan +"</td></tr>";
|
||||
}
|
||||
|
||||
text += "</table>"
|
||||
|
||||
document.getElementById("tableView").innerHTML = text;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var awal= document.getElementById('awal').value;
|
||||
var akhir= document.getElementById('akhir').value;
|
||||
var room= document.getElementById('pasienruang').value;
|
||||
var kriteria= document.getElementById('kriteria').value;
|
||||
var ruang;
|
||||
|
||||
if(room=="Triase"){
|
||||
ruang ="Reguler"
|
||||
}else{
|
||||
ruang= document.getElementById('pasienruang').value;
|
||||
}
|
||||
document.getElementById('ruang').innerHTML= room;
|
||||
const d= new Date(awal);
|
||||
const e= new Date(akhir);
|
||||
let a= d.toLocaleString();
|
||||
var b= e.toLocaleString();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
document.getElementById('tanggal').innerHTML= "(filter "+kriteria+") Tanggal : "+ a +" Sampai dengan : "+ b;
|
||||
document.getElementById('PrintTable').hidden=false
|
||||
|
||||
xmlhttp.open("POST", "json_demo_db_post.php");
|
||||
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
|
||||
xmlhttp.send("awal="+ awal+ "&akhir="+akhir +"&ruang=" +ruang +"&kriteria="+ kriteria);
|
||||
|
||||
}
|
||||
function pxroom(){
|
||||
if (document.forms[1].pasienruang.value == 'Triase'){
|
||||
|
||||
document.forms[2].kriteria.value ='date_in';
|
||||
}else{
|
||||
document.forms[2].kriteria.value ='all';
|
||||
}
|
||||
return;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
<!-- ############################## -->
|
||||
</body>
|
||||
<!-- <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script> -->
|
||||
<script src="js/popper.min.js"></script>
|
||||
<script src="js/bootstrap.bundle.min.js"></script>
|
||||
<script src="js/bootstrap.bundle.js"></script>
|
||||
<script src="js/jquery.dataTables.min.js"></script>
|
||||
<script src="js/templatescript.js"></script>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
@@ -0,0 +1,11 @@
|
||||
</div>
|
||||
<!-- ############################## -->
|
||||
</body>
|
||||
<!-- <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script> -->
|
||||
<script src="js/popper.min.js"></script>
|
||||
<script src="js/bootstrap.bundle.min.js"></script>
|
||||
<script src="js/bootstrap.bundle.js"></script>
|
||||
<script src="js/jquery.dataTables.min.js"></script>
|
||||
<script src="js/templatescript.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
if ($open->connect_error) {
|
||||
exit('Could not connect');
|
||||
}
|
||||
|
||||
$sql = "SELECT nama,umur,register,alamat,jenis_kelamin FROM datapasien WHERE register like ?";
|
||||
|
||||
$stmt = $open->prepare($sql);
|
||||
$stmt->bind_param('s', $_GET['q']);
|
||||
$stmt->execute();
|
||||
$stmt->store_result();
|
||||
$stmt->bind_result($nama, $umur, $register, $alamat, $jenis_kelamin);
|
||||
$stmt->fetch();
|
||||
$stmt->close();
|
||||
|
||||
echo "<div>";
|
||||
echo "Nama:<p id='txt_nama'>" . $nama . "</p>";
|
||||
echo "Umur:<p id='txt_umur'>" . $umur . "</p>";
|
||||
echo "Register:<p id='txt_register'>" . $register . "</p>";
|
||||
echo "Alamat:<p id='txt_alamat'>" . $alamat . "</p>";
|
||||
echo "Jenis Kelamin:<p id='txt_jenis_kelamin'>" . $jenis_kelamin . "</p>";
|
||||
echo "<input type='button' value='Ok' onclick='cilukbaa()'class='btn btn-sm btn-info'> ";
|
||||
echo "</div>";
|
||||
@@ -0,0 +1,97 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
date_default_timezone_set('Asia/Jakarta'); //Menyesuaikan waktu dengan tempat kita tinggal
|
||||
ob_start();
|
||||
session_start();
|
||||
include "model/koneksi.php";
|
||||
if (($_SESSION['hak_akses']) == false) {
|
||||
header('location:' . $uri . '/perawat/model/logout.php');
|
||||
}
|
||||
$hak_akses = $_SESSION['hak_akses'];
|
||||
$nama_login = $_SESSION['nama'];
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<head>
|
||||
<!-- mobile responsive meta -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
|
||||
|
||||
<title id="TitlePage">IGD <?=strtoupper($nama_login); ?>|<?= date('d-m-Y H:i'); ?></title>
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
|
||||
<link rel="stylesheet" type="text/css" href="css/jquery.dataTables.min.css">
|
||||
|
||||
<!-- Bootstrap javascript -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<script src="js/popper.min.js"></script>
|
||||
<!-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"> </script> -->
|
||||
<script src="js/jquery.min.js"> </script>
|
||||
<script src="js/jquery.mask.min.js"></script>
|
||||
<script src="js/rencanascript.js"></script>
|
||||
<script type="text/javascript" src="js/autoLogoff.js"></script>
|
||||
</head>
|
||||
<style>
|
||||
div.scroll-auto {
|
||||
background-color: whitesmoke;
|
||||
width: auto;
|
||||
height: 400px;
|
||||
overflow: auto;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-wrapper" id="page_wrap">
|
||||
<div class="h6 mb-0 text-gray-500 alert alert-info" id="timemarquee" style="background: rgb(124,223,231);background: linear-gradient(0deg, rgba(124,223,231,1) 4%, rgba(223,249,255,1) 100%);">
|
||||
<marquee behavior="scroll" direction="left" width="100%" scrollamount="5" id="fulltime">
|
||||
</marquee>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
time_load();
|
||||
timer_loader();
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<nav class="navbar navbar-expand-lg" style="background: rgb(193,226,255);
|
||||
background: linear-gradient(74deg, rgba(193,226,255,1) 0%, rgba(255,194,238,0.8972631288843662) 75%);" id="page-nav">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">
|
||||
<div class="h5 mb-2 text-gray-500 alert alert-info" id="ruangan">WorkSheet Perawat UGD <?php echo $_SESSION['nama'] ?></div>
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0 h5 mb-2 text-gray-800">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active h6 mb-2 text-gray-800" aria-current="page" href="index.php?link=<?= strtolower($_SESSION['hak_akses']); ?>" title="Home">Home</a>
|
||||
</li>
|
||||
<li class="nav-item" id="excell" hidden>
|
||||
<a class="nav-link h6 mb-2 text-gray-800" aria-current="page" href="viewdata2.php" title="cetak laporan sisa pasien observasi">Report</a>
|
||||
</li>
|
||||
<li class="nav-item" id="dashboard_ok" hidden>
|
||||
<a class="nav-link h6 mb-2 text-gray-800" href="index.php?link=ok">Dashboard OK</a>
|
||||
</li>
|
||||
</ul>
|
||||
<form class="d-flex" id="tampil" action="search.php" method="GET" enctype="multipart/form-data">
|
||||
<input class="form-control me-2" type="search" id="isearch" name="isearch" placeholder="cari pasien" aria-label="Search">
|
||||
<button class="btn btn-outline-success" onclick="loadDoc()" type="submit" name="submit" id="isearchbtn">Cari</button>
|
||||
</form>
|
||||
<a class="nav-link h6 mb-2 text-gray-800" href="model/logout.php" id="logout" title="user keluar">logout <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor" class="bi bi-person-circle" viewBox="0 0 16 16">
|
||||
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z" />
|
||||
<path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z" />
|
||||
</svg></a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 104 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 284 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 92 KiB |
@@ -0,0 +1,45 @@
|
||||
<!--form action tindakan-->
|
||||
|
||||
<?php
|
||||
include "koneksi.php";
|
||||
//Kirimkan Variabel
|
||||
// $id_pasien = $_GET['id_pasien'];
|
||||
// $register = $_GET['register'];
|
||||
$ppa = $_GET['perawat_ppa'];
|
||||
|
||||
//input data ke table assesment dalam database
|
||||
if (empty($_GET['id_tindakan']) || empty($_GET['perawat_ppa'])) {
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
alert('Nama Perawat dan tindakan tidak boleh kosong');
|
||||
window.history.back();
|
||||
</script>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
$tindakan = $_GET['id_tindakan'];
|
||||
$input = "UPDATE tb_tindakan SET masalah = 'selesai',perawat_ppa='$ppa' WHERE id_tindakan ='$tindakan'";
|
||||
|
||||
$query_input = mysqli_query($open, $input);
|
||||
|
||||
if ($query_input) {
|
||||
|
||||
//Jika Sukses
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
|
||||
window.history.back();
|
||||
|
||||
</script>
|
||||
<?php
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//Tutup koneksi engine MySQL
|
||||
mysqli_close($open);
|
||||
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
window.history.back();
|
||||
</script>
|
||||
|
After Width: | Height: | Size: 287 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 217 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" id="Layer_1" x="0px" y="0px" viewBox="0 0 48 48" enable-background="new 0 0 48 48" xml:space="preserve">
|
||||
<path fill="#81D4FA" d="M28,7.1v2c7.3,1,13,7.3,13,14.9s-5.7,13.9-13,14.9v2c8.4-1,15-8.2,15-16.9S36.4,8.1,28,7.1z"/>
|
||||
<path fill="#546E7A" d="M14,32H7c-1.1,0-2-0.9-2-2V18c0-1.1,0.9-2,2-2h7V32z"/>
|
||||
<polygon fill="#78909C" points="26,42 14,32 14,16 26,6 "/>
|
||||
<path fill="#03A9F4" d="M28,17.3v2.1c1.8,0.8,3,2.5,3,4.6s-1.2,3.8-3,4.6v2.1c2.9-0.9,5-3.5,5-6.7S30.9,18.2,28,17.3z"/>
|
||||
<path fill="#4FC3F7" d="M28,12.2v2c4.6,0.9,8,5,8,9.8s-3.4,8.9-8,9.8v2c5.7-1,10-5.9,10-11.8S33.7,13.1,28,12.2z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 824 B |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 36 KiB |
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 108.3 108.3" style="enable-background:new 0 0 108.3 108.3;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#E6E6E6;}
|
||||
.st1{fill:#FFB8B8;}
|
||||
.st2{fill:#575A89;}
|
||||
.st3{fill:#2F2E41;}
|
||||
</style>
|
||||
<g id="Group_45" transform="translate(-191 -152.079)">
|
||||
<g id="Group_30" transform="translate(282.246 224.353)">
|
||||
<path id="Path_944" class="st0" d="M17.1-18.1c0,10.5-3,20.8-8.8,29.6c-1.2,1.9-2.5,3.6-4,5.3c-3.4,4-7.3,7.4-11.6,10.3
|
||||
c-1.2,0.8-2.4,1.5-3.6,2.2c-6.5,3.6-13.7,5.8-21,6.5c-1.7,0.2-3.4,0.2-5.1,0.2c-4.7,0-9.4-0.6-14-1.8c-2.6-0.7-5.1-1.6-7.6-2.6
|
||||
c-1.3-0.5-2.5-1.1-3.7-1.8c-2.9-1.5-5.6-3.3-8.2-5.3c-1.2-0.9-2.3-1.9-3.4-2.9C-95.8,1.3-97.1-33-76.8-54.9s54.6-23.3,76.5-2.9
|
||||
C10.8-47.6,17.1-33.2,17.1-18.1L17.1-18.1z"/>
|
||||
<path id="Path_945" class="st1" d="M-50.2-13.2c0,0,4.9,13.7,1.1,21.4s6,16.4,6,16.4s25.8-13.1,22.5-19.7s-8.8-15.3-7.7-20.8
|
||||
L-50.2-13.2z"/>
|
||||
<ellipse id="Ellipse_185" class="st1" cx="-40.6" cy="-25.5" rx="17.5" ry="17.5"/>
|
||||
<path id="Path_946" class="st2" d="M-51.1,34.2c-2.6-0.7-5.1-1.6-7.6-2.6l0.5-13.3l4.9-11c1.1,0.9,2.3,1.6,3.5,2.3
|
||||
c0.3,0.2,0.6,0.3,0.9,0.5c4.6,2.2,12.2,4.2,19.5-1.3c2.7-2.1,5-4.7,6.7-7.6L-8.8,9l0.7,8.4l0.8,9.8c-1.2,0.8-2.4,1.5-3.6,2.2
|
||||
c-6.5,3.6-13.7,5.8-21,6.5c-1.7,0.2-3.4,0.2-5.1,0.2C-41.8,36.1-46.5,35.4-51.1,34.2z"/>
|
||||
<path id="Path_947" class="st2" d="M-47.7-0.9L-47.7-0.9l-0.7,7.2l-0.4,3.8l-0.5,5.6l-1.8,18.5c-2.6-0.7-5.1-1.6-7.6-2.6
|
||||
c-1.3-0.5-2.5-1.1-3.7-1.8c-2.9-1.5-5.6-3.3-8.2-5.3l-1.9-9l0.1-0.1L-47.7-0.9z"/>
|
||||
<path id="Path_948" class="st2" d="M-10.9,29.3c-6.5,3.6-13.7,5.8-21,6.5c0.4-6.7,1-13.1,1.6-18.8c0.3-2.9,0.7-5.7,1.1-8.2
|
||||
c1.2-8,2.5-13.5,3.4-14.2l6.1,4L4.9,7.3l-0.5,9.5c-3.4,4-7.3,7.4-11.6,10.3C-8.5,27.9-9.7,28.7-10.9,29.3z"/>
|
||||
<path id="Path_949" class="st2" d="M-70.5,24.6c-1.2-0.9-2.3-1.9-3.4-2.9l0.9-6.1l0.7-0.1l3.1-0.4l6.8,14.8
|
||||
C-65.2,28.3-67.9,26.6-70.5,24.6L-70.5,24.6z"/>
|
||||
<path id="Path_950" class="st2" d="M8.3,11.5c-1.2,1.9-2.5,3.6-4,5.3c-3.4,4-7.3,7.4-11.6,10.3c-1.2,0.8-2.4,1.5-3.6,2.2l-0.6-2.8
|
||||
l3.5-9.1l4.2-11.1l8.8,1.1C6.1,8.7,7.2,10.1,8.3,11.5z"/>
|
||||
<path id="Path_951" class="st3" d="M-23.9-41.4c-2.7-4.3-6.8-7.5-11.6-8.9l-3.6,2.9l1.4-3.3c-1.2-0.2-2.3-0.2-3.5-0.2l-3.2,4.1
|
||||
l1.3-4c-5.6,0.7-10.7,3.7-14,8.3c-4.1,5.9-4.8,14.1-0.8,20c1.1-3.4,2.4-6.6,3.5-9.9c0.9,0.1,1.7,0.1,2.6,0l1.3-3.1l0.4,3
|
||||
c4.2-0.4,10.3-1.2,14.3-1.9l-0.4-2.3l2.3,1.9c1.2-0.3,1.9-0.5,1.9-0.7c2.9,4.7,5.8,7.7,8.8,12.5C-22.1-29.8-20.2-35.3-23.9-41.4z"
|
||||
/>
|
||||
<ellipse id="Ellipse_186" class="st1" cx="-24.9" cy="-26.1" rx="1.2" ry="2.4"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |