Get control of the stock you own but do not hold — track consignment at hospitals, loaner kits in circulation, and trunk stock with reps, capture UDI usage at the point of procedure, and turn that usage into a bill-only order and a replenishment in one flow.
Tags: life-sciences, medtech, consignment, inventory-management, udi, supply-chain, sap, event-driven
Consignment, Kits, and Bill-Only Usage Capture
Objective: Manage inventory that sits outside your four walls but stays on your balance sheet. In MedTech a large share of stock lives in hospital cupboards, loaner kits in transit between cases, and the boots of sales reps, and the company usually learns what was used when someone submits paperwork days later. The integration goal is to capture usage at the point of procedure with the UDI scanned, and to let one event produce the invoice and the replenishment at the same time.
What's Getting Built
- Usage Capture (Experience API) — accepts offline-tolerant UDI scans from the field app with case and account context, idempotent on the client event id ·
POST /usage-events, GET /usage-events/{clientEventId}
- Validate and Replenish (Process API) — resolves the device, validates expiry, recall, and at-location, then fans one usage event out to order, replenishment, and position ·
POST /usage, POST /usage/{usageEventId}/process
- Consignment Position (System API) — publishes the current position across consignment, kit, and trunk stock by location and UDI, with confidence per source ·
GET /positions, GET /positions/{locationId}, POST /movements
- Bill-only order to ERP (target) — creates the bill-only order from the usage event carrying the account contract, idempotent against the event id ·
POST /bill-only-orders
- Replenishment to WMS / 3PL (target) — triggers replenishment against per-location par levels and publishes a consumption event to demand planning ·
POST /replenishment-orders, PUBLISH consumption.event
- Daily reconciliation (Scheduler) — reconciles usage, billing, and replenishment daily and runs the physical-count variance cadence ·
SCHEDULER daily reconcile, POST /variance-report
Value chain phase
Phase 05 — Supply Chain & Logistics. Distribution, secure cold-chain tracking, and warehouse management.
- Scope of this plan: Consignment, kit, and trunk stock visibility, UDI usage capture at the point of procedure, and the bill-only order and replenishment that follow from it.
- Data in this phase: ERP systems, real-time freight-tracking data, and partner EDI feeds.
- Receives from: Phase 04 — Manufacturing & QC.
- Hands off to: Phase 06 — Commercial & Patient Services.
Prerequisites
- Anypoint Platform org with API Manager and a non-production deployment target.
- Secrets Manager or secure properties configured for every regulated system credential.
- Named quality owner — anything touching a device quality record needs a change-control path agreed before the first deployment.
- A field-facing capture path — mobile app, scanner, or hospital portal — that works offline, because operating rooms and stock rooms rarely have reliable signal.
- ERP access for consignment stock, bill-only order creation, and the accounting treatment agreed with finance.
- WMS or 3PL integration for replenishment, and kit configuration data if trays and loaners are in scope.
- UDI resolution as a service, so a scanned barcode becomes a device, lot, and expiry without a lookup table in the app.
- Written agreement with finance on when consigned stock converts to revenue — this decides what the integration must evidence.
Choose your path
- Visibility first — Choose when nobody can say what is on consignment today — read-only aggregation of counts and movements, which is fast and exposes the real shrinkage.
- Usage-driven — Choose when the goal is closing the loop — scanned usage produces the bill-only order and the replenishment automatically, which requires the capture path to be trusted first.
Platform notes
Field capture
- Assume offline: queue scans locally, sync on reconnect, and make the server idempotent on a client-generated event identifier.
- A rep in the OR will not troubleshoot a failed submission — accept the scan, validate asynchronously, and route exceptions to someone who can act.
Kits and loaners
- A kit is a container with contents that change between cases; track the kit's location and its manifest separately or reconciliation becomes impossible.
- Loaners move hospital to hospital without returning to a warehouse, so location must be event-driven rather than inferred from shipments.
ERP and finance
- Consignment is stock you own at a customer site — the accounting treatment differs from sold stock, and the conversion event has to be evidenced.
- Create bill-only orders idempotently against the usage event identifier; a resubmitted scan must not invoice a second implant.
Architecture
1. Business requirements
- A current position for every unit of consignment, kit, and trunk stock, by location and by UDI.
- Usage captured at the procedure with the device identifier scanned rather than transcribed.
- One usage event producing both the bill-only order and the replenishment, without duplicate entry.
- Expiry and recall exposure visible across field stock, where short-dated product is most easily forgotten.
2. Field stock visibility
- Model each holding location explicitly — hospital cupboard, kit, or rep — and treat them as inventory nodes rather than as a footnote.
- Record movements as events: shipped to site, moved between sites, returned, consumed, or written off.
- Rate the confidence of each position by how it was established, since a field count and a system movement are not equally reliable.
- Reconcile against physical counts on a cadence and route variance to the account owner with the movement history attached.
3. Usage capture
- Accept scanned UDI with the case, account, and clinician context, and resolve the device server-side.
- Validate expiry, recall status, and that the unit was actually at that location before accepting the usage.
- Queue and retry offline submissions with a client-generated identifier that makes replay harmless.
- Route unresolvable or contested scans to an exception queue rather than rejecting them in the operating room.
4. Bill-only and replenishment
- Create the bill-only order from the usage event, carrying the contract the account buys under so pricing resolves in the order flow.
- Trigger replenishment against par levels for the location, not against a national average.
- Publish a consumption event so demand planning sees real usage rather than replenishment orders as a proxy.
- Reconcile usage, billing, and replenishment daily so a break in any one of the three surfaces immediately.
5. Expiry, recall, and returns
- Surface short-dated field stock early enough to redeploy it rather than write it off.
- Resolve a recall to the exact units in the field and push the action to the accounts holding them.
- Handle returns as first-class movements with a disposition decision, since a returned implant is not automatically sellable.
- Keep an immutable history per unit, because chain of custody is what a device tracking obligation is built on.
6. Security and QMSR compliance
- Validate the integration against ISO 13485:2016 as incorporated by the FDA Quality Management System Regulation, effective 2 February 2026 — software validation and change control apply to this flow.
- Meet 21 CFR Part 11 for electronic records and signatures on every quality-relevant flow.
- Carry the UDI through every quality record the integration touches — complaint, servicing, and device history records — because inspections check that thread across systems, not within one.
- Respect the four obligations ISO 13485 does not cover: Medical Device Reporting (21 CFR 803), corrections and removals (806), device tracking (821), and UDI (830).
- Preserve audit trails no operator can edit, and retain evidence in the form an inspection under Compliance Program 7382.850 will ask for.
- Treat a mapping change on a quality-relevant flow as a controlled change under change management, never as a hotfix.
- Devices under a tracking order must be traceable to the patient who received them, which makes usage capture a regulatory record rather than a commercial convenience.
- Where usage capture touches patient identifiers, minimize what is carried and keep it out of commercial reporting.
For pre-built API specifications, implementation templates, and reference architecture, see the MuleSoft Accelerator for Life Sciences on Anypoint Exchange.
Sample payload — Usage event captured in the OR
{
"usageEventId": "USE-2026-0731-88213",
"clientEventId": "ios-4471-0731-0093",
"capturedAt": "2026-07-31T10:41:09Z",
"syncedAt": "2026-07-31T13:02:55Z",
"location": { "type": "consignment", "accountId": "HCO-00274", "siteId": "SITE-00274-03", "storageId": "OR-CAB-12" },
"case": { "caseId": "CASE-99120", "procedureDate": "2026-07-31", "clinicianMasterId": "HCP-000482913" },
"scans": [
{ "udiDi": "00889842011234", "lot": "LOT-2025-1140", "expiry": "2027-04-30", "quantity": 1, "resolved": true },
{ "udiDi": "00889842019987", "serial": "SN-77120", "expiry": "2028-01-31", "quantity": 1, "resolved": true }
],
"validation": { "expiryOk": true, "recallOk": true, "atLocation": true },
"outcome": { "billOnlyOrderId": "ORD-2026-0731-99341", "replenishmentTriggered": true }
}
Testing and validation
- Submit the same offline usage event twice and confirm one bill-only order results.
- Scan an expired or recalled unit and confirm the validation blocks the usage with a reason the field can act on.
- Scan a unit the system believes is at another location and confirm it routes to exceptions rather than silently correcting.
- Confirm one usage event produces both the bill-only order and the replenishment, and that failure of one does not roll back the other silently.
- Run a field count against the system position and confirm variance reports with movement history and confidence rating.
Phased rollout
Phase 1 — Connect
- Model holding locations and publish a read-only consignment position for one region.
- Agree par levels, the revenue conversion event, and the exception routing with finance and field operations.
Phase 2 — Map and validate
- Pilot usage capture with a small set of reps, running alongside the existing paperwork until the counts agree.
- Turn on bill-only order creation for those accounts and reconcile billing daily.
Phase 3 — Production
- Extend region by region, watching variance and exception volume rather than adoption alone.
- Add kit and loaner tracking once fixed consignment locations are stable.
Success metrics
- Usage captured at the point of procedure rather than reconstructed from paperwork.
- Days from procedure to invoice, which is the number this plan exists to reduce.
- Consignment variance at physical count, trending down by region.
- Field stock write-offs from expiry falling as short-dated exposure becomes visible.
- Replenishment driven by real consumption rather than by manual request.
Troubleshooting
- Duplicate invoices after a poor signal day — Likely cause: idempotency keyed server-side rather than on a client-generated event identifier. Fix: Key on the client event identifier and treat a resubmission as a no-op.
- Reps stop scanning within weeks — Likely cause: submissions rejected in the OR for validation problems they cannot resolve. Fix: Accept the scan, validate asynchronously, and route exceptions to operations rather than to the rep.
- Consignment counts drift steadily — Likely cause: movements between sites never recorded, so the position assumes stock stayed put. Fix: Capture site-to-site transfers as events and reconcile with confidence ratings per source.
- Replenishment overshoots after a busy week — Likely cause: par levels set nationally rather than per location. Fix: Derive par levels from location-level consumption and review them on a fixed cycle.
Deliverable: A live position across consignment, kits, and trunk stock with UDI-level detail, offline-tolerant usage capture at the procedure, and one event producing both the bill-only order and the replenishment with daily reconciliation across the three.