Draw a use-case diagram and a set of activity diagrams for the process of buying glasses from the viewpoint of the patient. The first step is to see an eye doctor who will give you a prescription. Once you have a prescription, you go to an optical dispensary, where you select your frames and place the order for your glasses. Once the glasses have been made, you return to the store for a fitting and pay for the glasses.
Eye conditions are some of the most common health defects globally. For one to see clearly, light from an object has to be focused on the retina and transmitted to the brain through the optic nerves. As most people age, their eyes lose the ability to focus on objects, thus, creating the need for glasses and contact lenses. From a health perspective, there are two main eye problems which include short-sightedness and long-sightedness.
Short-sightedness (myopia) is a condition where the eye lens focuses light from objects before the retina. As such, the retina cannot interpret the information relayed. In such a case, glasses with special lenses are required to converge light at the retina (Kumar, 2009). Long-sightedness (hyperopia) occurs when distant objects are focused behind the retina. Glasses or contact lenses are required to accommodate the light from distant objects and concentrate on the retina. Acquisition of glasses or contact lenses is a process that requires assistance from a medical practitioner. Purchasing off the rack spectacles may save individuals some money, but is likely to aggravate the eye problem. Therefore, the first step in getting eye glasses is visiting an ophthalmologist. The latter is a medical doctor who specializes in identifying, diagnosing, and treating eye diseases. The ophthalmologist will perform several tests to ascertain the existence of an eye problem and its extent. Some of the standard tests include reading from a moving board