87
DAFTAR PUSTAKA
Ajip, Gilang. 2013. Pengertian PHP. http://www.gilangajip.com/pengertian-php/.
Diakses pada tanggal 12 Juli 2018.
Andika, Dwiky. 2016. Pengertian Flowchart. http://www.it-jurnal.com/. Diakses
pada tanggal 1 juli 2018.
Arlina.
2017.
Pengertian
White
Box
Testing.
http://www.sistem-informasi.xyz/2017/01/pengertian-black-box-testing.html.
Diakses
pada
tanggal 13 Juli 2018.
Arlina.
2017.
Pengertian
Black
Box
Testing.
http://www.sistem-informasi.xyz/2017/01/pengertian-black-box-testing.html.
Diakses
pada
tanggal 13 Juli 2018.
Berlianty, TD. 2015.
BAB II LANDASAN TEORI. Tesis. Hal.II-1. Bandung :
Universitas Widyatama.
BOC Indonesia. 2007. Pengertian Website, Web Hosting dan Domain Name.
https://www.boc.web.id/pengertian-website-webhosting-domainname/.
Diakses pada tanggal 12 Juli 2018.
Dwi, Hendraswati. Enggar. 2016. Balsamiq Mockup. http://enggar.net. Diakses
pada tanggal 29 Mei 2018.
Edy Winarno, S.T., M.Eng., Ali Zaki, dan SmitDev Community. (2014). 3 in 1 :
Javascript, jQuery, dan jQuery Mobile. Semarang : Penerbit PT Elex Media
Komputindo.
Fernandes, Endar. 2017. Pengertian ERD (Entity Relationship Diagram) menurut
para ahli. http://www.dosenonline.com. Diakses tgl 20 juli 2018.
Kadir, Abdul. 2009. Membuat Aplikasi Web dengan PHP + Database MySQL.
Andi. Yogyakarta
.Mardliyah, Indah. 2012. Sistem Informasi Manajement Persewaan Mobil Pada
Rental Mobil Indika secara Online. Skripsi
Maya, Mandala. 2013. Pengertian Database. http://www.mandalamaya.com
/pengertian-database. Diakses pada tanggal 12 Juli 2018
.Muslihudin, Muhamad dan Oktafianto. 2016. Analisa dan Perancangan Sistem
Informasi Menggunakan Model Terstruktur dan UML. Yogyakarta : ANDI.
88
Riyanto,
2010.
XAMPP.
Yogjakarta:
Gava
Media.
Available
at:
http://elib.unikom.ac.id/files/disk1/645/jbptunikompp-gdl-ilhamyusti
32245-11-unikom_i-v.pdf
Sedoya Renra. 2015. Apa Itu Bootstrap?.
http://www.kursuswebsite.org/apa-itu-bootstrap/. Diakses pada tanggal 12 Juli 2018.
Sedyaningsih,
Endang.
Rahayu.
2011.
Klinik.
https://luk.staff.ugm.ac.id/atur/Permenkes28-2011.pdf. Diakses pada tanggal
11 Juli 2018.
Tarmizi,
Hasan.
2017.
Pengertian
Sublime
Text.
http://hasantarmizi.web.com/04/pengertian-sublime-text.html.
Diakses
tanggal 10 Juli 2018.
89
LAMPIRAN
Lampiran 1 kode program – Report Rekam Medis
?phpinclude_once dirname(__FILE__).DIRECTORY_SEPARATOR.'Table.php'; $table = new Table('rekam_medis');
$pasien = new Table('pasien'); $users = $table->findAll(); $pasien = $pasien->findAll(); ?>
<html> <head>
<style type="text/css" media="print">
table {border: solid 1px #000; border-collapse: collapse; width: 100%}
tr { border: solid 1px #000; page-break-inside: avoid;} td { padding: 7px 5px; font-size: 10px} th { font-family:Arial; color:black; font-size: 11px; background-color: #999; } thead { display:table-header-group; } tbody { display:table-row-group; } h3 { margin-bottom: -17px } h2 { margin-bottom: 0px } </style>
<style type="text/css" media="screen">
table {border: solid 1px #000; border-collapse: collapse; width: 100%}
tr { border: solid 1px #000} th {
font-family: "Times New Roman", Times, serif; color: black; font-size: 11px; background-color: #999; padding: 8px 0; } td { padding: 7px 5px;font-size: 20px} h3 { margin-bottom: -17px } h2 { margin-bottom: 0px } </style>
<title>Report Rekam Medis</title> </head>
<body onLoad="window.print()"> <center>
<div align="center"> <center>
<b style="font-size: 20px">Aplikasi E-Klinik Dokter Istanti</b></div>
<div align="left"><strong>Laporan Rekam Medis</strong></div><br>
</center>
<table border="1" cellspacing="0" cellpadding="0"> <thead>
<tr>
<td>Nomor Rekam Medis</td> <td>Nomor Pasien</td> <td>Nama Pasien</td> <td>Diagnosa</td> <td>Tanggal Pemeriksaan</td> </tr> </thead> <tbody> <?php $no = 1; foreach($users as $user){?> <tr>
<td align="center"><?php echo $user->no_rm;?></td> <td align="center"><?php echo $user->no_pasien;?></td> <?php foreach($pasien as $pa){?> <?php if($pa->no_pasien==$user->no_pasien){?> <?php } ?> <?php } ?> <td align="center"><?php echo $user->nm_pasien;?></td> <?php foreach($pasien as $pa){?> <?php if($pa->nm_pasien==$user->nm_pasien){?> <?php } ?> <?php } ?> <td><?php echo $user->diagnosa;?></td>
<td align="center"><?php echo $user->tgl_pemeriksaan;?></td> </tr> <?php } ?> </tbody> </table><br><br> </body> </html>
Lampiran 2 kode program – Report Data Kunjungan
<?phpinclude_once
dirname(__FILE__).DIRECTORY_SEPARATOR.'Table.php'; $table = new Table('kunjungan');
$pasien = new Table('pasien'); $users = $table->findAll(); $pasien = $pasien->findAll(); ?>
<html> <head>
<style type="text/css" media="print">
table {border: solid 1px #000; border-collapse: collapse; width: 100%}
tr { border: solid 1px #000; page-break-inside: avoid;} td { padding: 7px 5px; font-size: 10px} th { font-family:Arial; color:black; font-size: 11px; background-color: #999; } thead { display:table-header-group; } tbody { display:table-row-group; } h3 { margin-bottom: -17px } h2 { margin-bottom: 0px } </style>
<style type="text/css" media="screen">
table {border: solid 1px #000; border-collapse: collapse; width: 100%}
tr { border: solid 1px #000} th {
font-family: "Times New Roman", Times, serif; color: black; font-size: 11px; background-color: #999; padding: 8px 0; } td { padding: 7px 5px;font-size: 20px} h3 { margin-bottom: -17px } h2 { margin-bottom: 0px } </style> <title>Report Kunjungan</title> </head> <body onLoad="window.print()"> <center> <div align="center"> <center>
<b style="font-size: 20px">Aplikasi E-Klinik Dokter Istanti</b></div>
<hr align="center" size="3" noshade="noshade"> <div align="left"><strong>Laporan
Kunjungan</strong></div><br> </center>
<table border="1" cellspacing="0" cellpadding="0"> <thead> <tr> <td>Nomor Pasien</td> <td>Tanggal Kunjungan</td> <td>Nama Pasien</td> <td>Nama Poliklinik</td> </tr> </thead> <tbody> <?php $no = 1; foreach($users as $user){?> <tr> <td align="center"><?php echo $user->no_pasien;?></td> <td align="center"><?php echo $user->tgl_kunjungan;?></td> <?php foreach($pasien as $pa){?> <?php if($pa->no_pasien==$user->no_pasien){?> <td><?php echo $pa->nm_pasien;?></td> <?php } ?> <?php } ?> <td><?php echo $user->kd_poli;?></td> </tr> <?php } ?> </table><br><br> </body> </html>
Lampiran 3 kode program – Report Data Pasien
<?phpinclude_once
dirname(__FILE__).DIRECTORY_SEPARATOR.'Table.php'; $table = new Table('pasien');
$users = $table->findAll(); ?>
<html> <head>
<style type="text/css" media="print">
table {border: solid 1px #000; border-collapse: collapse; width: 100%}
tr { border: solid 1px #000; page-break-inside: avoid;} td { padding: 7px 5px; font-size: 10px} th { font-family:Arial; color:black; font-size: 11px; background-color: #999; } thead { display:table-header-group; } tbody { display:table-row-group; } h3 { margin-bottom: -17px } h2 { margin-bottom: 0px } </style>
<style type="text/css" media="screen">
table {border: solid 1px #000; border-collapse: collapse; width: 100%}
tr { border: solid 1px #000} th {
font-family: "Times New Roman", Times, serif; color: black; font-size: 11px; background-color: #999; padding: 8px 0; } td { padding: 7px 5px;font-size: 20px} h3 { margin-bottom: -17px } h2 { margin-bottom: 0px } </style> <title>Report Pasien</title> </head> <body onLoad="window.print()"> <center> <div align="center"> <center>
<b style="font-size: 20px">Aplikasi E-Klinik Dokter Istanti</b></div>
<hr align="center" size="3" noshade="noshade"> <div align="left"><strong>Laporan
</center>
<table border="1" cellspacing="0" cellpadding="0"> <thead> <tr> <td>Nomor Pasien</td> <td>Nama Pasien</td> <td>Jenis Kelamin</td> <td>Alamat</td> <td>Nomor Telephone</td> </tr> </thead> <tbody> <?php $no = 1; foreach($users as $user){?> <tr> <td align="center"><?php echo $user->no_pasien;?></td> <td align="center"><?php echo $user->nm_pasien;?></td> <td><?php echo $user->j_kel;?></td> <td align="center"><?php echo $user->alamat;?></td> <td><?php echo $user->no_tlp;?></td> </tr> <?php } ?> </tbody> </table><br><br> </body> </html>
Lampiran 4 kode program – Report Data Obat
<?phpinclude_once
dirname(__FILE__).DIRECTORY_SEPARATOR.'Table.php'; $table = new Table('obat');
$dataobat= $table->findAll(); ?>
<html> <head>
<style type="text/css" media="print">
table {border: solid 1px #000; border-collapse: collapse; width: 100%}
tr { border: solid 1px #000; page-break-inside: avoid;} td { padding: 7px 5px; font-size: 20px} th { font-family:Arial; color:black; font-size: 11px; background-color: #999; } thead { display:table-header-group; } tbody { display:table-row-group; } h3 { margin-bottom: -17px } h2 { margin-bottom: 0px } </style>
<style type="text/css" media="screen">
table {border: solid 1px #000; border-collapse: collapse; width: 100%}
tr { border: solid 1px #000} th {
font-family: "Times New Roman", Times, serif; color: black; font-size: 11px; background-color: #999; padding: 8px 0; } td { padding: 7px 5px;font-size: 20px} h3 { margin-bottom: -17px } h2 { margin-bottom: 0px } </style>
<title>Report Data Obat</title> </head>
<body onLoad="window.print()"> <center>
<div align="center"> <center>
<b style="font-size: 20px">Aplikasi E-Klinik Dokter Istanti</b></div>
<hr align="center" size="3" noshade="noshade"> <div align="left"><strong>Laporan Data
</center>
<table border="1" cellspacing="0" cellpadding="0"> <thead> <tr> <td>Kode Obat</td> <td>Nama Obat</td> <td>Jumlah Obat</td> <td>Jenis Obat</td> <td>Harga</td> </tr> </thead> <tbody> <?php $no = 1; foreach($dataobat as $obat){?> <tr> <td align="center"><?php echo $obat->kd_obat;?></td> <td align="center"><?php echo $obat->nm_obat;?></td> <td><?php echo $obat->jml_obat;?></td> <td align="center"><?php echo $obat->jenis_obat;?></td> <td><?php echo $obat->harga;?></td> </tr> <?php } ?> </tbody> </table><br><br> </body> </html>
Lampiran 5 kode program – Tambah Data Pasien
<?php require_once('../Connections/koneksi.php'); ?> <?php
if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break; case "long": case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break; case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); }
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO pasien (nm_pasien, j_kel, alamat,tgl_lhr, usia, no_tlp) VALUES (%s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['j_kel'], "text"), GetSQLValueString($_POST['alamat'], "text"), GetSQLValueString($_POST['tgl_lhr'], "date"), GetSQLValueString($_POST['usia'], "int"), GetSQLValueString($_POST['no_tlp'], "int")); mysql_select_db($database_koneksi, $koneksi); $Result1 = mysql_query($insertSQL, $koneksi) or die(mysql_error());
$insertGoTo = "datapasien.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link type="text/css" href="js/themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/ui.core.js"></script> <script type="text/javascript" src="js/ui.datepicker.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#tanggal").datepicker({ dateFormat : "yy-mm-dd", changeMonth : true, changeYear : true }); }); </script> </head> <body>
<form action="<?php echo $editFormAction; ?>"
method="post" enctype="multipart/form-data" name="form1" id="form1">
<table style='margin-top:10px;background:transparent' class="table">
<tr valign="baseline">
<td width="127" align="right" nowrap="nowrap"><div align="left">Nama Pasien </div></td>
<td width="483"><input required type="text"
name="nm_pasien" value="" size="32" class="span9" /></td> </tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"><div align="left">Jenis Kelamin </div></td>
<td><label for="j_kel"></label>
<input type='radio' name='j_kel' value='L'> L <input type='radio' name='j_kel' value='P'> P </select></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"><div align="left">Alamat </div></td>
<td><input required type="text" name="alamat" value="" size="32" class="span9" /></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"><div align="left">Tanggal Lahir </div></td>
<td><input required type="text" name="tgl_lhr" size="32" class="span9" id="tanggal" /> </td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"><div align="left">Usia </div></td>
<td><input required type="number" name="usia" value="" size="32" class="span9" /></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"><div align="left">Nomor Telephone </div></td>
<td><input required type="number" name="no_tlp" value="" size="32" class="span9" /></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"> </td> <td><input class="btn btn-success" type="submit" value="Tambahkan Data" /></td>
</tr> </table>
<label for="textfield"></label>
<input type="hidden" name="MM_insert" value="form1" /> </form>
<p> </p> </body>
Nama
: Siska Putri Utami
Nomor Induk Mahasiswa
: 1503051
Jenis Kelamin
: Perempuan
Tempat, Tanggal Lahir
: Sukoharjo, 03 Oktober 1997
Status
: Belum Menikah
Agama
: Islam
Asal Ijazah Sekolah
:
Nama Sekolah
Kota Sekolah
Tahun Ijazah
SD
SD Negeri III Punduhsari
Wonogiri
2009
SMP
MTS Negeri Manyaran
Wonogiri
2012
SMA
SMK Nasional
Indramayu
2015
Program Studi / Jurusan
: Teknik Informatika
Alamat Rumah Asal
: Jln.Jend.Sudirman No.168/A RT/RW 04/05
Kel. Karanganyar Kec.Indramayu Kab.Indramayu.
No. Telpon/HP
: 089506180205
: siskaputri0123@gmail.com
Nama Wali
: Mulyadi
Pekerjaan Wali
: Pedagang
Judul Tugas Akhir
: Rancang Bangun Aplikasi E-Klinik Dokter Istanti
Berbasis Web.
Dosen Pembimbing
: 1. Iryanto,S.Si.,M.Si