This project implements a database schema for a clinic based on the provided diagram.
The schema consists of the following tables:
patients: Stores patient information.medical_histories: Stores patient medical history records.treatments: Stores treatment details.invoices: Stores invoice information.invoice_items: Stores items associated with an invoice.
To create the database schema, run the schema_based_on_diagram.sql script in your SQL environment:
\i schema_based_on_diagram.sql