Technique:
· All patients must first register with the initiator who keeps a track of all the members, in this case the patients.
· The patients after they register give their priority number.
· The priority numbers are stored in a queue.
· The bid validator checks to see which priority number is highest. The patient with the highest priority is allocated the first nurse. The next nurse is allocated to the patient with the second highest priority and so on.Nurse1 may be allocated to more than one patient since the number of nurses is limited when compared to the number of patients.
· Once their request has been carried out the patient can leave the group after informing the initiator. The patient can rejoin the group again by registering with the initiator.
· The Reo Language is modified to provide this kind of scenario.A circuit detailing the sequence of events and how time slots are allotted to the senior citizens/patients is done in an effective manner.
· The basic idea is to maximize work or services in a minimum amount of time using the resources effectively.