You’ve been approached by SkinsRUs, a dermatology practice that after a successful operation for a number of years has decided to expand by offering a global consultation service on-line. They need a web-application that will allow patients from around the world to submit images of anomalous skin conditions and seek competent consultation over the internet.
The patients will be charged a fixed price per consultation of £30 with an introductory offer of
£15 for the first consultation. There will be a discount for patients who use the service on a regular basis – every 10th consultation is free of charge.
Patients will be able to login securely on the server using their authentication details and check whether the images they have uploaded have been seen by a dermatologist and what advice has been given. If they find the advice ambiguous or unclear, they may write a note asking for further clarification, which is recorded by the system. The system should allow for up to 3 clarification requests per image. Providing a clarification by a dermatologist is free of charge.
Patients are allowed to cancel an on-line consultation request within 24 hours of submitting an image for consultation if no consultation has been provided by then. In this case a refund will be given after deducting 5% of the fee to cover bank transfer fees. If a consultation request is cancelled, the images held on the server will be destroyed by the system once a successful refund has taken place.
The images will be uploaded and held in encrypted form on a server using an encryption key. To improve security, practice personnel change the key periodically. Whenever a key is changed, the personnel should provide the old and the new key. The system will use the old key to decrypt all saved images and then encrypt them using the new key.
The dermatologists should be able to login securely and access patient records with outstanding consultation/clarification requests. Once they have logged in, the system will automatically decrypt the images they need to access.
The application should maintain on-line patient records that include:
- authentication details such as the username and password created by the system when a patient access the system for the first time. These will be shown to the patient on the screen in response to their uploading their first image and making a full payment for the consultation;
- images they have submitted and results of consultations;
- payments received.
The application should also maintain a record of the interaction between the dermatologist(s)
and the patients:
- a dermatologist should be able to trace the doctor(s) who provided the initial consultation and any subsequent clarifications (per image)
- a patient should be able to access their consultation/clarifications, but not who has provided the advice (the identity of the dermatologist providing the consultation is withheld from the patient).
o SkinsRUs would like the system to rank the patient records according to whether they have a pending request or not. If a consultation or clarification request is not dealt with in 24 hours, the system will raise the patient record priority to urgent. Once an urgent record has been dealt with and all pending consultation/clarification requests related to the patent have been resolved, the patient’s record priority will be restored to normal.
You are expected to develop a set of models on SkinsRUs and answer the following questions.
Question 1: Use case model
a) Develop a use case diagram for SkinsRUs, showing the primary and secondary actors, the use cases and the relationships between them. Pay attention to all actors, including the secondary actors.
b) Develop use-case specifications for the use case ‘Request Consultation’ and any related use-cases (i.e. such that have <<include>>/<<extend>> or generalisation relationships with the use case ‘Request Consultation’). The specifications should cover all the booking options listed in the statement of requirements and should:
· spell out the interaction between the actors and the system related to requesting a consultation (which includes uploading an image of the skin condition, making a
payment, if necessary),
· dealing with requests from members, and from non-members;
· the important exceptional circumstances (alternative flows) that might occur (e.g. failed payment).
Make plausible simplifying assumptions if details are not provided in the initial statement of requirements and make your assumptions clear.
Question 2: Analysis class diagram
a) Develop an analysis class diagram for SkinsRUs. Concentrate on the problem d<