Mountain View Community Hospital Group 5 - PowerPoint PPT Presentation

1 / 34
About This Presentation
Title:

Mountain View Community Hospital Group 5

Description:

Physician-to-Patient Relationships ... Generalizing much of the common attributes and behavior makes the process of ... Project Exercise # 1 question ... – PowerPoint PPT presentation

Number of Views:80
Avg rating:3.0/5.0
Slides: 35
Provided by: Len5159
Category:

less

Transcript and Presenter's Notes

Title: Mountain View Community Hospital Group 5


1
Mountain View Community HospitalGroup 5
  • Presented By
  • Len Gray
  • Tristan Erford
  • Jan Willems

2
Who MVCH depends on
  • Employees
  • Patients
  • Physicians
  • Volunteers

3
Common Attributes
  • All persons (entities) share these common
    attributes
  • personID (identifier)
  • name
  • address
  • city-state-zip
  • dateOfBirth
  • phone

4
Unique Attributes
  • Employees - - - - - - dateHired
  • Patient - - - - - - - - - dateOfContact
  • calc-age
  • Physicians - - - - - - specialty
  • pagerNumber
  • Volunteers - - - - - - skill

5
Unique Methods
  • Each of the four persons (entities) have at least
    one unique method.
  • Employee - calc-benefits
  • Volunteers - assign-to-Center(CareCenter)
  • Physicians - treats(Patient)
  • Patients - calc-age and assignToLocation(Bed)

6
Physician-to-Patient Relationships
  • Each Patient has one and only one Physician who
    is responsible for the Patient.
  • A Physician may not be responsible for a Patient
    at a given time or may be responsible for one or
    more Patients.
  • Patients are divided into two groups
  • - Resident - assignToBed(Bed)
  • - dateOfAdmission
  • - Outpatient - scheduled for zero or more visits

7
Visit Entity
  • Attributes
  • - date (partial identifier)
  • - comments
  • An instance of Visit cant exist without an
    outpatient owner entity.

8
Three Subdivided Groups of Employee
  • Name
  • - Attribute - certificate (indicates
    qualification)
  • - Relationship - assigned to one and only one
    Care Center
  • Staff
  • - Attribute - jobClass
  • Technician
  • - Attribute - skill
  • - Relationship - assigned to one or more
    laboratories

9
Care Center Entity
  • Attributes
  • - name (identifier)
  • - location
  • Examples of Care Centers
  • - Maternity
  • - Cardiology
  • - Emergency

10
Care Center Relationships
  • Relationships
  • - A Care Center may have one or more nurses
    assigned
  • to it.
  • - One of the nurses assigned to a Care Center is
  • appointed nurseInCharge.
  • - The nurseInCharge must have an RN certificate.
  • - A Care Center is assigned zero or more Beds.
  • - Care centers are located in Buildings.

11
Bed Entity
  • Attribute - bedID (composite identifier)
  • Components - bedNumber
  • - roomNumber
  • Method - utilization
  • Relationship to Patients
  • - Each resident Patient must be assigned a Bed.
  • - A Bed may or may not have a resident Patient
    assigned
  • to it at a given time.

12
Building Entity
  • Attributes
  • - buildingNumber
  • - buildingName
  • - buildingCode

13
Laboratory Entity
  • Attributes
  • - name (identifier)
  • - location
  • Method - numberOfEmployees
  • Relationships
  • - Each Technician is assigned to one or more
    Laboratories.
  • - A Laboratory must have at least one Technician
    assigned to it and
  • may have any number of Technicians assigned.
  • - A Laboratory is housed in only one Building,
    and a Building may
  • house many Laboratories.
  • - A Laboratory includes equipment and the
    employees who work in
  • that Laboratory.

14
Project Question 1
  • Is the ability to model superclass/subclass
    relationships likely to be important in a
    hospital environment such as Mountain View
    Community Hospital? Why or why not?

