Mysql: Electronic Medical Record
In this assignment, you’ll extend the toy EMR (Electronic Medical Record) system database demonstrated in class with additional features primarily aimed at identifying Adverse Drug Reactions - also known as ADRs. These occur when two drugs taken together have an unintended and possibly serious side-effect. Over two million ADRs are reported annually resulting in more than 100,000 deaths, so avoiding ADRs is a major healthcare priority.
1. Add a medications table and populate it with 10 made-up or real medications. The table should at minimum have the following attributes a. A unique identifier (primary key) b. Medication name c. Can be taken if under age 12? (Boolean) d. Can be taken if pregnant? (Boolean) e. Mg per Pill (Double) – milligrams per pill f. Max mg per 10kg (Double)
2. Add a drug interaction table. If two drugs (medications) are listed together, they should NOT be prescribed together.
