
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























BERNARD POUW
Functional requirements describe the desired end function of a system operating within normal parameters, so as to assure the design is adequate to make the desired product and the end product reaches its potential of the design in order to meet user expectations. (TechTarget, 2018) Typically, a functional requirement is a basic functionality or desired behaviour documented clearly and quantitatively. Requirements engineering ideas may be applied to more or less complex items. (TechTarget, 2018)
Non-functional requirements or NFRs are a set of specifications that describe the system’s operation capabilities and constraints and attempt to improve its functionality. These are basically the requirements that outline how well it will operate including things like speed, security, reliability, data integrity, etc. (Altexsoft, 2022)
To organize and improve its business operations, the clinic needs an information system. The present manual procedures for managing medical information, arranging appointments, and communicating with patients take a lot of time and are prone to mistakes. A software program that can automate these procedures, boost productivity, and improve patient satisfaction is required by the clinic. Functional requirements:
a. The system should maintain a record of each patient's diagnosis, treatments received, and relevant medical data. b. Allergy information, previous medications, and other pertinent patient details should be recorded. c. The system should allow doctors to access patient information before each consultation to provide appropriate treatment.
The 'Clinic System' is depicted as a single process in the Context Diagram. It depicts the system in its whole without delving into its underlying components or interconnections with external entities. The Context Diagram depicts the system's boundaries and interactions with external entities at a high level. As for level 1, the primary processes inside the 'Clinic System' are shown as individual bubbles in the Level 1 DFD. The arrows depict the data flow between various procedures. The Level 1 DFD depicts the system's operations and their interconnections in more detail. The descriptions of each the process are: Request Appointment: This process handles the management of patient appointments.
Update Database: This process updates the database within the system, such as appointment summaries, patient statistics, revenue analysis, and resource utilization reports. Consultation: This process involves the interaction between physicians and patients during consultations, including reviewing medical records, conducting examinations, and providing medical advice. Appointment Accepted/Declined: This process is responsible for letting the physician and patient know if the appointment request is accepted or declined. In the Level 2 DFD, we zoom in on the "Request Appointment" process from the Level 1 DFD and decompose it into more detailed subprocesses. In this case, we have two subprocesses: "Check Customer Information" and "Check Physician Availability." The descriptions of these two subprocesses are: Check Customer Information: This subprocess is responsible to check and review the customer’s information in order to request for a minor surgery or a consultation with a physician. Check Physician Availability: This subprocess is responsible to check if the physician is available to do a minor surgery or a consultation with the patient.
A use case diagram is a method of summarizing information about a system and its users. It is often depicted as a graphical representation of interactions between various parts in a system. This is the Use Case Diagram for the Clinic System:
Use Cases: Register Patient: Allows a patient to register in the system by providing personal information, medical history, and contact details. Schedule Appointment: Enables a receptionist to schedule an appointment for a patient with a specific physician, considering availability and desired time slots. Cancel Appointment: Allows a patient or receptionist to cancel an existing appointment, updating the schedule and notifying the relevant parties. Perform Consultation: Allows a physician to conduct a consultation with a patient, reviewing medical records, examining symptoms, and providing medical advice. Diagnose Patient: Enables a physician to diagnose a patient's condition based on the consultation, medical history, and diagnostic tests. Prescribe Treatment: Allows a physician to prescribe treatment, including medications, therapies, or further tests, based on the diagnosed condition. Access Patient Information: Provides authorized users (physicians, receptionists) access to patient information for consultations, scheduling, and updating medical records. Generate Reports: Allows the clinic manager to generate various reports, such as appointment summaries, patient statistics, revenue analysis, and resource utilization. Main Success Scenario (for Schedule Appointment): The Receptionist selects the 'Schedule Appointment' use case. The system displays the available time slots and physicians. The Receptionist selects a preferred time slot and physician for the appointment. The system verifies the availability of the selected time slot. The Receptionist enters the patient's details and confirms the appointment. The system records the appointment, updates the schedule, and sends a confirmation to the patient. Extension Scenarios (for Schedule Appointment):
If the selected time slot is not available, the system displays an error message and prompts the Receptionist to choose another time slot. If the patient's details are incomplete or invalid, the system prompts the Receptionist to provide the necessary information. Pre-conditions: The patient must be registered in the system. The physician's schedule and availability should be synchronized with the system. The Receptionist must have proper authorization to schedule appointments. Post-conditions: The appointment is successfully scheduled and recorded in the system. The patient and clinic staff receive appropriate notifications regarding the appointment.
A sequence diagram is a diagram created using the Unified Modelling Language (UML) that shows the flow of messages sent and received by objects during an interaction. A set of objects that are represented by lifelines and the messages they exchange over the course of an interaction make up a sequence diagram. This is the sequence diagram for the clinic system:
Similar to a flowchart or data flow diagram, an activity diagram visually displays a series of actions or the flow of control in a system. A common tool in business process modelling is the activity diagram. Additionally, they can outline the procedures in a use case diagram. This is an activity diagram for the clinic system: In this Activity Diagram, the main activities within the 'Clinic System' are represented by rectangular nodes. The arrows represent the flow of control between the activities. The main activities depicted in the diagram are: Register Patient: This activity involves registering a patient to the clinic system’s database. Request Appointment: This activity involves managing the scheduling and confirmation of patient appointments within the system.
Minor Surgery: This activity represents the process of a physician conducting a minor surgery with a patient, including reviewing medical records, examining symptoms, and providing medical advice. Consultation: This activity is similar to minor surgery, where this activity represents the process of a physician conducting a consultation with a patient, including reviewing medical records, examining symptoms, and providing medical advice.
A graphical representation that shows relationships between individuals, things, locations, concepts, or events inside an information technology (IT) system is called an entity relationship diagram (ERD), also known as an entity relationship model. This is the ERD for the clinic system:
Minor Surgery: Represents the minor surgery that is requested by the patient for the appointment for the physician, it has attributes like surgery_id (primary key) and surgery_name. Consultation: Represents the consultation that is requested by the patient for the appointment for the physician, it has attributes like consultation_id (primary key) and consultation_name. As several physicians, receptionists, and appointments may be scheduled at one clinic, the relationships are listed as one-to-many in terms of their degree. Similar to a patient, a physician, and a receptionist might all have different linked entities.
Table of Content
Software Design Techniques Bernard Pouw
User requirements are typically written when discussing the use cases for a project. The requirements definition is done with the customer or product managers that know how the embedded system will be used by the user. (Kraeling. M, 2019) The software requirements are description of features and functionalities of the target system. Requirements convey the expectations of users from the software product. The requirements can be obvious or hidden, known or unknown, expected or unexpected from client’s point of view. (TutorialsPoint, n.d) The creation of the complete clinic system must take user and software needs into account. Here is how these needs have been met in various system components: User-Friendly Interface: The system has a user-friendly interface that allows users, including physicians, receptionists, and managers, to interact with the system easily. The interface is intuitive, providing clear navigation and input fields for users to perform various tasks. Appointment Management: The system addresses the user requirement for managing appointments by providing features such as scheduling, modifying, and canceling appointments. It ensures that appointments can be scheduled based on user preferences and constraints such as physician availability and patient information. Users can modify and cancel appointments as needed, with the system validating the changes and providing appropriate feedback. Patient and Physician Information: The system manages patient and physician information, addressing user requirements for storing and retrieving relevant data. It securely stores patient details such as medical history, allergies, and contact information.
Physician information, including specialization, availability, and contact details, is also maintained. The system allows users to access and update this information as necessary. Diagnosis and Treatment Tracking: The system addresses the requirement for tracking patient diagnosis and treatment by providing features to record and retrieve this information. It ensures that diagnoses and treatments are accurately documented, associating them with the respective patient and physician. Users can easily access this information for reference and updating. Reporting and Analytics: The system incorporates reporting and analytics capabilities to address user requirements for generating reports and gaining insights from the data. It provides predefined reports such as patient demographics, appointment statistics, and financial summaries. Users can also generate custom reports based on specific criteria. The system may include data visualization tools to present information in a clear and meaningful way. Security and Privacy: The system addresses software requirements for security and privacy to ensure the confidentiality and integrity of patient and clinic data. It incorporates access controls, authentication mechanisms, and encryption techniques to safeguard sensitive information. User roles and permissions are defined to restrict access to authorized individuals only. Performance and Scalability: The system is designed to meet software requirements for performance and scalability. It is optimized to handle a significant number of concurrent users and appointments without compromising performance. Efficient database management and query optimization techniques are implemented to ensure speedy retrieval and manipulation of data. Integration and Interoperability: The system may address user requirements for integration with external systems or interoperability with other healthcare systems. It may allow data exchange with laboratory systems, billing systems, or electronic health record