1. Trang chủ
  2. » Luận Văn - Báo Cáo

SYSTEM SPECIFICATION

102 286 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề System Specification
Tác giả Group 21
Trường học HUT Genetic Singapore
Thể loại Đồ án tốt nghiệp
Định dạng
Số trang 102
Dung lượng 2,12 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

SCENARIO AND QUESTION PAPER

Trang 1

TABLE OF CONTENTS 1

CHAPTER 1 - SYSTEM SPECIFICATION 4

1.1 SCENARIO AND QUESTION PAPER 4

1.1.1 SCENARIO 4

1.1.2 QUESTION PAPER 6

1.2 BACKGROUND 8

1.3 INFRASTRUCTURE 9

1.4 FUNTION HIERARCHY DIAGRAM 10

1.5 CONTEXT DIAGRAM 11

1.6 DATA FLOW DIAGRAM 12

1.6.1 DFD Level 0 for Pharmaceutical Management System in Hospital 12

1.6.2 DFD Level 1 for System Management 12

1.6.3 DFD Level 2 for User Management of System Management 13

1.6.4 DFD Level 1 for List Management 15

1.6.5 DFD level 2 of List Management 16

1.6.6 DFD Level 1 for Medicine Expectation and Bidding Management 17

1.6.7 DFD Level 2 for Yearly Expectation Management 18

1.6.8 DFD Level 2 for Bidding Management 19

1.6.9 DFD Level 3 for Bidding Document of Bidding Management 20

1.6.10 DFD Level 3 for Price Quotation Input of Bidding Management 21

1.6.11 DFD Level 3 for Bidding Open of Bidding Management 22

1.6.12 DFD Level 3 for Bidding Result Announcement of Bidding Management 23

1.6.13 DFD Level 1 for Medicine Management 24

1.6.14 DFD Level 2 for Medicine in Stock Keeping Track and Management 25

1.6.15 DFD Level 3 for Medicine Inventory in Stock Keeping Track and Management 26

1.6.16 DFD Level 2 for Medicine Intake Management of Medicine Management 26

1.6.17 DFD Level 2 for Medicine Distributed and Medicine Management 28

1.6.18 DFD Level 2 for Monthly Medicine Expectation and Request Management 29

TABLE OF CONTENTS

Trang 2

1.9 DATABASE DESIGN 33

1.9.1 3 NF TABLE 33

1.9.2 ENTITIES RELATIONSHIP DIAGRAM 43

CHAPTER 2: PROGRAM SPECIFICATION 44

2.1 PROGRAM IDENTIFICATION 44

2.2 PROGRAM DESCRIPTION 45

2.3 PROGRAM OUTLINE 46

2.4 PROGRAM SCHEDULE 48

2.5 PROGRAM ESTIMATION 48

CHAPTER 3: INPUT SPECIFICATION 49

3.1 FILE SPECIFICATION 49

3.2 RECORD SPECIFICATION 49

CHAPTER 4: OUTPUT SPECIFICATION 63

4.1 FILE SPECIFICATION 63

4.2 RECORD SPECIFICATION 63

4.3 PRINT LAYOUT CHART 67

CHAPTER 5: PROGRAM DESIGN 69

5.1 DECISION TABLE 69

5.1.1 Decision table of Add new procedure 69

5.1.2 Decision table of Update procedure 69

5.1.3 Decision table of Search procedure 69

5.1.4 Decision table of Delete procedure 69

5.1.5 Decision table of Print procedure 70

5.1.6 Decision table of Keeping Track of Medicine in Stock 70

5.1.7 Decision table of Keeping Track of Expired date Medicine 70

5.1.8 Decision table of Bidding Process 70

5.2 FLOWCHART 72

5.2.1 Flowchart for Access Right 72

5.2.2 Flowchart for Add Function 73

5.2.3 Flowchart for Update Function 74

5.2.4 Flowchart for Search Function 74

5.2.5 Flowchart for Delete Function 75

Trang 3

5.2.9 Flowchart for Bidding Process 80

CHAPTER 6: PROGRAM LISTING 81

6.1 PROGRAM LISTING 82

6.2 REPORT LISTING 92

CHAPTER 7: PROGRAM TESTING 95

