Documente Academic
Documente Profesional
Documente Cultură
Reliability: - The reliability of the proposed system will be high due to the above stated reasons. The
reason for the increased reliability of the system is that now there would be proper storage of
information.
No Redundancy: - In the proposed system at most care would be that no information is repeated
anywhere, in storage or otherwise. This would assure economic use of storage space and consistency
in the data stored.
Immediate retrieval of information: - The main objective of proposed system is to provide for a
quick and efficient retrieval of information
Requirement Specification
Modules
Sub-Modules
EMPLOYEE
DOCTOR
NURSE
ADMIN_STAFF
METTING
QUERY POLICY
PATIENT
DOCTOR
NURSE
TREATMENT:
NURSE
TEST
MEDICINE
ADMISSION
PATIENT
RECORD
WARD
ADMIN_STAFF
ENTITY-RELATIONSHIP DIAGRAM
ENTITY-RELATIONSHIP DIAGRAM
SCHEMA
Patient
P_ID, P_NAME ADDRESS, P_AGE, P_SEX
P_ID, DISEASE_NAME D_ID
D_ID D_SEX, EXP, D_CONTACT_NO.
EXP, QUALIFICATION D_SAL
D_CONTACT_NO. D_NAME
RECORD _NO. PID, P_CONTACT NO
RECORD:
PID, RECORD _NO. DATE_OF_ADM, DATE_OF_REL, D_ID
TREATMENT:
DISEASE_NAME TEST_REQUIRED, MED_REQUIRED
NURSING:
WARD_NAME BED CAPACITY
WARD_NO N_ID
N_ID N_NAME
N_NAME, CONTACT_NO. N_AGE, N_SAL
SCHEMA
MEDICINE:
MFG_DATE EXP_DATE
M_NAME M_DESCRIPTION
ADMIN STAFF:
S_ID, S_NAME S_SEX, S_SAL
CURSOR
Output
TRIGGER
1.TRIGGER ON TABLE ADMIN_STAFF FOR INSERT PURPOSE:
COMMAND:
CREATE OR REPLACE TRIGGER TRI1 BEFORE INSERT ON ADMIN_STAFF FOR
EACH ROW
BEGIN
INSERT INTO ADMIN_STAFF_BACK_UP VALUES( :NEW.S_ID , :
NEW.S_NAME , :
NEW. S_SEX , :NEW . S_SAL);
END;
2.TRIGGER ON TABLE NURSE FOR UPDATE PURPOSE:
COMMAND:
CREATE OR REPLACE TRIGGER TRI2 BEFORE UPDATE ON NURSE FOR EACH
ROW
BEGIN
INSERT INTO NURSE_BACK_UP VALUES( :OLD.N_ID , : OLD.N_NAME , :
OLD. N_CONTACT_NO , :OLD . N_AGE , :OLD . N_SAL);
END;
PACKAGE
PACKAGE
Output
CONCLUSION
This project on hospital management system deals with the
computerization of the databases of a hospital in a hospital a
huge no. of data is being worked with like the data of a patient
doctor ,treatments etc. The project makes the storage of the
huge data in a easier way so that it becomes easier to manage
the entire administration.
The database management system that is developed can provide
details of a certain patient doctor or any other related things of
a hospital like medicine tests etc.
The system can also be used as a backend tool to develop further
softwares.