SlideShare a Scribd company logo
1 of 19
Download to read offline
Pharmacy-Management-Sy
stem
DBMS
HARESH S
12113506
K21PP
RK21PPB66
INTRODUCTION:
1.The main aim of the project is the management of the database of the pharmaceutical shop.
2.This project is insight into the design and implementation of a Pharmacy Management System.
3.This is done by creating a database of the available medicines in the shop. The primary aim of pharmacy
management system is to improve accuracy and enhance safety and efficiency in the pharmaceutical store.
4. The aim of this project is to develop software for the effective management of a pharmaceutical store.
5. We have developed this software for ensuring effective policing by providing statistics of the drugs in
stock.
Description on the topic:
► This program can be used in any pharmaceutical shops having a database to
maintain.
► The software used can generate reports, as per the user’s requirements.
► The software can print invoices, bills, receipts etc. It can also maintain the
record of supplies sent in by the supplier. Here, the admin who are handling
the organization will be responsible to manage the record of the employee.
► Each employee will be given with a separate username and password.
Problem Definition:
► The aim of the project is to create an effective software to help the
pharmacist to maintain the records of the medicines, handle user details,
generate invoice, check and renew validity and provide a scope of
communication between users by using inbuilt messaging system.
► Pharmacy management system deals with the maintenance of drugs and
consumables in the pharmacy unit.
► This pharmacy management system is user friendly.
Objectives :
-> Primary objective
•To gain practical experience by modeling a software based on real world problem.
•To understand how to work on Front-end (Java) and Back-end (MySQL) by using server(wamp).
-> Secondary objective
•To develop an application that deals with the day to day requirement of any pharmacy.
•To develop the easy management of the medicines (drugs).
•To handle the inventory details like sales details, purchase details and stock expiry and quantity.
•To provide competitive advantage to the pharmacy.
•To provide details information about the stock on details necessary and help locate it in shop
easily.
•To make the stock manageable and simplify the use of inventory in the pharmacy.
Hardware and software tools:
► The system services and goals are established by consultation with system
user.
► They are then defined in details and serve as a system specification. System
requirement are those on which the system runs.
⚙ Hardware Requirements:
o Computer with either Intel Pentium processor or AMD processor.
o 1GB+ DDR RAM
o 40GB hard disk drive
💻 Software Requirements:
o Windows/ MacOS/ Linux operating system.
o JRE and JDK.
o MySQL server (WAMP or XAMPP or any)
DESIGN :
Database Design is a collection of processes that facilitate the designing, development, implementation and
maintenance of enterprise data management systems.
It helps produce database systems:
o That meet the requirements of the users
o Have high performance.
Architecture Description;
The design of a DBMS depends on its architecture.
It can be centralized or decentralized or hierarchical.
The architecture of a DBMS can be seen as either single tier or multi-tier.
ENTITIES AND ATTRIBUTES
COMPANY DRUG HISTORY_SALE LOGIN
NAME
ADDRES
S
PHONE
NAME
TYPE
BARCODE
DOSE
CODE
COST-PRICE
SELL-PRICE
EXPIRY
COMPANY-NAM
E
PRODUCTION
DT
EXPIRATION DT
PLACE
COUNTRY
USER-NAME
BARCODE
DOSE
TYPE
PRICE
AMOUNT
DATE
TIME
NAME
QUANTITY
NAME
TYPE
DATE
TIME
ID
INBOX PURCHASE USER
MESSAGE-FROM
MESSAGE-TO
MESSAGE-TEXT
SENDER_ID
SALE
COMPANY_NAME
BARCODE
TYPE
PRICE
AMOUNT
NAME
QUANTITY
ID
NAME
DOB
PHONE
ADDRESS
SALARY
PASSWORD
BARCODE
DOSE
TYPE
PRICE
AMOUNT
NAME
QUANTITY
DATE
ER Diagram:
An entity–relationship model describes interrelated things of interest in a specific domain of
knowledge.
It is composed of entity types and specifies relationships that can exist between instances of those
entity types.
Relational Schema Diagram:
Relational schema is a collection of meta-data. Database schema describes the structure and
constraints of data representing in a particular domain
NORMALIZATION
► NORMALIZATION
► N O R M A L I Z A T I O N F O R PA T I E N T T A B L E
► Patient (PT_ID, PT_NAME, CONTACT, ADDRESS, CITY, PROVINCE, POSTAL-CODE, HEALTH_PLAN_ID, COMPANY_NAME,
ISSUE_DATE, EXPIRE_DATE)
► The PATIENT table is in 1NF because it has no repeating groups. ¬ It is also in 2NF because there is only one single primary key (no
composite primary key) and thus no partial dependencies.
► The record design is not in 3NF and thus, it has transitive dependencies exist i.e nonkey field depends on other field.
► 3NF: Converting from 2NF to Third Normal Form (3NF) RULE: Remove all transitive dependencies (nonkey field depending on other
nonkey)
► HENCE, THE PATIENT TABLE IS NOT IN 3NF BECAUSE OF THE FOLLOWING NONKEY DEPENDENCIES: HEALTH_PLAN_ID
HEALTH_PLAN_ID, COMPANY_NAME, ISSUE_DATE ◊ , EXPIRE_DATE
► Therefore, the normalization yields to three tables: ♣ Patient (PT_ID, PT_NAME, CONTACT, ADDRESS, CITY, PROVINCE,
POSTALCODE) ♣ Health Plan (HEALTH_PLAN_ID, COMPANY_NAME, ISSUE_DATE, EXPIRE_DATE)
NORMALIZATION FOR PRESCRIPTION
TABLE
Prescription (PRESC_ID, PRESC_DATE, PRESC_TOTAL, PT_ID, DOCTOR_ID,
DOCTOR_F_NAME, DOCTOR_L_NAME, DOCTOR_CONTACT, REFILL_DATE,
REFILL_USED)
The record design is not in 1NF and thus, it has repeating records.
1NF: Converting from UNF to First Normal Form (1NF) RULE: Remove all the repeating
groups in the table and separate them from the main table.
HENCE, THE PATIENT TABLE IS NOT IN 1NF BECAUSE OF THE FOLLOWING
REPEATING VALUE ATTRIBUTES: REFILL PRESC_ID, REFILL_DATE,
PRESC_REFILL_USED ◊
► The record design is not in 2NF and thus, it has repeating records.
► 2NF: Converting from 1NF to Second Normal Form (2NF) RULE: All the nonkey attributes should directly
be dependent on the primary key(could be composite primary key) of that table.
► HENCE, THE PATIENT TABLE IS NOT IN 2NF BECAUSE OF THE FOLLOWING NON DEPENDING
ATTRIBUTES ON PRIMARY KEY: DOCTOR DOCTOR_ID, DOCTOR_F_NAME, DOCTOR_L_NAME,
◊ DOCTOR_CONTACT .
► The Prescription table is in 3NF because it has no transitional dependencies.
►
► Therefore, the normalization yields to three tables: ♣ Prescription (PRESC_ID, PRESC_DATE,
PRESC_TOTAL, PT_ID, DOCTOR_ID) ♣ Doctor (DOCTOR_ID, DOCTOR_F_NAME,
DOCTOR_L_NAME, DOCTOR_CONTACT) ♣ Refill (PRESC_ID, REFILL_DATE, REFILL_USED)
IMPLEMENTATION :
► Description on Implementation
The goal of this application is to manage the medicines and various function of the pharmacy.
List of modules:
o Login page
o Home page
o Company
o Purchase
o Drugs
o Sales
o User/Settings
o Messaging
Result and Discussion
► By using MySQL commands and its database this website Pharmacy management tends to store
all the data received from the users including drugs sales details and the profit made by the
owners are all in this data base.
► This website allows the user to generate invoices for sales, check expiry and quantity remaining
of the drugs.
► It also provides user with options to renew validity and add more drugs into the store and
update the database accordingly.
► By using xampp server these database commands are easily initiated into the database and the
ER diagram with relational schema diagrams helps us to make the structure of the database
faster and it was easier to make them understand the needs of the website.
CONCLUSIONS AND FUTURE SCOPE:
o Detailed information gathering has to be done. Without that the purpose for using the software won’t be
satisfied properly.
o However, it can give good profits in the long run.
o Implementing the software requires change in the business practices.
o Efficient organization of all knowledge is the analysis company and easy analysis access and retrieval of
information is possible.
o In this project we can also include BAR CODE facility using the bar code reader, which will detect the
expiry date and the other information about the related medicines.
o Company using this software will always be able to plan in future and always be aware of their financial
position in the market.
o It leads to ease in functioning of business processes.
o The project can be made more robust by including biometric verification.
o There is also a scope to expand by implementing newer technologies like cloud etcetera.

More Related Content

Similar to HareshS12113506DBMSppt.pptx.pdf

Hospital Management System proposal
Hospital Management System proposalHospital Management System proposal
Hospital Management System proposalChandresh Prasad
 
Hospital Management System Project
Hospital Management System ProjectHospital Management System Project
Hospital Management System ProjectSanjit Yadav
 
Sample net manual
Sample net manualSample net manual
Sample net manualazeem1985
 
Pharmacy Management System Proposal
Pharmacy Management System ProposalPharmacy Management System Proposal
Pharmacy Management System Proposalsudiahmad1
 
Database and Data Warehousing-Building Business Intelligence
Database and Data Warehousing-Building Business IntelligenceDatabase and Data Warehousing-Building Business Intelligence
Database and Data Warehousing-Building Business IntelligenceYeng Ferraris Portes
 
MRP IN SERVICES & ERP
MRP IN SERVICES & ERPMRP IN SERVICES & ERP
MRP IN SERVICES & ERPMaria AL
 
Mobile store management
Mobile store management Mobile store management
Mobile store management Rupendra Verma
 
Men Salon management system project and ppt
Men Salon management system project and pptMen Salon management system project and ppt
Men Salon management system project and pptpavisubashsp
 

Similar to HareshS12113506DBMSppt.pptx.pdf (20)

