Use Case Example Usage Narrative An Example Suppose

  • Slides: 6
Download presentation
Use Case Example

Use Case Example

Usage Narrative -- An Example • Suppose you’ve been asked to work as a

Usage Narrative -- An Example • Suppose you’ve been asked to work as a business or systems analyst on a new system to track pharmacy functions in a hospital. • You decide a good first step might be to construct a usage narrative to begin the analysis process. • On the next slide is an example of what you might produce. 2

Example Usage Narrative -- Hospital Pharmacy The Hospital Pharmacy fills prescriptions for the hospital’s

Example Usage Narrative -- Hospital Pharmacy The Hospital Pharmacy fills prescriptions for the hospital’s patients and distributes these to the Nurse Station responsible for each patient. The prescription is written by the doctor and sent to the pharmacy where the pharmacist reviews the prescription, checks the patient drug file to determine the appropriateness, such as allergies the patient may have or errors in the prescription (i. e. labor inducement medication prescribed to a male patient). The pharmacist then fills the order if the dosage is safe, there are no known patient allergies to the drug, and the drug does not interact with other drugs the patient is taking. If the pharmacist decides not to fill the order the doctor is contacted and advised of the problem. The doctor then may decide to have the order filled anyway or the doctor may write another prescription and resubmit it to the pharmacy. Once the prescription is filled a label is generated with the patient information (patient ID number, patient name, room number, doctor name etc), prescription information (drug name, amount dispensed, dosage) and medical information (instructions). The label is put on the drug container. The Patient ID and new drug information (drug, dosage, RX #) are entered by the pharmacy into the Patient Drug File. The patient ID number, drug name, amount dispensed and cost of the drug are entered by the pharmacy into the on-line cost center system. The drug container (with drug) and the corresponding order are then sent to the appropriate Nurse Station to be administered to the patient 3

From Narrative to Use Case • Once the usage narrative is written and validated,

From Narrative to Use Case • Once the usage narrative is written and validated, it can be used as the foundation for a use case • Employing our use case template, the pharmacy usage narrative might produce the following use case. 4

Rx System Use Case Main Success Scenario 1. Doctor enters Rx into system 2.

Rx System Use Case Main Success Scenario 1. Doctor enters Rx into system 2. System checks Rx for accuracy 3. Dispense and send label information to Nurses Station 4. Patient receives Rx 5. System updates Billing and Patient DB Needed Extensions: 2 a. System detects inaccuracy 2 b. System sends review back to doctor 2 c. Doctor resends RX (with or without changes) 5

Rx System Use Case (continued) Other Extensions/Exceptions 1 a. Doctor not authorized or this

Rx System Use Case (continued) Other Extensions/Exceptions 1 a. Doctor not authorized or this patient 1 a 1. Rx denied 2 a. System detects allergy conflict 2 a 1. Sends Rx back to doctor 2 b. System detects Rx interaction 2 b 1. Sends Rx back to doctor 2 c. System detects Rx duplicate dose 2 c 1. Sends Rx back to doctor 2 d. System detects low or no inventory 2 d 1. Sends Rx back to doctor. 3 a. Rx sent to wrong Nurses Station 3 a 1. Nurse denies/refuses Rx 3 a 1 a. Sends Rx back to doctor 4 a. Patient status changed 4 a 1. Nurse denies/refuses Rx 4 a 1 a. Sends Rx back to doctor Special Conditions: Total system failure or Power loss ** Revert to manual system 6