AgileEAS. NET platform development case-pharmacy system-Requirement Analysis

Source: Internet
Author: User
Opening

We know that our normal development process is from the waterfall mode such as requirement-design-Development-test-deployment or the variant of the waterfall mode, but no matter how the development mode is, the premise is that the requirements must be determined before

The functional and non-functional requirements of the users to be developed can be analyzed in the demand analysis so that we can carry out subsequent development work. This article will analyze the functional and non-functional requirements of the pharmacy system.

Analyze the content of the document.

First, let's take a look at the general software development process:

This is a traditional software development process. Currently, no matter it is iterative development, incremental development, or agile development, it is nothing more than some variants based on the traditional development model.

Iterative development is a prototype-based iterative development based on the traditional software development process. After the development is complete, it performs integration testing.

Incremental development is to take each module from the design-coding-test process, and finally complete the integration test.

Agile development is a combination of iterative development and incremental development.

We will elaborate on different development modes and development processes in detail later, and separately describe the true embodiment of the software engineering idea of AgileEAS. NET agile development platform.

No matter what kind of software we develop or how small the software is, we must first understand the requirements before continuing to carry out subsequent needs analysis, detailed design and other follow-up processes, so we know the importance of the needs, so we

This article analyzes the Needs of the pharmacy system and sorts out the business, and organizes the requirements into a requirement document.

Outline

1. Analyze the pharmacy Business Process

2. Sort out the specific requirements of each function.

Pharmacy Business Process

Next we will analyze the pharmacy business process. Of course, if you are very familiar with the pharmacy field, you can also use DDD for development and design, but because of my limited level, not up to the entry level of DDD

Haha, I am not ugly now. I am still simply analyzing my understanding of the drug store. Some business details may not be reflected here. Please continue to add, of course, if you are particularly familiar with the pharmacy business,

You are also welcome to have more exchanges.

Let's take a look at the main line of the pharmacy's business process.

I. drug warehouse receiving:

Ii. Drug Delivery:

Iii. Pharmacy drug withdrawal-Supplier:

Iv. Customer withdrawal:

V. report loss of medicines:

6. Drug Price Adjustment:

VII. Pharmacy inventory check

Check the importance of the corresponding drug store must be very important. I think one of the main purposes of the software system is to check the flow of all the funds of the drug store, so it is done through inventory check, inventory check is the main flow of drug check

And the actual consumption.

We have basically analyzed the main business processes in the drug store system. Of course, we do not include some modules: the drug purchase plan. For the sake of simplicity, We have omitted these steps, let's take a look at our needs.

Find the analysis process.

Requirement Analysis

We have analyzed the Business Process of the pharmacy system and provided a Graphical description. I believe you have a simple understanding of the business process of the pharmacy system, next, let's analyze the detailed functional requirements of the pharmacy system.

1. Basic data maintenance:

First, you must have a drug dictionary:

This function is the basic data information in the pharmacy management system. Without the maintenance of the drug dictionary, the subsequent purchase and sale of the drug store will be impossible, the drug dictionary is used in the drug warehouse management module.

Product: select a drug in the drug dictionary and fill in the corresponding inventory information through the drug warehouse receiving function in the software to complete the warehouse receiving operation. Therefore, this module is a Business Flow Input condition for subsequent modules.

Second, there must be suppliers:

The supplier must be selected when receiving the database; otherwise, the supplier cannot confirm the supplier to which the drug is returned during the later stage.

Again, drug type:

If there is no drug type, the type of the drug cannot be maintained and managed, and the income and expenditure reports cannot be discussed at last.

2. drug warehouse receiving:

Maintain basic drug warehouse receiving information. For details about the information, see database design.

Suppliers must be recorded.

Purchase date, purchase quantity, and other purchase information.

It is convenient to maintain the information of drug warehouse receiving, and can be viewed and analyzed.

3. Drug inventory management

The drug inventory function is the core of the system to maintain the management of drug inventory in drug stores. Because all data in drug stores are transferred by drugs, drug inventory management is particularly important, drugs managed

The functions such as warehouse receiving and loss reporting can be regarded as a simple ERP with a small scale. Of course, the functions are not so comprehensive and powerful.

Next, let's take a look at the specific functions of the drug inventory:

Inventory check and view functions.

