ANALISIS ERD RUMAH SAKIT 
BASIS DATA KELOMPOK 4 : 
AKHMAD NUR RAHMAN 13520241045 
ARIEF ASNAD 13520241050 
MUH. LUTHFI HAKIM 13520241054 
ELISA DINI NOVARIANTI 13520241059 
WENANG HERDAMA S 13520241061 
AULIA AZMI HAIFANI R 13520241065 
PUTRA RAHMADI 13520241067 
ERWIN PURNOMO 13520241072 
SYAIFUL MUJAB 13520241073 
FITRIA NURI CAHYANI 13520241081 
PENDIDIKAN TEKNIK INFORMATIKA 
FT UNY
GAMBAR ERD RUMAH SAKIT
ANALISIS ERD 
- Terdapat 11 Entitas 
- Terdapat 5 Relasi (semua bersifat M : N / Many to Many) 
- Terdapat 22 Tabel
Entitas Employee 
1. Tabel Employee 
Karena bersifat Spesialisasi, maka dari 
Entitas Employee tercipta 
2. Tabel Receptionist. 
3. Tabel Nurse 
4. Tabel Doctor 
- 5. Tabel Permanent 
- 6. Tabel Trainee 
- 7. Tabel Visiting 
Contact No EMPLOYEE 
Qualification 
Name 
ID 
salary 
Sex 
Experience 
IS A 
NURSE DOCTOR RECEPTIONIST 
IS A 
PERMANENT TRAINEE VISITING 
Field Keterangan 
Qualification 
Experience 
Name 
Salary 
Sex 
Contact no Diambil dari table 
contact_no_employee. 
ID PK
8. Tabel Record 
RECORD 
Appointment Record No 
Patients’ 
Info 
Field Keterangan 
Appointment 
Record No. PK 
Entitas Record
9. Tabel Patient 
Entitas Patient 
Field Keterangan 
ID PK 
Date Admitted 
Date Discharged 
Name Diambil dari table info 
Address Diambil dari table info 
Sex Diambil dari table info 
Age Diambil dari table info 
contact Diambil dari table info 
Data 
Admitted 
PATIENT 
Contact No 
Nama 
Address 
Data 
Discharged 
Info 
Age 
ID Sex
10. Tabel Room 
Entitas Room 
Field Keterangan 
Room-id PK 
Room-type 
Extension 
ROOM 
Room Type Room ID 
Extension
11. Tabel Equipment 
Entitas Equipment 
Field Keterangan 
Description 
Price 
Code PK 
Ditambahi : atribut code 
sebagai PRIMARY KEY, karena table 
equipment tidak memiliki PK dan juga 
tidak memiliki atribut yang berelasi 
dengan atribut table lain. 
Equipment 
Description Price 
Code
12. Tabel Medicine 
Entitas Medicine 
Field Keterangan 
Description 
Price 
Code PK 
Medicine 
Description Price 
Code
13. Tabel Treatment 
Entitas Treatment 
Field Keterangan 
Description 
Code PK 
Ditambahi ATRIBUT CODE sebagai 
primary key, karena table treatment tidak 
memiliki PK dan juga tidak memiliki atribut 
yang berelasi dengan atribut table lain. 
ATRIBUT DESCRIPTION ditambahkan untuk 
menginformasikan penanganan apa yang akan 
diperoleh pasien. 
Treatment 
Description 
Code
Record 
14. Tabel Maintains 
Entitas Mantains 
Field Keterangan 
ID FK 
Record no. FK 
Date_Time PK 
Ditambahi atribut Date_Time sebagai primary 
key, karena table Mantains tidak memiliki PK . 
Receptionist 
MANTAINS Date_Time
Nurse 
15. Tabel Governs 
Field Keterangan 
ID FK 
Room Id FK 
Date_Time PK 
Entitas Governs 
Room 
GOVERNS Date_Time 
Ditambahi atribut Date_Time 
sebagai primary key, karena table 
Governs tidak memiliki PK
Patient 
16. Tabel Attends 
Field Keterangan 
ID Employee FK 
ID Patient FK 
Date_Time PK 
Entitas Attends 
Doctor 
ATTENDS Date_Time 
Ditambahi atribut Date_Time 
sebagai primary key, karena table 
Attends tidak memiliki PK
Equipment 
17. Tabel Billed For 
Entitas Billed For 
Field Keterangan 
ID_patient FK 
Code_T FK diambil dari table Treatment 
Code_M FK diambil dari table Medicine 
Code_E FK diambil dari table Equipment 
Date_Time PK 
Patient 
Treatment BILLED FOR 
Medicine 
Date_Time 
Ditambahi atribut Date_Time sebagai 
primary key, karena table Billed For 
tidak memiliki PK
18. Tabel Assigned 
Entitas Assigned 
Field Keterangan 
Room-id FK 
ID FK 
Date_Time PK 
Ditambahi atribut Date_Time sebagai primary 
key, karena table Assigned tidak memiliki PK 
Patient 
ASSIGNED 
Room 
Date_Time
19. Tabel Contact No Employee 
Field Keterangan 
ID FK 
Contact no. Unique 
Atribut Contact No Employee 
Contact No EMPLOYEE
20. Tabel Patient’s Info 
Atribut Patient’s Info 
Field Keterangan 
Record no. FK 
Patient’s info 
Date_Time PK 
Attribute date_time ditambahkan 
supaya mempermudah dalam mengakses data 
yang sama, yaitu ketika informasi record no. 
dan patient’s info sama, maka date_time 
berperan sebagai pembeda. 
RECORD 
Patients’ 
Info 
Date_Time
21. Tabel Info 
Atribut Info 
Field Keterangan 
ID PK, FK 
Name 
Address 
Sex 
Age 
Contact no. Diambil dari table contact no patient. 
PATIENT 
Info
22. Tabel Contact No Patient 
Field Keterangan 
ID FK 
Contact no. Unique 
Atribut Contact No Patient 
Contact No PATIENT
INFORMASI ? 
1. Data record ( Data administrative RS, seperti Info Pasien, Perjanjian dan 
No Recordnya) dapat diperoleh dari table record 
2. Data employee ( Tenaga Kerja di RS) dapat diperoleh dari table employee, 
doctor, nurse, receptionist, visiting, permanent, trainee. Masing-masing 
Tenaga Kerja memiliki informasi yang formatnya sama, seperti informasi 
pribadi dll. 
3. Data room ( No ruang, jenis dan kelengkapan ruang tersebut) dapat 
diperoleh dari table room 
4. Data patient ( informasi pribadi, informasi penyakit, waktu) dapat 
diperoleh dari table patient 
5. Data medicine ( tentang harga, kode dan keterangan obat) dapat 
diperoleh dari table medicine 
6. Dokter golongan apa yang yang merawat pasien , misalnya dokter tetap 
yang melakukan penanganan terhadap pasien. 
7. Dan berbagai informasi lainnya terkait database pada rumah sakit.
THE END 
ANY QUESTIONS? 
Created By : SUPERTEAM 4 – BASIS DATA

