For the following situation, draw a context-level - DOC by yrf69717

VIEWS: 108 PAGES: 3

									DCS5128-System Analysis & Design                                    Example: Chapter 7



                      DFD SAMPLE CASE STUDY
Case study #1

For the following situation, draw a context-level diagram and a level-0 data flow
diagram. Kellogg State Bank provides car and home loans to its banking customers.
Initially, a potential loan customer meets with a Kellogg loan officer, requests a loan
for a certain amount and time frame, and completes a loan application. Next, the
loan officer determines the customer’s credit standing, the type of loan required, and
available interest rates. While the loan officer can authorize car loans for credit
worthy customers, a loan committee must approve all home loans.

A suggested context-level data flow diagram is provided below.




A suggested level-0 data flow diagram is provided below.




                                          1/3
DCS5128-System Analysis & Design                                                   Example: Chapter 7



Case study #2

The pharmacy at Mercy Hospital fills medical prescriptions for all hospital patients
and distributes these medications to the nurse stations responsible for the patients’
care. Prescription are written by doctors and sent to the pharmacy. A pharmacy
technician reviews each prescription and sends it to the appropriate pharmacy
station. Prescriptions for drugs that must be formulated (made-on site) are sent to
the lab station, prescriptions for off-the-shelf drugs are sent to the shelving station,
and prescriptions for narcotics are sent to the secure station. At each station, a
pharmacist reviews the order, checks the patients the patients’ file to determine the
appropriateness of the prescription, and fills the order if the dosage is at a safe level
and it will not negatively interact with the other medications or allergies indicated in
the patient’s file. If the pharmacist does not fill the order, the prescribing doctor is
contacted to discuss the situation. In this case, the order may ultimately be filled, or
the doctor may write another prescription depending on the outcome of the
discussion. Once filled, a prescription label is generated listing the patient’s name,
the drug type and dosage, an expiration date, and any special instructions. The label
is placed on the drug container, and the order is sent to the appropriate nurse
station. The patient’s admission number, the drug type and amount dispensed, and
the cost of the prescription are then sent to the billing department.

A suggested answer is provided below.


                                             Hospital Pharmacy
                                              Context Diagram


                         Prescription                 0
                                                                 Drug Label Info
             Doctor    Unfilled Order Info          Hospital
                                                                                      Store
                                                   Pharmacy
                                                                                     Manager
                                                    System
                                                                 Patient Number
                       Unfilled Order Info                       and Drug Type,
                       Response                                  Amount & Cost




                                                   2/3
DCS5128-System Analysis & Design                                                                        Example: Chapter 7



Hospital Pharmacy - Level-0 Diagram



                                                                 1

                                  Prescription             Review &
                 Doctor                                       Send
                                                          Prescription
                                                           to Station
                                  Unfilled Order Info

                                                                      Pharmacy
                                                 Prescription                                   Patient File
            Unfilled Order Info                                       Tech Review        D
            Response
                                                                                         1

                                                                 2              Patient Info
                                                            Review
                                                          Prescription
                                                           Order by
                                                            Station


                                                     Order Info                     Order Fill Info

                                                                  3
                                                                 Fill
                                                                Order


                                        Drug Label Info                      Patient Number
                                                                             and Drug Type,                     Billing
                                                                             Amount & Cost                       Dept
                                                                  4
                                                            Generate
                                                             Label
                                                                                    Drug Label Info

                                                                                                               Nurses
                                                                                                               Station




                                                            3/3

								
To top