Skip to content

Reference Lab Clients & Orders

Manage B2B client laboratories, inbound orders, and specimen tracking from the Reference Lab workspace (/reference-lab). This module bridges external client manifests with EaseLab's internal sample and results pipelines.

Client registry

mermaid
flowchart TB
    CL[Client lab record] --> CT[Contract terms]
    CL --> RL[Rate list]
    CL --> USR[Portal users optional]
    CT --> ORD[Orders]

Client profile fields

FieldPurpose
Legal nameInvoicing
CodeShort identifier in barcodes
Contact personOperations liaison
Email / phoneAlerts
Billing addressB2B invoices
Payment termsNet 30, prepaid, etc.
Default rate listPricing
Active flagHide lapsed clients

Create clients before first order — duplicate codes break manifest imports.

CRM handoff

Winning a B2B deal in CRM? Copy commercial terms into client profile notes before go-live.

Order lifecycle

mermaid
stateDiagram-v2
    [*] --> Draft: Client manifest
    Draft --> Received: Specimens arrive
    Received --> InProcess: Accessioned
    InProcess --> Completed: Results verified
    Completed --> Delivered: Sent to client
    Delivered --> Invoiced: Billing run
    Draft --> Cancelled: Client recall

Creating an order

Manual entry

  1. Open Reference Lab → New Order.
  2. Select client.
  3. Enter client reference # (their requisition ID).
  4. Add line items — tests per specimen.
  5. Assign or import barcodes.
  6. Save as Draft until specimens physically received.

Manifest import

For high-volume clients:

FormatNotes
CSVBarcode, test code, patient ref
APIFuture integration — see API
HL7 ORMMiddleware dependent

Validate test codes against catalog — unmapped codes fail accession.

Accessioning

When specimens arrive:

  1. Mark order Received with timestamp.
  2. Scan barcodes into Samples.
  3. Link each sample to order line.
  4. Flag discrepancies (missing tube, wrong test).
mermaid
sequenceDiagram
    participant Client
    participant Receiving
    participant EaseLab
    Client->>Receiving: Courier delivery
    Receiving->>EaseLab: Mark received
    Receiving->>EaseLab: Scan barcodes
    EaseLab->>EaseLab: Route to departments

Discrepancy log supports client disputes.

Processing and results

Reference orders use standard laboratory workflow:

StepModule
Bench processingDepartment queues
Analyzer importAnalyzers
Manual entryResult entry
VerificationPathologist sign-off

Results may suppress patient demographics on client-facing exports when policy requires anonymized requisition IDs only.

Delivery to client

MethodWhen
Client portalSelf-service download
Secure emailPDF per order
SFTP / APIEnterprise
Printed courierRegions with limited IT

Mark order Delivered when client acknowledges receipt — triggers invoicing eligibility per contract.

Client portal users (optional)

Assign client staff logins with scoped access:

  • View only their orders
  • Download result packages
  • No access to retail patient data

Follow least-privilege — one login per client organization segment.

SLA tracking

MetricTarget source
Receipt to verifyContract TAT
Delivery latencyOrder delivered − completed
Rejection rateQuality metric

Compare against turnaround time filtered by client tag.

Permissions

ActionSuggested permission
Manage clientsAdmin or dedicated B2B role
Create ordersReference lab coordinator
Accession samplessamples.create
Deliver resultsreport_delivery.create

Troubleshooting

IssueResolution
Barcode collisionEnforce client prefix
Test not foundSync catalog codes with client
Partial orderSplit order or backorder lines
Client denies receiptResend delivery audit log

Patient privacy

Client orders may include patient names from referring sites — treat as PHI under your jurisdiction.

Ease Lab — Cloud Pathology Lab Management