This is a UML design diagram about the factory pattern. A UML diagram is a diagram based on the UML (Unified Modeling Language) with the purpose of visually representing a system along with its main actors, roles and actions, in order to better understand, alter, maintain, or document information about the system. From this diagram people can get a general idea of the factory pattern and the entities involved in this pattern, such as doctor, nurse and other employees. It can be apply to medical field or creatively used in other areas.