Skip to content
Graphviz (DOT) templates

Medicine Distribution and Verification (Graphviz)

Active ingredient through QP release, wholesalers and pharmacy dispense, with serialisation decommissioning and the recall return path.

Template previewGraphviz (DOT)
pharma_supply Prescription medicine distribution and pack verification api Active ingredient site Hyderabad fdf Finished dose site Barcelona api->fdf campaign batches qp QP release batch certification fdf->qp hub National verification system qp->hub upload unique identifiers pre Pre-wholesaler temperature mapped qp->pre full Full-line wholesaler two deliveries a day pre->full pallet, 2-8 C or ambient hosp Hospital pharmacy full->hosp line order cycle comm Community pharmacy full->comm line order cycle ret Returns and recall quarantine full->ret class 2 recall hosp->hub decommission at dispense pat Patient hosp->pat comm->hub decommission at dispense comm->pat comm->ret patient return ret->fdf investigation

What this template contains

Graph
Directed
Edges
14
Source
30 lines

Make it your own.

digraph pharma_supply {
  rankdir=LR;
  graph [fontname="Inter", labelloc="t", label="Prescription medicine distribution and pack verification"];
  node [fontname="Inter", shape=box, style="rounded,filled", fillcolor="#f0f9ff"];
  edge [fontname="Inter", fontsize=10];

  api  [label="Active ingredient site\nHyderabad"];
  fdf  [label="Finished dose site\nBarcelona"];
  qp   [label="QP release\nbatch certification", fillcolor="#fef9c3"];
  hub  [label="National verification\nsystem", shape=cylinder, fillcolor="#ede9fe"];
  pre  [label="Pre-wholesaler\ntemperature mapped"];
  full [label="Full-line wholesaler\ntwo deliveries a day"];
  hosp [label="Hospital pharmacy"];
  comm [label="Community pharmacy"];
  pat  [label="Patient", shape=ellipse, fillcolor="#dcfce7"];
  ret  [label="Returns and recall\nquarantine", fillcolor="#fee2e2"];

  api -> fdf [label="campaign batches"];
  fdf -> qp;
  qp -> hub [label="upload unique identifiers"];
  qp -> pre;
  pre -> full [label="pallet, 2-8 C or ambient"];
  full -> hosp [label="line order cycle"];
  full -> comm [label="line order cycle"];
  comm -> hub [label="decommission at dispense", style=dashed];
  hosp -> hub [label="decommission at dispense", style=dashed];
  comm -> pat;
  hosp -> pat;
  full -> ret [label="class 2 recall"];
  comm -> ret [label="patient return"];
  ret -> fdf [label="investigation", style=dotted];
}