SISTEM PAKAR DIAGNOSA GANGGUAN KEPRIBADI (2)

SISTEM PAKAR DIAGNOSA GANGGUAN KEPRIBADIAN PADA SESEORANG
MENGGUNAKAN METODE FORWARD CHAINING BERBASIS WEB
Linda Dewi Pracondo Wati (101080200007 , Ade Eviyanti, S.Kom2
Jurusan Teknik Informatika Universitas Muhammadiyah Sidoarjo
[email protected]

Abstract
Everyone must have a personality disorder. And there are also some names personality disorder
among them are paranoid personality disorder, personality disorder emotionally unstable personality
disorder antisocial / disosial, personality disorder schizoid, personality disorder anakastik, personality
disorder histrionic, dependent personality disorder, narcissistic personality disorder and personality
disorder dodge .Before someone considered to have a personality disorder, then it should be evaluated
medically to filter out other problems.
Expert System is intended to help recognize the symptoms early in diagnosing personality
disorder in someone and get solutions or actions to be performed. The method used in this expert
system that is forward chaining. Forward Chaining method is a method of matching the correct facts or
statements to be made in the form of rules hypothesis testing truth.
Output in the system in the form of symptoms - symptoms of the disorder that is processed into
question. Symptoms - The symptoms have been in relasikan with personality disorders. So that the
data obtained solution to a personality disorder in a person. The system is web-based. Users can access
anytime and anywhere without any installation application. Rated accuracy in the use of this system is

90% correct.
Keyword : expert system, personality disorders, Forward chaining

1. INTRODUCTION

will be transferred into the computerized system.

Everyone must have a personality disorder. And

Testing is the stages to test the way the program is

there are also some names personality disorder

made, make corrections of errors occurred and also

among them are paranoid personality disorder,

check yanag existing deficiencies that may be

personality disorder emotionally unstable


added.

personality disorder antisocial / disosial, personality

The design method is implemented are: the creation

disorder schizoid, personality disorder anakastik,

of decision tables, decision trees maker, rule

personality disorder histrionic, dependent

pengelolahan data and database design.

personality disorder, narcissistic personality
disorder and personality disorder dodge .Before

Table 1 Type of psychology personality disorders


someone considered to have a personality disorder,
then it should be evaluated medically to filter out
other problems.

Jenis Gangguan Kepribadian
Kode
Gangguan

Gangguan Kepribadian

2 METHODOLOGY
The research method is to collect data first. The

P001

required data consist of primary data and secondary

designed. Secondary data is data obtained directly

Gangguan Kepribadian

P002

P003

that had to do with the object of research and

P004

methods: identification, conceptualization.

P005

Dig and search for all information related to the

P006

designing a knowledge base, inference engine and

Histrionik
(Histrionic Personality

Disorder)

interface design. Plan several capabilities to be

Gangguan Kepribadian

owned by the program to be made. Ie formalization

implementation of the results of the above stages

Anankastik
(Obsessive-Compulsif

Gangguan Kepribadian

book, and get other information perceived support

development tools will do. Namely the

(Schizoid Personality


Personality Disorder)

research. The information is obtained from the

of the results of the second phase found that

Skizoid

Gangguan Kepribadian

delimited by the engineering literature, is an attempt

program development. Conceptualization is

Antisossial/Disossial

Disorder)

Identification of identifying the problems clearly


to look for.

Gangguan Kepribadian

Gangguan Kepribadian

theoretical. The data collection process carried out
over a number of stages by using the following

Emosional Tidak Seimbang
(Ambang)

from other sources in the form of reports or
publications derived from the source library studies

Paranoid
(Paranoid Personality
Disorder)


data. Primary data is data obtained directly from the
field in that the data associated with the system was

Nama Gangguan

P007

Dependen
(Dependen Personality
Disorder)

Gangguan Kepribadian
P008

P009

berulang

Narsistik


tanpa dasar

(Narcisstic Personality

atau bukti

Disorder)

yang kuat

Gangguan Kepribadian

terhadap

Menghindar

orang lain
bahwa

(Avoidant Personality


orang itu

Disorder)

akan
Informasi gejala gangguan psikologi terdiri dari :

mengeksplo

Tabel 2 Basis pengetahuan gejala gangguan

tasi, bersifat
jahat atau

kepribadian

N

Kode


Nama

Kode

Nama

menipu

o

Gangguan

Gangguan

Gejala

Gejala

dirinya.

1.

P001

Paranoid

G001

G002

Kepekaan

G004

Menyalahar

yang

tikan kata-

berlebihan

kata atau

Kecenderun

teguran

gan untuk

yang ramah

menyimpan

sebagai

dendam,

ancaman

meskipun

atau

pada

merendahka

masalah-

n orang lain

masalah

G003

G005

G006

Mempertah

kecil

ankan

Sulit untuk

dengan

memaafkan

gigih bila

orang lain

perlu

yang pernah

dengan

menganggu,

kekuatan

menyakiti,

fisik tentang

melukai

hak

atau

pribadinya

mengabaika

yang

n dirinya

sebenarnya

Kecurigaan

tak sesuai

yang

dengan
keadaan

G007

sebenarnya

mungkin

Kecurigaan

minimal
G012

yang

G008

berulang

kemarahan

tentang

yang hebat

kesetiaan

selalu

seksual

menjurus

passangann

pada

ya

kekerasan

Merasa
bahwa

2.

P002

Emosional

G009

Ledakan

3.

P003

Antisosial

G013

/Dissosial

Sikap yang
selalu tidak

dirinya

peduli

penting

dengan

secara

perasaan

berlebihan

orang lain

Kecenderun

G014

Sikap tidak

Tidak

gan yang

bertanggung

Stabil

mencolok

jawab

untuk

norma,

selalau

peraturan

bertindak

ataupun

impulsif

kewaiban

(dorongan

social

hati) tanpa

G010

G011

G015

Ketidakma

mempertim

mpuannya

bangkan

mempertaha

konsekuensi

nkan sebuah

Afek

hubungan

(gangguan

agar

perubahan

berlangsung

suasana

lama,

perasaan/m

meskipun

ood yang

tidak

tidak stabil)

kesulitan

Selalu

untuk

merencanak

mengemban

an sesuatu

gkannya

dengan

G016

Mudah

menjadi
frustasi dan

akan
G020

juga sangat
agresif,

selalu datar

Schizoid

G019

G022

Ketidakma

Tidak

mpuannya

mampu

menyatakan

untuk

kehangatan,

menerima

kemarahan

kesalahan

atau

dan belajar

kelembutan

terutama

terhadap

dari

orang lain
G023

Tidak

Sangat

pernah

cenderung

memperduli

untuk

kan pujian

menyalahka

ataupun

n orang lain

kecaman

atau

dari orang

menawarka

lain
G024

Kurang

rasionalisasi

tertarik

yang dapat

apabila

diterima

menjalin

untuk

pengalaman

perilaku

seksual

yang telah

dengan

membawa

orang lain

pasien

P004

Afeknya

tindakan

n

4.

G021

(mood)

hukuman
G018

dingin

termasuk

kekerasan
G017

Emosi yang

G025

Hampir

dalam

selalu

konflik

memilih

social

aktivitas

Aktivitas

yang

yang sangat

menyendiri

membahagi

G026

Dirundung

oleh fantasi

kepala

dan

G027

G033

intropeksi

memaksaka

yang

n sesuatu

berlebihan

yang tidak

Sangat tidak

masuk akal

sensitive

terhadap

terhadap

orang lain

norma dan

5.

P005

Anankasti

G028

k

mencampur
adukkan

berlaku

pikiran

Selalu

yang

berprasaan

bersifat

ragu dan

memaksa
P006

Histrionik

G035

Ekspresi
emosi yang

sangat

didramatisa

berlebihan

sikan

Keterpakua

sendiri dan

n pada

selalu

perincian,

dibesar-

peraturan,

besarkan
G036

Bersifat

ataupun

sugestif

dalam

(mudah

sebuah

dipengaruhi

organisasi

oleh

Perfeksionis

keadaan

me yang

atau orang

menghamba

lain)
G037

Afek

Ketelitianny

(mood)

a yang

datar atau

sangat

labil

berlebihan
G032

6.

hati yang

t
G031

Selalu

social yang

perintah,

G030

G034

kebiasaan

juga hati-

G029

Selalu

G038

Terus-

Kaku dan

menerus

sangat keras

mencari

kepuasan,
apresiasi

G039

Dependen

G042

t

Membiarka
n orang lain
untuk

dan selalu

mengambil

ingin

sebagian

menjadi

besar

pusat

keputusan

perhatian

tentang

Memiliki

dirinya
G043

Meletakkan

yang tidak

kebutuhan

pantas

sendiri lebih

dalam

rendah

berpenampil

daripada

an ataupun

orang lain

berperilaku

G044

Tidak

Terlalu

pernah

mementingk

menuntut

an daya

kepada

tarik

orang lain

fisiknya
G041

P007

orang lain

kegairahan

G040

7.

G045

Mempunyai

Mempunyai

perasaan

gambaran

yang tidak

agoisentrita

enak (tidak

s, pemuasan

berdaya)

dalam diri

apabila

sendiri,

sendirian.

mudah

Karena

tersinggung

ketakutanny

dan

a yang

berperilaku

selalu

manipulativ

dibesar-

e yang

besarkan

menetap

tentang

untuk

ketidakmam

mencapai

puannya

kepentingan

mengurus

dirinya

dirinya

G046

sendiri

n sikap

Sangat

empati dan

terpaku

pura-pura

pada

simpati

ketakutan

untuk

apabila

kepentingan

ditinggal

nya sendiri

oleh orang-

G047

harga diri

terdekatnya

yang rapuh

Tidak

dan rentan

kompeten

akan

dan

depresi

kehilangan

P008

Narsistik

G048

G050

P009

Menghind

G053

ar

Perasaan
tegang dan
takut yang

Perasaan

menetap

kebesaran

dan

atas

pervasive
G054

Selalu

dirinya

merasa jika

untuk

dirinya

dikagumi

tidak

Selalu

mampu,

percaya diri

tidak

dalam hal

menarik dan

apapun

lebih rendah

Menanggapi

daripada

kritik orang

orang lain

lain dengan

G051

9.

stamina

kepentingan

G049

Memiliki

orang

seringnya

8.

G052

G055

Kekhawatir

sangat

annya yang

buruk dan

sangat

bahkan

berlebihan

acuh tak

terhadap

acuh

kritik dan

Ketidakma

penolakan

mpuannya

dalam

menunjukka

situasi

social
G056

G027 THEN Skizoid

Keengganan
untuk
5

terlibat

G030 AND G031 AND

karena

G032 AND G033 AND

alasan

G034 THEN Anakastik

keamanan
6

fisik
G057

IF G028 AND G029 AND

IF G035 AND G036 AND
G037 AND G038 AND

Selalu

G039 AND G040 AND

menghindar

G041 THEN Histrionik

i aktivitas
7

social

IF G042 AND G043 AND
G044 AND G045 AND

karena takut

G046 AND G047 THEN

akan

Dependen

dikritik,
8

takut tidak

IF G048 AND G049 AND
G050 AND G051 AND

adanya

G052 THEN Narsistik

dukungan
9

atau ditolak

IF G053 AND G054 AND
G055 AND G056 AND
G057 THEN Menghindar

Tabel 3 Logika Diagnosa gangguan kepribadian

No

Aturan

1

IF G001 AND G002 AND

Here is a draft system for the diagnosis of disorders

G003 AND G004 AND

by applying

G004 AND G005 AND

forward chaining method . Flowchart ( flowchart )

G006 AND G007 AND

system design can be seen in the following picture :

G008 THEN Paranoid
2

IF G009 AND G010 AND
G011 AND G012 THEN
Emosional Tidak Stabil

3

IF G013 AND G014 AND
G015 AND G016 AND
G017 AND G018 THEN
Antisosial/Disosial

4

IF G019 AND G020 AND
G021 AND G022 AND
G023 AND G024 AND
G025 AND G026 AND

Gambar 2. DFD Level 0

Gambar 3 DFD Level 1

Gambar 3. Tabel Relasi

3 ANALYSIS AND RESULTS
The data has been inputted Experts will be
processed within the program by using forward
chaining method , based on symptoms are included
Gambar 1. Flowchart sistem

, then these symptoms will be grouped according to
the type of interference, and will be examined on

Pada Perancangan basis data sistem pakar
dilakukan dengan merancang DFD level 0,

the basis of knowledge of whether the symptoms is
one type of interference . Then it will be given on

the form of a solution . The mechanism of this

system and the psychological testing . The program

program using forward chaining method . Expert

is considered to have 90 % accuracy rate .

system early diagnosis of personality disorder in a
person with a rare -rare as follows :

4.2 PEMBAHASAN

Gambar 5. Halaman utama

Gambar 6 Halaman Gangguan Kepribadian

Gambar 4. Rancangan alur antar muka pemakai

4 RESULTS AND DISCUSSION

Gambar 7 Halaman Konsultasi

4.1 RESULTS
Once finalized the design , the researchers made a
coding program and then executes the program.
Obtained the following results :
1. Application of expert system for diagnosing

Gamba 8 Halaman Pertanyaan

personality disorders in a person uses forward
chaining method is a program used to diagnose
someone disorder based on symptoms and to do the
translation process through a computer expert .
2. The application consists of 4 menu for the user
consists of : Main page , the page disorders ,
consulting pages and pages Admin .
3. The application consists of 6 menu to experts
consisting of : the main page , the page disorders ,
symptoms pages , pages rrelasi , page view
relationships and logout menu .
4. On testing expert system obtained an accuracy of
data that represent the results obtained between the

Gambar 9. Halaman solusi

Gambar 10Halaman Admin (pakar)

5 CLOSING
5.1 Conclusion
a. Based on the results of the testing program, the
application of a diagnosis of personality disorder
mengguanakan forward chaining method is quite
helpful for the identification of disease based on the
symptoms are felt.

Gambar 11 Halaman gangguan untuk pakar

b. This expert system is an implementation of the
construction of an expert system to diagnose a
personality disorder in a person.
c. Requires an expert (psychologist) in diagnosing
advanced stage to determine a person's interference
with certainty .. This expert system will not always
true, depending paada source of information (the

Gambar 12 Halaman edit gangguan

expert).
d. On testing expert system obtained an accuracy of
data that represent the results obtained between the
system and the psychological testing.

5.2 ADVICE
Gambar 13 Halaman gejala untuk pakar

Acquisition of knowledge is still required more
detail and depth to enhance the expert system is
designed, so that it is also to design expert systems
approach to learning.
Besides this expert system can be used as a

Gambar 14 Halaman edit gejala

Gambar 15 Halaman relasi untuk pakar

Gambar 16 Lihat relasi untuk pakar

reference comparison to other expert system design.

DAFTAR PUSTAKA
Betha Sidik, Ir., (2004). Pemograman Web dengan
PHP, Informatika, Bandung.
Betha Sidik, Pemograman Web dengan PHP ,
Penerbit Informatika 2007.
Davision, G. C & Neale J. M (2006). Psikologi
Abnormal. Jakarta : PT. Raja Grafindo
Persada
Lukas M., (1993). Materi Kepaniteraan Dokter
Umum,
Gangguan
Kepribadian .
Jakarta:Bagian Ilmu Penyakit Jiwa
Fakultas
Kedokteran
Universitas
Indonesia
Departemen Kesehatan RI, Direktorat Jenderal
Pelayanan Medik (1993), Pedoman
Penggolongan dan Diagnosis Gangguan
Jiwa di Indonesia III, cetakan pertama.
Giarrantano, J.and G.Riley, Pengantar
Keceerdasan Buatan, bab 1
Heni A Puspita Sari. (2010). Pemograman Web
Database dengan PHP dan MySQL.
(edisi1). Malang : Skripta.
Kusumadewi, S. 2003. Artificial
(Teknik dan Aplikasinya).

Intelligence

Yogyakarta : Graha Ilmu.
Kusrini S.Kom, 2006, Sistem Pakar, Teori dan
Aplikasi. Yogyakarta: ANDI.
Sutarman. 2007. Membangun Aplikasi Web dengan
PHP dan MySQL.
Yogyakarta: Graha Ilmu.
Syamsuddin Aries , 2004, Pengantar Sistem Pakar.