Question: 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

 BRIEF DESCRIPTION The Add Drug usecase is started when user (Doctor

  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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!