You are on page 1of 6

TUGAS KE-

SOFTWARE ENGINEERING LABORATORY


LAPORAN BASIS DATA

NOMOR KELOMPOK: 20
1. Athallahriq Muhammad Sultan 202031051 - Ketua
2. Ufie Rahma 202031068
3. Anastasia Monica Sitio 202031053
Kelas :B
Mata Kuliah : Basis Data
Nama Dosen : Winda N. suliyanti
Nama Asisten : 1. Brigita Tiora
2. Suherlina
3. ANDI ASRIANTI

INSTITUT TEKNOLOGI PLN


TEKNIK INFORMATIKA
2021/2022
Basis Data (B) kelompok 20

1.

Gambar di atas adalah Patient Medication Form (Formulir Pengobatan Pasien) dari Wellmeadows Hospital
(Rumah Sakit Wellmeadows)

a. Buat diagram functional dependency

b. Tentukan normalisasi 1NF, 2NF dan 3NF

UNF =

Patient medication form


Patient Patient Bed Ward name Drug Drug name dosage Method Units Start Finish
number name number number of per date date
admin day
P10034 Robert 84 orhtopaedic 10223 Pain killer 10mg/ml Oral 50 24/03/13 24/04/14
MacDonal 10334 Tetracycline 05.mg/ml IV 10 24/03/13 17/04/13
d 10223 morphine 10mg/ml Oral 10 25/04/14 02/05/15

18/11/2021 Software Enggineering Laboratory


Basis Data (B) kelompok 20

1NF =
PatientDrugs
Patient Patient Bed Ward name Drug Drug name dosage Method Units Start Finish
number name numbe number of per date date
r admin day
P10034 Robert 84 orhtopaedic 10223 Pain killer 10mg/ml Oral 50 24/03/13 24/04/14
MacDonal
d
P10034 Robert 84 Orhtopaedi 10334 Tetracycline 05.mg/ml IV 10 24/03/13 17/04/13
MacDonal c
d
P10034 Robert 84 orhtopaedic 10223 morphine 10mg/ml Oral 10 25/04/14 02/05/15
MacDonal
d

2NF =
PatientDrugs
Patient Patient Bed Ward name
number name number
P10034 Robert 84 orhtopaedic
MacDonald

Drugs
Patient Drug Drug name dosage Method of Units per Start date Finish date
number number admin day
P10034 10223 Pain killer 10mg/ml Oral 50 24/03/13 24/04/14
P10034 10334 Tetracyclin 05.mg/ml IV 10 24/03/13 17/04/13
e
P10034 10223 morphine 10mg/ml Oral 10 25/04/14 02/05/15

3NF =
Patient
Patient Patient Bed
number name number
P10034 Robert 84
MacDonald

Drugs
Patient Drug Drug name dosage Method of Units per Start date Finish date
number number admin day
P10034 10223 Pain killer 10mg/ml Oral 50 24/03/13 24/04/14
P10034 10334 Tetracyclin 05.mg/ml IV 10 24/03/13 17/04/13
e
P10034 10223 morphine 10mg/ml Oral 10 25/04/14 02/05/15

Hospital room
18/11/2021 Software Enggineering Laboratory
Basis Data (B) kelompok 20

Bed Ward name


number
84 orhtopaedic

2.

Gambar di atas adalah data dentist/patient. Seorang pasien membuat appointment (perjanjian) pada waktu
dan jam tertentu dengan dentist (dokter gigi) untuk suatu surgery (proses bedah)

a. Buat diagram functional dependency

b. Tentukan normalisasi 1NF, 2NF dan 3NF

UNF =
DentistClient
staffNo dentistName patNo patName Appointmet SurgeryNo
Date time
S1011 Tony Smith P100 Gillian White 12-sep-13 10.00 S15
P105 Jill Bell 12-sep-13 12.00 S15
S1024 Helen pearson P108 Ian Mackay 12-sep-13 10.00 S10
P108 Ian Mackay 14-sep-13 14.00 S10
S1032 Robin Plevin P105 Jill Bell 14-sep-13 16.30 S15
P110 Jhon Walker 15-sep-13 18.00 S13

1NF =
DentistClient
staffNo dentistName patNo patName Appointmet SurgeryNo
Date time
S1011 Tony Smith P100 Gillian White 12-sep-13 10.00 S15
S1011 Tony Smith P105 Jill Bell 12-sep-13 12.00 S15
S1024 Helen pearson P108 Ian Mackay 12-sep-13 10.00 S10
S1024 Helen pearson P108 Ian Mackay 14-sep-13 14.00 S10
S1032 Robin Plevin P105 Jill Bell 14-sep-13 16.30 S15
S1032 Robin Plevin P110 Jhon Walker 15-sep-13 18.00 S13

18/11/2021 Software Enggineering Laboratory


Basis Data (B) kelompok 20

2NF =
Dentist
staffNo dentistName
S1011 Tony Smith
S1024 Helen pearson
S1032 Robin Plevin

client
patNo patName SurgeryNo
P100 Gillian White S15
P105 Jill Bell S15
P108 Ian Mackay S10
P108 Ian Mackay S10
P105 Jill Bell S15
P110 Jhon Walker S13

3NF =
Dentist
staffNo dentistName
S1011 Tony Smith
S1024 Helen pearson
S1032 Robin Plevin

Client
patNo patName SurgeryNo
P100 Gillian White S15
P105 Jill Bell S15
P108 Ian Mackay S10
P108 Ian Mackay S10
P105 Jill Bell S15
P110 Jhon Walker S13

Surgery
SurgeryNo Appointmet
Date time
S15 12-sep-13 10.00
S15 12-sep-13 12.00
S10 12-sep-13 10.00
S10 14-sep-13 14.00
18/11/2021 Software Enggineering Laboratory
Basis Data (B) kelompok 20

S15 14-sep-13 16.30


S13 15-sep-13 18.00

18/11/2021 Software Enggineering Laboratory

You might also like