This chapter covers the most important steps in designing a database. Detailed explanations are given that talk about database design concepts in depth. When designing a database model in the real world, you will also be given a particular scenario. The scenario often will take the form of sample documents and interview notes. This chapter uses a case scenario to describe the current situation, problems, and changes a fictitious firm is undergoing. All chapters in this book contain a case study at the end to help drive home the ideas behind the chapter. This entire chapter, however, is based on a case scenario to help illustrate the process of database design point by point. It guides you through the process of deducing all entities (tables), attributes ( columns ), and relationships from a hospital scenario. The material is presented in this manner to better illustrate the process of and steps undergone in data modeling. Case Scenario: Lloyd's HospitalLloyd's Hospital is one of the major hospitals in the city of Etmodsirch. It has as many as 1000 new patients each month and approximately 300 employees , including more than 160 doctors , surgeons, professors, and nurses. Lloyd's Hospital currently has at least 2000 beds and maintains highly sophisticated utilities, machinery, and robotics . Lloyd's Hospital's business goals are in providing the highest quality care to individuals and the community, advancing in care through excellence in medical research, and educating future academic and practice leaders of the health care professions . Lloyd's Hospital is among the prominent hospitals in the city of Etmodsirch. Lloyd's Hospital also provides diverse training opportunities for nurses and allied health care professionals. Lloyd's Hospital aims to serve the community as a public health advocate and provide support and services that respond to the area's health care needs through health education, health promotion, and access to care. Because of numerous complaints on the extreme inefficiency of the current complex database, CEO John Patterson has made the decision to acquire a completely different database design. His requirement is to have a new database designed from scratch that will make the different processes that take place in Lloyd's more efficient. He gives you a brief overview of the current situation at Lloyd's:
With this information, you can begin designing a new data model in accordance with the current situation at Lloyd's Hospital. Realizing that this information is somewhat incomplete, you will have to make a few assumptions along the way. But first, you need a little background on relational databases and the modeling of such data. In an ideal situation, sample documents and full descriptions of all procedures that interact with the data would also be used as an aid to the development of the data model. |