Edge Program Project Farmacy Man,,,,
Edge Program Project Farmacy Man,,,,
Database Schema
The schema will include the following tables:
1. Patients
2. Doctors
3. Medications
4. Prescriptions
5. Pharmacies
6. Pharmacists
7. Inventory
8. Sales
Tables
1. Patients
o patient_id (Primary Key)
o first_name
o last_name
o address
o phone
o email
2. Doctors
o doctor_id (Primary Key)
o first_name
o last_name
o specialization
o phone
o email
3. Medications
o medication_id (Primary Key)
o name
o description
o manufacturer
o price
4. Prescriptions
o prescription_id (Primary Key)
o date_prescribed
o total_cost
5. Pharmacies
o pharmacy_id (Primary Key)
o name
o location
o phone
o email
6. Pharmacists
o pharmacist_id (Primary Key)
o first_name
o last_name
o phone
o email
7. Inventory
o inventory_id (Primary Key)
8. Sales
o sale_id (Primary Key)
o date_sold
o total_price