Analisis ERD Database Rumah Sakit

  • 1.
    ANALISIS ERD RUMAHSAKIT BASIS DATA KELOMPOK 4 : AKHMAD NUR RAHMAN 13520241045 ARIEF ASNAD 13520241050 MUH. LUTHFI HAKIM 13520241054 ELISA DINI NOVARIANTI 13520241059 WENANG HERDAMA S 13520241061 AULIA AZMI HAIFANI R 13520241065 PUTRA RAHMADI 13520241067 ERWIN PURNOMO 13520241072 SYAIFUL MUJAB 13520241073 FITRIA NURI CAHYANI 13520241081 PENDIDIKAN TEKNIK INFORMATIKA FT UNY
  • 2.
  • 3.
    ANALISIS ERD -Terdapat 11 Entitas - Terdapat 5 Relasi (semua bersifat M : N / Many to Many) - Terdapat 22 Tabel
  • 4.
    Entitas Employee 1.Tabel Employee Karena bersifat Spesialisasi, maka dari Entitas Employee tercipta 2. Tabel Receptionist. 3. Tabel Nurse 4. Tabel Doctor - 5. Tabel Permanent - 6. Tabel Trainee - 7. Tabel Visiting Contact No EMPLOYEE Qualification Name ID salary Sex Experience IS A NURSE DOCTOR RECEPTIONIST IS A PERMANENT TRAINEE VISITING Field Keterangan Qualification Experience Name Salary Sex Contact no Diambil dari table contact_no_employee. ID PK
  • 5.
    8. Tabel Record RECORD Appointment Record No Patients’ Info Field Keterangan Appointment Record No. PK Entitas Record
  • 6.
    9. Tabel Patient Entitas Patient Field Keterangan ID PK Date Admitted Date Discharged Name Diambil dari table info Address Diambil dari table info Sex Diambil dari table info Age Diambil dari table info contact Diambil dari table info Data Admitted PATIENT Contact No Nama Address Data Discharged Info Age ID Sex
  • 7.
    10. Tabel Room Entitas Room Field Keterangan Room-id PK Room-type Extension ROOM Room Type Room ID Extension
  • 8.
    11. Tabel Equipment Entitas Equipment Field Keterangan Description Price Code PK Ditambahi : atribut code sebagai PRIMARY KEY, karena table equipment tidak memiliki PK dan juga tidak memiliki atribut yang berelasi dengan atribut table lain. Equipment Description Price Code
  • 9.
    12. Tabel Medicine Entitas Medicine Field Keterangan Description Price Code PK Medicine Description Price Code
  • 10.
    13. Tabel Treatment Entitas Treatment Field Keterangan Description Code PK Ditambahi ATRIBUT CODE sebagai primary key, karena table treatment tidak memiliki PK dan juga tidak memiliki atribut yang berelasi dengan atribut table lain. ATRIBUT DESCRIPTION ditambahkan untuk menginformasikan penanganan apa yang akan diperoleh pasien. Treatment Description Code
  • 11.
    Record 14. TabelMaintains Entitas Mantains Field Keterangan ID FK Record no. FK Date_Time PK Ditambahi atribut Date_Time sebagai primary key, karena table Mantains tidak memiliki PK . Receptionist MANTAINS Date_Time
  • 12.
    Nurse 15. TabelGoverns Field Keterangan ID FK Room Id FK Date_Time PK Entitas Governs Room GOVERNS Date_Time Ditambahi atribut Date_Time sebagai primary key, karena table Governs tidak memiliki PK
  • 13.
    Patient 16. TabelAttends Field Keterangan ID Employee FK ID Patient FK Date_Time PK Entitas Attends Doctor ATTENDS Date_Time Ditambahi atribut Date_Time sebagai primary key, karena table Attends tidak memiliki PK
  • 14.
    Equipment 17. TabelBilled For Entitas Billed For Field Keterangan ID_patient FK Code_T FK diambil dari table Treatment Code_M FK diambil dari table Medicine Code_E FK diambil dari table Equipment Date_Time PK Patient Treatment BILLED FOR Medicine Date_Time Ditambahi atribut Date_Time sebagai primary key, karena table Billed For tidak memiliki PK
  • 15.
    18. Tabel Assigned Entitas Assigned Field Keterangan Room-id FK ID FK Date_Time PK Ditambahi atribut Date_Time sebagai primary key, karena table Assigned tidak memiliki PK Patient ASSIGNED Room Date_Time
  • 16.
    19. Tabel ContactNo Employee Field Keterangan ID FK Contact no. Unique Atribut Contact No Employee Contact No EMPLOYEE
  • 17.
    20. Tabel Patient’sInfo Atribut Patient’s Info Field Keterangan Record no. FK Patient’s info Date_Time PK Attribute date_time ditambahkan supaya mempermudah dalam mengakses data yang sama, yaitu ketika informasi record no. dan patient’s info sama, maka date_time berperan sebagai pembeda. RECORD Patients’ Info Date_Time
  • 18.
    21. Tabel Info Atribut Info Field Keterangan ID PK, FK Name Address Sex Age Contact no. Diambil dari table contact no patient. PATIENT Info
  • 19.
    22. Tabel ContactNo Patient Field Keterangan ID FK Contact no. Unique Atribut Contact No Patient Contact No PATIENT
  • 20.
    INFORMASI ? 1.Data record ( Data administrative RS, seperti Info Pasien, Perjanjian dan No Recordnya) dapat diperoleh dari table record 2. Data employee ( Tenaga Kerja di RS) dapat diperoleh dari table employee, doctor, nurse, receptionist, visiting, permanent, trainee. Masing-masing Tenaga Kerja memiliki informasi yang formatnya sama, seperti informasi pribadi dll. 3. Data room ( No ruang, jenis dan kelengkapan ruang tersebut) dapat diperoleh dari table room 4. Data patient ( informasi pribadi, informasi penyakit, waktu) dapat diperoleh dari table patient 5. Data medicine ( tentang harga, kode dan keterangan obat) dapat diperoleh dari table medicine 6. Dokter golongan apa yang yang merawat pasien , misalnya dokter tetap yang melakukan penanganan terhadap pasien. 7. Dan berbagai informasi lainnya terkait database pada rumah sakit.
  • 21.
    THE END ANYQUESTIONS? Created By : SUPERTEAM 4 – BASIS DATA