@schemastore/abc-clinical-demand-forecast-4.0.0 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +14 -0
  3. package/index.d.ts +1268 -0
  4. package/package.json +13 -0
package/index.d.ts ADDED
@@ -0,0 +1,1268 @@
1
+ /* eslint-disable */
2
+
3
+ /**
4
+ * Optional notes about the clinical demand forecast plan.
5
+ */
6
+ export type PlanNotes = string;
7
+ /**
8
+ * An analytics item that can be either a time series or an analytics note
9
+ */
10
+ export type AnalyticsItem = TimeSeries | AnalyticsNoteItem;
11
+ /**
12
+ * The aggregation level for time series data display
13
+ */
14
+ export type TimeAggregateType = 'Annual' | 'Quarterly' | 'Monthly';
15
+ /**
16
+ * How to display the quantities for this metric
17
+ */
18
+ export type ShowQuantitiesAs = (('Units' | 'Lots' | 'Monetary') | null) &
19
+ (((('Units' | 'Lots' | 'Monetary') | null) & string) | (null & (('Units' | 'Lots' | 'Monetary') | null)));
20
+ /**
21
+ * The ID of the comparison plan to use for this metric or null if no comparison plan is used
22
+ */
23
+ export type ComparisonPlanID = string | null;
24
+ /**
25
+ * Optional region filter for Clinical Demand Forecast metrics
26
+ */
27
+ export type RegionID = string;
28
+ /**
29
+ * Optional treatment arm filter for Clinical Demand Forecast metrics
30
+ */
31
+ export type ArmID = string;
32
+ /**
33
+ * Optional kit filter for Clinical Demand Forecast metrics
34
+ */
35
+ export type KitID = string;
36
+ /**
37
+ * Optional item filter for Clinical Demand Forecast metrics
38
+ */
39
+ export type ItemID = string;
40
+ /**
41
+ * Whether to display cumulative values
42
+ */
43
+ export type IsCumulative = boolean;
44
+ /**
45
+ * Name of the clinical trial study.
46
+ */
47
+ export type StudyName = string;
48
+ /**
49
+ * Phase of the clinical trial.
50
+ */
51
+ export type StudyPhase = 'phase_i' | 'phase_ii' | 'phase_iii' | 'phase_iv';
52
+ /**
53
+ * Summary of the trial protocol. Optional field with recommended default: empty string.
54
+ */
55
+ export type ProtocolSummary = string;
56
+ /**
57
+ * Disease category being treated (e.g., Oncology, CNS, Rare Disease). Will be normalized by LLM for benchmarking. Required field with recommended default: empty string.
58
+ */
59
+ export type TherapeuticArea = string;
60
+ /**
61
+ * Target number of subjects to complete the trial.
62
+ */
63
+ export type TargetCompleted = number;
64
+ /**
65
+ * Percentage of subjects who fail screening (0-100).
66
+ */
67
+ export type ScreenFailureRate = number;
68
+ /**
69
+ * Percentage of enrolled subjects who drop out of the study entirely and stop receiving all doses (0-100). NOTE: This is different from adverse events in dose escalation regimens. Attrition causes subjects to exit the study early, while adverse events only prevent dose escalation but subjects continue receiving doses at their maximum tolerated level.
70
+ */
71
+ export type AttritionRate = number;
72
+ /**
73
+ * Display name of the kit.
74
+ */
75
+ export type KitName = string;
76
+ /**
77
+ * This interface was referenced by `Items`'s JSON-Schema definition
78
+ * via the `patternProperty` ".*".
79
+ */
80
+ export type KitNode = KitContainer | KitItem;
81
+ /**
82
+ * Discriminator identifying this as a container node.
83
+ */
84
+ export type NodeType = 'container';
85
+ /**
86
+ * Name of the container.
87
+ */
88
+ export type Name = string;
89
+ /**
90
+ * Type of container.
91
+ */
92
+ export type DeliveryForm = 'bottle' | 'carton' | 'dose_pack' | 'blister_pack';
93
+ /**
94
+ * Display order of this node within its parent. Lower numbers appear first.
95
+ */
96
+ export type Ordering = number;
97
+ /**
98
+ * Discriminator identifying this as an item node.
99
+ */
100
+ export type NodeType1 = 'item';
101
+ /**
102
+ * Type of pharmaceutical item.
103
+ */
104
+ export type DeliveryForm1 = 'tablet' | 'capsule' | 'vial' | 'syringe' | 'sachet';
105
+ /**
106
+ * Number of units contained in this item within one kit. For example, if this is a bottle containing tablets, quantity=10 means the bottle contains 10 tablets. This is NOT the same as dosingRegimen.kitItemQuantities, which specifies consumption per dose. This quantity field defines the container/packaging size.
107
+ */
108
+ export type Quantity = number;
109
+ /**
110
+ * Dosage amount.
111
+ */
112
+ export type Dosage = number;
113
+ /**
114
+ * Units of dosage (e.g., mg, ml).
115
+ */
116
+ export type Units = string;
117
+ /**
118
+ * Description of the dosing regimen.
119
+ */
120
+ export type Description = string;
121
+ /**
122
+ * Discriminated union: either an active regimen definition (isPlacebo: false) or a placebo definition (isPlacebo: true).
123
+ */
124
+ export type DosingRegimenDefinition = ActiveRegimenDefinition | PlaceboRegimenDefinition;
125
+ /**
126
+ * Discriminator: false for active regimens.
127
+ */
128
+ export type IsPlacebo = false;
129
+ /**
130
+ * Total duration of treatment for all subjects.
131
+ */
132
+ export type TreatmentDuration = number;
133
+ /**
134
+ * Unit of treatment duration.
135
+ */
136
+ export type TreatmentDurationUnit = 'days' | 'weeks' | 'months' | 'years';
137
+ /**
138
+ * Human-readable description of the dosing frequency (e.g., 'BID', 'capecitabine 14/7', 'weekly for 6 weeks then monthly'). Doubles as the AI generation prompt. null when created manually without AI.
139
+ */
140
+ export type Description1 = string | null;
141
+ /**
142
+ * Ordered array of dosing phases. Single-phase regimens have one element. Multi-phase regimens list phases in chronological order; the last phase has repeatFor: 0 (fills remainder of treatment).
143
+ *
144
+ * @minItems 1
145
+ * @maxItems 10
146
+ */
147
+ export type DosingPhases =
148
+ | [DosingPhase]
149
+ | [DosingPhase, DosingPhase]
150
+ | [DosingPhase, DosingPhase, DosingPhase]
151
+ | [DosingPhase, DosingPhase, DosingPhase, DosingPhase]
152
+ | [DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase]
153
+ | [DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase]
154
+ | [DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase]
155
+ | [DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase, DosingPhase]
156
+ | [
157
+ DosingPhase,
158
+ DosingPhase,
159
+ DosingPhase,
160
+ DosingPhase,
161
+ DosingPhase,
162
+ DosingPhase,
163
+ DosingPhase,
164
+ DosingPhase,
165
+ DosingPhase
166
+ ]
167
+ | [
168
+ DosingPhase,
169
+ DosingPhase,
170
+ DosingPhase,
171
+ DosingPhase,
172
+ DosingPhase,
173
+ DosingPhase,
174
+ DosingPhase,
175
+ DosingPhase,
176
+ DosingPhase,
177
+ DosingPhase
178
+ ];
179
+ /**
180
+ * Element i = doses in unit i of the repeating cycle. For cycleUnit 'days', element = doses on that day. For 'months', element = total doses in that calendar month.
181
+ *
182
+ * @minItems 1
183
+ * @maxItems 365
184
+ */
185
+ export type CycleDoses = [number, ...number[]];
186
+ /**
187
+ * Time granularity. 'days' = fixed-length day cycle. 'months' = calendar month cycle.
188
+ */
189
+ export type CycleUnit = 'days' | 'months';
190
+ /**
191
+ * How many units of repeatForUnit the cycle repeats for. 0 = terminal phase (remainder of treatment).
192
+ */
193
+ export type RepeatFor = number;
194
+ /**
195
+ * Unit for repeatFor. Ignored when repeatFor is 0 (convention: match cycleUnit).
196
+ */
197
+ export type RepeatForUnit = 'days' | 'weeks' | 'months' | 'years';
198
+ /**
199
+ * Configuration for fixed dose regimens. Null if using another regimen type.
200
+ */
201
+ export type FixedDoseConfiguration = FixedDoseConfiguration1 | null;
202
+ /**
203
+ * Configuration for dose escalation regimens. Null if using another regimen type.
204
+ */
205
+ export type DoseEscalationConfiguration = DoseEscalationConfiguration1 | null;
206
+ /**
207
+ * Individual dose escalation level configuration. This is a discriminated union with three variants: First level (isFirstLevel=true), Intermediate level (isFinalLevel=false, has adverseEventRate), and Final level (isFinalLevel=true, no duration).
208
+ *
209
+ * This interface was referenced by `EscalationLevels`'s JSON-Schema definition
210
+ * via the `patternProperty` ".*".
211
+ */
212
+ export type DoseEscalationLevel = FirstDoseEscalationLevel | IntermediateDoseEscalationLevel | FinalDoseEscalationLevel;
213
+ /**
214
+ * First escalation level. Has isFirstLevel=true, isFinalLevel=false, duration and durationUnit. Does NOT have adverseEventRate because adverse events occur when trialing a level, and there is no previous level to trial from.
215
+ */
216
+ export type FirstDoseEscalationLevel = DoseEscalationLevelBase & {
217
+ kitItemQuantities?: unknown;
218
+ isFirstLevel: IsFirstLevel;
219
+ isFinalLevel: IsFinalLevel;
220
+ duration: Duration;
221
+ durationUnit: DurationUnit;
222
+ ordering?: unknown;
223
+ };
224
+ /**
225
+ * Must be true for first level.
226
+ */
227
+ export type IsFirstLevel = true;
228
+ /**
229
+ * Must be false for first level (first level cannot also be final).
230
+ */
231
+ export type IsFinalLevel = false;
232
+ /**
233
+ * Duration of this escalation level.
234
+ */
235
+ export type Duration = number;
236
+ /**
237
+ * Unit of duration for this level.
238
+ */
239
+ export type DurationUnit = 'days' | 'weeks' | 'months' | 'years';
240
+ /**
241
+ * Intermediate escalation level (not first, not final). Has isFinalLevel=false, duration, durationUnit, and adverseEventRate. Does NOT have isFirstLevel property.
242
+ */
243
+ export type IntermediateDoseEscalationLevel = DoseEscalationLevelBase & {
244
+ kitItemQuantities?: unknown;
245
+ isFinalLevel: IsFinalLevel;
246
+ duration: Duration;
247
+ durationUnit: DurationUnit;
248
+ adverseEventRate: AdverseEventRate;
249
+ ordering?: unknown;
250
+ };
251
+ /**
252
+ * Percentage of subjects who experience adverse events when TRIALING THIS level from the previous level.
253
+ */
254
+ export type AdverseEventRate = number;
255
+ /**
256
+ * Final escalation level. Has isFinalLevel=true and adverseEventRate. Does NOT have duration or durationUnit (subjects continue at final level until treatment ends).
257
+ */
258
+ export type FinalDoseEscalationLevel = DoseEscalationLevelBase & {
259
+ kitItemQuantities?: unknown;
260
+ isFinalLevel: IsFinalLevel2;
261
+ adverseEventRate: AdverseEventRate;
262
+ ordering?: unknown;
263
+ };
264
+ /**
265
+ * Must be true for final level.
266
+ */
267
+ export type IsFinalLevel2 = true;
268
+ /**
269
+ * Configuration for weight-based dosing regimens. Null if using another regimen type.
270
+ */
271
+ export type WeightBasedConfiguration = WeightBasedConfiguration1 | null;
272
+ /**
273
+ * Unit of weight measurement.
274
+ */
275
+ export type WeightUnit = 'lbs' | 'kg';
276
+ /**
277
+ * Minimum weight for this range (null for no lower bound).
278
+ */
279
+ export type FromWeight = number | null;
280
+ /**
281
+ * Maximum weight for this range (null for no upper bound).
282
+ */
283
+ export type ToWeight = number | null;
284
+ /**
285
+ * Expected percentage of subjects in this weight range.
286
+ */
287
+ export type ExpectedPercentage = number;
288
+ /**
289
+ * Configuration for age-based dosing regimens. Null if using another regimen type.
290
+ */
291
+ export type AgeBasedConfiguration = AgeBasedConfiguration1 | null;
292
+ /**
293
+ * Unit of age measurement.
294
+ */
295
+ export type AgeUnit = 'years' | 'months';
296
+ /**
297
+ * Minimum age for this range (null for no lower bound).
298
+ */
299
+ export type FromAge = number | null;
300
+ /**
301
+ * Maximum age for this range (null for no upper bound).
302
+ */
303
+ export type ToAge = number | null;
304
+ /**
305
+ * Non-empty array of intervals between consecutive dispensation events, in dispensationIntervalUnit.
306
+ *
307
+ * @minItems 1
308
+ */
309
+ export type DispensationIntervals = [number, ...number[]];
310
+ /**
311
+ * Unit for dispensationIntervals. Independent of treatmentDurationUnit.
312
+ */
313
+ export type DispensationIntervalUnit = 'days' | 'weeks' | 'months' | 'years';
314
+ /**
315
+ * Discriminator: true for placebo regimens.
316
+ */
317
+ export type IsPlacebo1 = true;
318
+ /**
319
+ * ID of the active dosing regimen this placebo references. Placebo inherits all dosing configuration from the active regimen.
320
+ */
321
+ export type PlaceboOf = string;
322
+ /**
323
+ * Percentage of subjects allocated to this arm.
324
+ */
325
+ export type AllocationPercentage = number;
326
+ /**
327
+ * This interface was referenced by `DosingRegimenSequence`'s JSON-Schema definition
328
+ * via the `patternProperty` ".*".
329
+ */
330
+ export type SequencePeriod = TreatmentPeriod | WashoutPeriod;
331
+ /**
332
+ * Discriminator identifying this as a treatment period.
333
+ */
334
+ export type PeriodType = 'treatment';
335
+ /**
336
+ * ID of the dosing regimen used during this treatment period.
337
+ */
338
+ export type DosingRegimenID = string;
339
+ /**
340
+ * Discriminator identifying this as a washout period.
341
+ */
342
+ export type PeriodType1 = 'washout';
343
+ /**
344
+ * This interface was referenced by `Countries`'s JSON-Schema definition
345
+ * via the `patternProperty` ".*".
346
+ */
347
+ export type RegionConfig = RegionContainer | RegionLeaf;
348
+ /**
349
+ * Name of the region container.
350
+ */
351
+ export type RegionName = string;
352
+ /**
353
+ * Default activation start date for child regions. Null means no default.
354
+ */
355
+ export type ActivationStartDate = string | null;
356
+ /**
357
+ * Default screen rate for child regions. Null means no default.
358
+ */
359
+ export type ScreenRate = number | null;
360
+ /**
361
+ * Default site activation rate for child regions. Null means no default.
362
+ */
363
+ export type SiteActivationRate = number | null;
364
+ /**
365
+ * Default max enrollment per site for child regions. Null means no default.
366
+ */
367
+ export type MaximumEnrollmentPerSite = number | null;
368
+ /**
369
+ * Default site seeding quantity per kit for child regions. Map of kitId to quantity, or null to inherit.
370
+ */
371
+ export type SiteSeeding = null | {
372
+ [k: string]: number | undefined;
373
+ };
374
+ /**
375
+ * Default months from site activation until first enrollment (First Patient In lead time) for child regions. Null means inherit from parent. Defaults to 0 if no ancestor sets a value.
376
+ */
377
+ export type EnrollmentStartOffset = number | null;
378
+ /**
379
+ * Discriminator identifying this as a leaf region node.
380
+ */
381
+ export type NodeType3 = 'region';
382
+ /**
383
+ * Total number of sites in this region.
384
+ */
385
+ export type NumberOfSites = number;
386
+ /**
387
+ * Total subjects enrolled for this region and month.
388
+ */
389
+ export type TotalEnrolled = number;
390
+ /**
391
+ * Trial design type: parallel (single regimen per arm) or crossOver (sequence of treatments with washout periods).
392
+ */
393
+ export type TrialDesign = 'parallel' | 'crossOver';
394
+
395
+ /**
396
+ * Schema defining the structure of ABCClinicalDemandForecast used for clinical trial demand forecasting in ABC-Plan.
397
+ */
398
+ export interface ABCClinicalDemandForecastJSONSchema {
399
+ /**
400
+ * Link to https://json.schemastore.org/abc-clinical-demand-forecast-4.0.0.json
401
+ */
402
+ $schema?: 'https://json.schemastore.org/abc-clinical-demand-forecast-4.0.0.json';
403
+ planNotes: PlanNotes;
404
+ analytics: {
405
+ items: AnalyticsItem[];
406
+ layouts: {
407
+ contentId: string;
408
+ /**
409
+ * Grid column position (0-11 for 12-column grid)
410
+ */
411
+ x: number;
412
+ /**
413
+ * Grid row position
414
+ */
415
+ y: number;
416
+ /**
417
+ * ID of the tab this layout item belongs to
418
+ */
419
+ tabID: string;
420
+ /**
421
+ * Width in grid units (1-12)
422
+ */
423
+ w: number;
424
+ /**
425
+ * Height in grid units
426
+ */
427
+ h: number;
428
+ /**
429
+ * Minimum height in grid units
430
+ */
431
+ minH?: number;
432
+ /**
433
+ * Maximum height in grid units
434
+ */
435
+ maxH?: number;
436
+ /**
437
+ * Minimum width in grid units
438
+ */
439
+ minW?: number;
440
+ /**
441
+ * Maximum width in grid units
442
+ */
443
+ maxW?: number;
444
+ /**
445
+ * Whether the item can be dragged
446
+ */
447
+ isDraggable?: boolean;
448
+ /**
449
+ * Whether the item can be resized
450
+ */
451
+ isResizable?: boolean;
452
+ }[];
453
+ tabs: {
454
+ id: string;
455
+ name: string;
456
+ ordering: number;
457
+ }[];
458
+ };
459
+ clinicalDemandForecastConfiguration: ClinicalDemandForecastConfiguration;
460
+ clinicalDemandCalculatedForecast: ClinicalDemandCalculatedForecast;
461
+ }
462
+ export interface TimeSeries {
463
+ id: string;
464
+ name: string;
465
+ type: 'TIME_SERIES';
466
+ subtitle: string;
467
+ /**
468
+ * Number of months to exclude from the beginning of the time series. Positive values trim, negative values add months before the plan start date.
469
+ */
470
+ excludeMonthsFromBeginning: number;
471
+ /**
472
+ * Number of months to exclude from the end of the time series. Positive values trim, negative values add months after the plan end date.
473
+ */
474
+ excludeMonthsFromEnd: number;
475
+ timeAggregateType: TimeAggregateType;
476
+ metrics: {
477
+ metricType:
478
+ | 'enrolled'
479
+ | 'active'
480
+ | 'completed'
481
+ | 'kitDemand'
482
+ | 'sites'
483
+ | 'screened'
484
+ | 'screenedOut'
485
+ | 'droppedOut'
486
+ | 'siteSeedingKitDemand'
487
+ | 'kitItemDemand';
488
+ abcMaterialIDs: string[];
489
+ visualization:
490
+ | {
491
+ type: 'line';
492
+ strokeWidth: number;
493
+ strokeDasharray: string;
494
+ dotSize: number;
495
+ dotFill: string;
496
+ /**
497
+ * Display data point values directly on the chart
498
+ */
499
+ showDataPointValues: boolean;
500
+ }
501
+ | {
502
+ type: 'bar';
503
+ barWidth: number;
504
+ radius: number;
505
+ stackId: string;
506
+ showAsPercent: boolean;
507
+ /**
508
+ * Display data point values directly on the chart
509
+ */
510
+ showDataPointValues: boolean;
511
+ }
512
+ | {
513
+ type: 'area';
514
+ fillOpacity: number;
515
+ strokeWidth: number;
516
+ stackId: string;
517
+ showAsPercent: boolean;
518
+ /**
519
+ * Display data point values directly on the chart
520
+ */
521
+ showDataPointValues: boolean;
522
+ };
523
+ yAxisIndex: number;
524
+ color: string;
525
+ zIndex: number;
526
+ label: string;
527
+ showQuantitiesAs: ShowQuantitiesAs;
528
+ comparisonPlanID: ComparisonPlanID;
529
+ regionID?: RegionID;
530
+ armID?: ArmID;
531
+ kitID?: KitID;
532
+ itemID?: ItemID;
533
+ isCumulative?: IsCumulative;
534
+ }[];
535
+ }
536
+ export interface AnalyticsNoteItem {
537
+ id: string;
538
+ name: string;
539
+ type: 'ANALYTICS_NOTE';
540
+ subtitle: string;
541
+ backgroundColor?: string;
542
+ imageUrl?: string;
543
+ text?: {
544
+ content: string;
545
+ fontFamily: string;
546
+ fontSize: number;
547
+ color: string;
548
+ horizontalAlignment: 'left' | 'center' | 'right';
549
+ verticalAlignment: 'top' | 'center' | 'bottom';
550
+ };
551
+ }
552
+ /**
553
+ * All algorithm inputs that affect forecast calculation. Any change to this object invalidates clinicalDemandCalculatedForecast.
554
+ */
555
+ export interface ClinicalDemandForecastConfiguration {
556
+ studyOverview: StudyOverview;
557
+ enrollment: Enrollment;
558
+ kitConfiguration: KitConfiguration;
559
+ dosingRegimens: DosingRegimens;
560
+ treatmentArms: TreatmentArms;
561
+ subjectFlow: SubjectFlow;
562
+ actuals: ClinicalDemandActuals;
563
+ trialDesign: TrialDesign;
564
+ }
565
+ /**
566
+ * Basic information about the clinical trial study.
567
+ */
568
+ export interface StudyOverview {
569
+ studyName: StudyName;
570
+ studyPhase: StudyPhase;
571
+ protocolSummary: ProtocolSummary;
572
+ therapeuticArea: TherapeuticArea;
573
+ }
574
+ /**
575
+ * Patient enrollment targets and rates.
576
+ */
577
+ export interface Enrollment {
578
+ targetCompleted: TargetCompleted;
579
+ screenFailureRate: ScreenFailureRate;
580
+ attritionRate: AttritionRate;
581
+ }
582
+ /**
583
+ * Configuration of kits with containers and items, keyed by kit ID.
584
+ */
585
+ export interface KitConfiguration {
586
+ [k: string]: Kit;
587
+ }
588
+ /**
589
+ * A kit containing items and containers. The kit ID is the key in the kitConfiguration map.
590
+ *
591
+ * This interface was referenced by `KitConfiguration`'s JSON-Schema definition
592
+ * via the `patternProperty` ".*".
593
+ */
594
+ export interface Kit {
595
+ name: KitName;
596
+ items: Items;
597
+ }
598
+ /**
599
+ * Items and containers within this kit, keyed by node ID.
600
+ */
601
+ export interface Items {
602
+ [k: string]: KitNode;
603
+ }
604
+ /**
605
+ * A structural container (bottle, blister pack) that holds other nodes. The container ID is the key in the parent items/children map.
606
+ */
607
+ export interface KitContainer {
608
+ nodeType: NodeType;
609
+ name: Name;
610
+ deliveryForm: DeliveryForm;
611
+ children: Children;
612
+ ordering: Ordering;
613
+ }
614
+ /**
615
+ * Items contained within this container, keyed by node ID.
616
+ */
617
+ export interface Children {
618
+ [k: string]: KitNode;
619
+ }
620
+ /**
621
+ * An actual pharmaceutical item (tablet, capsule, vial) with dosage. The item ID is the key in the parent items/children map.
622
+ */
623
+ export interface KitItem {
624
+ nodeType: NodeType1;
625
+ name: Name;
626
+ deliveryForm: DeliveryForm1;
627
+ quantity: Quantity;
628
+ dosage: Dosage;
629
+ units: Units;
630
+ ordering: Ordering;
631
+ }
632
+ /**
633
+ * Available dosing regimens for the study, keyed by ID.
634
+ */
635
+ export interface DosingRegimens {
636
+ [k: string]: DosingRegimen;
637
+ }
638
+ /**
639
+ * Dosing regimen configuration with nested dosingRegimenDefinition discriminated union.
640
+ *
641
+ * This interface was referenced by `DosingRegimens`'s JSON-Schema definition
642
+ * via the `patternProperty` ".*".
643
+ */
644
+ export interface DosingRegimen {
645
+ name: Name;
646
+ description: Description;
647
+ dosingRegimenDefinition: DosingRegimenDefinition;
648
+ }
649
+ /**
650
+ * Definition for an active (non-placebo) dosing regimen.
651
+ */
652
+ export interface ActiveRegimenDefinition {
653
+ isPlacebo: IsPlacebo;
654
+ treatmentDuration: TreatmentDuration;
655
+ treatmentDurationUnit: TreatmentDurationUnit;
656
+ dosingFrequency: DosingFrequency;
657
+ fixedConfig: FixedDoseConfiguration;
658
+ doseEscalationConfig: DoseEscalationConfiguration;
659
+ weightBasedConfig: WeightBasedConfiguration;
660
+ ageBasedConfig: AgeBasedConfiguration;
661
+ dispensationIntervals: DispensationIntervals;
662
+ dispensationIntervalUnit: DispensationIntervalUnit;
663
+ }
664
+ /**
665
+ * Phased dosing frequency. Each phase defines a repeating cycle pattern. The last phase runs for the remainder of the treatment.
666
+ */
667
+ export interface DosingFrequency {
668
+ description: Description1;
669
+ phases: DosingPhases;
670
+ }
671
+ /**
672
+ * A single phase within a dosing frequency. Defines a repeating cycle pattern and a repeat duration. repeatFor: 0 means terminal (remainder of treatment).
673
+ */
674
+ export interface DosingPhase {
675
+ cycleDoses: CycleDoses;
676
+ cycleUnit: CycleUnit;
677
+ repeatFor: RepeatFor;
678
+ repeatForUnit: RepeatForUnit;
679
+ }
680
+ /**
681
+ * Configuration for fixed dose regimens.
682
+ */
683
+ export interface FixedDoseConfiguration1 {
684
+ kitItemQuantities: KitItemQuantities;
685
+ }
686
+ /**
687
+ * Mapping of kit item IDs to quantities consumed per dose.
688
+ */
689
+ export interface KitItemQuantities {
690
+ /**
691
+ * This interface was referenced by `KitItemQuantities`'s JSON-Schema definition
692
+ * via the `patternProperty` ".*".
693
+ */
694
+ [k: string]: number;
695
+ }
696
+ /**
697
+ * Configuration for dose escalation levels.
698
+ */
699
+ export interface DoseEscalationConfiguration1 {
700
+ levels: EscalationLevels;
701
+ }
702
+ /**
703
+ * Map of level IDs to dose escalation levels. Use ordering property to maintain display order.
704
+ */
705
+ export interface EscalationLevels {
706
+ [k: string]: DoseEscalationLevel;
707
+ }
708
+ /**
709
+ * Base properties shared by all dose escalation level variants.
710
+ */
711
+ export interface DoseEscalationLevelBase {
712
+ kitItemQuantities: KitItemQuantities1;
713
+ ordering: Ordering;
714
+ [k: string]: unknown | undefined;
715
+ }
716
+ /**
717
+ * Mapping of kit item IDs to quantities consumed per dose at this escalation level.
718
+ */
719
+ export interface KitItemQuantities1 {
720
+ /**
721
+ * This interface was referenced by `KitItemQuantities1`'s JSON-Schema definition
722
+ * via the `patternProperty` ".*".
723
+ */
724
+ [k: string]: number;
725
+ }
726
+ /**
727
+ * Configuration for weight-based dosing.
728
+ */
729
+ export interface WeightBasedConfiguration1 {
730
+ weightUnit: WeightUnit;
731
+ ranges: WeightRanges;
732
+ }
733
+ /**
734
+ * Map of range IDs to weight ranges for kit assignment. Use ordering property to maintain display order.
735
+ */
736
+ export interface WeightRanges {
737
+ [k: string]: WeightRange;
738
+ }
739
+ /**
740
+ * Weight range configuration for dosing.
741
+ *
742
+ * This interface was referenced by `WeightRanges`'s JSON-Schema definition
743
+ * via the `patternProperty` ".*".
744
+ */
745
+ export interface WeightRange {
746
+ kitItemQuantities: KitItemQuantities2;
747
+ fromWeight: FromWeight;
748
+ toWeight: ToWeight;
749
+ expectedPercentage: ExpectedPercentage;
750
+ ordering: Ordering;
751
+ }
752
+ /**
753
+ * Mapping of kit item IDs to quantities consumed per dose for subjects in THIS weight range. Each value represents the number of units (e.g., tablets) of that item required for a single dose. Different weight ranges can specify different quantities for the same item.
754
+ */
755
+ export interface KitItemQuantities2 {
756
+ /**
757
+ * This interface was referenced by `KitItemQuantities2`'s JSON-Schema definition
758
+ * via the `patternProperty` ".*".
759
+ */
760
+ [k: string]: number;
761
+ }
762
+ /**
763
+ * Configuration for age-based dosing.
764
+ */
765
+ export interface AgeBasedConfiguration1 {
766
+ ageUnit: AgeUnit;
767
+ ranges: AgeRanges;
768
+ }
769
+ /**
770
+ * Map of range IDs to age ranges for kit assignment. Use ordering property to maintain display order.
771
+ */
772
+ export interface AgeRanges {
773
+ [k: string]: AgeRange;
774
+ }
775
+ /**
776
+ * Age range configuration for dosing.
777
+ *
778
+ * This interface was referenced by `AgeRanges`'s JSON-Schema definition
779
+ * via the `patternProperty` ".*".
780
+ */
781
+ export interface AgeRange {
782
+ kitItemQuantities: KitItemQuantities3;
783
+ fromAge: FromAge;
784
+ toAge: ToAge;
785
+ expectedPercentage: ExpectedPercentage;
786
+ ordering: Ordering;
787
+ }
788
+ /**
789
+ * Mapping of kit item IDs to quantities consumed per dose for subjects in THIS age range. Each value represents the number of units (e.g., tablets) of that item required for a single dose. Different age ranges can specify different quantities for the same item.
790
+ */
791
+ export interface KitItemQuantities3 {
792
+ /**
793
+ * This interface was referenced by `KitItemQuantities3`'s JSON-Schema definition
794
+ * via the `patternProperty` ".*".
795
+ */
796
+ [k: string]: number;
797
+ }
798
+ /**
799
+ * Definition for a placebo regimen that references an active regimen.
800
+ */
801
+ export interface PlaceboRegimenDefinition {
802
+ isPlacebo: IsPlacebo1;
803
+ placeboOf: PlaceboOf;
804
+ }
805
+ /**
806
+ * Treatment arms in the clinical trial, keyed by ID.
807
+ */
808
+ export interface TreatmentArms {
809
+ [k: string]: TreatmentArm;
810
+ }
811
+ /**
812
+ * Treatment arm configuration from wizard step 5.
813
+ *
814
+ * This interface was referenced by `TreatmentArms`'s JSON-Schema definition
815
+ * via the `patternProperty` ".*".
816
+ */
817
+ export interface TreatmentArm {
818
+ name: Name;
819
+ allocationPercentage: AllocationPercentage;
820
+ dosingRegimenSequence: DosingRegimenSequence;
821
+ }
822
+ /**
823
+ * Sequence of treatment and washout periods for this treatment arm.
824
+ */
825
+ export interface DosingRegimenSequence {
826
+ [k: string]: SequencePeriod;
827
+ }
828
+ /**
829
+ * Treatment period in a dosing regimen sequence.
830
+ */
831
+ export interface TreatmentPeriod {
832
+ periodType: PeriodType;
833
+ dosingRegimenId: DosingRegimenID;
834
+ ordering: Ordering;
835
+ }
836
+ /**
837
+ * Washout period (no dosing) in a dosing regimen sequence.
838
+ */
839
+ export interface WashoutPeriod {
840
+ periodType: PeriodType1;
841
+ duration: Duration;
842
+ durationUnit: DurationUnit;
843
+ ordering: Ordering;
844
+ }
845
+ /**
846
+ * Site supply and region configuration.
847
+ */
848
+ export interface SubjectFlow {
849
+ regions: Countries;
850
+ }
851
+ /**
852
+ * Region-specific site configuration, keyed by ID.
853
+ */
854
+ export interface Countries {
855
+ [k: string]: RegionConfig;
856
+ }
857
+ /**
858
+ * Container node for grouping regions. Has subregions but no sites.
859
+ */
860
+ export interface RegionContainer {
861
+ nodeType: NodeType;
862
+ regionName: RegionName;
863
+ subregions: Subregions;
864
+ activationStartDate?: ActivationStartDate;
865
+ screenRate?: ScreenRate;
866
+ siteActivationRate?: SiteActivationRate;
867
+ maxEnrollmentPerSite?: MaximumEnrollmentPerSite;
868
+ siteSeeding?: SiteSeeding;
869
+ enrollmentStartOffset?: EnrollmentStartOffset;
870
+ }
871
+ /**
872
+ * Child regions within this container.
873
+ */
874
+ export interface Subregions {
875
+ [k: string]: RegionConfig;
876
+ }
877
+ /**
878
+ * Leaf node representing an operational region with sites.
879
+ */
880
+ export interface RegionLeaf {
881
+ nodeType: NodeType3;
882
+ regionName: RegionName;
883
+ numberOfSites: NumberOfSites;
884
+ activationStartDate?: ActivationStartDate;
885
+ screenRate?: ScreenRate;
886
+ siteActivationRate?: SiteActivationRate;
887
+ maxEnrollmentPerSite?: MaximumEnrollmentPerSite;
888
+ siteSeeding?: SiteSeeding;
889
+ enrollmentStartOffset?: EnrollmentStartOffset;
890
+ }
891
+ /**
892
+ * Actual enrollment data entered by users to reconcile with forecast.
893
+ */
894
+ export interface ClinicalDemandActuals {
895
+ enrollment: EnrollmentActuals;
896
+ sites: SitesActuals;
897
+ notes: ActualsNotes;
898
+ siteNotes: SiteActualsNotes;
899
+ }
900
+ /**
901
+ * Actual enrollment by region and month.
902
+ */
903
+ export interface EnrollmentActuals {
904
+ /**
905
+ * This interface was referenced by `EnrollmentActuals`'s JSON-Schema definition
906
+ * via the `patternProperty` ".*".
907
+ */
908
+ [k: string]: {
909
+ /**
910
+ * This interface was referenced by `undefined`'s JSON-Schema definition
911
+ * via the `patternProperty` ".*".
912
+ */
913
+ [k: string]: {
914
+ total: TotalEnrolled;
915
+ byArm: EnrollmentByArm;
916
+ };
917
+ };
918
+ }
919
+ /**
920
+ * Enrollment count per treatment arm.
921
+ */
922
+ export interface EnrollmentByArm {
923
+ /**
924
+ * This interface was referenced by `EnrollmentByArm`'s JSON-Schema definition
925
+ * via the `patternProperty` ".*".
926
+ */
927
+ [k: string]: number;
928
+ }
929
+ /**
930
+ * Actual site counts by region and month.
931
+ */
932
+ export interface SitesActuals {
933
+ /**
934
+ * This interface was referenced by `SitesActuals`'s JSON-Schema definition
935
+ * via the `patternProperty` ".*".
936
+ */
937
+ [k: string]: {
938
+ /**
939
+ * This interface was referenced by `undefined`'s JSON-Schema definition
940
+ * via the `patternProperty` ".*".
941
+ */
942
+ [k: string]: number;
943
+ };
944
+ }
945
+ /**
946
+ * Explanatory notes for enrollment actuals by region and month.
947
+ */
948
+ export interface ActualsNotes {
949
+ /**
950
+ * This interface was referenced by `ActualsNotes`'s JSON-Schema definition
951
+ * via the `patternProperty` ".*".
952
+ */
953
+ [k: string]: {
954
+ /**
955
+ * This interface was referenced by `undefined`'s JSON-Schema definition
956
+ * via the `patternProperty` ".*".
957
+ */
958
+ [k: string]: string;
959
+ };
960
+ }
961
+ /**
962
+ * Explanatory notes for site activation actuals by region and month.
963
+ */
964
+ export interface SiteActualsNotes {
965
+ /**
966
+ * This interface was referenced by `SiteActualsNotes`'s JSON-Schema definition
967
+ * via the `patternProperty` ".*".
968
+ */
969
+ [k: string]: {
970
+ /**
971
+ * This interface was referenced by `undefined`'s JSON-Schema definition
972
+ * via the `patternProperty` ".*".
973
+ */
974
+ [k: string]: string;
975
+ };
976
+ }
977
+ /**
978
+ * Calculated demand forecast with atomic monthly data per-region, per-arm.
979
+ */
980
+ export interface ClinicalDemandCalculatedForecast {
981
+ byRegion: ByRegion;
982
+ }
983
+ /**
984
+ * Region-specific forecast data keyed by region ID.
985
+ */
986
+ export interface ByRegion {
987
+ [k: string]: RegionForecast | undefined;
988
+ }
989
+ /**
990
+ * Atomic monthly forecast data for a single region. All values are monthly (not cumulative). UI computes cumulative views.
991
+ */
992
+ export interface RegionForecast {
993
+ sites: Sites;
994
+ subjectsScreened: SubjectsScreened;
995
+ subjectsScreenedOut: SubjectsScreenedOut;
996
+ subjectsEnrolled: SubjectsEnrolled;
997
+ subjectsActive: SubjectsActive;
998
+ subjectsCompleted: SubjectsCompleted;
999
+ subjectsDroppedOut: SubjectsDroppedOut;
1000
+ kitDemand: KitDemand;
1001
+ kitItemDemand: KitItemDemand;
1002
+ siteSeedingKitDemand: SiteSeedingKitDemand;
1003
+ }
1004
+ /**
1005
+ * Monthly count of sites opened this month.
1006
+ */
1007
+ export interface Sites {
1008
+ /**
1009
+ * This interface was referenced by `Sites`'s JSON-Schema definition
1010
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1011
+ *
1012
+ * This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
1013
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1014
+ *
1015
+ * This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
1016
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1017
+ *
1018
+ * This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
1019
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1020
+ *
1021
+ * This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
1022
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1023
+ *
1024
+ * This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
1025
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1026
+ */
1027
+ [k: string]: number;
1028
+ }
1029
+ /**
1030
+ * Monthly count of subjects screened this month.
1031
+ */
1032
+ export interface SubjectsScreened {
1033
+ /**
1034
+ * This interface was referenced by `Sites`'s JSON-Schema definition
1035
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1036
+ *
1037
+ * This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
1038
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1039
+ *
1040
+ * This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
1041
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1042
+ *
1043
+ * This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
1044
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1045
+ *
1046
+ * This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
1047
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1048
+ *
1049
+ * This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
1050
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1051
+ */
1052
+ [k: string]: number;
1053
+ }
1054
+ /**
1055
+ * Monthly count of subjects who failed screening this month.
1056
+ */
1057
+ export interface SubjectsScreenedOut {
1058
+ /**
1059
+ * This interface was referenced by `Sites`'s JSON-Schema definition
1060
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1061
+ *
1062
+ * This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
1063
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1064
+ *
1065
+ * This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
1066
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1067
+ *
1068
+ * This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
1069
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1070
+ *
1071
+ * This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
1072
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1073
+ *
1074
+ * This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
1075
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1076
+ */
1077
+ [k: string]: number;
1078
+ }
1079
+ /**
1080
+ * Monthly subjects enrolled, broken down by treatment arm.
1081
+ */
1082
+ export interface SubjectsEnrolled {
1083
+ [k: string]: PositiveDateMap;
1084
+ }
1085
+ /**
1086
+ * Mapping of dates to positive numerical values.
1087
+ *
1088
+ * This interface was referenced by `SubjectsEnrolled`'s JSON-Schema definition
1089
+ * via the `patternProperty` ".*".
1090
+ *
1091
+ * This interface was referenced by `SubjectsActive`'s JSON-Schema definition
1092
+ * via the `patternProperty` ".*".
1093
+ *
1094
+ * This interface was referenced by `SubjectsCompleted`'s JSON-Schema definition
1095
+ * via the `patternProperty` ".*".
1096
+ *
1097
+ * This interface was referenced by `SubjectsDroppedOut`'s JSON-Schema definition
1098
+ * via the `patternProperty` ".*".
1099
+ *
1100
+ * This interface was referenced by `SiteSeedingKitDemand`'s JSON-Schema definition
1101
+ * via the `patternProperty` ".*".
1102
+ */
1103
+ export interface PositiveDateMap {
1104
+ /**
1105
+ * This interface was referenced by `Sites`'s JSON-Schema definition
1106
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1107
+ *
1108
+ * This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
1109
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1110
+ *
1111
+ * This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
1112
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1113
+ *
1114
+ * This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
1115
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1116
+ *
1117
+ * This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
1118
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1119
+ *
1120
+ * This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
1121
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1122
+ */
1123
+ [k: string]: number;
1124
+ }
1125
+ /**
1126
+ * Monthly change in active subjects (new active this month), broken down by treatment arm.
1127
+ */
1128
+ export interface SubjectsActive {
1129
+ [k: string]: PositiveDateMap;
1130
+ }
1131
+ /**
1132
+ * Monthly subjects who completed treatment, broken down by treatment arm.
1133
+ */
1134
+ export interface SubjectsCompleted {
1135
+ [k: string]: PositiveDateMap;
1136
+ }
1137
+ /**
1138
+ * Monthly subjects who dropped out, broken down by treatment arm.
1139
+ */
1140
+ export interface SubjectsDroppedOut {
1141
+ [k: string]: PositiveDateMap;
1142
+ }
1143
+ /**
1144
+ * Monthly kit demand (whole kits rounded up), broken down by treatment arm and kit ID. Use this for supply planning - it accounts for buffer/waste in partially-used bottles.
1145
+ */
1146
+ export interface KitDemand {
1147
+ /**
1148
+ * Mapping of sequence period IDs to kit demand for this arm.
1149
+ *
1150
+ * This interface was referenced by `KitDemand`'s JSON-Schema definition
1151
+ * via the `patternProperty` ".*".
1152
+ */
1153
+ [k: string]: {
1154
+ /**
1155
+ * Mapping of kit IDs to KitDemandEntry for this sequence period.
1156
+ *
1157
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1158
+ * via the `patternProperty` ".*".
1159
+ */
1160
+ [k: string]: {
1161
+ [k: string]: KitDemandEntry;
1162
+ };
1163
+ };
1164
+ }
1165
+ /**
1166
+ * Kit demand with placeboOf tagging for active/placebo separation.
1167
+ *
1168
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1169
+ * via the `patternProperty` ".*".
1170
+ */
1171
+ export interface KitDemandEntry {
1172
+ demand: PositiveDateMap1;
1173
+ /**
1174
+ * Regimen ID this is placebo of, or null if active.
1175
+ */
1176
+ placeboOf: string | null;
1177
+ }
1178
+ /**
1179
+ * Mapping of dates to positive numerical values.
1180
+ */
1181
+ export interface PositiveDateMap1 {
1182
+ /**
1183
+ * This interface was referenced by `Sites`'s JSON-Schema definition
1184
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1185
+ *
1186
+ * This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
1187
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1188
+ *
1189
+ * This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
1190
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1191
+ *
1192
+ * This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
1193
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1194
+ *
1195
+ * This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
1196
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1197
+ *
1198
+ * This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
1199
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1200
+ */
1201
+ [k: string]: number;
1202
+ }
1203
+ /**
1204
+ * Monthly kit item consumption (what patients actually receive), broken down by treatment arm and item ID. Displayed as 'Dosing' in the UI. Note: This is consumption, not supply demand - it does not include buffer/waste from partially-used bottles. For supply planning, use kitDemand.
1205
+ */
1206
+ export interface KitItemDemand {
1207
+ /**
1208
+ * Mapping of sequence period IDs to kit item demand for this arm.
1209
+ *
1210
+ * This interface was referenced by `KitItemDemand`'s JSON-Schema definition
1211
+ * via the `patternProperty` ".*".
1212
+ */
1213
+ [k: string]: {
1214
+ /**
1215
+ * Mapping of item IDs to KitItemDemandEntry for this sequence period.
1216
+ *
1217
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1218
+ * via the `patternProperty` ".*".
1219
+ */
1220
+ [k: string]: {
1221
+ [k: string]: KitItemDemandEntry;
1222
+ };
1223
+ };
1224
+ }
1225
+ /**
1226
+ * Kit item consumption entry with placeboOf tagging for active/placebo separation. Represents what patients actually receive, not supply demand.
1227
+ *
1228
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1229
+ * via the `patternProperty` ".*".
1230
+ */
1231
+ export interface KitItemDemandEntry {
1232
+ demand: PositiveDateMap2;
1233
+ /**
1234
+ * Regimen ID this is placebo of, or null if active.
1235
+ */
1236
+ placeboOf: string | null;
1237
+ }
1238
+ /**
1239
+ * Mapping of dates to positive numerical values.
1240
+ */
1241
+ export interface PositiveDateMap2 {
1242
+ /**
1243
+ * This interface was referenced by `Sites`'s JSON-Schema definition
1244
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1245
+ *
1246
+ * This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
1247
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1248
+ *
1249
+ * This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
1250
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1251
+ *
1252
+ * This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
1253
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1254
+ *
1255
+ * This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
1256
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1257
+ *
1258
+ * This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
1259
+ * via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
1260
+ */
1261
+ [k: string]: number;
1262
+ }
1263
+ /**
1264
+ * Site seeding kit demand - kits shipped when sites activate (not treatment-driven). Keyed by kit ID.
1265
+ */
1266
+ export interface SiteSeedingKitDemand {
1267
+ [k: string]: PositiveDateMap;
1268
+ }