Risks of Covid-19 in an ER Diagram
Published: 2020-09-13 21:14:55

Covid-19 has been an international pandemic that has frightened many people worldwide. Many people have been quarantining, many people have lost their jobs, and many people also believe that we should not worry about it and carry on like usual. This is because there are many different opinions about how dangerous Covid-19 actually is. Since there are a lot of factors that go into how and why Covid-19 can be dangerous people do not know what to believe and what information to trust. There is a lot of data that claims the death rate is high and the same amount of data that claims the death rate is insubstantial. This is primarily because for certain people their risk factor for Covid-19 is much higher than others. To simplify this information I have made an ER diagram outlining all of the information that could increase someone's risk to catching and developing symptoms for Covid-19. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jagto9jtju2d26h9kjp8.png)

The first factor that goes into how at risk a person is to Covid-19 is, the person themselves. The factors that I identified each person with is their SSN, age, race, gender, and any preexisting conditions they might have. I chose to include their SSN to identify them from another person. Age is an important factor because elderly people have an increased risk of developing serious symptoms which can lead to death. Race is also an important factor because so far the death rates between races have been unproportional. For example, African Americans have a chance of dying 88 out of 100,000 times where as white Americans only die 40 out of 100,000 times. Next, I chose gender because men have also been dying more often than women have. Lastly, if a person has preexisting health conditions such as diabetes, asthma, etc. their chances of developing serious symptoms drastically increase. 
 
The second factor that influences a person risk is their behaviour. If a person wears a mask then they are safer than a person who does not wear a mask. Next, if you socially distance yourself from those around you i.e. stand 6 feet apart you will also be safer. Another factor that influences your safety is how often you are active. If you workout consistently or even moderately you will have a less chance of developing serious conditions. Next, if you are attending large social gatherings and parties you will be more at risk. Lastly, if you wash your hands routinely your risk will be lower.

The third factor that influence the risk on a person is their occupation. If a person works from home they will be safer than a person who has to go into their job. Further, if a person has a job where they have to talk to a lot of people then they will also be more at risk. The mode of transportation to work will also affect their risk because a subway or bus will be much more dangerous than a personal car. Also, if a person has to travel for their job they will be more at risk by coming in contact with many people while traveling. If your work has routine health screenings then this will help lower your risk. 

The fourth factor that influences a person's risk is their geographic location. Depending on which country you live in will determine your risk based on the different protocols and number of cases. Living in a city will increase your risk of infection as opposed to a small town. A reason this happens is because population densities are generally higher in cities which is why this is another factor. Another factor that can influence your risk is how many active cases there are in your area. Lastly, the average income in your area can determine your risk factor because generally in poorer areas people live closer together or in apartment complexes.

The last factor that influences a person's risk is which hospital they go to. Each hospital has a different level of healthcare and it is usually better in large cities. Also each hospital has a different number of beds, so you can run the risk of coming into contact with a lot of people if it is a large hospital. The length of time you stay at the hospital will impact your risk because the longer you stay the more people you will come into contact with. 

Your overall risk is determined by multiple different factors and there are many different outcomes of the risk that can be possible. The first is what symptoms you will have. The symptoms range from anywhere between asymptomatic to a fever to an infection in your lungs. Another risk is the possibility of long term health issues such as developing a heart defect. The next risk is the length you will stay sick. Another risk is possibly infecting others such as your loved ones since you will be contagious. Lastly, there is a risk of death which varies between patients based on the information above.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jnhzh5a2dcb1pjt5nil8.png)

In this chart I made a few tuples that show the correlation between the different factors and their relationships.

<a href="https://www.youtube.com/watch?v=Vu4CtPDDu90&feature=youtu.be
" target="_blank"><img src="http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg" 
alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>