Question: You have been provided with the requirements for a database to support a disease tracking service. Given the rapid global spread of certain viruses, it
You have been provided with the requirements for a database to support a disease
tracking service. Given the rapid global spread of certain viruses, it is essential to establish a system that effectively monitors and prevent the risk of infection. Therefore, you are tasked with designing the database
infrastructure for this service to protect public health.
Instructions
Each User has a unique emailnamesurnameand phone
Users are going to be Public Servant and Doctor. departmentof each public servant must be stored. Additionally, degreeieassoc profof each doctor must be stored.
Each Country has a unique cnameand population
Each Disease has a unique disease codepathogenanything that can produce disease such as virus, bacterium, parasite, fungus, etc.and description
Each Disease Type has a unique idand a descriptionsuch as infectious diseases, deficiency diseases, hereditary diseases including both genetic diseases and nongenetic hereditary diseasesand physiological diseases.
Each Protein Sequence has a unique protein idand a sequenceamino acid sequence
Each Drug has a unique drug idand drug name
Each Document has a document noand contentdocument nois unique only for a given Public Servant. Each public servant may write a document with the same document no
Each user has to live in exactly one country, and there could be multiple users that live in the same country.
Each disease is first discovered in at least one country, and there could be multiple diseases that are discovered in a country. First encounter dateof each discovery must be stored
Public servants could create records about patients of a certain disease in a specific country. In this case, you should store the number of patientsnumber of deathsthe disease and the country that patients
are inas well as information about which public servant creates this record. There could be multiple patient records in a country, and multiple countries could have patient records of the same disease. A public servant could create many of such records.
Doctors are specialized in at least one disease type, and there could be many doctors who are specialized in the same disease type.
Each disease should belong to exactly one disease type, but there could be multiple diseases of the same type.
A mutation in a protein sequence may cause several diseases, and disease may arise as a result of several mutations in protein sequencesA drug can cure several mutations in a protein sequence that causes disease. A mutation that causes the disease can be treated by several drugs.
Submission
Draw an ER diagram
Do not forget to underline primary keys of the tables and show the foreign keys.
Eg: Employeessnname lot
Dept Mgrdiddname budget, ssnsinceREFERENCES Employeessn
Draw the ER diagram on a paper with relationships attributes and mandatory structure!!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