7.1 TEST PLAN 95

7.2 TEST DATA 95

7.3 TEST LOG SHEET 97

7.4 PROGRAM TRACE 98

7.5 GRID CHART 98

CHAPTER 8: OPERATING INSTRUCTION 99

8.1 OPERATING INSTRUCTIONS 99

8.2 HARDWARE REQUIREMENT 100

8.3 SOFTWARE REQUIREMENT 100

CHAPTER 9: SCOPE AND LIMITATIONS 101

9.1 SCOPE 101

9.2 LIMITATION 101

Trang 4

CHAPTER 1: SYSTEM SPECIFICATION

1.1 SCENARIO AND QUESTION PAPER

1.1.1 SCENARIO

Nowadays, Information Technology is applied in many fields, it helps works done effectively, precise, save time and human resources…, medicine management in hospital is not exception Medicine Management System in Hospital is developed to carry out these above criterions.The medicine management will be easier and more professional

This System is applied in Bach Mai hospital- one of the largest hospitals in Ha Noi with athousand patients everyday, so the medicine management is very important

Medicine Management System in Hospital includes five main parts: System Management, ListManagement, Medicine Expectation and Bidding Management, Medicine Management andReport System

1 System Management:

Each User have their own role assignment made by admin to log-in the system, User have tolog-in with a valid user name and password Besides they can change their password, so thesecurity for system is very good

2 List Management:

This function provides all necessary information about Medicine, Medicine Unit, MedicineSpecification, Medicine Classification, Store, Department, Producing Country, Manufacturer,Supplier User can add new, search, update and delete information in each list

3 Medicine Expectation and Bidding Management:

This part includes two main functions: Yearly Medicine Expectation Management andMedicine Bidding Management

Yearly Medicine Expectation Management:

To have the Yearly Medicine Expectation the user must bases on the medicine intake amountand the amount of medicine distributed to the substore and the health insurance store, theamount of the medicine in stock in a year User who has the role assignment can add new,update, search, and delete the information

Medicine Bidding Management includes:

Trang 5

Price Quotation Input: When the supplier received the bidding document they will fill

in the document the price of each medicine and send back to the hospital

Bidding Open: After have the price quotation, the hospital will inputs the bidding

information of suppliers and then decides which supplier win and get the medicinebidding contract

Bidding Result Announcement: The hospital will announce the bidding result to

suppliers

4 Medicine Management:

Medicine Management is very important in hospital so this function is given to do all theworks related to medicine helps user easier in medicine keeping track and management

Medicine in stock watching and management:

The user must keep track of the amount of medicine intake and the amount of medicinedistributed to calculate the medicine in stock and how to handle it Besides the user can makethe medicine inventory

Medicine Intake Management:

User can add new, view, search, update and delete the medicine intaked from suppliers

Medicine Distribution Management:

This includes:

 Main store distributes to substore and health insurance store

 Substore and health insurance store distribute to departments

User also can add new, search, update and delete any information which is available indatabase

Substore makes the Monthly Medicine Expectation and Requests Medicine:

User makes the medicine expectation every month bases on the medicine intaked amount, theamount of Medicine distributed to the department and the amount of the medicine in stock in amonth After that they will request the main store to distribute medicine for the next month.Look up Medicine Information: This part is like a dictionary providing all necessaryinformation about medicine User can add new, view, search, update, delete any informationrelated to medicine in database

Expired date medicine keeping track:

Trang 6

Discarded Medicine Management: All the expired Medicine or has any problem are discarded.This function also allows to add new, view, search, update and delete the discarded Medicineinformation.

Returned Medicine Management:

This function is to manage the medicine returned to the substore, health insurance store andmain store when they are not used, expired date or have any problem

Other Distribution Management:

Manage the medicine distributed in the special case

1) How is the framework of organization in Pharmacy Department?

The framework of organization in Pharmacy Department includes:

 1 health insurance store

 1 discarded medicine store

 about 50 stores of department

3) What medicine’s information need to be considered?

The related-to medicine information is:

 Medicine Unit

Trang 7

4) Where are medicine intaken from?

 The Medicine is intaked from Suppliers after organizing bid every one year

 Made-up Medicine Unit

5) How does Bidding process take place?

