Giter Site home page Giter Site logo

hospital-management-system-sql's Introduction

Hospital-Management-System-SQL

Project Description

This project implements a basic Hospital Management System using SQL. The system is created using MySQL and demonstrates a variety of SQL skills including creating tables, inserting values, and defining relationships between tables.

Database Schema

The database consists of the following tables:

  1. Doctors: Stores details about each doctor including their ID, first name, last name, specialty, contact information, and availability.
  2. Patients: Stores information about each patient including their ID, first name, last name, date of birth, gender, and contact information.
  3. Appointments: Holds information about each appointment including the appointment ID, doctor ID, patient ID, date, time, and a brief description.
  4. Medical Records: Contains medical records for each patient including the record ID, patient ID, doctor ID, visit date, diagnosis, prescribed medication, and any additional notes.
  5. Billing: Maintains billing information including the bill ID, patient ID, bill date, amount due, due date, and payment status.

Each table is related to one another with foreign keys to create relationships between the data.

Setup

To set up this project on your local machine:

  1. Install MySQL or any SQL database you prefer.
  2. Create a new database and use it.
  3. Execute the SQL scripts to create the tables.
  4. Insert the provided sample data into the tables.

Code

SQL scripts for creating the tables and inserting sample data can be found in the repository.

Use Cases

This system can be used to manage a hospital's operations including managing doctors, patients, appointments, medical records, and billing information. For example, you can run queries to find a patient's medical history, check a doctor's availability, or determine the payment status of a bill.

Future Improvements

The current system is a basic implementation and can be further improved. Some potential improvements include adding more tables such as for hospital departments, adding more complex queries, or developing a front-end interface to interact with the database.

hospital-management-system-sql's People

Contributors

shandilyaguy247 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.