Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

BRIEF DESCRIPTION The Add Drug usecase is started when user (Doctor or Nurse) wants to prescribe drugs for patient. The user must click on Manage

image text in transcribed

  1. BRIEF DESCRIPTION

The Add Drug usecase is started when user (Doctor or Nurse) wants to prescribe drugs for patient. The user must click on Manage Drug Prescription then select Add Drug to add drugs prescription for the patient.

  1. PRE-CONDITIONS

Patient must get consultation from the doctor. The drug prescription for the patient must prescribes by the doctor.

  1. CHARACTERISTIC OF ACTIVATION

Event Driven (on doctors demand)

Basic Flow:

1. User (doctor or nurse) clicks on Manage Drug Prescription then select Add Drug Prescription button.

2. System shall view Add Drug page.

3. User must enters patients ID and the system must verify the patient ID.[E1]

4. If the patient ID is valid, user shall enter the drugs prescription information such as Drug ID, Diagnosis Note, Dose, and Duration. The system must retrieve the drug information from Drug object. Then save the information in the Drug Prescription. The system must send a confirmation message to the user.

5. User must click on Submit button [A1], the system must display Confirmation Message Are you sure? [Y/N], once the user click Y then the system must save all the drugs prescription, generate drugs pick-up number for the patient and send the drugs prescription to the Pharmacy Information System (PIS).

6. Then the system must send notification to the user The drug prescription for the patient is completed .

Alternative Flow:

A1. If the user selects the Cancel button.

Warn the user that the status will be changed to cancelled. If the user selects the Cancel option return the user to the main page of the EMRs System.

Exception Flow:

E1: The system may prompt out error message The user ID is not valid, and advise user to re-enter a valid customer ID.

E2: The system may prompt out error message The order ID is not valid, and advise user to re-enter a valid customer ID.

  1. Based on the usecase specification, draw

a) sequence - please indicate the position of alternative flow and exceptional flow in the sequence diagram for the basic flow of the above usecase specification.

b) based on (i)(a) draw a collaboration diagrams

  1. Draw a class diagram based on the sequence diagram in question 5(i)(a).

For each entity class, you are required to provide at least TWO (2) attributes, for the operations you need to identify from the sequence diagram.

Mariage Drug Prescription Dodo 1 Nurse

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions

Question

1. Outline the listening process and styles of listening

Answered: 1 week ago

Question

4. Explain key barriers to competent intercultural communication

Answered: 1 week ago