Question

In: Computer Science

System Requirements There are many categories of people that need to be tracked in the PAN...

System Requirements

There are many categories of people that need to be tracked in the PAN database. Each person may fall into more than one of the following categories: clients, volunteers, employees, and donors. PAN tracks the name, social security number, birth date, race, gender, and profession of each person. In addition, PAN stores the contact information for each person consisting of a mailing address, email address, and home, work, and cell phone number. PAN also sends a monthly newsletter to people on its mailing list, so the database should indicate whether or not each person in the database is on that list. Finally, the system should have the ability to store a list of emergency contacts for the people in the database. This information should record the name and contact information for each of the emergency contacts along with their respective relationship to the person in the database.


PAN tracks its list of clients in the database. For each client, PAN tracks the name and phone number of his or her doctor and attorney. PAN also tracks the date the client was first assigned to the organization. Each client has a list of needs. Examples of these needs include visiting, shopping, housekeeping, transportation, yard work, and food. Each of these needs is also associated with a value indicating its importance to the client (1-10). PAN also tracks the list of insurance policies that each client has. Each insurance policy has a unique policy id, a provider id, provider address, and a type such as life, health, home, or auto.


PAN provides care for each client using teams that contain many volunteers. Each team cares for several clients, and more than one team may care for a client. Each team is identified by its name, and each team also has a type and a date it was formed. A volunteer may serve on multiple teams. For each volunteer, the database should store the date he or she first joined PAN and the date and location of his or her most recent training course. In addition, PAN should record the number of hours a volunteer worked each month for a particular team. Note that the volunteers do not work the same number of hours each month. One of the volunteers on a team serves as the team leader. This information should be tracked in the database as well. In addition, volunteers and clients may switch teams; so, the database system should provide the ability to mark whether or not each volunteer and client is active or inactive on a specific team.


Every team reports periodically to one PAN employee to discuss its current status, and more than one team may report to the same employee. The database should record the date of each report as well as a description of its content. For each employee, the database should store the employee’s salary, marital status, and hire date. An employee may charge several expenses each month. The database should track the date of the expense, along with the amount and its description.


PAN depends on support from its donors. The database should track these people as well as record each of their donations. This information should include the date, amount, and type of donation along with the name of the fund raising campaign that generated the donation if it is applicable. If the donation was made by check, the database should record the check number. If the donation was made by credit card, the database should record the card number, card type, and expiration date. In addition, each donor may wish to remain anonymous, so the database should record that information as well.


Each person in the database may be affiliated with an external organization. The database should track this information as well. Each organization should have a unique name, mailing address, phone number, and contact person. In addition, each organization may sponsor one or more PAN teams, and a team may have more than one sponsor. If the organization is a business, the database should record the business type, size, and company web site. If the organization is a church, the database should record its religious affiliation. Each organization may also make several donations to PAN, and the database should track the same donation information as it does for individual donors. This includes the ability for the organization to make anonymous donations

Question 1: Construct and ER diagram for the above System Requirements

Solutions

Expert Solution

ERD for given database :

No of entities :

Person entity , Client entity , Volunteers entity , Employee entity , Donors entity , Emergency_Contacts entity , Insurance_policies entity , Team entity, Organisation entity , Business entity , Church entity , Donation entity , Check entity, CreditCard entity

Relationships:

  1. There are Has relationship between Person entity and Emergency_Contacts entity.
  2. There are Affiliated relationship between Person entity and Business entity.
  3. There are has relationship between Client entity and Insurance_Policies entity.
  4. There are Care_For relationship between Client entity and Team entity.
  5. There are Serve relationship between Volunteers entity and Team entity.
  6. There are report relationship between Employee entity and Team entity.
  7. There are Charge relationship between Employee entity and Expenses entity.
  8. There are record relationship between Donors entity and Donation entity.
  9. There are Make relationship between Donation entity and Organization entity.
  10. There are Sponsor relationship between Business entity and Organization entity