There are 4 steps:

 Make the bidding document and invite bid to suppliers

 Suppliers send back the price quotation to hospital

 Open Bidding to evaluate the bidding package

 Announce bidding result to suppliers

6) Which Store is responsible for medicine expectation?

The main store will make the medicine expectation bases on the amount of medicine intake and distribution as well as the medicine in stock

7) After bidding, how long does hospital request for medicine?

Based on the medicine requirement of substore, main store make monthly expectation and call medicine of the winning supplier

8) In which case may the medicine be returned?

Medicine returned when it is expired date, broken, or have any problem…

9) Which report related to medicine?

The Staff must send the report related to medicine to the leaders of hospital every day, week, month, year or any time they require They are:

 Medicine intake report

 Medicine distribution report

 Medicine in stock report

 Medicine inventory report

 Yearly expectation report

Trang 8

10) Who will use this system?

Only Administrator and the Delegated User can use this system Administrator is responsiblefor assign role to Delegate User and has the full control to the system Delegate user is the staff

of the hospital who directly use this system

1.2 BACKGROUND

We are living in the era of information technology, so the applications of IT are verycommonly used Medicine Management System software is developed used by computerinstead of the traditional manual management which is less efficient

Bach Mai Hospital has been treated and cured for a large number of patients so the medicinemanagement in the traditional method is becoming overload Our software program is anefficient solution for medicine management in hospital

Medicine Management System in Hospital is developed follows the real time method whichhelps the updating information fastest, most convenient and most complete at any time

This software program has the friendly interface, easy to use Furthermore, it helps hospital inunderstanding the situation fast, reporting, minimizing the using of papers by exchanginginformation between the departments through the Lan network

Pharmaceutical Management System software is developed using the newest programminglanguage of Oracle Developer 6i( Form Builder, Report Builder) and the powerful databasemanagement system Oracle SQL*PLUS 8i

Trang 9

1.3 INFRASTRUCTURE

This system is based on LAN with the Database Server

Figure 1.1: Infrastructure of Pharmaceutical Management System in Hospital

Trang 10

1.4 FUNCTION HIERARCHY DIAGRAM

Figure

1.2: The

Pharmaceutical Management System In Hospital

System Management 1

List Management 2

Medicine Expectation and Bidding Management 3

Medicine Management 4

Report System 5

2.1 List of Medicine

3.1.1 Add new 3.1.2 Search 3.1.3 Update 3.1.4 Delete

1.4 Login with other user

1.5 Exit

1.1 Login

1.2 User Management

1.3 Change Password

2.9 List of Medicine Classification 2.7 List of Medicine Unit

1.2.1 View 1.2.2 Add new 1.2.3 Search 1.2.4 Update

3.1 Yearly Expectation Management

4.1 Medicine in stock Keeping track and Management

3.2 Bidding Management

1.2.5 Delete 1.2.6 Role Assignment

3.2.1.1 View 3.2.1.2 Add new 3.2.1.3 Invite Bidding 3.2.1 Bidding Document

3.2.2 Price Quotation Input

3.2.4 Bidding Result Announcement

3.2.3 Bidding Open

3.2.2.1 View 3.2.2.2 Add new 3.2.2.3 Update

3.2.3.1 Input bidding information 3.2.3.2 Approve bidding result 3.2.3.3 Update

3.2.4.1 View 3.2.4.2 Announce to Supplier

4.2 Medicine Intake Management

4.3 Medicine Distribution management

4.4 Monthly medicine expectation and medicine Request

4.5 Look up medicine information 4.6 Expired date Medicine Keeping

Track 4.7 Discarded medicine management

4.1.2 Medicine Inventory 4.1.1 View

4.1.2.1 Add new 4.1.2.2 Search 4.1.2.3 Update 4.1.2.4 Delete

4.2.1 Add new 4.2.3 Update 4.2.4 View 4.2.5 Delete 4.2.2 Search

4.3.2 Substore and health insurance store distributes to department

4.3.1 Main store distributes to store

4.4.1 Make Expectation 4.4.2 Request Medicine

5.1 Medicine Intake Report

5.2 Medicine Distribution Report

5.3 Medicine in stock Report

5.4 Medicine Inventory Report

5.5 Yearly Expectation Report

5.6 Discarded Medicine Report

5.7 Returned Medicine Report

2.1.3 Update 2.1.4 Delete

2.1.1 Add new 2.1.2 Search

4.8 Returned Medicine Management 4.9 Other Distribution Management

Trang 11

1.5 CONTEXT DIAGRAM

PHARMACEUTICAL MANAGEMENT SYSTEM

IN HOSPITAL0

STAFF (In all level) SUPPLIER

Reply

Figure 1.3: The context diagram of Pharmaceutical Management System In Hospita

Trang 12

1.6 DATA FLOW DIAGRAM

1.6.1 DFD Level 0 for Pharmaceutical Management System in Hospital

MANAGE SYSTEM

1

MANAGE LIST

2

MANAGE MEDICINE EXPECTATION

&

BIDDING

3

MANAGE MEDICINE

D5: Monthly Medicine Expectation

D4: Medicine D3: Receipt

Request Reply Updated Info

Updated Info Updated Info Updated Info Updated Info

Info Info

Updated Info Updated Info

Get info

Get info Get info

Updated Info Updated Info

Updated Info Required Info

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply Request

Get info

Figure 1.4: DFD Level 0 for Pharmaceutical Management System In Hospital

Trang 13

MANAGE USER 1.2

LOGIN 1.1

CHANGE PASSWORD 1.3

LOGIN WITH OTHER USER 1.4

Update password

Password

Check Info

Access right User info

Access right Access right

Request Information Reply Information

Trang 14

1.6.3 DFD Level 2 for User Management of System Management

MANAGE SYSTEM

1

MANAGE LIST

2

MANAGE MEDICINE EXPECTATION

&

BIDDING

3

MANAGE MEDICINE

D7: Bidding Package D8: Price Quotation

D5: Monthly Medicine Expectation

D4: Medicine D3: Receipt

STAFF D6: Yearly Medicine Expectation

Updated Info Updated Info

Updated Info Updated Info

Info Info

Updated Info Updated Info

Get info

Get info Get info

Updated Info Updated Info

Updated Info Required Info

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply Request

Get info

Figure 1.6: DFD Level 2 for User Management of System Management

Trang 15

MANAGE LIST OF MEDICINE 2.1

MANAGE LIST OF DEPARTMENT 2.2

MANAGE LIST OF PRODUCING COUNTRY 2.3

MANAGE LIST OF MANUFACTURE 2.4

MANAGE LIST OF SUPPLIER 2.5

MANAGE LIST OF STORE 2.6

MANAGE LIST OF MEDICINE UNIT 2.7

MANAGE LIST OF MEDICINE SPECIFICATION 2.8

MANAGE LIST OF MEDICINE CLASSIFICATION 2.9

Request Reply

Request Reply

Request Reply

Request Reply

Request

Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply Updated info

Figure 1.7: DFD Level 1 for List Management

Trang 16

1.6.5 DFD level 2 of List Management

SEARCH LIST 2.n.2

ADD NEW LIST 2.n.1

UPDATE LIST 2.n.3

DELETE LIST 2.n.4

D2: List

D2: List

Get Info

Update Info Request to add

Request to update Reply to update

Request to delete

Request to delete

Request to update Reply to update

Update info Get Info

Update info

Get Info

Request to add

Figure 1.8: DFD Level 2 of List Management

Trang 17

D3: Receipt

MAKE YEARLY MEDICINE EXPECTATION 3.1

D6: Yearly medicine Expectation

BIDDING MANAGEMENT

3.2

SUPPLIER

Request Update info

D4: Medicine

Figure 1.9: DFD Level 1 for Medicine Expectation and Bidding Management

Trang 18

1.6.7 DFD Level 2 for Yearly Expectation Management

SEARCH 3.1.2

ADD NEW 3.1.1

UPDATE 3.1.3

DELETE 3.1.4

D3: Receipt

Reply to update Request to update Request to add

Reply to update Request to update Request to add

D4: Medicine

D6: Yearly Medicine Expectation

Reply to add Reply to add

Reply to delete Reply to delete

Get Info Get Info

D6: Yearly Medicine Expectation

Get Info Get Info

