Supply & Demand Analysis
Visualize the relationship between planned supply and projected demand to identify shortages, plan manufacturing, and maintain safety stock.
The Supply & Demand tab is the most critical view in Prognosis analytics. It answers one question: will you have enough kits to supply your patients throughout the trial?
This tab visualizes the relationship between your planned supply (production runs, initial inventory, custom lots) and your projected demand (patient kit requirements) over the entire trial timeline.
See Demand Analytics for the Summary tab and dashboard overview.
Getting Started
When you open the Supply & Demand tab, you see three main areas:
- View Mode Toggle -- Switch between Timeline, Coverage, and Patients views
- Metrics Summary -- Seven key performance indicators at a glance
- Charts -- Interactive visualizations that change based on the selected view
A Kit Filter dropdown in the top-right lets you focus on a specific kit type or view all kits combined.
View Modes
Switch between the three views using the segmented toggle at the top of the tab.
View Comparison
| View | Chart Type | Best For | Key Question |
|---|---|---|---|
| Timeline | Stacked bar + area | Month-by-month supply flow and inventory monitoring | "When does inventory drop below safety stock?" |
| Coverage | Gantt / horizontal bars | Seeing individual supply events across the timeline | "Are there gaps between supply events?" |
| Patients | Bar + multi-line (dual axis) | Understanding enrollment-driven demand | "How does enrollment ramp affect supply pressure?" |
Timeline View
Your primary working view. Two vertically stacked charts show supply arrivals vs. monthly demand (top) and running inventory balance (bottom).
Top Chart -- Supply Arrivals & Monthly Demand
- Green bars: Supply units arriving each month (production runs, initial inventory, custom lots)
- Purple bars (faded): Kit demand for that month
- When green bars exceed purple, you are building inventory. When purple exceeds green, you are drawing down.
Bottom Chart -- Inventory Balance
- Blue line (step): Running inventory level over time
- Amber dashed line: Safety stock threshold
- Red dashed line: Stockout point (when inventory hits zero)
As long as the blue inventory line stays above the amber safety stock line, your supply plan is healthy. If it drops below, you are at risk. If it crosses zero, you have a projected shortage.
Interactions:
- Hover any bar or point for a detailed tooltip with exact quantities and supply event breakdowns
- Click a supply bar to open the what-if popover (see What-If Scenario Editing below)
- Select a production run from the Runs strip to highlight its coverage period
Coverage View
A Gantt-style chart showing each supply event as a horizontal bar across the timeline, grouped by kit type.
- Rows are grouped by kit type, each showing name, color dot, and event count
- Bar styles: Solid border = initial inventory, dashed border = custom lots, solid fill = production runs
- Bar position and width indicate arrival time and how many months of demand the event covers
- Left column shows supply type badge, lot name, and quantity
Look for gaps between bars. A gap means no new supply is arriving -- your existing inventory must carry you through.
| Metric | Description |
|---|---|
| Total Events | Number of supply events (initial + custom + production) |
| Timeline | Total months in the trial |
| Kit Types | Number of distinct kit types |
Patients View
Shows patient enrollment over time and how it drives kit demand. Two charts display monthly enrollment (top) and cumulative patients overlaid with kit demand and inventory balance (bottom).
Top Chart -- Monthly Patient Enrollment
- Violet bars: New patients enrolled each month
Bottom Chart -- Cumulative Patients & Kit Demand (Dual Y-axis)
- Violet line (left axis): Cumulative patients enrolled
- Blue dashed line (right axis): Cumulative kit demand
- Green step line (right axis): Inventory balance
A steeper enrollment curve means faster demand growth. If your patient line climbs steeply while inventory is flat or declining, you need to accelerate manufacturing.
| Metric | Description |
|---|---|
| Patients | Total enrolled across the trial |
| Peak | Highest monthly enrollment and which month |
| Kits/Patient | Average kits dispensed per patient |
| Duration | Total months in the trial timeline |
Metrics Summary Panel
Seven metric tiles at the top of every view give you an instant health check. These update when you change the kit filter or make what-if adjustments.
Primary Metrics
| Metric | What It Shows | Color Coding |
|---|---|---|
| Supply | Total supply units available across all events | -- |
| Demand | Total units needed throughout the trial | -- |
| Coverage | Percentage of demand covered by supply, plus duration in months | Green (100%+), Amber (80-99%), Red (below 80%) |
| Stockout | Projected stockout month, or "None" | Green (no stockout), Red (stockout projected) |
Secondary Metrics
| Metric | What It Shows | Color Coding |
|---|---|---|
| Safety Stock | Safety stock level in units, plus months below threshold | Amber if any months fall below threshold |
| Resupply | Next recommended resupply date | -- |
| Risk | Number of kits at risk, or "None" | Amber (kits at risk), Green (no risk) |
Hover over the Risk tile to see a detailed breakdown including per-category risk descriptions and recommended actions.
Kit Filter
The Kit Type dropdown lets you focus on a specific kit or view all kits combined.
- All Kits (Combined): Default. Shows aggregate supply and demand. Use for an overall health check.
- Individual Kit: Isolates a single kit's supply-demand dynamics. Use to find kit-specific bottlenecks.
If overall coverage looks healthy but a specific kit shows a shortage, you may have an imbalanced production plan. Filter by each kit to check.
What-If Scenario Editing
The Timeline view lets you adjust production run quantities and timing to see the immediate impact on your supply plan.
How to Use It
- In the Timeline view, click any green supply bar
- A popover appears with controls for that supply event
- Adjust the Quantity (number of kits) or Arrival month (use arrow buttons to shift timing)
- Charts and metrics update in real time
- Click Reset to restore original values
What You Can Adjust
| Control | Description | Bounds |
|---|---|---|
| Quantity | Number of kits in this production run | Any positive number |
| Arrival | Month the production run arrives | Within trial start and end dates |
| Reset | Restore original values | Appears only when values are modified |
Reading the Results
- Modified values are highlighted with a blue border
- The popover footer shows "Was: N units - MMM YYYY" for comparison
- If earlier events already satisfy demand for this period, a green "Demand pre-covered" indicator appears
Production Runs Strip
Above the top chart, a Runs strip shows pill-shaped buttons for each production run, sorted chronologically.
- Each pill shows a colored dot (matching its kit), arrival month, and a checkmark if demand is already covered
- Click a pill to highlight that run's coverage period as a shaded region across both charts
- Hover for a tooltip with lot name, quantity, arrival date, and coverage period
- Click Clear to deselect
Use the runs strip to step through your manufacturing schedule one run at a time. For each run, check whether its coverage period has adequate inventory in the bottom chart.
Interpretation Guide
Use these profiles to quickly assess supply plan health.
Healthy Profile (Green)
What you see:
- Coverage at 100% or above (green)
- Stockout shows "None" (green)
- Inventory line stays above the safety stock threshold
- No red stockout line appears
What it means: Supply plan is adequate. Production runs and inventory cover all projected demand with buffer.
Action: Monitor periodically. Re-check if enrollment actuals diverge from forecast.
Warning Profile (Amber)
What you see:
- Coverage between 80-99% (amber)
- Safety Stock shows months below threshold (amber)
- Inventory line dips near or below safety stock in some months
- Risk metric shows kits at risk
What it means: Supply is tight. Your buffer is thin. Any disruption could push you into shortage.
Action:
- Use the what-if editor to test increasing batch sizes or moving production runs earlier
- Consider adding safety stock buffer in your Distribution Strategy configuration
- Review enrollment actuals in Step 8 -- if enrollment tracks above forecast, pressure increases
Critical Profile (Red)
What you see:
- Coverage below 80% (red)
- Stockout shows a specific month (red)
- Inventory line crosses zero -- red stockout line appears
- Significant kits at risk
What it means: Current supply plan does not cover projected demand. Without intervention, patients will not receive kits on schedule.
Action:
- Use the what-if editor to model adding production runs or increasing quantities
- Contact your manufacturing partner about emergency production
- Consider whether enrollment can be slowed to reduce demand pressure
- Re-run your forecast with revised parameters
Tips
- Start with Timeline view to see supply vs. demand at a glance. If inventory drops toward zero, switch to Coverage to identify which runs to accelerate, then use what-if to test solutions.
- Watch the safety stock line. A plan that technically covers demand but runs below safety stock is not safe.
- Use the kit filter to find hidden problems. An "All Kits" view showing green can mask a shortage in a specific kit type.
- Model changes before committing. Use the what-if popover before calling your manufacturer to change an order.
- Production run timing is irreversible. If you see a future shortage, the time to order is now -- not when the shortage arrives.