Multiplicity:

  1. There are M:M multiplicity between Person entity and Emergency_Contacts entity.
  2. There are M:1 multiplicity between Person entity and Business entity.
  3. There are 1:M multiplicity between Client entity and Insurance_Policies entity.
  4. There are M:M multiplicity between Client entity and Team entity.
  5. There are 1:M multiplicity between Volunteers entity and Team entity.
  6. There are 1:M multiplicity between Employee entity and Team entity.
  7. There are 1:M multiplicity between Employee entity and Expenses entity.
  8. There are 1:M multiplicity between Donors entity and Donation entity.
  9. There are M:1 multiplicity between Donation entity and Organization entity.
  10. There are M:M multiplicity between Business entity and Organization entity

Generalization exists in the diagram :

  • 1. Person entity is super entity and Client entity, Volunteers entity, Employee entity, Donors entity are Sub entities.
  • 2. Organization entity is super entity and Business entity, Church entity are Sub entities.
  • 3. Donation entity is super entity and Check entity and CreditCard entity are sub entities

ERD :

Thank you................


Related Solutions

Please i need a detailed explanation of this short article Thinking of the many variables tracked...
Please i need a detailed explanation of this short article Thinking of the many variables tracked by hospitals and doctors' offices, confidence intervals could be created for population parameters calculated frommany of them. What variable and parameter might be most helpful in your work to be able to create an interval that captures the true value of the parameter of patients with 95% confidence?
Distinguish between a progressive tax system and a regressive tax system. Consider two categories of people—the...
Distinguish between a progressive tax system and a regressive tax system. Consider two categories of people—the rich and the poor. Who—the rich or the poor—pay more tax under a progressive tax system? Who pay more tax under a regressive tax system? Who pay a higher percentage of their taxable income under a progressive tax system? And who pay a higher percentage of their taxable income under a regressive tax system?
Social stratification ranks categories of people in a hierarchy. What are the ranking categories in India,...
Social stratification ranks categories of people in a hierarchy. What are the ranking categories in India, South Africa, United Kingdom, Japan, The former Soviety Union, and China? (pages 276-283 in 15th edition or pages 244-251 in 16th edition)
Many people need a car to get to work, take care of their families, live their...
Many people need a car to get to work, take care of their families, live their lives. But obtaining an auto loan can be difficult for those with a bad credit rating. Some finance companies are now willing extend credit to people who are poor risks. On one condition: the company can install on the car tracking software that has the ability to disable the ignition if the debtor misses a payment. This procedure has left drivers stranded oh highways...
How many people need to be surveyed (out of 16,000) at minimum in order to learn...
How many people need to be surveyed (out of 16,000) at minimum in order to learn about their smartphone preference?
a. Many people believe trade deficits are a serious problem and need to be eliminated. (i)...
a. Many people believe trade deficits are a serious problem and need to be eliminated. (i) Explain the three actions the Fed could take to reduce the trade deficit in the U.S., and explain carefully how these actions would result in a reduced trade deficit. Answer:
I need al functional and non functional requirements and design constraints for this system: Payroll Management...
I need al functional and non functional requirements and design constraints for this system: Payroll Management System As the head of Information Technology at Mena, Inc., you are tasked with building a new payroll management system to replace the existing system which is hopelessly out of date. Mena needs a new system to allow employees to record timecard information electronically and automatically generate paychecks based on the number of hours worked and total amount of sales (for commissioned employees). The...
Thinking of the many variables tracked by hospitals and doctors' offices, confidence intervals could be created...
Thinking of the many variables tracked by hospitals and doctors' offices, confidence intervals could be created for many of them. What variable might be most helpful in your work to be able to create an interval that captures the true value of patients with 95% confidence? What would limit the ability to create such an interval?
Thinking of the many variables tracked by hospitals and doctors' offices, confidence intervals could be created...
Thinking of the many variables tracked by hospitals and doctors' offices, confidence intervals could be created for population parameters calculated frommany of them. What variable and parameter might be most helpful in your work to be able to create an interval that captures the true value of the parameter of patients with 95% confidence? Need 250 words and no plagiarism please.
Thinking of the many variables tracked by hospitals and doctors' offices, confidence intervals could be created...
Thinking of the many variables tracked by hospitals and doctors' offices, confidence intervals could be created for population parameters (such as means or proportions) that were calculated from many of them. Choose a topic of study that is tracked (or that you would like to see tracked) from your place of work. Discuss the variable and parameter (mean or proportion) you chose, and explain why you would use these to create an interval that captures the true value of the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT