|
Patient-Recptionist-Doctor Choreography |
This example is based on a use case being developed by the W3C Web Service Choreography Working Group. 2 Party Choreography with distributed activities and explicit Messages 2 Party Choreography with collapsed activities as Message Exchange Patterns 3 Party Choreography with distributed activities and explicit Messages 3 Party Choreography with collapsed activities (Web Services) and Message Exchange Patterns 2 Party Choreography with binding to Internal Process A text description of the choreography was presented as so: 1) Patient send a "I want to see doctor" message to the Receptionist 2) Receptionist send a "Are you available ?" message to a a list of Doctors 3) One doctor send a "I'm available" message to the Receptionist. 4) Receptionist send a "I'll book you" message to the Doctor. 5) Receptionist send a "Go see doctor" message to the Patient 6) Patient send a "I feel sick" message to Doctor 7) Doctor send a "Prepare this medicine" message to Receptionist 8) Doctor send a "Pickup your medicine and you can leave" message to Patient 9) Patient send a "I need my medicine" message to Receptionist 10) Receptionist send a "Here is your medicine" message to Patient |