15
Project Question 1 Answer
  • The ability to model superclass/subclass
    relationships is very important because many of
    the classes share common attributes and behavior.
  • Generalizing much of the common attributes and
    behavior makes the process of understanding and
    simplifying a system easier.
  • Thus, the result is an improved system design, if
    necessary, and extensions to the system in the
    future.

16
Project Question 2
  • Do there appear to be any link objects in
  • the description of the data requirements in this
    project segment?
  • If so, what are they?

17
Project Answer 2
  • There Do not appear to be any link objects in the
    data requirements.
  • However, It could be argued that the association
    between the Nurse class and Care center class
    could be represented with a class that would
    contain information as to whether or not the
    nurse is in charge.

18
Project Question 3
  • Are there any abstract object classes in the
    description of this hospital?
  • Why or Why not?

19
Project Answer 3
  • The Employee class and Care center class both are
    complete and serve as an abstract class for
    generalizing much of the information needed by
    their subclasses.

20
Project Exercise 1 question
  • Draw a class diagram to accurately represent this
    set of requirements carefully following the
    notation from this chapter

21
(No Transcript)
22
Project Exercise 2 question
  • Develop definitions for each of the following
    types of objects in your class diagram from
    Project Exercise 1.
  • Make reasonable assumptions based on your won
    knowledge and experience.

23
Project Exercise 2 answer
  • Classes
  • A place to store information and actions with
    entities in the real world.
  • Attributes
  • A place to store a piece of information.
  • Relationships
  • The connection or dependence upon other classes
    to help define the hospital system.
  • Methods
  • The actions and procedures the classes perform.

24
Project Exercise 3
  • You should recognize the statement A nurse
    cannot be appointed nurse_in_charge of a care
    center unless he or she has an RN certificate as
    a business rule. How did you model this business
    rule differently from what you did in Chapter 4?
    What is the constraint object? Is it an entity,
    an attribute, a relationship, or some other
    object?

25
Project Exercise 3 Answer
  • The rule can be stated as follows For a nurse
    to be appointed nurse-in-charge of a care center,
    that nurse must possess a RN certificate.

26
Project Exercise 3 Answer Continued
  • This relationship was modeled differently for we
    created constraint that made it state that a
    nurse must possess a certificate to be allowed to
    be a nurse-in-charge.
  • In this diagram the Anchor object is the the
    nurse entity, and the corresponding object is the
    RN Certificate which is also an entity, the
    constraint object is considered and attribute in
    the problem.

27
Project Exercise 4
  • Compare the class diagram you developed in this
    chapter with the EER diagram that you developed
    in Chapter 4 and with the E-R diagram you
    developed in Chapter 3 in Project Exercise 2.
    What are the differences between these two
    diagrams? Why are there differences?

28
Project Exercise 4 Answer
  • The EER shows the entity types, instances, and
    relationships.
  • The ER diagram shows entities as a class object
    which shows behavior as well as attributes which
    is different than entities.
  • The Class diagram is easier to read for the
    information is more compact.

29
Project Exercise 5
  • Did you find any examples of aggregation or
    composition in the description of the project in
    this chapter? Why or why not?

30
Project Exercise Answer 5
  • We were capable of finding both aggregation and
    composition in the description of this project.
  • Aggregation is involved in the project since some
    classes of persons are not enumerated. For
    example There are other persons in the hospital
    community who do not belong to one of these four
    groups.

31
Project Exercise 5 Answer Continued
  • Composition is demonstrated because there are no
    other types of patients or employees other than
    those listed.
  • For example Patients are divided into two
    groups residents and outpatients.
  • Employees are divided into three groups nurse,
    staff and technician.

32
Lens Question
  • In the MVCH case study for this chapter, the
    entity Employee is subdivided into three groups.
    What are the three groups, what attributes do
    they share, what are their unique attributes, and
    can an Employee be a member of more than one group

33
Jans Question
  • As we can see in Project Exercise 1.
  • we have 2 different kinds of semantic
    constraints.
  • Explain them?

34
Tristans Question
  • What are the definitions of aggregation and
    composition, and give an example of each use in
    the MVCH case study?
Write a Comment
User Comments (0)
About PowerShow.com