Question 2. Analyze a Supertype/Subtype ERD (A Subset of a Publisher Database ERD)

Question 2. Analyze a Supertype/Subtype ERD (A Subset of a Publisher Database ERD)

<p>Question 2. Analyze a Supertype/Subtype ERD (a subset of a Publisher database ERD)</p><p> a. List the attributes for Author. List the attributes for Employee. b. For each entity in the diagram, state whether it is a supertype, a subtype, or neither. c. Answer the questions below:  Can an employee also be an author?  Can a person be neither an employee nor an author? d. Assume there is a “manages” relationship in which an Employee manages an Author. State the business rules for the relationship. Modify the ERD to reflect this relationship. Hints: A single attribute may have only one FK constraint. An FK attribute does not have to have the same name as its referenced PK.</p><p>Question 3. Create an ERD</p><p>A Diagnostic Radiology Service provides Radiology Procedures for outpatients. Use the entity descriptions and Business Rules described below to develop an ERD. Please break attributes such as Name and Address into the appropriate atomic fields. Please identify PK and FK attributes, Supertype/Subtype Hierarchy Constraints, and all relationships within the ERD. An entity type list follows. Attributes are in parentheses, and each PK attribute is underlined.</p><p>Person (PersonID, Name, Address, HomePhone, CellPhone, Gender, Race)</p><p>ReferringPhysician (PersonID, NationalPractitionerID, Specialty)</p><p>Patient (PersonID,ReferringPhysicianID)</p><p>Employee (EmployeeID, Name, Address, NationalIDNumber, DateHired, DateLastPromotion, Degree, HourlyRate)</p><p>Technician (EmployeeID,Certification)</p><p>Radiologist (EmployeeID,Specialty)</p><p>Visit (PatientID, Date, Reason for Visit)</p><p>Procedure (ProcedureID, ProcedureName, Description)</p><p>Person is a supertype, with subtypes ReferringPhysician and Patient. A Person is not employed by the organization. A Person must be at least one of the following: Referring Physician or Patient. A Person can be both.</p><p>Employee is a supertype, with subtypes Technician and Radiologist. An Employee is a Technician or a Radiologist or an Administrative Staff. (Administrative Staff entity type is not to be included in the ERD.)</p><p>Here are the business rules for the binary relationships:</p><p>Patient – ReferringPhysician</p><p>A Referring Physician has many Patients.</p><p>A Patient has one and only one Referring Physician.</p><p>ReferringPhysician 1:M Patient </p><p>Patient – Visit</p><p>A Patient may have many Visits.</p><p>A Visit relates to one and only one Patient.</p><p>Patient 1:M Visit Visit – RadiologyProcedure</p><p>A Visit may contain many Radiology Procedures</p><p>A Radiology Procedure is performed for many Visits</p><p>Visit M:N RadiologyProcedure; Associative Entity VisitProcedure</p><p>Radiologist – VisitProcedure</p><p>A Radiologist reads many VisitProcedure results</p><p>The VisitProcedure result is read by one Radiologist </p><p>Radiologist 1:M VisitProcedure</p><p>Technician – VisitProcedure</p><p>A Technician performs many VisitProcedures</p><p>A VisitProcedure is performed by one Technician </p><p>Technician 1:M VisitProcedure</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    3 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us