Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peteprattis/hospital-database-with-jdbc-client
A jdbc application that runs queries in pgAdmin to simulate the functionality of a hospital's database.
https://github.com/peteprattis/hospital-database-with-jdbc-client
computer-science console-application databse functions-triggered java jdbc jdbc-connector jdbc-database pgadmin postgresql program project sql student triggers
Last synced: about 4 hours ago
JSON representation
A jdbc application that runs queries in pgAdmin to simulate the functionality of a hospital's database.
- Host: GitHub
- URL: https://github.com/peteprattis/hospital-database-with-jdbc-client
- Owner: PetePrattis
- License: mit
- Created: 2019-11-07T12:21:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-07T19:06:49.000Z (about 5 years ago)
- Last Synced: 2023-09-14T10:17:26.788Z (about 1 year ago)
- Topics: computer-science, console-application, databse, functions-triggered, java, jdbc, jdbc-connector, jdbc-database, pgadmin, postgresql, program, project, sql, student, triggers
- Language: Java
- Homepage:
- Size: 596 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A JDBC client Program / Project
**This is a jdbc client project from my early days as a Computer Science student**
_This programm was created for the fourth semester class Data Bases
and is the final project for the class_> #### Description of project
>
>>A jdbc application that runs queries in pgAdmin to simulate the functionality of a hospital's database.> #### Functionality of project
>
> 1. The database saves information about the hospital's doctors of a variety of departments
> 2. The database saves doctors' information are (name, surname, specialty, contact information, department code, etc.)
> 3. The database saves the hospital's patients and their information (name, surname, contact information, etc.)
> 4. The database saves the appointments and the diagnosis for each patient and information and date about them
> 5. The database saves each patient's medical record, including treatments and prescription drugs
> 6. There is a predetermined dataset used for this project> #### Impementation of project
>
> 1. Design the relational scheme of the database and implement the creation queries in the PostgreSQL DMBS
> 2. Apply the normalization theory to the relational scheme of the DB to check if it follows 3NF or BCNF
> 3. Insert the data from the given dataset using proper queries
> 4. Implement some functionality using proper queries:
>> a. What are the drugs (maximum and minimum number) prescribed
>> b. What are the diagnoses of the last week
>> c. What are the doctor's 'X' appointments last month
>> d. Who are the patients who have seen more than one doctor
>> e. From what department have most patients been examined
>> f. What is the average number of patients examined per department
> 5. Implement some functionality using triggers:
>> a. Creation of trigger and function that will execute for every patent examined and diagnosis to update patient's medical file
>> b. Creation of trigger and function that implement's the query d)
> 6. Connect databse with JDBC client in Java using the proper library
> 7. Write a Java console application that will execute the queries> #### About this project
>
> - There is a predetermined dataset used for this project
> - The comments to make the code understandable, are within the archives
> - This project was written in Eclipse Java IDE
> - This repository was created to show the variety of the work I did and experience I gained as a student
>