3.6.0 SYSTEM DESIGN
3.6.1 Input design
The whole process of the existing system starts when the patient health condition has been observed by the medical doctor and prescription made in the patient prescription card to know the type of drugs to use and when to use them. It also involves the input to the system that will be manipulated to produce the required output.
The patient name: - The name of the student/staff that is collecting the drug(s).
Drug prescribed: - The type of drugs prescribed.
Dosage mentioned: - The dosage for each drugs prescribed by the medical doctor is stated in the drug allocation.
3.6.2 Output design
This is the output of process analysis on input, it refers to the final report from input processing, through the input and process analysis, the management of the hospital can ascertain how drugs are dispensed without encountering any problem. The following are the output analysis.
The number of drugs in stock, dispensed daily, weekly, monthly, or yearly is known, knowing when to re-order will help the management and administration of the hospital in making decisions for them to achieve their goal. This will also help them to know the number of patients involved to budget and plan for good services for them.
This will also help them to enhance efficiency, effectiveness and operational management of the hospital.
3.6.3 Database design
In discussing a database, we must differentiate between the database schema, which is the logical design of the database, and a database instance, which is a snapshot of the data in the database at a given instant in time. The concept of a relation corresponds to the programming- language notion of a variable. The concept of a relation schema corresponds to the programming-language notion of type definition. It is convenient to give a name to a relation schema, just as we give names to type definitions in programming languages. We adopt the convention of using lowercase names for relations, and names beginning with an uppercase letter for relation schemas. In general, a relation schema consists of a list of attributes and their corresponding domains
The database schema for the application is shown below:
