Mapping Between Views - SENG-350-2024-fall/Team-11 GitHub Wiki
| Component and Connecters View | Module View (Class Diagram) |
|---|---|
| Component: Symptom Evaluation System | Elements: SymptomEvaluator, SpecificSymptomEvaluator |
| Component: Prescription Command System | Elements: SubmitPrescriptionCommand, SubmitPrescriptionInvoker |
| Component: User Role System | Elements: Role, Admin, Nurse, Patient, ED, Chemist, PrimaryCareClinic |
| Component: Database Adapter System | Elements: DatabaseAdapter, AWSDatabase |
| Component: Notification System | Elements: NewPatient, Observer, IncommingPatientObservser |
| Allocation View | Module View (Class Diagram) |
|---|---|
| Hardware/Infrastructure Layer: AWS Cloud | Elements: AWSDatabase |
| Application Layer: Symptom Evaluation System | Elements: SymptomEvaluator, SpecificSymptomEvaluator |
| Application Layer: Prescription Command System | Elements: SubmitPrescriptionCommand, SubmitPrescriptionInvoker |
| Application Layer: Notification System | Elements: NewPatient, Observer, IncommingPatientObservser |
| Application Layer: Database Adapter System | Elements: DatabaseAdapter |
| Application Layer: User Role System | Elements: Role, Admin, Nurse, Patient, ED, Chemist, PrimaryCareClinic |
| Allocation View | Component and Connecters View |
|---|---|
| Element: Application Layer | Components: Symptom Evaluation System, Prescription Command System, Notification System, Database Adapter System, User Role System |
| Admin View | Chemist (Pharmacist) View |
|---|---|
| Manages and assigns user roles | Context: Admin manages chemist user account and account access |
| Component: user login system | Component: user login system |
| Admin View | Emergency Department View |
|---|---|
| Manages and assigns user roles | Context: Admin manages ED user account and account access |
| Component: user login system | Component: user login system |
| Chemist (Pharmacist) View | Primary Care Clinic (GP) View |
|---|---|
| Component: user login system | Component: user login system |
| Context: Pharmacist interacts with PrescriptionService to provide medication to patients | Context: GP interacts with PrescriptionService to send prescriptions based on symptom evaluation to ED |
| Chemist (Pharmacist) View | Nurse View |
|---|---|
| Component: user login system | Component: user login system |
| Context: Pharmacist interacts with PrescriptionService to provide medication to patients | Nurses can interact with PrescriptionService to send prescriptions based on symptom evaluation to the ED |
| Chemist (Pharmacist) View | Emergency Department View |
|---|---|
| Component: user login system | Component: user login system |
| Context: Pharmacist interacts with PrescriptionService to provide medication to patients | ED user interacts with PrescriptionService to send prescriptions from the GP or Nurse user to the pharmacist |
| Nurse View | Emergency Department View |
|---|---|
| Component: user login system | Component: user login system |
| ObserverImplementation interacts with SymptomEvaluator to notify nurses whenever patient symptoms are submitted. | ObserverImplementation interacts with SymptomEvaluator to notify ED whenever patient symptoms are submitted. |
| Patient View | Emergency Department View |
|---|---|
| Component: user login system | Component: user login system |
| Component: SymptomEvaluator | Context: ED user is notified whenever a new patient is submitted for evaluation through SymptomEvaluator. |
| Patient View | Chemist (Pharmacist) View |
|---|---|
| Component: user login system | Component: user login system |
| Context: pharmacist provide medication to patients | Component: PrescriptionService |
| Patient View | Primary Care Clinic (GP) View |
|---|---|
| Component: user login system | Component: user login system |
| Component: SymptomEvaluator | GP evaluates patient symptoms submitted via SymptomEvaluator and decides the course of treatment. |
| Patient View | Nurse View |
|---|---|
| Component: user login system | Component: user login system |
| SymptomEvaluator: patients submit symptoms using Symptom Evaluator | ObserverImplementation – function interacts with Symptom Evaluator to notify nurses whenever patient symptoms are submitted. |
| Component: patient records | Context: nurses have access to modify patient records based on their interactions with patients |