object model and class diagram


for any given project say patient management system (in which patient, prescription an d medicine are resources) which allows CRUD operations like ADD, READ,DELETE, UPDATE how do i design the object model or draw the class diagram. Let say i want to have PatientService webservice which i should design which has operations like getPatient, getPrescription, addPatient, updatePatient, deletePatioent etc.Any good resources and links, sample examples around these topic?
please advise
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
Let me guess. You are taking classes and you want us to do your homework?
>> how do i design the object model or draw the class diagram.
We had an 8 day UML course covering this topic. But that covered requirements through OMD and State Diagram Simulation, more than what you are asking. On two projects 7-10 years ago, we created Class and Object Model Diagrams (as well as Sequence dagrams and State Diagrams), and from these graphics, we then automatically generated all the C++ headers. (By adding in the state code, we got all the code.)

Here's a brief video tutorial of Class and OMD diagrams:

Here's a brief PDF on Class diagrams that provides additional information:

With this introduction, you can get a professional free trial of IBM Rationale Rhapsody to practice UML drawing and code generation here.
gudii9Author Commented:
We had an 8 day UML course covering this topic.
how to take this now?
Who train on this. Please advise
>> Who train on this. Please advise
I-Logix provided the group training at work (lecture and labs) around the 2005-2006 time-frame. Documents: "UML 2.0", and " "Essential" Tool Training, Rhapsody in C++" provided by I-Logix.

Now IBM owns Rhapsody which is now just a part of the IBM Rationale suite of Software Engineering tools.

>> how to take this now?
IBM web site shows a set of associated training partners for many products, but I didn't come across formal Rhapsody training. Maybe one of their partner links has this (expensive) training. But if you download the free trial, you should be able to find at the IBM site free tutorials and lab projects to practice on. With all the free materials on-line, I think you may be able to get enough background on your own to work with the free trial.

(If you choose to use it with C++, I would first learn the basics of C++ reasonably well so that during your free trial, you can concentrate on UML and not have to spend too much time on C++.)

There are also free UML tools, some of which can handle and even reverse engineer small C++ programs (so I read), but after being used to industrial strength UML programs, I never looked into them.

There are a lot more products that IBM developed or purchased since 2005, and I am not familiar with some of them. See IBM Rational Solution for Systems and Software Engineering.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.