Inventory editing, modification, deletion, etc.

Operation records. You must be able to view maintenance information.

Specific module interaction requirements:

Drug inventory is the core of information storage and information flow of these modules.

4. drug warehouse delivery (for customers to issue medicines)

It is understood that the function of picking a drug from the pharmacy inventory or retail the customer is mainly responsible for selecting the medicines to be delivered or retail from the pharmacy inventory and entering the corresponding quantity, the settlement function is provided directly to complete the delivery or retail of medicines.

Functions of this module:

Select a drug from the stock> 0.

The inventory is automatically subtracted from the inventory to record the outgoing drug records.

Record operator and warehouse picking operation information.

Query outbound records and print them.

Association between this module and other modules:

For more information, see "detailed database design ".

5. Customer withdrawal

Two reverse operations are performed between the customer's withdrawal of medicines and the delivery of medicines. The drug withdrawal process is used to record the reason for the withdrawal and the operation information for the withdrawal, in addition, the pharmacy inventory is automatically updated. The withdrawal process can be reviewed or ignored. In general, there will be reviews in the HIS system, drug stores generally do not need to design the content. Therefore, the reasons, quantities, dates, operators, and other relevant information of drug return are recorded here to facilitate statistics and query. In addition, the statistical analysis module provides corresponding reports.

Relationship between this module and other modules:

The relationship between the drug withdrawal module and inventory and statistical analysis is given above.

6. Drug Price Adjustment

This module is mainly used to adjust the prices of some existing medicines in stock. Therefore, we must record the prices before price adjustment and after price adjustment, record the quantity after price adjustment, and determine, if the drug after price adjustment is in medicine

If the store inventory table exists, the inventory is accumulated and the inventory quantity of the drugs before the price adjustment is checked. Otherwise, inconsistency may occur.

1. Select the desired drug. The search and search functions must be supported.

2. You can enter the price and quantity of the selected goods after you select them. Of course, the simple method is to set all the conditions. The current pharmacy system is doing this, this method is relatively simple, but does not work

Active.

3. To maintain data consistency, the price adjustment information must be recorded: old price, new price, price adjustment quantity, price adjustment date, Price Adjustment reason, and so on.

4. The procedure must be able to deduct the inventory of the original price after the price adjustment, and if there is a new price of drugs in the inventory table, the amount of drugs after the new price adjustment will be accumulated, otherwise, a new drug inventory record is inserted.

7. Report Drug loss

The loss of a drug is generally caused by the failure of the drug, the failure to use it again after it is opened, or other reasons. We need to report the loss of the drug in stock, first, we can analyze what they should do.

Yes.

1. You can query different types of medicines by keyword.

2. From the selected data source, enter the number of loss to be reported and the cause of the loss.

3. The loss report information must be recorded: in addition to the basic drug information, the cause, quantity, and date of the loss must also be recorded.

4. During the loss reporting operation, the inventory is updated synchronously, and the quantity of the loss reported is removed from the existing inventory.

5. Printing is available.

8. Drug inventory check

Those who have worked in the medical industry should be familiar with the functions of inventory check, inventory check is mainly to record the process of comparing and synchronizing the inventory of accounts in the management system with the physical inventory of the actual drugs.

The inventory of accounts in the system is called physical inventory. We need to increase inventory profit or inventory loss after sorting out the relevant causes, then, the balance between the inflow and outflow of funds is recorded during the interval of the inventory.

Points. Therefore, in general, the check function is the top priority.

1. The inventory of medicines must be provided.

2. Update the physical inventory based on inventory copies.

3. Synchronize the account inventory with the actual physical inventory.

4. It has the printing function.

5. Statistical analysis report function.

The above is a simple analysis of the needs of the pharmacy system. Of course, the analysis is relatively simple and not professional enough. I hope you can continue to supplement it. Welcome to the discussion.

Pharmacy system-Requirement documents

More communication

Official blog: http://www.smarteas.net/

Http://www.agilelab.cn/

If you have any questions about using the AgileEAS. NET development platform, use the following contact methods or communication methods.

1. Telephone-Email:

He gozhou: hegezhou_hot@163.com mobile phone: 18691480181 blog: http://www.cnblogs.com/hegezhou_hot/

2. QQ chat group:

308961614 Network Name: h.o. T

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.