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)
Rendering…

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];
}