CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Healthcare

🏥 Healthcare · Sequence

Pharmacy e-Prescription Fulfilment

How an e-prescription is filled by a pharmacy: prescription verification, stock check, substitution consent, payment and delivery.

More Healthcare templates

Drawing diagram…

What this diagram shows

  • Pharmacist verifies the prescription before dispensing
  • Generic substitution needs the patient's consent
  • Controlled drugs need the original prescription at delivery

Prompt used

Pharmacy sequence: the patient uploads or forwards an e-prescription, the pharmacist verifies the doctor's registration and dosage, the inventory service checks stock and suggests a generic substitute if a brand is out of stock, the patient consents to the substitute and pays, the order is packed and delivered, and the dispense record is logged.

Mermaid code
sequenceDiagram
  actor P as Patient
  participant App as Pharmacy App
  actor Ph as Pharmacist
  participant Inv as Inventory Service
  participant Del as Delivery
  P->>App: Upload e-prescription
  App->>Ph: Verify prescription
  Ph->>Ph: Check doctor reg. and dosage
  Ph->>Inv: Check stock
  Inv-->>Ph: Brand out of stock, generic available
  Ph->>App: Suggest generic substitute
  App->>P: Approve substitute?
  P-->>App: Approve and pay
  App->>Del: Pack and dispatch
  Del-->>P: Delivered
  Ph->>Inv: Log dispense record

Related templates

C4 ArchitectureProHealthcare

Hospital Management System Architecture

A container-level view of a hospital management system: patient and staff apps, the core services behind them, and the external systems a hospital depends on, such as insurers and labs.

SequenceHealthcare

Patient Appointment Booking Sequence

How a patient books a doctor's appointment online: checking free slots, holding one, paying the consultation fee and getting a confirmation.

FlowchartHealthcare

EHR Integration via HL7 / FHIR

How a hospital's EHR exchanges data with labs, radiology and insurers through an integration engine, translating between HL7 v2 and FHIR.

SequenceHealthcare

Telemedicine Video Consultation

An online doctor consultation from booking to e-prescription: payment, a secure video room, consultation notes and the prescription sent to the patient.

SequenceHealthcare

Cashless Hospitalisation Pre-Authorisation

How a cashless health insurance claim works at a hospital: pre-authorisation with the TPA, treatment, and final bill settlement directly with the insurer.

Database ERDHealthcare

Hospital Database Schema

A core relational schema for a hospital: patients, doctors, departments, appointments, admissions, beds, prescriptions and bills.