Figure 1.10: DFD Level 2 for Yearly Expectation Management

Trang 19

MAKE BIDDING DOCUMENT 3.2.1

INPUT PRICE QUOTATION 3.2.2

OPEN BIDDING 3.2.3

ANNOUNCE BIDDING RESULT 3.2.4

D7: Bidding Package

D8: Price Quotation

D7: Bidding PackageD8: Price Quotation

D8: Price Quotation SUPPLIER

Update Info

Update Info

Required Info

Get Info Result

Request Reply

Request Reply

Request Reply

Request Reply

Figure 1.11: DFD Level 2 for Bidding Management

Trang 20

1.6.9 DFD Level 3 for Bidding Document of Bidding Management

VIEW BIDDING DOCUMENT 3.2.1.1

ADD NEW BIDDING DOCUMENT 3.2.1.2

INVITE BIDDING 3.2.1.3

DELEGATED USER

D7: Bidding Package

ADMIN

D7: Bidding Package Reply

Request

Reply

Request Reply

Get Info

Get Info Request

SUPPLIER info

Figure 1.12: DFD Level 3 for Bidding Document of Bidding Management

Trang 21

1.6.10 DFD Level 3 for Price Quotation Input of Bidding Management

VIEW PRICE QUOTATION 3.2.2.1

ADD NEW PRICE QUOTATION 3.2.2.2

UPDATE PRICE QUOTATION 3.2.2.3

D8: Price Quotation

D8: Price Quoctation SUPPLIER

Reply Reply

Request Request

Request Reply

Request Reply

Request Reply

Request Reply Update Info

Update Info Info

Get info

Get info

Figure 1.13: DFD Level 3 for Price Quotation Input of Bidding Management

Trang 22

1.6.11 DFD Level 3 for Bidding Open of Bidding Management

INPUT BIDDING INFORMATION3.2.3.1

APPROVE BIDDING RESULT3.2.3.2

DELEGATED USER

Request

Request

Get Info Get Info

Get Info Get Info

Update Update

Figure 1.14: DFD Level 3 for Bidding Open of Bidding Management

Trang 23

1.6.12 DFD Level 3 for Bidding Result Announcement of Bidding Management

VIEW BIDDING RESULT 3.2.4.1

ANNOUNCE

TO SUPPLIERS 3.2.4.2

D8: Price Quotation SUPPLIER

Request Request

Reply Reply

Figure 1.15: DFD Level 3 for Bidding Result Announcement of Bidding Management

Trang 24

1.6.13 DFD Level 1 for Medicine Management

MANAGE

&

KEEP TRACK OF MEDICINE IN STOCK 4.1

MANAGE MEDICINE INTAKE 4.2

MANAGE MEDICINE DISTRIBUTION 4.3

MAKE MONTHLY EXPECTATION

&

REQUEST MEDICINE 4.4

LOOK UP MEDICINE INFORMATION 4.5

MANAGE OTHER DISTRIBUTION 4.9

MANAGE RETURNED MEDICINE 4.8

MANAGE DISCARDED MEDICINE 4.7

KEEP TRACK OF EXPIRiIED DATE MEDICINE 4.6

AMIN

D3: Receipt D4: Medicine

D9: Department

SUPPLIER D5: Monthly

Request Reply

Request Reply

Request Reply

Request Reply

Request

Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Request Reply

Get info Get info

D3: Receipt D4: Medicine

D3: Receipt D4: Medicine D3: Receipt D4: Medicine

Figure 1.16: DFD Level 1 for Medicine Management

Trang 25

1.6.14 DFD Level 2 for Medicine in Stock Keeping Track and Management of

Medicine Management

VIEWMEDICINE IN STOCK4.1.1

INVENTORYMEDICINE4.1.2

D4: Medicine D3: Receipt

Reply

Request

ReplyGet info

Figure 1.17: DFD Level 2 for Medicine in Stock Keeping Track and Management of

Medicine Management

Trang 26

1.6.15 DFD Level 3 for Medicine Inventory of Medicine in Stock Keeping Track and Management

SEARCH INVENTORY RECEIPT 4.1.2.2

ADD NEW INVENTORY RECEIPT 4.1.2.1

