A relatively new small medical practice lovingly known as the “Doc-n-the-Box.” There is also a pharmacy affiliated with the medical practice. Although meticulous and professional, recordkeeping at the pharmacy is a bit inefficient since it is done manually. Recordkeeping costs have been rising in recent months as additional people have been hired to meet stricter industry regulations regarding the Health Insurance Portability and Accountability Act (HIPAA) and because of state regulations that affect the sale, storage, and dispensing of prescription drugs. Although the Doc-n-the-Box has succeeded in automating some of the data management for the pharmacy in an Excel spreadsheet, a more substantial change, i.e., a move to Microsoft Access, is needed to properly maintain and store data. That is your job!
Individuals who use the Doc-n-the-Box can request prescriptions at the pharmacy, either by presenting a written order from a doctor or asking for a refill of an existing prescription. The pharmacist adds this request to the system by getting the required information to fill it, including information about the drug, the individual’s name, the individual’s health plan, and the prescribing doctor. Use the data that the Doc-n-the-Box has provided for you in the file “HW 5 – Spring 2014 - 010 - Doc-n-the-Box - [url removed, login to view]” (which can be found in Blackboard) to complete the following tasks/requirements. (Note that all of these must be successfully accomplished to be able to receive full credit on the assignment.)
1. Create a Microsoft Access database for the Doc-n-the-Box pharmacy.
2. Create the table(s), field(s), data type(s), primary key(s), etc. for the database. (2 pt)
3. Create the relationship(s) between/among the tables, as appropriate. (1 pt)
4. Populate the database with the data provided in the Excel file. (2 pt)
Once this is done, perform the following data-analysis tasks (i.e., queries) using Access. (Use the generic name for the queries when you save them, e.g., Query 1, Query 2, etc.):
Query 1 – Create an alphabetized list of the female patients who have used the Doc-n-the-Box. Your output should include the Last Name, First Name, Patient ID#, Phone, Date of Birth, and allergies, if any, for those individuals. (1 pt)
Query 2 – Create a list of patients and the drug(s) that has/have been prescribed for them. Your output should include the Patient’s Last Name, Patient’s First Name, Patient ID #, Drug Name, UPN, Instructions, Number of Refills Authorized, and Rx Expiration Date. Sort it by Rx Expiration date with the expiration furthest out on top (descending) (1 pt)
Query 3 – Create a list of the Health Plans with a list of individuals for each plan. Your output should include the Health Plan Name, Health Plan ID#, Patient Last Name, Patient First Name, and Patient ID#. This list should be alphabetized by Health Plan Name, and alphabetized by Patient Last Name within each Health Plan category. (1 pt)
Query 4 – Create a list of Prescriptions with 0 (zero) authorized refills. Your output should include UPN, Drug Name, # Refills Authorized, Patient Last Name, Patient First Name, Doctor’s (Last) Name, Doctor ID#, and Doctor’s Phone Number. (1 pt)
Query 5 – Create a list of Patients who received prescriptions between May 1, 2012 and December 31, 2012. Your output should be organized by Patient’s Last Name, Patient’s First Name, Prescription Date (in ascending order), Expiration Date, Patient ID#, Doctor’s Last Name, Doctor ID#, Drug Name, and UPN. (1 pt)
Query 6 – Create a list of drugs that have been prescribed between January 1, 2012 and December 31, 2012. Your output should be organized by UPN (ascending), Plan ID#, Plan Name (ascending) and date of prescription. (1 pt)
Data File is provided separately.