Actually the question is does my class diagram represent a good clinic management system in terms of the attributes and the relationships between objects.
Main Topics
Browse All TopicsThis is a class diagram for a clinic management system. I attach herewith the class diagram. Please provide your feedback.
Your help is kindly appreciated.
Thank You.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Eugene - it depends on your business domain. I would hazard a guess that a nurse has a department she reports to administratively, but is assigned to different wards over time. This would mean the Nurse is a member of the Department and is assigned to a particular Ward. Given this, I would associate the Nurse with both, with the Department relationship being an "employeeOf" type relationship and the Ward being a "currentAssignment" relationship.
If you have other questions or concerns, let me know.
Mark
Well, i assume the CR is in the Ward? or somewhere else... so it would be composition relationship (i.e. contained obj cannot exist w/o container obj).
The Event would document where, when, who, ... that actually took place. If your biz rqmts mean that you need to know the exact CR, then that is the where - does NOT mean the Nurse, etc are still there! An Event is a historical object - it records the facts at the time. Doesn't require the facts to stay the same.
Capische?
Patient and Doctor and ... have relationship to Visits - for the ones they participated in.
Oh, absolutely a doctor can have an appt on a calendar. Be aware that most frameworks have Calendar classes already. So that part is probably taken care of, but you can still show a Calendar association and then Appointment objects.
So: Doctor 1 -- 0..* Appointment 0..*-- 1 Patient
An Admission is an Event much like a Visit, just different relationships.
Sometimes a status can be via the context. E.g. if you have a Store that has a variable called suspendedTransactions (such as when a customer has to go out to their car to get their wallet), the fact that a SalesTransaction is in that collection means its state is "suspended".
In cases where there are interesting states that you want to model correctly, you should create a State diagram, in this case perhaps for Visit. Maybe states like "Active" and "Complete". Unless you have more states, it may not be needed in this case.
Business Accounts
Answer for Membership
by: wpm0001Posted on 2009-07-22 at 23:57:19ID: 24922432
What is it that you would like to know? What is the question?