UPDATE INVENTORY RECEIPT 4.1.2.3

DELETE INVENTORY RECEIPT 4.1.2.4

D3: Receipt

D4: Medicine

Request to delete

Reply to update Request to update Request to add

Request to delete

Reply to update Request to update Request to add

D4: Medicine

D3: Receipt

Reply to delete Reply to delete

Get Info

Get Info Get Info

Update Info Update Info

Figure 1.18: DFD Level 3 for Medicine Inventory of Medicine in Stock Keeping Track

and Management

Trang 27

1.6.16 DFD Level 2 for Medicine Intake Management of Medicine Management

SEARCH RECEIPT 4.2.2

ADD NEW RECEIPT 4.2.1

UPDATE RECEIPT 4.2.3

VIEW RECEIPT 4.2.4

DELETE RECEIPT 4.2.5

D4: Medicine D3: Receipt

Request to search

Get Info

Update Info Request to add

Reply to add Request to add

Request to view Request to view

Get Info Get Info

Get Info Get Info

Update Info Update Info

Get Info Get info

Figure 1.19: DFD Level 2 for Medicine Intake Management of Medicine Management

Trang 28

1.6.17 DFD Level 2 for Medicine Distribution Management of Medicine

Management

DISTRIBUTE TO SUB-STORE

&

HEALTH INSURANCE STORE 4.3.1

DISTRIBUTE TO DEPARTMENTS 4.3.2

Request Reply

Reply Request

Trang 29

1.6.18 DFD Level 2 for Monthly Medicine Expectation and Request Medicine of Medicine Management

MAKE MONTHLY MEDICINE EXPECTATION 4.4.1

REQUEST FORMEDICINE4.4.2ADMIN

D4: Medicine

DELEGATED USER

D5: Monthly Medicine Expectation

RequestReply

RequestReply

ReplyReply

RequestRequest

Get Info

SUPPLIER

Figure 1.21: DFD Level 2 for Monthly Medicine Expectation and Request Medicine of

Medicine Management

Trang 30

1.6.19 DFD Level 1 for Report System

REPORT MEDICINE INTAKE

5.1

REPORT MEDICINE DISTRIBUTION

5.2

REPORT MEDICINE IN STOCK

5.3

REPORT MEDICINE INVENTORY

5.4

REPORT YEARLY EXPECTATION

5.5

D3: Receipt D4: Medicine

REPORT DISCARDED MEDICINE

5.6

REPORT RETURNED MEDICINE

5.7

D6: Yearly Medicine Expectation D3: Receipt D4: Medicine

Reply Reply

Request Request

Reply Reply

Request Request

Reply Reply

Request Request

Reply Reply

Info Info

Info Info

Info Require

Report

Info Info

Figure 1.22: DFD Level 1 for Report System

Trang 31

1.7 METHOD OF INVESTIGATION

Data collection method:collecting and obtaining copies of the actual forms and operating

documents that are currently used in the system

Survey method: We survey in the Bach Mai hospital to get information for the system.

Preliminary Investigation: involves the system’s anylysis and feasibility It defines what need

to be done and scale of the problem that need to be solved in particular issues of the system

Detailed Investigation:

Direct interview: The objective of the detailed investigation is to find out the bestsolution of the system and to make the good plan for our project Moreover we cangather the necessary information to carry out the phases of the system developmentlifecycle

We contacted the doctors and staff of the hospital and make an appointment with them

 Indirect Interview: We send email to the staff and they reply us the necessary informationrelating to medical knowledge Telephone is also a good method for us to make anappointments

Trang 32

1.8 SCHEDULE OF PROJECT

ID Task Name Start Finish Duration

Feb 2007 Jan 2007

Dec 2006 Mar 2007 Apr 2007 May 2007 12/17 12/24 12/31 1/7 2/4 2/11 2/25 3/4 3/11 3/25 4/8 4/22 4/29 12/3 12/10 1/14 1/21 1/28 2/18 3/18 4/1 4/15

20d 3/12/2007

2/13/2007 System Design

3

30d 2/12/2007

1/2/2007 System Analysis

2

25d 4/16/2007

3/13/2007 Coding

4

21d 5/15/2007

4/17/2007 Testing

5

5/6

