CCS 5 Final Project
CCS 5 Final Project
Silliman University
College of Computer Studies
Submitted To:
Date Submitted:
I. Business Narrative..........................................................................................................2
V. Relations......................................................................................................................... 6
As the students’ finished making the business rules they proceeded on making the
Entity-Relationship (ER) diagram. This initial Entity-Relationship (ER) diagram served
as a blueprint, mapping out the relationships between different entities within the blood
bank system. The students’ then created an Enhanced Entity-Relationship (EER)
diagram. The Enhanced Entity-Relationship (EER) diagram provided a more detailed and
comprehensive representation of the system, incorporating additional entities, attributes,
and relationships. This enhanced diagram allowed it to capture more specific attributes
and relationships, ensuring a comprehensive and accurate representation of the blood
bank management system.
The creation of the data dictionary was a crucial step in the project. This
document detailed every data element within the system, including attributes, data types,
allowed values, and relationships between entities. Each entry in the data dictionary was
meticulously defined to eliminate ambiguity and ensure that everyone had a common
understanding of the data elements.
Using DB2, the students’ developed a database capable of handling amounts of
data with reliability and performance. The DB2 database was chosen for its advanced
features, including strong data integrity, security, and support for complex queries, which
were essential for the project's success.
The last stage was to develop the front back-end application using Visual Basic.
Visual Basic was selected for its ease of use, rapid development capabilities, and ability
to create a user-friendly interface. The application includes features such as managing
patient records, donor information, and blood inventory. The program has intuitive forms
and controls, ensuring that hospital staff could easily input and retrieve information,
reducing the risk of errors and improving overall efficiency.
Scope:
This project is focused on blood banks in hospitals, involves comprehensive data
management and operations covering RMT(Registered Medical Technologist), Blood,
Doctor, Patient, Donor, and associative entities like Donate, Prescription, and Examines.
This project aims to manage donor information, blood inventory, testing results, patient
records, doctor records, and transfusion details, alongside donor screening, blood
collection, and inventory control. Integration of technology includes the use of relational
databases, developing user-friendly interfaces, and achieving compatibility with existing
hospital systems. In addition, the project considers one (1) possible user of the system,
namely: RMT(Registered Medical Technologist).
Limitation:
This project on blood bank operations and inventory management focuses on
record-keeping and does not cover actual blood collection or transfusion activities. Blood
donors and patients are not system users; their information is entered by the RMT.
Doctors must have their medical licenses stored in the database to prescribe, and
prescriptions are only issued if a patient’s ID and name match existing records.
Limitations include reliance on accurate data entry by the RMT, restricted system
accessibility to hospital environments, lack of integration with other hospital systems,
and absence of real-time data updates.
III. Business Rules
BLOOD
DOCTOR
PATIENT
DONATE
PRESCRIPTION
EXAMINES
Table Attribute Name Contents Type Format Range Required PK or Valid Default FK
Name FK Values Values References
Table
RMT
Data type Column
Column name schema Data type name Length Scale Nulls
------------------------------- --------- ------------------- ---------- ----- ------
EMPLOYEE_ID SYSIBM INTEGER 4 0 No
RMT_NAME SYSIBM VARCHAR 20 0 Yes
SPECIALIZATION SYSIBM VARCHAR 20 0 Yes
PRC_LICENSE SYSIBM VARCHAR 10 0 Yes
BLOOD
Data type Column
Column name schema Data type name Length Scale Nulls
------------------------------- --------- ------------------- ---------- ----- ------
SERIAL_NUMBER SYSIBM INTEGER 4 0 No
DONOR_NAME SYSIBM VARCHAR 20 0 Yes
BLOOD_TYPE SYSIBM VARCHAR 10 0 Yes
ABO_GROUP SYSIBM VARCHAR 2 0 Yes
RH_FACTOR SYSIBM CHARACTER 1 0 Yes
AMOUNT_PER_UNIT SYSIBM INTEGER 4 0 Yes
EXPIRATION_DATE SYSIBM DATE 4 0 Yes
DOCTOR
Data type Column
Column name schema Data type name Length Scale Nulls
------------------------------- --------- ------------------- ---------- ----- ------
DOCTOR_ID SYSIBM INTEGER 4 0 No
DOCTOR_NAME SYSIBM VARCHAR 20 0 Yes
SPECIALIZATION SYSIBM VARCHAR 20 0 Yes
MEDICAL_LICENSE SYSIBM CHARACTER 7 0 Yes
PATIENT
Data type Column
Column name schema Data type name Length Scale Nulls
------------------------------- --------- ------------------- ---------- ----- ------
PATIENT_ID SYSIBM INTEGER 4 0 No
PATIENT_NAME SYSIBM VARCHAR 20 0 Yes
ABO_GROUP SYSIBM VARCHAR 2 0 Yes
RH_FACTOR SYSIBM CHARACTER 1 0 Yes
TRANSFUSION_
REQUIREMENTS SYSIBM VARCHAR 20 0 Yes
DONATE
Data type Column
Column name schema Data type name Length Scale Nulls
------------------------------- --------- ------------------- ---------- ----- ------
DONATION_ID SYSIBM INTEGER 4 0 No
DONOR_ID SYSIBM INTEGER 4 0 Yes
EXTRACTION_DATE SYSIBM DATE 4 0 Yes
VOLUME SYSIBM INTEGER 4 0 Yes
PRESCRIPTION