Skip to content

This is the second project in the fourth module of the Microverse program. It is a database for a patient clinic using PostgreSQL.

License

Notifications You must be signed in to change notification settings

mahammad-mostafa/patient-clinic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

🏷️ Patient Clinic

This is the second project of the fourth module in the Microverse program.
Check the below contents for further details about this project.

📗 Contents

📖 Description

This repository includes a file called schema_based_on_diagram with plain SQL that can be used to recreate a database

📌 Tech Stack:

  • Database built with PostgreSQL
  • Queries uses SQL

📌 Key Features:

  • Table for patients information which include (name / birth date)
  • Each patient is linked with the medical history table through foreign key patient_id
  • Table for medical histories information which include (admission / status)
  • Table for invoices information which include (amount / creation / payment)
  • Each invoice is linked with the medical history table through foreign key invoice_id
  • Table for invoice items information which include (price / quantity / total)
  • Each invoice item is linked with the (medical history / treatment) tables through foreign keys (invoice_id / treatment_id)
  • Table for treatments information which include (type / name)
  • Join table named histories treatments for bridging between dical histories & treatments tables
  • All foriegn keys are indexed for optimizing queries performance

back to top

🛠️ Instructions

You can easily download or fork this repository and work on it immadiately!

📌 Prerequisites:

  • PostgreSQL or any other SQL database

📌 Installation:

back to top

👥 Authors

📌 Mahammad:

📌 Carlos:

📌 Austin:

back to top

🔭 Future

Some additional features I may implement in the project:

  • Using Binary data types in tables
  • Implement stored procedures like SQL Trigger

back to top

🤝🏻 Contributions

Wish to contribute to this project?
Contributions, issues, and feature requests are more than welcome!
Feel free to check the issues page too.

back to top

⭐️ Support

Like this project? Show your support by starring!

back to top

🙏🏻 Acknowledgements

I thank everyone at Microverse for guiding me through this project.

back to top

📝 License

This project is MIT licensed.

back to top

About

This is the second project in the fourth module of the Microverse program. It is a database for a patient clinic using PostgreSQL.

Topics

Resources

License

Stars

Watchers

Forks