Figure 1.23: Schedule of Project

Trang 33

1.9 DATABASE DESIGN

1.9.1 THIRD NORMAL FORM

Table Medicine

Medicine_Code * General_Code Country_Code Medicine_Name Use

Manufacture_Code Effect_Code Specification_Code

Table General Medicine

General_Code * International_Name Effectively

Unit_Code Classifying_Code

Table Unit

Unit_Code * Unit_Name

Table Specification

Specification_Code * Specification_Name

Table Classifying

Classifying_Code * Classifying_Name Parent

Trang 34

Table Producing Country

Country_Code * Country_Name

Table Manufacturer

Manufacturer_Code * Manufacturer_Name

Table Supplier

Supplier_Code * Supplier_Name Supplier_Address Phone_Number Fax

Website Email Delegate Note Abbreviate_Name Decision Licence Tax_Code

Table Staff

Staff_ID * Dept_ID Staff_Code Staff_Name Birth_Date Sex Position Staff_Address

Trang 35

Table Store

Store_Code * Dept_ID Store_Name Category Health_Insurance Intake

Distribute

Table Store Medicine

Medicine_Code * Store_Code * Stock_Amount FIFO_Amount Total_Curency Use

Table Department

Dept_ID * Dept_Code Dept_Name Dept_Parent_ID Dept_Address Dept_Type

Table Bidding Expectation

Bidding_Expectation_ID * Classifying_Code Year

Expectation_Staff_ID Expectation_Date Note

Trang 36

Table Bidding Expectation Detail

Bidding_Expectation_ID * Medicine_Code * Stock_Amount Intake Distributed Expectation_Amount

Table Bidding Package

Bidding_Package_ID * Year

Bidding_Package_Name Open_Date

Council Opinion Chairman Chief_Pharmaceutical Chief_Synthetic_Plan Chief_Accountant Chief_Inspection_Section Deputy_1

Deputy_2 Deputy_3 Deputy_4

Table Bidding Package Detail

Bidding_package_ID * General_Code Expectation_Amount

Trang 37

Table Monthly Expectation

Monthly_Expectaion_ID * Expectation_Date Year

Month Classifying_Code Expectation_Staff_ID State

Note

Table Monthly Expectation Detail

Monthly_Expectation_ID * Medicine_Code * Stock_Amount Intake_Amount Distribute_Amount Expectation_Amount

Table Price Quotation

Price_Quotation_ID * Bidding_Package_ID From_Date

To_Date Supplier_Code

Trang 38

Table Price Quotation Detail

Price_Quotation_ID * Medicine_Code * Unit_Price Expired_Date Visa_YS Note Amount Specification_Code Quality_GMP Speciality Import_Licence Prestige Mark Successful_YN

Table Medicine Intake

Medicine_Intaked_ID * Store_Code

Intake_Date Voucher_Number Supplier_Code Delegate Intake_Staff_ID Discount_Percent Discount_Currency Pay

Distribute_Store Distribute_Staff_ID Table_ID

Invoice_Date

Trang 39

Medicine_Intaked_ID * Order_Number * Medicine_Code Unit_Price Expired_Date Amount Vat Discount_Amount FIFO_Amount Lot_Number Total_Currency

Table Medicine Request

Medicine_Request_ID * Distribute_Store Request_Store Request_Staff_ID Distribute_Staff_ID Request_Date Distribute_Date Classifying_Code State

Type

Table Medicine Request Detail

Medicine_Request_ID * Order_Number * Medicine_Code Distribute_Amount Request_Amount

Trang 40

Table Medicine Inventory

Medicine_Inventory_ID * Store_Code

Inventory_Date Staff1_ID Staff2_ID Note State Medicine_Intake_ID Other_Distribute_ID

Table Medicine Inventory Detail

Medicine_Inventory_ID * Order_Number * Medicine_Code Amount Inventory_Amount

Table Medicine Discarded

Medicine_Discarded_ID * Discard_Date

Discard_Staff_ID Didcard_Store_Code Note

Table Medicine Discarded Detail

Medicine_Expire_ID * Order_Number * Medicine_Code Amount Reason

Ngày đăng: 11/04/2013, 09:32

TỪ KHÓA LIÊN QUAN

w