DAFTAR ISI ABSTRAKSI ...................................................................................................... i ABSTRACT .......................................................................................................... ii KATA PENGANTAR ........................................................................................ iii DAFTAR ISI ...................................................................................................... v DAFTAR TABEL .............................................................................................. viii DAFTAR GAMBAR ......................................................................................... xii BAB I PENDAHULUAN 1.1 LatarBelakang............................................................................................ I-1 1.2 RumusanMasalah ...................................................................................... I-2 1.3 MaksuddanTujuan ..................................................................................... I-2 1.4 BatasanMasalah ......................................................................................... I-3 1.5 MetodologiPenelitian ................................................................................ I-3 1.6 SistematikaPenulisan ................................................................................. I-4 BAB II LANDASAN TEORI 2.1 ArtificialInteligence ................................................................................... II-1 2.1.1 Definisi ............................................................................................. II-1 2.1.2 Paham Pemikiran .............................................................................. II-2 2.2 Expert System ............................................................................................ II-3 2.3 Klasifikasi Sistem Pakar ............................................................................ II-6 2.4 Manfaat, Keterbatasan dan Alasan Pengembangan Sistem Pakar ............. II-7 2.4.1 Manfaat Sistem Pakar ...................................................................... II-7 2.4.2 Keterbatasan Sistem Pakar ............................................................... II-8 2.4.3 Alasan Pengembangan Sistem Pakar ............................................... II-8 2.5 Struktur Sistem Pakar ................................................................................. II-8 2.5.1Antarmuka Pengguna ........................................................................ II-9 v 2.5.2Akuisisi Pengetahuan ........................................................................ II-9 2.5.3Basis Pengetahuan ............................................................................. II-10 2.5.4Mesin Inferensi .................................................................................. II-10 2.6 Teori Dempster-Shafer............................................................................... II-11 2.7 Representasi Pengetahuan ......................................................................... II-14 2.8 Penyakit Anak ........................................................................................... II-15 2.9Rekayasa Perangkat Lunak ............................................................................ II-16 2.9.1Sistem/Information Engineering ....................................................... II-17 2.9.2Analisa ............................................................................................... II-18 2.9.3Perancangan .......................................................................................II-18 2.9.4 Pengkodean ......................................................................................II-18 2.9.5Pengujian ...........................................................................................II-18 2.10Alat Bantu Pemodelan Sistem .....................................................................II-18 2.10.1Diagram Konteks Data ....................................................................II-19 2.10.2 Diagram Alir Data .......................................................................... II-19 2.10.3 Spesifikasi Proses ........................................................................... II-20 2.10.4 Kamus Data .................................................................................... II-20 2.11 Pemrograman Microsoft Visual Studio 2008 ............................................. II-20 BAB III ANALISIS PERMASALAHAN 3.1 Identifikasi Masalah .................................................................................. III-1 3.2 Hasil Analisis .............................................................................................. III-1 3.3Nama Penyakit ............................................................................................... III-1 3.4 Hasil Analisis Gejala-Gejala Penyakit ...................................................... III-6 3.5 Basis Aturan Berdasarkan Gejala .............................................................. III-23 3.6 Mesin Inferensi .......................................................................................... III-43 3.6.1 Strategi Pencarian Pada Mesin Inferensi.......................................... III-43 3.6.2 Strategi Mesin Inferensi ................................................................... III-43 3.6.3 Depth-First Search ........................................................................... III-45 3.6.4 Data Context Diagram ..................................................................... III-47 vi 3.6.5 Data Flow Diagram ......................................................................... III-48 3.6.6 Penjelasan DFD................................................................................ III-50 3.6.7 Kamus Data ...................................................................................... III-52 3.6.8 PSPEC (Process Specification) ........................................................ III-53 BAB IV PERANCANGAN APLIKASI 4.1 DeskripsiSistem ......................................................................................... IV-1 4.2 PenggunaAplikasi ...................................................................................... IV-2 4.3 Perancangan Data ERD (Entity Relationship Diagram) ............................ IV-2 4.4 PerancanganAntarmuka ............................................................................. IV-8 BAB VIMPLEMENTASI APLIKASI DAN PENGUJIAN 5.1 5.2 LingkunganImplementasi .......................................................................... V-1 5.1.1 LingkunganPerangkatKeras (Hardware) ..................................... V-1 5.1.2 LingkunganPerangkatLunak (Software) ....................................... V-1 StrukturMenu ............................................................................................. V-2 5.2.1PenjelasanStrukturMenu .................................................................... V-3 5.3Tampilan Antarmuka ..................................................................................... V-4 5.4 Pengujian Program .................................................................................... V-19 BAB VI KESIMPULAN DAN SARAN 6.1 Kesimpulan ................................................................................................ VI-1 6.2 Saran ......................................................................................................... VI-1 DAFTAR PUSTAKA DAFTAR REFERENSI LAMPIRAN vii DAFTAR TABEL Tabel 2.1Perbandingan Seorang Pakar dengan Sistem Pakar ........................ II-5 Tabel 2.2Aturan Kombinasi Untuk m3 contoh 2.1 ......................................... II-13 Tabel 2.3Aturan Kombinasi Untuk m5 contoh 2.1 ......................................... II-14 Tabel 2.4Simbol Diagram Konteks Data (DCD) ........................................... II-19 Tabel 2.5Simbol Diagram Aliran Data (DFD)............................................... II-19 Tabel 3.1Penyakit Asma ................................................................................ III-6 Tabel 3.2Penyakit Alergi ............................................................................... III-8 Tabel 3.3Penyakit Alergi Makanan................................................................ III-10 Tabel 3.4Penyakit Salesma ............................................................................ III-11 Tabel 3.5Penyakit Flu .................................................................................... III-13 Tabel 3.6Penyakit Demam ............................................................................. III-14 Tabel 3.7Penyakit Cacar Air .......................................................................... III-16 Tabel 3.8Penyakit Eksim ............................................................................... III-17 Tabel 3.9Penyakit Impetigo ........................................................................... III-18 Tabel 3.10Penyakit Ruam Popok ................................................................... III-19 Tabel 3.11Penyakit Herpes Mulut ................................................................. III-20 Tabel 3.12Penyakit Dehidrasi ........................................................................ III-21 Tabel 3.13Tabel Kombinasi untuk m3Penyakit Asma ................................... III-24 Tabel 3.14Tabel Kombinasi untuk m5Penyakit Asma ................................... III-25 Tabel 3.15Tabel Kombinasi untuk m7 Penyakit Asma .................................. III-25 Tabel 3.16Tabel Kombinasi untuk m3Penyakit Alergi .................................. III-27 Tabel 3.17Tabel Kombinasi untuk m5 Penyakit Alergi.................................. III-27 Tabel 3.18Tabel Kombinasi untuk m7 Penyakit Alergi.................................. III-28 Tabel 3.19Tabel Kombinasi untuk m3Penyakit Alergi Makanan .................. III-29 Tabel 3.20Tabel Kombinasi untuk m5 Penyakit Alergi Makanan .................. III-29 Tabel 3.21Tabel Kombinasi untuk m3Penyakit Salesma ............................... III-30 viii Tabel 3.22Tabel Kombinasi untuk m5 Penyakit Salesma .............................. III-31 Tabel 3.23Tabel Kombinasi untuk m7 Penyakit Salesma .............................. III-31 Tabel 3.24Tabel Kombinasi untuk m3Penyakit Flu ....................................... III-32 Tabel 3.25Tabel Kombinasi untuk m5 Penyakit Flu ...................................... III-33 Tabel 3.26Tabel Kombinasi untuk m3 Penyakit Demam ............................... III-34 Tabel 3.27Tabel Kombinasi untuk m3Penyakit Cacar Air ............................. III-35 Tabel 3.28Tabel Kombinasi untuk m5 Penyakit Cacar Air ............................ III-35 Tabel 3.29Tabel Kombinasi untuk m3Penyakit Eksim .................................. III-36 Tabel 3.30Tabel Kombinasi untuk m5 Penyakit Eksim.................................. III-37 Tabel 3.31Tabel Kombinasi untuk m3 Penyakit Impetigo.............................. III-38 Tabel 3.32Tabel Kombinasi untuk m5 Penyakit Impetigo.............................. III-38 Tabel 3.33Tabel Kombinasi untuk m3 Penyakit Ruam Popok ....................... III-39 Tabel 3.34Tabel Kombinasi untuk m5 Penyakit Ruam Popok ....................... III-40 Tabel 3.35Tabel Kombinasi untuk m3 Penyakit Herpes Mulut ...................... III-41 Tabel 3.36Tabel Kombinasi untuk m5 Penyakit Herpes Mulut ...................... III-41 Tabel 3.37Tabel Kombinasi untuk m3 Penyakit Dehidrasi ............................ III-42 Tabel 3.38Tabel Kombinasi untuk m5 Penyakit Dehidrasi ............................ III-43 Tabel 3.39Kamus Data ................................................................................... III-52 Tabel 3.40PSPEC Proses 1.0 ......................................................................... III-54 Tabel 3.41PSPEC Proses 2.0 ......................................................................... III-56 Tabel 3.42PSPEC Proses 3.1 ......................................................................... III-57 Tabel 3.43PSPEC Proses 3.2 ......................................................................... III-57 Tabel 3.44PSPEC Proses 3.3 ......................................................................... III-58 Tabel 3.45PSPEC Proses 3.4 ......................................................................... III-58 Tabel 3.46PSPEC Proses 4.1 ......................................................................... III-58 Tabel 3.47PSPEC Proses 4.2 ......................................................................... III-59 Tabel 3.48PSPEC Proses 4.3 ......................................................................... III-59 Tabel 3.49PSPEC Proses 4.4 ......................................................................... III-60 Tabel 3.50PSPEC Proses 5.0 ......................................................................... III-60 ix Tabel 3.51PSPEC Proses 6.0 ......................................................................... III-61 Tabel 3.52PSPEC Proses 7.1 ......................................................................... III-61 Tabel 3.53PSPEC Proses 7.2 ......................................................................... III-61 Tabel 3.54PSPEC Proses 7.3 ......................................................................... III-62 Tabel 3.55PSPEC Proses 7.4 ......................................................................... III-62 Tabel 3.56PSPEC Proses 7.5 ......................................................................... III-62 Tabel 3.57PSPEC Proses 7.6 ......................................................................... III-63 Tabel 3.58PSPEC Proses 7.7 ......................................................................... III-63 Tabel 3.59PSPEC Proses 8.1 ......................................................................... III-63 Tabel 3.60PSPEC Proses 8.2 ......................................................................... III-64 Tabel 3.61PSPEC Proses 8.3 ......................................................................... III-65 Tabel 3.62PSPEC Proses 8.4 ......................................................................... III-65 Tabel 3.63PSPEC Proses 8.5 ......................................................................... III-66 Tabel 3.64PSPEC Proses 8.6 ......................................................................... III-67 Tabel 3.65PSPEC Proses 8.7 ......................................................................... III-67 Tabel 4.1Tabel Hitungan ................................................................................ IV-5 Tabel 4.2Tabel Detail Diagnosa..................................................................... IV-5 Tabel 4.3 Tabel Detail Konsultasi .................................................................. IV-5 Tabel 4.4 Tabel Detail Penyakit ..................................................................... IV-5 Tabel 4.5 Tabel Diagnosa .............................................................................. IV-6 Tabel 4.6 Tabel Dokter .................................................................................. IV-6 Tabel 4.7 Tabel Gejala ................................................................................... IV-6 Tabel 4.8 Tabel Irisan .................................................................................... IV-6 Tabel 4.9 Tabel Kombinasi ............................................................................ IV-7 Tabel 4.10 Tabel Konsultasi .......................................................................... IV-7 Tabel 4.11 Tabel Pasien ................................................................................. IV-7 Tabel 4.12Tabel Penyakit .............................................................................. IV-7 Tabel 4.13 Tabel User .................................................................................... IV-8 Tabel 5.1 Penjelasan Struktur Menu .............................................................. V-3 x Tabel 5.2 Pengujian Program ......................................................................... V-19 xi DAFTAR GAMBAR Gambar 2.1 Struktur Sistem Pakar ................................................................. II-9 Gambar 2.2Pengembangan Sistem Literate Waterfall Model ....................... II-17 Gambar 3.1Flowchart Mesin Inferensi .......................................................... III-45 Gambar 3.2Alur Depth-First Seacrh.............................................................. III-46 Gambar 3.3DCD (Data Context Diagram) .................................................... III-47 Gambar 3.4DFD (Data Flow Diagram) ........................................................ III-48 Gambar 3.6DFD Level 2 Proses 3 ................................................................. III-49 Gambar 3.7DFD Level 2 Proses 4 ................................................................. III-49 Gambar 3.8DFD Level 2 Proses 7 ................................................................. III-50 Gambar 3.9DFD Level 2 Proses 8 ................................................................. III-50 Gambar 4.1 ERD Aplikasi Diagnosa Penyakit Anak..................................... IV-3 Gambar 4.2 Perancangan Form Login ........................................................... IV-8 Gambar 4.3 Perancangan Form Menu Utama................................................ IV-9 Gambar 4.4 Perancangan Form Pendaftaran Konsultasi ............................... IV-9 Gambar 4.5 Perancangan Form Pendaftaran Pasien ...................................... IV-10 Gambar 4.6 Perancangan Form Pilih Data Pasien ......................................... IV-10 Gambar 4.7 Perancangan Form Diagnosa Lanjutan - Pasien ........................ IV-11 Gambar 4.8 Perancangan Form Diagnosa ..................................................... IV-12 Gambar 4.9 Perancangan Form Pilih Data Dokter ........................................ IV-12 Gambar 4.10 Perancangan Form Pilih Data Gejala ....................................... IV-13 Gambar 4.11 Perancangan Form Proses Diagnosa Konsultasi ...................... IV-13 Gambar 4.12 Perancangan Form Hasil Diagnosa Penyakit ........................... IV-14 Gambar 4.13 Perancangan Form Chart .......................................................... IV-14 Gambar 4.14 Perancangan Form Diagnosa Gejala Lanjutan - Pasien ........... IV-15 Gambar 4.15 Perancangan Form Basis Pengetahuan Penyakit ..................... IV-15 Gambar 4.16 Perancangan Laporan Diagnosa ............................................... IV-16 xii Gambar 4.17 Perancangan Form Pilih Data Diagnosa .................................. IV-16 Gambar 4.18 Perancangan Laporan Dokter Keseluruhan .............................. IV-17 Gambar 4.19Perancangan Laporan Gejala Keseluruhan ............................... IV-17 Gambar 4.20 Perancangan Laporan Hasil Konsultasi Diagnosa Penyakit .... IV-18 Gambar 4.21 Perancangan Laporan Konsultasi ............................................. IV-18 Gambar 4.22 Perancangan Laporan Pasien .................................................... IV-19 Gambar 4.23 Perancangan Laporan Basis Pengetahuan Penyakit ................. IV-19 Gambar 4.24 Perancangan Form Pengelolaan Diagnosa ............................... IV-20 Gambar 4.25 Perancangan Form Pengelolaan Konsultasi ............................. IV-20 Gambar 4.26 Perancangan Form Pengelolaan Dokter ................................... IV-21 Gambar 4.27 Perancangan Form Pengelolaan Gejala.................................... IV-22 Gambar 4.28 Perancangan Form Pengelolaan Pasien.................................... IV-22 Gambar 4.29 Perancangan Form Pengelolaan Penyakit ................................ IV-22 Gambar 4.30 Perancangan Form Pengelolaan User ...................................... IV-23 Gambar 4.31 Perancangan Laporan Frekuensi Gejala ................................... IV-24 Gambar 4.32 Perancangan Laporan Frekuensi Penyakit ............................... IV-24 Gambar 5.1 Struktur Menu Aplikasi Diagnosis Penyakit Anak dan Penanganannya dengan Metode Dempster-Shafer......................................... V-2 Gambar 5.2 Form Login ................................................................................. V-5 Gambar 5.3 Menu Utama Administrator ....................................................... V-5 Gambar 5.4 Tampilan Pendaftaran Konsultasi .............................................. V-6 Gambar 5.5 Tampilan Pilih Data Pasien ........................................................ V-6 Gambar 5.6 Tampilan Pilih Data Dokter ....................................................... V-7 Gambar 5.7 Tampilan Pilih Data Gejala ........................................................ V-7 Gambar 5.8 Tampilan Diagnosa .................................................................... V-8 Gambar 5.9 Tampilan Proses Diagnosa Konsultasi ....................................... V-8 Gambar 5.10 Tampilan Hasil Anjuran ........................................................... V-8 Gambar 5.11 Tampilan Hasil Diagnosa Penyakit .......................................... V-9 Gambar 5.12 Tampilan Chart Presentase Hasil Diagnosa ............................. V-10 xiii Gambar 5.13 Tampilan Diagnosa Lanjutan - Pasien ..................................... V-10 Gambar 5.14 Tampilan Diagnosa Gejala Lanjutan - Pasien .......................... V-11 Gambar 5.15 Tampilan Cetak Laporan Diagnosa .......................................... V-11 Gambar 5.16 Tampilan Cetak Laporan Penyakit ........................................... V-12 Gambar 5.17 Tampilan Cetak Laporan Konsultasi ........................................ V-12 Gambar 5.18 Tampilan Cetak Laporan Pasien .............................................. V-13 Gambar 5.19 Tampilan Cetak Laporan Gejala .............................................. V-13 Gambar 5.20 Tampilan Cetak Laporan Dokter .............................................. V-14 Gambar 5.21 Tampilan Cetak Laporan Hasil Konsultasi .............................. V-14 Gambar 5.22 Tampilan Pengelolaan Konsultasi ............................................ V-15 Gambar 5.23 Tampilan Pengelolaan Dokter .................................................. V-15 Gambar 5.24 Tampilan Pengelolaan Diagnosa .............................................. V-16 Gambar 5.25 Tampilan Pengelolaan Penyakit ............................................... V-16 Gambar 5.26 Tampilan Pengelolaan Gejala................................................... V-17 Gambar 5.27 Tampilan Pengelolaan Pasien................................................... V-17 Gambar 5.28 Tampilan Pengelolaan User ..................................................... V-17 Gambar 5.29 Tampilan Laporan Frekuensi Gejala ........................................ V-18 Gambar 5.30 Tampilan Laporan Frekuensi Penyakit .................................... V-18 xiv DAFTAR LAMPIRAN Lampiran A : Kartu Bimbingan Lampiran B : Daftar Riwayat Hidup xv