Mca titles
Mca titlesMca titles
Mca titles
 
Project report
Project reportProject report
Project report
 
Hospital Management System proposal
Hospital Management System proposalHospital Management System proposal
Hospital Management System proposal
 
Mca titles
Mca titlesMca titles
Mca titles
 
Mca titles
Mca titlesMca titles
Mca titles
 
Mca titles
Mca titlesMca titles
Mca titles
 
Mca titles
Mca titlesMca titles
Mca titles
 
Mca titles
Mca titlesMca titles
Mca titles
 
Mca titles
Mca titlesMca titles
Mca titles
 
Mca titles
Mca titlesMca titles
Mca titles
 
Mca titles
Mca titlesMca titles
Mca titles
 
Mca titles
Mca titlesMca titles
Mca titles
 
Mca titles
Mca titlesMca titles
Mca titles
 
Hospital Management System Project
Hospital Management System ProjectHospital Management System Project
Hospital Management System Project
 
Sample net manual
Sample net manualSample net manual
Sample net manual
 
Pharmacy Management System Proposal
Pharmacy Management System ProposalPharmacy Management System Proposal
Pharmacy Management System Proposal
 
Database and Data Warehousing-Building Business Intelligence
Database and Data Warehousing-Building Business IntelligenceDatabase and Data Warehousing-Building Business Intelligence
Database and Data Warehousing-Building Business Intelligence
 
MRP IN SERVICES & ERP
MRP IN SERVICES & ERPMRP IN SERVICES & ERP
MRP IN SERVICES & ERP
 
Mobile store management
Mobile store management Mobile store management
Mobile store management
 
Men Salon management system project and ppt
Men Salon management system project and pptMen Salon management system project and ppt
Men Salon management system project and ppt
 

More from AbhishekKumar66407

More from AbhishekKumar66407 (8)

LinuInterviewQALinuInterviewQALinuInterv
LinuInterviewQALinuInterviewQALinuIntervLinuInterviewQALinuInterviewQALinuInterv
LinuInterviewQALinuInterviewQALinuInterv
 
FSJavaScript.ppt
FSJavaScript.pptFSJavaScript.ppt
FSJavaScript.ppt
 
3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx
 
Practical_4_cse307_ppt.ppt
Practical_4_cse307_ppt.pptPractical_4_cse307_ppt.ppt
Practical_4_cse307_ppt.ppt
 
(12105417)K21PPA23.pptx
(12105417)K21PPA23.pptx(12105417)K21PPA23.pptx
(12105417)K21PPA23.pptx
 
12115093PYTHONPROJECT.pdf
12115093PYTHONPROJECT.pdf12115093PYTHONPROJECT.pdf
12115093PYTHONPROJECT.pdf
 
