9. The following information is required in the ward computer management system of a hospital: Department: Department name, department address, department telephone Ward: ward number, bed number,...


9. The following information is required in the ward<br>computer management system of a hospital:<br>Department: Department name, department<br>address, department telephone<br>Ward: ward number, bed number, department<br>name<br>Doctor: name, title, department name, age, work<br>permit number<br>Patient: medical record number, name, gender,<br>diagnosis, attending doctor, ward number<br>Among them, a department has multiple wards and<br>multiple doctors; A ward can only belong to one<br>department; A doctor only belongs to<br>department, but can be responsible for the<br>diagnosis and treatment of multiple patients. There<br>is only one doctor in charge of a patient.<br>(1) Draw the ER diagram according to the above<br>semantics, and indicate the attribute of the entity,<br>the type of connection and the identifier of the<br>entity in the ER diagram.<br>(2) The ER model is transformed into a relational<br>model, and the primary key and foreign key of each<br>relational schema are pointed out.<br>one<br>

Extracted text: 9. The following information is required in the ward computer management system of a hospital: Department: Department name, department address, department telephone Ward: ward number, bed number, department name Doctor: name, title, department name, age, work permit number Patient: medical record number, name, gender, diagnosis, attending doctor, ward number Among them, a department has multiple wards and multiple doctors; A ward can only belong to one department; A doctor only belongs to department, but can be responsible for the diagnosis and treatment of multiple patients. There is only one doctor in charge of a patient. (1) Draw the ER diagram according to the above semantics, and indicate the attribute of the entity, the type of connection and the identifier of the entity in the ER diagram. (2) The ER model is transformed into a relational model, and the primary key and foreign key of each relational schema are pointed out. one

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here