Chemist (Pharmacist) View - SENG-350-2024-fall/Team-11 GitHub Wiki
Chemist (Pharmacist) View
Primary Presentation:
Diagram: The chemist's role involves reviewing and filling prescriptions. They will interact with the PrescriptionService class to fulfill medication needs.
Notation: UML Use Case Diagram.
Element Catalog:
PrescriptionService: Handles the prescription logic and helps pharmacists fulfill medication requests.
StateMachine: Ensures pharmacists see prescriptions only when logged in.
Context Diagram:
Context: Chemists fulfill prescriptions based on the patient’s symptom evaluation. They interact with the system only when prescriptions are finalized by the ED or GP.
External Entities: GP, ED.
Variability Guide:
Variability: The prescription fulfillment process may vary based on the type of medication or treatment prescribed.
Runtime Variability: Pharmacists adjust prescriptions based on available stock or drug-specific guidelines.
Rationale:
Rationale: The chemist view provides secure and efficient access to prescriptions. Using a command pattern helps decouple prescription logic from other parts of the system.
Rejected Alternatives: Including the entire prescription process within the GP view was rejected to ensure clear separation of responsibilities.