Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Nama : Prawira Yuda Husada

NIM : 2211810532

Kelas : 2ST9

Tugas 7

Berdasarkan Formulir terlampir,

1. Buatlah tabelnya.

2. Buat tabel bentuk normal ke-1

3. Tentukan ketergantungan fungsionalnya.

4. Tentukan kunci primernya.

5. Identifikasi jenis functional dependency (full,partial,transitive).

6. Buat tabel bentuk normal ke 2

7. Buat tabel bentuk normal ke-3


Jawab

1. Tabel

PatientNo FullName Bed Ward WardName DrugNo DrugName Description Dosage MethodofAdmin UnitsperDay StartDate FinishDate
No No

P10034 Robert 84 11 Orthopaedic 10223 Morphine Pain Killer 10mg/ Oral 50 24/03/04 24/04/05
MacDonald ml
10334 Tetracyclene Antibiotic 0.5mg/ IV 10 24/03/04 17/04/04
ml
10223 Morphine Pain Killer 10mg/ Oral 10 25/04/05 02/05/06
ml

2. Tabel Normal ke-1

PatientNo FullName Bed Ward WardName DrugNo DrugName Description Dosage MethodofAdmin UnitsperDay StartDate FinishDate
No No

P10034 Robert 84 11 Orthopaedic 10223 Morphine Pain Killer 10mg/ Oral 50 24/03/04 24/04/05
MacDonald ml

P10034 Robert 84 11 Orthopaedic 10334 Tetracyclene Antibiotic 0.5mg/ IV 10 24/03/04 17/04/04


ml
MacDonald

P10034 Robert 84 11 Orthopaedic 10223 Morphine Pain Killer 10mg/ Oral 10 25/04/05 02/05/06
ml
MacDonald

3. Functional Dependence

1) PatientNo→FullName, BedNo, WardNo, WardName, DrugNo,DrugName, Description,Dosage,MethodeofAdmin, UnitperDat,


StartDate, FinishDate
2) PatientNo, DrugNo, StartDate, FinishDate→UnitsperDay

3) WardNo→WarName

4) WardName→WardNo

5) DrugNo→DrugName

6) DrugName→DrugNo

7) DrugnNo→Name, Dosage, Description, MethodofAdmin

8) PatientNo, DrugNo, StartDate, FinishDate→FullName, BedNo, WardNo, WardName, Name, Description, Dosage, MethodofAdmin,
UnitsperDay

4. Primary Key

PatientNo, DrugNo

5. Identifikasi jenis functional dependency

1) PatientNo→FullName, BedNo, WardNo, WardName, DrugNo,DrugName, Description,Dosage,MethodeofAdmin, UnitperDat,


StartDate, FinishDate
(Full Dependency)

2) PatientNo, DrugNo, StartDate, FinishDate→UnitsperDay

(Full Dependency)

3) WardNo→WarName

(Transitive Dependency)

4) WardName→WardNo

(Transitive Dependency)

5) DrugNo→DrugName

(Transitive Dependency)

6) DrugName→DrugNo

(Transitive Dependency)

7) DrugnNo→Name, Dosage, Description, MethodofAdmin

(Full Dependency)
8) PatientNo, DrugNo, StartDate, FinishDate→FullName, BedNo, WardNo, WardName, Name, Description, Dosage, MethodofAdmin,
UnitsperDay

(Partial Dependency)

6. Tabel Normal ke-2

Drug Consumption
PatientNo DrugNo StartDate UnitsperDay FinishDate
P10034 10223 24/03/04 50 24/04/05
P10034 10334 24/03/04 10 17/04/04
P10034 10223 25/04/05 10 02/05/06

Drug
DrugNo Name Description Dosage MethodofAdmin

10223 Morphine Pain Killer 10mg/ml Oral

10334 Tetracyclene Antibiotic 0.5mg/ml IV

10223 Morphine Pain Killer 10mg/ml Oral

Patient
PatientNo FullName WardNo WardName BedNo
P10034 Robert MacDonald Ward 11 Orthopaedic 84

7. Tabel Normal ke-3

Drug Consumption
PatientNo DrugNo StartDate UnitsperDay FinishDate
P10034 10223 24/03/04 50 24/04/05
P10034 10334 24/03/04 10 17/04/04
P10034 10223 25/04/05 10 02/05/06

Drug
DrugNo Name Description Dosage MethodofAdmin

10223 Morphine Pain Killer 10mg/ml Oral

10334 Tetracyclene Antibiotic 0.5mg/ml IV

10223 Morphine Pain Killer 10mg/ml Oral

Patient
PatientNo FullName WardNumber BedNumber
P10034 Robert MacDonald Ward 11 84

Ward Name
WardNo WardName
Ward 11 Orthopaedic

You might also like