CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
πŸŒ™β˜€οΈ
Log inStart free
Home/Templates/Pharma & Life Sciences

πŸ’Š Pharma & Life Sciences Β· State Machine

Lab Sample Lifecycle (LIMS)

The states of a laboratory sample in a LIMS, from collection to reporting and disposal, with rejection and re-testing.

More Pharma & Life Sciences templates

Opening a template is free and never counts toward your daily diagrams. Asking the AI to change it counts as one.

Drawing diagram…

What this diagram shows

  • Samples can be rejected at receipt (wrong container, leakage)
  • Out-of-spec results trigger a re-test before release
  • Retained samples are stored for a set period, then disposed

Prompt used

State machine for a lab sample in a LIMS: Collected, In Transit, Received (or Rejected for damage or labelling issues), Accessioned with a barcode, In Testing, Results Entered, Under Review. Out-of-specification results go to Retest. Reviewed results are Approved and Reported. After reporting the sample is Retained in storage and later Disposed.

Mermaid code
stateDiagram-v2
  [*] --> Collected
  Collected --> InTransit
  InTransit --> Received
  Received --> Rejected: Damaged or mislabelled
  Received --> Accessioned: Barcode assigned
  Accessioned --> InTesting
  InTesting --> ResultsEntered
  ResultsEntered --> UnderReview
  UnderReview --> Retest: Out of specification
  Retest --> InTesting
  UnderReview --> Approved: Reviewer signs
  Approved --> Reported
  Reported --> Retained: Stored for 2 years
  Retained --> Disposed
  Disposed --> [*]
  Rejected --> [*]

Inside this diagram

A state diagram with 13 states and 13 transitions.

States

  • Collected
  • InTransit
  • Received
  • Rejected
  • Accessioned
  • InTesting
  • ResultsEntered
  • UnderReview
  • Retest
  • Approved
  • Reported
  • Retained
  • Disposed

Starts in

  • Collected

Ends in

  • Disposed
  • Rejected

Transitions

  • Collected β†’ InTransit
  • InTransit β†’ Received
  • Received β†’ Rejected when Damaged or mislabelled
  • Received β†’ Accessioned when Barcode assigned
  • Accessioned β†’ InTesting
  • InTesting β†’ ResultsEntered
  • ResultsEntered β†’ UnderReview
  • UnderReview β†’ Retest when Out of specification
  • Retest β†’ InTesting
  • UnderReview β†’ Approved when Reviewer signs
  • Approved β†’ Reported
  • Reported β†’ Retained when Stored for 2 years
  • Retained β†’ Disposed

Make your own diagram like this

Describe your own system in plain English and CloudSketch AI draws it in seconds. See all AI diagram generators.

Related templates

SequencePharma & Life Sciences

Adverse Drug Event Reporting

How a suspected side effect reported by a doctor or patient is captured, assessed and reported to the regulator on time (pharmacovigilance).

C4 ArchitectureProPharma & Life Sciences

Clinical Trial Management Architecture

The systems that run a clinical trial: trial management, electronic data capture, randomisation, drug supply and safety reporting.

Data FlowPharma & Life Sciences

Drug Track-and-Trace Data Flow

How medicine packs are serialised and traced from factory to pharmacy to stop counterfeits: unique codes, aggregation and verification.

FlowchartPharma & Life Sciences

Regulatory Submission Workflow

How a pharmaceutical company prepares and files a marketing application (dossier) with regulators and handles their queries.

Database ERDPharma & Life Sciences

Electronic Batch Record Schema

A schema for electronic batch records in pharmaceutical manufacturing: products, master recipes, batches, steps, materials used and deviations.

FlowchartPharma & Life Sciences

GxP Deviation and CAPA Workflow

How a pharmaceutical plant handles a manufacturing deviation: report, impact assessment, root cause, CAPA and batch disposition.