python pre-submission.pdf
python pre-submission.pdfpython pre-submission.pdf
python pre-submission.pdf
 
IPHEADER_IPV4_IPV6_4.pdf
IPHEADER_IPV4_IPV6_4.pdfIPHEADER_IPV4_IPV6_4.pdf
IPHEADER_IPV4_IPV6_4.pdf
 

Recently uploaded

DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 

Recently uploaded (20)

DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 

HareshS12113506DBMSppt.pptx.pdf

  • 2. INTRODUCTION: 1.The main aim of the project is the management of the database of the pharmaceutical shop. 2.This project is insight into the design and implementation of a Pharmacy Management System. 3.This is done by creating a database of the available medicines in the shop. The primary aim of pharmacy management system is to improve accuracy and enhance safety and efficiency in the pharmaceutical store. 4. The aim of this project is to develop software for the effective management of a pharmaceutical store. 5. We have developed this software for ensuring effective policing by providing statistics of the drugs in stock.
  • 3. Description on the topic: ► This program can be used in any pharmaceutical shops having a database to maintain. ► The software used can generate reports, as per the user’s requirements. ► The software can print invoices, bills, receipts etc. It can also maintain the record of supplies sent in by the supplier. Here, the admin who are handling the organization will be responsible to manage the record of the employee. ► Each employee will be given with a separate username and password.
  • 4. Problem Definition: ► The aim of the project is to create an effective software to help the pharmacist to maintain the records of the medicines, handle user details, generate invoice, check and renew validity and provide a scope of communication between users by using inbuilt messaging system. ► Pharmacy management system deals with the maintenance of drugs and consumables in the pharmacy unit. ► This pharmacy management system is user friendly.
  • 5. Objectives : -> Primary objective •To gain practical experience by modeling a software based on real world problem. •To understand how to work on Front-end (Java) and Back-end (MySQL) by using server(wamp). -> Secondary objective •To develop an application that deals with the day to day requirement of any pharmacy. •To develop the easy management of the medicines (drugs). •To handle the inventory details like sales details, purchase details and stock expiry and quantity. •To provide competitive advantage to the pharmacy. •To provide details information about the stock on details necessary and help locate it in shop easily. •To make the stock manageable and simplify the use of inventory in the pharmacy.
  • 6. Hardware and software tools: ► The system services and goals are established by consultation with system user. ► They are then defined in details and serve as a system specification. System requirement are those on which the system runs.
  • 7. ⚙ Hardware Requirements: o Computer with either Intel Pentium processor or AMD processor. o 1GB+ DDR RAM o 40GB hard disk drive
  • 8. 💻 Software Requirements: o Windows/ MacOS/ Linux operating system. o JRE and JDK. o MySQL server (WAMP or XAMPP or any)
  • 9. DESIGN : Database Design is a collection of processes that facilitate the designing, development, implementation and maintenance of enterprise data management systems. It helps produce database systems: o That meet the requirements of the users o Have high performance. Architecture Description; The design of a DBMS depends on its architecture. It can be centralized or decentralized or hierarchical. The architecture of a DBMS can be seen as either single tier or multi-tier.
  • 10. ENTITIES AND ATTRIBUTES COMPANY DRUG HISTORY_SALE LOGIN NAME ADDRES S PHONE NAME TYPE BARCODE DOSE CODE COST-PRICE SELL-PRICE EXPIRY COMPANY-NAM E PRODUCTION DT EXPIRATION DT PLACE COUNTRY USER-NAME BARCODE DOSE TYPE PRICE AMOUNT DATE TIME NAME QUANTITY NAME TYPE DATE TIME ID
  • 12. ER Diagram: An entity–relationship model describes interrelated things of interest in a specific domain of knowledge. It is composed of entity types and specifies relationships that can exist between instances of those entity types.
  • 13. Relational Schema Diagram: Relational schema is a collection of meta-data. Database schema describes the structure and constraints of data representing in a particular domain
  • 14. NORMALIZATION ► NORMALIZATION ► N O R M A L I Z A T I O N F O R PA T I E N T T A B L E ► Patient (PT_ID, PT_NAME, CONTACT, ADDRESS, CITY, PROVINCE, POSTAL-CODE, HEALTH_PLAN_ID, COMPANY_NAME, ISSUE_DATE, EXPIRE_DATE) ► The PATIENT table is in 1NF because it has no repeating groups. ¬ It is also in 2NF because there is only one single primary key (no composite primary key) and thus no partial dependencies. ► The record design is not in 3NF and thus, it has transitive dependencies exist i.e nonkey field depends on other field. ► 3NF: Converting from 2NF to Third Normal Form (3NF) RULE: Remove all transitive dependencies (nonkey field depending on other nonkey) ► HENCE, THE PATIENT TABLE IS NOT IN 3NF BECAUSE OF THE FOLLOWING NONKEY DEPENDENCIES: HEALTH_PLAN_ID HEALTH_PLAN_ID, COMPANY_NAME, ISSUE_DATE ◊ , EXPIRE_DATE ► Therefore, the normalization yields to three tables: ♣ Patient (PT_ID, PT_NAME, CONTACT, ADDRESS, CITY, PROVINCE, POSTALCODE) ♣ Health Plan (HEALTH_PLAN_ID, COMPANY_NAME, ISSUE_DATE, EXPIRE_DATE)
  • 15. NORMALIZATION FOR PRESCRIPTION TABLE Prescription (PRESC_ID, PRESC_DATE, PRESC_TOTAL, PT_ID, DOCTOR_ID, DOCTOR_F_NAME, DOCTOR_L_NAME, DOCTOR_CONTACT, REFILL_DATE, REFILL_USED) The record design is not in 1NF and thus, it has repeating records. 1NF: Converting from UNF to First Normal Form (1NF) RULE: Remove all the repeating groups in the table and separate them from the main table. HENCE, THE PATIENT TABLE IS NOT IN 1NF BECAUSE OF THE FOLLOWING REPEATING VALUE ATTRIBUTES: REFILL PRESC_ID, REFILL_DATE, PRESC_REFILL_USED ◊
  • 16. ► The record design is not in 2NF and thus, it has repeating records. ► 2NF: Converting from 1NF to Second Normal Form (2NF) RULE: All the nonkey attributes should directly be dependent on the primary key(could be composite primary key) of that table. ► HENCE, THE PATIENT TABLE IS NOT IN 2NF BECAUSE OF THE FOLLOWING NON DEPENDING ATTRIBUTES ON PRIMARY KEY: DOCTOR DOCTOR_ID, DOCTOR_F_NAME, DOCTOR_L_NAME, ◊ DOCTOR_CONTACT . ► The Prescription table is in 3NF because it has no transitional dependencies. ► ► Therefore, the normalization yields to three tables: ♣ Prescription (PRESC_ID, PRESC_DATE, PRESC_TOTAL, PT_ID, DOCTOR_ID) ♣ Doctor (DOCTOR_ID, DOCTOR_F_NAME, DOCTOR_L_NAME, DOCTOR_CONTACT) ♣ Refill (PRESC_ID, REFILL_DATE, REFILL_USED)
  • 17. IMPLEMENTATION : ► Description on Implementation The goal of this application is to manage the medicines and various function of the pharmacy. List of modules: o Login page o Home page o Company o Purchase o Drugs o Sales o User/Settings o Messaging
  • 18. Result and Discussion ► By using MySQL commands and its database this website Pharmacy management tends to store all the data received from the users including drugs sales details and the profit made by the owners are all in this data base. ► This website allows the user to generate invoices for sales, check expiry and quantity remaining of the drugs. ► It also provides user with options to renew validity and add more drugs into the store and update the database accordingly. ► By using xampp server these database commands are easily initiated into the database and the ER diagram with relational schema diagrams helps us to make the structure of the database faster and it was easier to make them understand the needs of the website.
  • 19. CONCLUSIONS AND FUTURE SCOPE: o Detailed information gathering has to be done. Without that the purpose for using the software won’t be satisfied properly. o However, it can give good profits in the long run. o Implementing the software requires change in the business practices. o Efficient organization of all knowledge is the analysis company and easy analysis access and retrieval of information is possible. o In this project we can also include BAR CODE facility using the bar code reader, which will detect the expiry date and the other information about the related medicines. o Company using this software will always be able to plan in future and always be aware of their financial position in the market. o It leads to ease in functioning of business processes. o The project can be made more robust by including biometric verification. o There is also a scope to expand by implementing newer technologies like cloud etcetera.