Dependency diagram for patient record patient_idpatient_namepatient_addresstriage_catseen_bypresenting_ problem clinician_ name clinician_ location departing status transitivedependency partial depedency student name:Manish KhatiwodaStudent Id :11681209Subjectcode:ITC-556 From the dependency diagram we can note thattriage_catis dependent on thepresenting_problem but none of the two is a primary key. The triage cat is said to be transitive dependent on the presenting_problem. If we assume that every clinician has his/her own location that will make clinician location to be unique and theclinician locationwill act as a foreign key.Clinician nameandfirst_seen_byfield wil partially depend onclinician_location. B). Modify the diagram to meet 3NF requirements. Rename attributes to meet the naming convention and create new attributes and entities where necessary. First we will create new tables from our original table. patient records patient_idpatient_namepatient_addresstriage_catclinician_nodeparting_statuspresenting_prob- lem clinician_noclinician_nameclinician_location clinician clinician_role student name:Manish KhatiwodaStudent Id :11681209Subjectcode:ITC-556 The first step is to remove partial dependency attributes and create new table for them. In our new table we have added a new attributeclinician_noto act as a foreign key in the patient record table. Clinician_roleis a new name of thefirst_seen_bywhich will be dependent on clinician_no primary key.
departing_statusclinician_no student name:Manish KhatiwodaStudent Id :11681209Subjectcode:ITC-556 patient_id patient_id patient_namepatient_address patient detailstable problem_id problem_id triage_catpresenting_problem clinician_noclinician_nameclinician_location cliniciantable clinician_role problemtable patient recordtable The diagram above show a 3NF form. New entities have been created to satisfy the 3rdNormal form. This table removes the anomalies that may be experience on the database. Now deleting the patient record will not affect the patient detail table. The diagram below shows the crow’s foot ERD diagram
student name :Manish KhatiwodaStudent Id :11681209Subjectcode :ITC-556 patient details patient records clinician problemtable patient_id patient_id problem_id clinician_no clinician_name clinician_location clinician_role patient_name patient_address clinician_no problem_id departing_status triage_cat problem_name pk pk pk pk fk fk attends contain has
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Reference Raghu, R & Johaness, G. (n.d).Database management system(2nd ed.). McGraw-Hill Higher Education Normalization of database. Retrieved from https://www.studocu.com/en/u/1400957