@schemastore/abc-clinical-demand-forecast-3.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.
- package/LICENSE +674 -0
- package/README.md +14 -0
- package/index.d.ts +1262 -0
- package/package.json +13 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1262 @@
|
|
|
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
|
+
* Discriminator identifying this as a leaf region node.
|
|
376
|
+
*/
|
|
377
|
+
export type NodeType3 = 'region';
|
|
378
|
+
/**
|
|
379
|
+
* Total number of sites in this region.
|
|
380
|
+
*/
|
|
381
|
+
export type NumberOfSites = number;
|
|
382
|
+
/**
|
|
383
|
+
* Total subjects enrolled for this region and month.
|
|
384
|
+
*/
|
|
385
|
+
export type TotalEnrolled = number;
|
|
386
|
+
/**
|
|
387
|
+
* Trial design type: parallel (single regimen per arm) or crossOver (sequence of treatments with washout periods).
|
|
388
|
+
*/
|
|
389
|
+
export type TrialDesign = 'parallel' | 'crossOver';
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Schema defining the structure of ABCClinicalDemandForecast used for clinical trial demand forecasting in ABC-Plan.
|
|
393
|
+
*/
|
|
394
|
+
export interface ABCClinicalDemandForecastJSONSchema {
|
|
395
|
+
/**
|
|
396
|
+
* Link to https://json.schemastore.org/abc-clinical-demand-forecast-3.0.0.json
|
|
397
|
+
*/
|
|
398
|
+
$schema?: 'https://json.schemastore.org/abc-clinical-demand-forecast-3.0.0.json';
|
|
399
|
+
planNotes: PlanNotes;
|
|
400
|
+
analytics: {
|
|
401
|
+
items: AnalyticsItem[];
|
|
402
|
+
layouts: {
|
|
403
|
+
contentId: string;
|
|
404
|
+
/**
|
|
405
|
+
* Grid column position (0-11 for 12-column grid)
|
|
406
|
+
*/
|
|
407
|
+
x: number;
|
|
408
|
+
/**
|
|
409
|
+
* Grid row position
|
|
410
|
+
*/
|
|
411
|
+
y: number;
|
|
412
|
+
/**
|
|
413
|
+
* ID of the tab this layout item belongs to
|
|
414
|
+
*/
|
|
415
|
+
tabID: string;
|
|
416
|
+
/**
|
|
417
|
+
* Width in grid units (1-12)
|
|
418
|
+
*/
|
|
419
|
+
w: number;
|
|
420
|
+
/**
|
|
421
|
+
* Height in grid units
|
|
422
|
+
*/
|
|
423
|
+
h: number;
|
|
424
|
+
/**
|
|
425
|
+
* Minimum height in grid units
|
|
426
|
+
*/
|
|
427
|
+
minH?: number;
|
|
428
|
+
/**
|
|
429
|
+
* Maximum height in grid units
|
|
430
|
+
*/
|
|
431
|
+
maxH?: number;
|
|
432
|
+
/**
|
|
433
|
+
* Minimum width in grid units
|
|
434
|
+
*/
|
|
435
|
+
minW?: number;
|
|
436
|
+
/**
|
|
437
|
+
* Maximum width in grid units
|
|
438
|
+
*/
|
|
439
|
+
maxW?: number;
|
|
440
|
+
/**
|
|
441
|
+
* Whether the item can be dragged
|
|
442
|
+
*/
|
|
443
|
+
isDraggable?: boolean;
|
|
444
|
+
/**
|
|
445
|
+
* Whether the item can be resized
|
|
446
|
+
*/
|
|
447
|
+
isResizable?: boolean;
|
|
448
|
+
}[];
|
|
449
|
+
tabs: {
|
|
450
|
+
id: string;
|
|
451
|
+
name: string;
|
|
452
|
+
ordering: number;
|
|
453
|
+
}[];
|
|
454
|
+
};
|
|
455
|
+
clinicalDemandForecastConfiguration: ClinicalDemandForecastConfiguration;
|
|
456
|
+
clinicalDemandCalculatedForecast: ClinicalDemandCalculatedForecast;
|
|
457
|
+
}
|
|
458
|
+
export interface TimeSeries {
|
|
459
|
+
id: string;
|
|
460
|
+
name: string;
|
|
461
|
+
type: 'TIME_SERIES';
|
|
462
|
+
subtitle: string;
|
|
463
|
+
/**
|
|
464
|
+
* Number of months to exclude from the beginning of the time series. Positive values trim, negative values add months before the plan start date.
|
|
465
|
+
*/
|
|
466
|
+
excludeMonthsFromBeginning: number;
|
|
467
|
+
/**
|
|
468
|
+
* Number of months to exclude from the end of the time series. Positive values trim, negative values add months after the plan end date.
|
|
469
|
+
*/
|
|
470
|
+
excludeMonthsFromEnd: number;
|
|
471
|
+
timeAggregateType: TimeAggregateType;
|
|
472
|
+
metrics: {
|
|
473
|
+
metricType:
|
|
474
|
+
| 'enrolled'
|
|
475
|
+
| 'active'
|
|
476
|
+
| 'completed'
|
|
477
|
+
| 'kitDemand'
|
|
478
|
+
| 'sites'
|
|
479
|
+
| 'screened'
|
|
480
|
+
| 'screenedOut'
|
|
481
|
+
| 'droppedOut'
|
|
482
|
+
| 'siteSeedingKitDemand'
|
|
483
|
+
| 'kitItemDemand';
|
|
484
|
+
abcMaterialIDs: string[];
|
|
485
|
+
visualization:
|
|
486
|
+
| {
|
|
487
|
+
type: 'line';
|
|
488
|
+
strokeWidth: number;
|
|
489
|
+
strokeDasharray: string;
|
|
490
|
+
dotSize: number;
|
|
491
|
+
dotFill: string;
|
|
492
|
+
/**
|
|
493
|
+
* Display data point values directly on the chart
|
|
494
|
+
*/
|
|
495
|
+
showDataPointValues: boolean;
|
|
496
|
+
}
|
|
497
|
+
| {
|
|
498
|
+
type: 'bar';
|
|
499
|
+
barWidth: number;
|
|
500
|
+
radius: number;
|
|
501
|
+
stackId: string;
|
|
502
|
+
showAsPercent: boolean;
|
|
503
|
+
/**
|
|
504
|
+
* Display data point values directly on the chart
|
|
505
|
+
*/
|
|
506
|
+
showDataPointValues: boolean;
|
|
507
|
+
}
|
|
508
|
+
| {
|
|
509
|
+
type: 'area';
|
|
510
|
+
fillOpacity: number;
|
|
511
|
+
strokeWidth: number;
|
|
512
|
+
stackId: string;
|
|
513
|
+
showAsPercent: boolean;
|
|
514
|
+
/**
|
|
515
|
+
* Display data point values directly on the chart
|
|
516
|
+
*/
|
|
517
|
+
showDataPointValues: boolean;
|
|
518
|
+
};
|
|
519
|
+
yAxisIndex: number;
|
|
520
|
+
color: string;
|
|
521
|
+
zIndex: number;
|
|
522
|
+
label: string;
|
|
523
|
+
showQuantitiesAs: ShowQuantitiesAs;
|
|
524
|
+
comparisonPlanID: ComparisonPlanID;
|
|
525
|
+
regionID?: RegionID;
|
|
526
|
+
armID?: ArmID;
|
|
527
|
+
kitID?: KitID;
|
|
528
|
+
itemID?: ItemID;
|
|
529
|
+
isCumulative?: IsCumulative;
|
|
530
|
+
}[];
|
|
531
|
+
}
|
|
532
|
+
export interface AnalyticsNoteItem {
|
|
533
|
+
id: string;
|
|
534
|
+
name: string;
|
|
535
|
+
type: 'ANALYTICS_NOTE';
|
|
536
|
+
subtitle: string;
|
|
537
|
+
backgroundColor?: string;
|
|
538
|
+
imageUrl?: string;
|
|
539
|
+
text?: {
|
|
540
|
+
content: string;
|
|
541
|
+
fontFamily: string;
|
|
542
|
+
fontSize: number;
|
|
543
|
+
color: string;
|
|
544
|
+
horizontalAlignment: 'left' | 'center' | 'right';
|
|
545
|
+
verticalAlignment: 'top' | 'center' | 'bottom';
|
|
546
|
+
};
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* All algorithm inputs that affect forecast calculation. Any change to this object invalidates clinicalDemandCalculatedForecast.
|
|
550
|
+
*/
|
|
551
|
+
export interface ClinicalDemandForecastConfiguration {
|
|
552
|
+
studyOverview: StudyOverview;
|
|
553
|
+
enrollment: Enrollment;
|
|
554
|
+
kitConfiguration: KitConfiguration;
|
|
555
|
+
dosingRegimens: DosingRegimens;
|
|
556
|
+
treatmentArms: TreatmentArms;
|
|
557
|
+
subjectFlow: SubjectFlow;
|
|
558
|
+
actuals: ClinicalDemandActuals;
|
|
559
|
+
trialDesign: TrialDesign;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* Basic information about the clinical trial study.
|
|
563
|
+
*/
|
|
564
|
+
export interface StudyOverview {
|
|
565
|
+
studyName: StudyName;
|
|
566
|
+
studyPhase: StudyPhase;
|
|
567
|
+
protocolSummary: ProtocolSummary;
|
|
568
|
+
therapeuticArea: TherapeuticArea;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Patient enrollment targets and rates.
|
|
572
|
+
*/
|
|
573
|
+
export interface Enrollment {
|
|
574
|
+
targetCompleted: TargetCompleted;
|
|
575
|
+
screenFailureRate: ScreenFailureRate;
|
|
576
|
+
attritionRate: AttritionRate;
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* Configuration of kits with containers and items, keyed by kit ID.
|
|
580
|
+
*/
|
|
581
|
+
export interface KitConfiguration {
|
|
582
|
+
[k: string]: Kit;
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* A kit containing items and containers. The kit ID is the key in the kitConfiguration map.
|
|
586
|
+
*
|
|
587
|
+
* This interface was referenced by `KitConfiguration`'s JSON-Schema definition
|
|
588
|
+
* via the `patternProperty` ".*".
|
|
589
|
+
*/
|
|
590
|
+
export interface Kit {
|
|
591
|
+
name: KitName;
|
|
592
|
+
items: Items;
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* Items and containers within this kit, keyed by node ID.
|
|
596
|
+
*/
|
|
597
|
+
export interface Items {
|
|
598
|
+
[k: string]: KitNode;
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* A structural container (bottle, blister pack) that holds other nodes. The container ID is the key in the parent items/children map.
|
|
602
|
+
*/
|
|
603
|
+
export interface KitContainer {
|
|
604
|
+
nodeType: NodeType;
|
|
605
|
+
name: Name;
|
|
606
|
+
deliveryForm: DeliveryForm;
|
|
607
|
+
children: Children;
|
|
608
|
+
ordering: Ordering;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* Items contained within this container, keyed by node ID.
|
|
612
|
+
*/
|
|
613
|
+
export interface Children {
|
|
614
|
+
[k: string]: KitNode;
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* An actual pharmaceutical item (tablet, capsule, vial) with dosage. The item ID is the key in the parent items/children map.
|
|
618
|
+
*/
|
|
619
|
+
export interface KitItem {
|
|
620
|
+
nodeType: NodeType1;
|
|
621
|
+
name: Name;
|
|
622
|
+
deliveryForm: DeliveryForm1;
|
|
623
|
+
quantity: Quantity;
|
|
624
|
+
dosage: Dosage;
|
|
625
|
+
units: Units;
|
|
626
|
+
ordering: Ordering;
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* Available dosing regimens for the study, keyed by ID.
|
|
630
|
+
*/
|
|
631
|
+
export interface DosingRegimens {
|
|
632
|
+
[k: string]: DosingRegimen;
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* Dosing regimen configuration with nested dosingRegimenDefinition discriminated union.
|
|
636
|
+
*
|
|
637
|
+
* This interface was referenced by `DosingRegimens`'s JSON-Schema definition
|
|
638
|
+
* via the `patternProperty` ".*".
|
|
639
|
+
*/
|
|
640
|
+
export interface DosingRegimen {
|
|
641
|
+
name: Name;
|
|
642
|
+
description: Description;
|
|
643
|
+
dosingRegimenDefinition: DosingRegimenDefinition;
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* Definition for an active (non-placebo) dosing regimen.
|
|
647
|
+
*/
|
|
648
|
+
export interface ActiveRegimenDefinition {
|
|
649
|
+
isPlacebo: IsPlacebo;
|
|
650
|
+
treatmentDuration: TreatmentDuration;
|
|
651
|
+
treatmentDurationUnit: TreatmentDurationUnit;
|
|
652
|
+
dosingFrequency: DosingFrequency;
|
|
653
|
+
fixedConfig: FixedDoseConfiguration;
|
|
654
|
+
doseEscalationConfig: DoseEscalationConfiguration;
|
|
655
|
+
weightBasedConfig: WeightBasedConfiguration;
|
|
656
|
+
ageBasedConfig: AgeBasedConfiguration;
|
|
657
|
+
dispensationIntervals: DispensationIntervals;
|
|
658
|
+
dispensationIntervalUnit: DispensationIntervalUnit;
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* Phased dosing frequency. Each phase defines a repeating cycle pattern. The last phase runs for the remainder of the treatment.
|
|
662
|
+
*/
|
|
663
|
+
export interface DosingFrequency {
|
|
664
|
+
description: Description1;
|
|
665
|
+
phases: DosingPhases;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* A single phase within a dosing frequency. Defines a repeating cycle pattern and a repeat duration. repeatFor: 0 means terminal (remainder of treatment).
|
|
669
|
+
*/
|
|
670
|
+
export interface DosingPhase {
|
|
671
|
+
cycleDoses: CycleDoses;
|
|
672
|
+
cycleUnit: CycleUnit;
|
|
673
|
+
repeatFor: RepeatFor;
|
|
674
|
+
repeatForUnit: RepeatForUnit;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* Configuration for fixed dose regimens.
|
|
678
|
+
*/
|
|
679
|
+
export interface FixedDoseConfiguration1 {
|
|
680
|
+
kitItemQuantities: KitItemQuantities;
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* Mapping of kit item IDs to quantities consumed per dose.
|
|
684
|
+
*/
|
|
685
|
+
export interface KitItemQuantities {
|
|
686
|
+
/**
|
|
687
|
+
* This interface was referenced by `KitItemQuantities`'s JSON-Schema definition
|
|
688
|
+
* via the `patternProperty` ".*".
|
|
689
|
+
*/
|
|
690
|
+
[k: string]: number;
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* Configuration for dose escalation levels.
|
|
694
|
+
*/
|
|
695
|
+
export interface DoseEscalationConfiguration1 {
|
|
696
|
+
levels: EscalationLevels;
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* Map of level IDs to dose escalation levels. Use ordering property to maintain display order.
|
|
700
|
+
*/
|
|
701
|
+
export interface EscalationLevels {
|
|
702
|
+
[k: string]: DoseEscalationLevel;
|
|
703
|
+
}
|
|
704
|
+
/**
|
|
705
|
+
* Base properties shared by all dose escalation level variants.
|
|
706
|
+
*/
|
|
707
|
+
export interface DoseEscalationLevelBase {
|
|
708
|
+
kitItemQuantities: KitItemQuantities1;
|
|
709
|
+
ordering: Ordering;
|
|
710
|
+
[k: string]: unknown | undefined;
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* Mapping of kit item IDs to quantities consumed per dose at this escalation level.
|
|
714
|
+
*/
|
|
715
|
+
export interface KitItemQuantities1 {
|
|
716
|
+
/**
|
|
717
|
+
* This interface was referenced by `KitItemQuantities1`'s JSON-Schema definition
|
|
718
|
+
* via the `patternProperty` ".*".
|
|
719
|
+
*/
|
|
720
|
+
[k: string]: number;
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Configuration for weight-based dosing.
|
|
724
|
+
*/
|
|
725
|
+
export interface WeightBasedConfiguration1 {
|
|
726
|
+
weightUnit: WeightUnit;
|
|
727
|
+
ranges: WeightRanges;
|
|
728
|
+
}
|
|
729
|
+
/**
|
|
730
|
+
* Map of range IDs to weight ranges for kit assignment. Use ordering property to maintain display order.
|
|
731
|
+
*/
|
|
732
|
+
export interface WeightRanges {
|
|
733
|
+
[k: string]: WeightRange;
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* Weight range configuration for dosing.
|
|
737
|
+
*
|
|
738
|
+
* This interface was referenced by `WeightRanges`'s JSON-Schema definition
|
|
739
|
+
* via the `patternProperty` ".*".
|
|
740
|
+
*/
|
|
741
|
+
export interface WeightRange {
|
|
742
|
+
kitItemQuantities: KitItemQuantities2;
|
|
743
|
+
fromWeight: FromWeight;
|
|
744
|
+
toWeight: ToWeight;
|
|
745
|
+
expectedPercentage: ExpectedPercentage;
|
|
746
|
+
ordering: Ordering;
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* 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.
|
|
750
|
+
*/
|
|
751
|
+
export interface KitItemQuantities2 {
|
|
752
|
+
/**
|
|
753
|
+
* This interface was referenced by `KitItemQuantities2`'s JSON-Schema definition
|
|
754
|
+
* via the `patternProperty` ".*".
|
|
755
|
+
*/
|
|
756
|
+
[k: string]: number;
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* Configuration for age-based dosing.
|
|
760
|
+
*/
|
|
761
|
+
export interface AgeBasedConfiguration1 {
|
|
762
|
+
ageUnit: AgeUnit;
|
|
763
|
+
ranges: AgeRanges;
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Map of range IDs to age ranges for kit assignment. Use ordering property to maintain display order.
|
|
767
|
+
*/
|
|
768
|
+
export interface AgeRanges {
|
|
769
|
+
[k: string]: AgeRange;
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* Age range configuration for dosing.
|
|
773
|
+
*
|
|
774
|
+
* This interface was referenced by `AgeRanges`'s JSON-Schema definition
|
|
775
|
+
* via the `patternProperty` ".*".
|
|
776
|
+
*/
|
|
777
|
+
export interface AgeRange {
|
|
778
|
+
kitItemQuantities: KitItemQuantities3;
|
|
779
|
+
fromAge: FromAge;
|
|
780
|
+
toAge: ToAge;
|
|
781
|
+
expectedPercentage: ExpectedPercentage;
|
|
782
|
+
ordering: Ordering;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* 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.
|
|
786
|
+
*/
|
|
787
|
+
export interface KitItemQuantities3 {
|
|
788
|
+
/**
|
|
789
|
+
* This interface was referenced by `KitItemQuantities3`'s JSON-Schema definition
|
|
790
|
+
* via the `patternProperty` ".*".
|
|
791
|
+
*/
|
|
792
|
+
[k: string]: number;
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* Definition for a placebo regimen that references an active regimen.
|
|
796
|
+
*/
|
|
797
|
+
export interface PlaceboRegimenDefinition {
|
|
798
|
+
isPlacebo: IsPlacebo1;
|
|
799
|
+
placeboOf: PlaceboOf;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Treatment arms in the clinical trial, keyed by ID.
|
|
803
|
+
*/
|
|
804
|
+
export interface TreatmentArms {
|
|
805
|
+
[k: string]: TreatmentArm;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Treatment arm configuration from wizard step 5.
|
|
809
|
+
*
|
|
810
|
+
* This interface was referenced by `TreatmentArms`'s JSON-Schema definition
|
|
811
|
+
* via the `patternProperty` ".*".
|
|
812
|
+
*/
|
|
813
|
+
export interface TreatmentArm {
|
|
814
|
+
name: Name;
|
|
815
|
+
allocationPercentage: AllocationPercentage;
|
|
816
|
+
dosingRegimenSequence: DosingRegimenSequence;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Sequence of treatment and washout periods for this treatment arm.
|
|
820
|
+
*/
|
|
821
|
+
export interface DosingRegimenSequence {
|
|
822
|
+
[k: string]: SequencePeriod;
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* Treatment period in a dosing regimen sequence.
|
|
826
|
+
*/
|
|
827
|
+
export interface TreatmentPeriod {
|
|
828
|
+
periodType: PeriodType;
|
|
829
|
+
dosingRegimenId: DosingRegimenID;
|
|
830
|
+
ordering: Ordering;
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* Washout period (no dosing) in a dosing regimen sequence.
|
|
834
|
+
*/
|
|
835
|
+
export interface WashoutPeriod {
|
|
836
|
+
periodType: PeriodType1;
|
|
837
|
+
duration: Duration;
|
|
838
|
+
durationUnit: DurationUnit;
|
|
839
|
+
ordering: Ordering;
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* Site supply and region configuration.
|
|
843
|
+
*/
|
|
844
|
+
export interface SubjectFlow {
|
|
845
|
+
regions: Countries;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Region-specific site configuration, keyed by ID.
|
|
849
|
+
*/
|
|
850
|
+
export interface Countries {
|
|
851
|
+
[k: string]: RegionConfig;
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* Container node for grouping regions. Has subregions but no sites.
|
|
855
|
+
*/
|
|
856
|
+
export interface RegionContainer {
|
|
857
|
+
nodeType: NodeType;
|
|
858
|
+
regionName: RegionName;
|
|
859
|
+
subregions: Subregions;
|
|
860
|
+
activationStartDate?: ActivationStartDate;
|
|
861
|
+
screenRate?: ScreenRate;
|
|
862
|
+
siteActivationRate?: SiteActivationRate;
|
|
863
|
+
maxEnrollmentPerSite?: MaximumEnrollmentPerSite;
|
|
864
|
+
siteSeeding?: SiteSeeding;
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* Child regions within this container.
|
|
868
|
+
*/
|
|
869
|
+
export interface Subregions {
|
|
870
|
+
[k: string]: RegionConfig;
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* Leaf node representing an operational region with sites.
|
|
874
|
+
*/
|
|
875
|
+
export interface RegionLeaf {
|
|
876
|
+
nodeType: NodeType3;
|
|
877
|
+
regionName: RegionName;
|
|
878
|
+
numberOfSites: NumberOfSites;
|
|
879
|
+
activationStartDate?: ActivationStartDate;
|
|
880
|
+
screenRate?: ScreenRate;
|
|
881
|
+
siteActivationRate?: SiteActivationRate;
|
|
882
|
+
maxEnrollmentPerSite?: MaximumEnrollmentPerSite;
|
|
883
|
+
siteSeeding?: SiteSeeding;
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* Actual enrollment data entered by users to reconcile with forecast.
|
|
887
|
+
*/
|
|
888
|
+
export interface ClinicalDemandActuals {
|
|
889
|
+
enrollment: EnrollmentActuals;
|
|
890
|
+
sites: SitesActuals;
|
|
891
|
+
notes: ActualsNotes;
|
|
892
|
+
siteNotes: SiteActualsNotes;
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* Actual enrollment by region and month.
|
|
896
|
+
*/
|
|
897
|
+
export interface EnrollmentActuals {
|
|
898
|
+
/**
|
|
899
|
+
* This interface was referenced by `EnrollmentActuals`'s JSON-Schema definition
|
|
900
|
+
* via the `patternProperty` ".*".
|
|
901
|
+
*/
|
|
902
|
+
[k: string]: {
|
|
903
|
+
/**
|
|
904
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
905
|
+
* via the `patternProperty` ".*".
|
|
906
|
+
*/
|
|
907
|
+
[k: string]: {
|
|
908
|
+
total: TotalEnrolled;
|
|
909
|
+
byArm: EnrollmentByArm;
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* Enrollment count per treatment arm.
|
|
915
|
+
*/
|
|
916
|
+
export interface EnrollmentByArm {
|
|
917
|
+
/**
|
|
918
|
+
* This interface was referenced by `EnrollmentByArm`'s JSON-Schema definition
|
|
919
|
+
* via the `patternProperty` ".*".
|
|
920
|
+
*/
|
|
921
|
+
[k: string]: number;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* Actual site counts by region and month.
|
|
925
|
+
*/
|
|
926
|
+
export interface SitesActuals {
|
|
927
|
+
/**
|
|
928
|
+
* This interface was referenced by `SitesActuals`'s JSON-Schema definition
|
|
929
|
+
* via the `patternProperty` ".*".
|
|
930
|
+
*/
|
|
931
|
+
[k: string]: {
|
|
932
|
+
/**
|
|
933
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
934
|
+
* via the `patternProperty` ".*".
|
|
935
|
+
*/
|
|
936
|
+
[k: string]: number;
|
|
937
|
+
};
|
|
938
|
+
}
|
|
939
|
+
/**
|
|
940
|
+
* Explanatory notes for enrollment actuals by region and month.
|
|
941
|
+
*/
|
|
942
|
+
export interface ActualsNotes {
|
|
943
|
+
/**
|
|
944
|
+
* This interface was referenced by `ActualsNotes`'s JSON-Schema definition
|
|
945
|
+
* via the `patternProperty` ".*".
|
|
946
|
+
*/
|
|
947
|
+
[k: string]: {
|
|
948
|
+
/**
|
|
949
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
950
|
+
* via the `patternProperty` ".*".
|
|
951
|
+
*/
|
|
952
|
+
[k: string]: string;
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Explanatory notes for site activation actuals by region and month.
|
|
957
|
+
*/
|
|
958
|
+
export interface SiteActualsNotes {
|
|
959
|
+
/**
|
|
960
|
+
* This interface was referenced by `SiteActualsNotes`'s JSON-Schema definition
|
|
961
|
+
* via the `patternProperty` ".*".
|
|
962
|
+
*/
|
|
963
|
+
[k: string]: {
|
|
964
|
+
/**
|
|
965
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
966
|
+
* via the `patternProperty` ".*".
|
|
967
|
+
*/
|
|
968
|
+
[k: string]: string;
|
|
969
|
+
};
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* Calculated demand forecast with atomic monthly data per-region, per-arm.
|
|
973
|
+
*/
|
|
974
|
+
export interface ClinicalDemandCalculatedForecast {
|
|
975
|
+
byRegion: ByRegion;
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* Region-specific forecast data keyed by region ID.
|
|
979
|
+
*/
|
|
980
|
+
export interface ByRegion {
|
|
981
|
+
[k: string]: RegionForecast | undefined;
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* Atomic monthly forecast data for a single region. All values are monthly (not cumulative). UI computes cumulative views.
|
|
985
|
+
*/
|
|
986
|
+
export interface RegionForecast {
|
|
987
|
+
sites: Sites;
|
|
988
|
+
subjectsScreened: SubjectsScreened;
|
|
989
|
+
subjectsScreenedOut: SubjectsScreenedOut;
|
|
990
|
+
subjectsEnrolled: SubjectsEnrolled;
|
|
991
|
+
subjectsActive: SubjectsActive;
|
|
992
|
+
subjectsCompleted: SubjectsCompleted;
|
|
993
|
+
subjectsDroppedOut: SubjectsDroppedOut;
|
|
994
|
+
kitDemand: KitDemand;
|
|
995
|
+
kitItemDemand: KitItemDemand;
|
|
996
|
+
siteSeedingKitDemand: SiteSeedingKitDemand;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* Monthly count of sites opened this month.
|
|
1000
|
+
*/
|
|
1001
|
+
export interface Sites {
|
|
1002
|
+
/**
|
|
1003
|
+
* This interface was referenced by `Sites`'s JSON-Schema definition
|
|
1004
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1005
|
+
*
|
|
1006
|
+
* This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
|
|
1007
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1008
|
+
*
|
|
1009
|
+
* This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
|
|
1010
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1011
|
+
*
|
|
1012
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1013
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1014
|
+
*
|
|
1015
|
+
* This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
|
|
1016
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1017
|
+
*
|
|
1018
|
+
* This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
|
|
1019
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1020
|
+
*/
|
|
1021
|
+
[k: string]: number;
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* Monthly count of subjects screened this month.
|
|
1025
|
+
*/
|
|
1026
|
+
export interface SubjectsScreened {
|
|
1027
|
+
/**
|
|
1028
|
+
* This interface was referenced by `Sites`'s JSON-Schema definition
|
|
1029
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1030
|
+
*
|
|
1031
|
+
* This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
|
|
1032
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1033
|
+
*
|
|
1034
|
+
* This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
|
|
1035
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1036
|
+
*
|
|
1037
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1038
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1039
|
+
*
|
|
1040
|
+
* This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
|
|
1041
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1042
|
+
*
|
|
1043
|
+
* This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
|
|
1044
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1045
|
+
*/
|
|
1046
|
+
[k: string]: number;
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* Monthly count of subjects who failed screening this month.
|
|
1050
|
+
*/
|
|
1051
|
+
export interface SubjectsScreenedOut {
|
|
1052
|
+
/**
|
|
1053
|
+
* This interface was referenced by `Sites`'s JSON-Schema definition
|
|
1054
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1055
|
+
*
|
|
1056
|
+
* This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
|
|
1057
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1058
|
+
*
|
|
1059
|
+
* This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
|
|
1060
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1061
|
+
*
|
|
1062
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1063
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1064
|
+
*
|
|
1065
|
+
* This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
|
|
1066
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1067
|
+
*
|
|
1068
|
+
* This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
|
|
1069
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1070
|
+
*/
|
|
1071
|
+
[k: string]: number;
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* Monthly subjects enrolled, broken down by treatment arm.
|
|
1075
|
+
*/
|
|
1076
|
+
export interface SubjectsEnrolled {
|
|
1077
|
+
[k: string]: PositiveDateMap;
|
|
1078
|
+
}
|
|
1079
|
+
/**
|
|
1080
|
+
* Mapping of dates to positive numerical values.
|
|
1081
|
+
*
|
|
1082
|
+
* This interface was referenced by `SubjectsEnrolled`'s JSON-Schema definition
|
|
1083
|
+
* via the `patternProperty` ".*".
|
|
1084
|
+
*
|
|
1085
|
+
* This interface was referenced by `SubjectsActive`'s JSON-Schema definition
|
|
1086
|
+
* via the `patternProperty` ".*".
|
|
1087
|
+
*
|
|
1088
|
+
* This interface was referenced by `SubjectsCompleted`'s JSON-Schema definition
|
|
1089
|
+
* via the `patternProperty` ".*".
|
|
1090
|
+
*
|
|
1091
|
+
* This interface was referenced by `SubjectsDroppedOut`'s JSON-Schema definition
|
|
1092
|
+
* via the `patternProperty` ".*".
|
|
1093
|
+
*
|
|
1094
|
+
* This interface was referenced by `SiteSeedingKitDemand`'s JSON-Schema definition
|
|
1095
|
+
* via the `patternProperty` ".*".
|
|
1096
|
+
*/
|
|
1097
|
+
export interface PositiveDateMap {
|
|
1098
|
+
/**
|
|
1099
|
+
* This interface was referenced by `Sites`'s JSON-Schema definition
|
|
1100
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1101
|
+
*
|
|
1102
|
+
* This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
|
|
1103
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1104
|
+
*
|
|
1105
|
+
* This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
|
|
1106
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1107
|
+
*
|
|
1108
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1109
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1110
|
+
*
|
|
1111
|
+
* This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
|
|
1112
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1113
|
+
*
|
|
1114
|
+
* This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
|
|
1115
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1116
|
+
*/
|
|
1117
|
+
[k: string]: number;
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* Monthly change in active subjects (new active this month), broken down by treatment arm.
|
|
1121
|
+
*/
|
|
1122
|
+
export interface SubjectsActive {
|
|
1123
|
+
[k: string]: PositiveDateMap;
|
|
1124
|
+
}
|
|
1125
|
+
/**
|
|
1126
|
+
* Monthly subjects who completed treatment, broken down by treatment arm.
|
|
1127
|
+
*/
|
|
1128
|
+
export interface SubjectsCompleted {
|
|
1129
|
+
[k: string]: PositiveDateMap;
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* Monthly subjects who dropped out, broken down by treatment arm.
|
|
1133
|
+
*/
|
|
1134
|
+
export interface SubjectsDroppedOut {
|
|
1135
|
+
[k: string]: PositiveDateMap;
|
|
1136
|
+
}
|
|
1137
|
+
/**
|
|
1138
|
+
* 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.
|
|
1139
|
+
*/
|
|
1140
|
+
export interface KitDemand {
|
|
1141
|
+
/**
|
|
1142
|
+
* Mapping of sequence period IDs to kit demand for this arm.
|
|
1143
|
+
*
|
|
1144
|
+
* This interface was referenced by `KitDemand`'s JSON-Schema definition
|
|
1145
|
+
* via the `patternProperty` ".*".
|
|
1146
|
+
*/
|
|
1147
|
+
[k: string]: {
|
|
1148
|
+
/**
|
|
1149
|
+
* Mapping of kit IDs to KitDemandEntry for this sequence period.
|
|
1150
|
+
*
|
|
1151
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1152
|
+
* via the `patternProperty` ".*".
|
|
1153
|
+
*/
|
|
1154
|
+
[k: string]: {
|
|
1155
|
+
[k: string]: KitDemandEntry;
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
}
|
|
1159
|
+
/**
|
|
1160
|
+
* Kit demand with placeboOf tagging for active/placebo separation.
|
|
1161
|
+
*
|
|
1162
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1163
|
+
* via the `patternProperty` ".*".
|
|
1164
|
+
*/
|
|
1165
|
+
export interface KitDemandEntry {
|
|
1166
|
+
demand: PositiveDateMap1;
|
|
1167
|
+
/**
|
|
1168
|
+
* Regimen ID this is placebo of, or null if active.
|
|
1169
|
+
*/
|
|
1170
|
+
placeboOf: string | null;
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* Mapping of dates to positive numerical values.
|
|
1174
|
+
*/
|
|
1175
|
+
export interface PositiveDateMap1 {
|
|
1176
|
+
/**
|
|
1177
|
+
* This interface was referenced by `Sites`'s JSON-Schema definition
|
|
1178
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1179
|
+
*
|
|
1180
|
+
* This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
|
|
1181
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1182
|
+
*
|
|
1183
|
+
* This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
|
|
1184
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1185
|
+
*
|
|
1186
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1187
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1188
|
+
*
|
|
1189
|
+
* This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
|
|
1190
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1191
|
+
*
|
|
1192
|
+
* This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
|
|
1193
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1194
|
+
*/
|
|
1195
|
+
[k: string]: number;
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* 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.
|
|
1199
|
+
*/
|
|
1200
|
+
export interface KitItemDemand {
|
|
1201
|
+
/**
|
|
1202
|
+
* Mapping of sequence period IDs to kit item demand for this arm.
|
|
1203
|
+
*
|
|
1204
|
+
* This interface was referenced by `KitItemDemand`'s JSON-Schema definition
|
|
1205
|
+
* via the `patternProperty` ".*".
|
|
1206
|
+
*/
|
|
1207
|
+
[k: string]: {
|
|
1208
|
+
/**
|
|
1209
|
+
* Mapping of item IDs to KitItemDemandEntry for this sequence period.
|
|
1210
|
+
*
|
|
1211
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1212
|
+
* via the `patternProperty` ".*".
|
|
1213
|
+
*/
|
|
1214
|
+
[k: string]: {
|
|
1215
|
+
[k: string]: KitItemDemandEntry;
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
}
|
|
1219
|
+
/**
|
|
1220
|
+
* Kit item consumption entry with placeboOf tagging for active/placebo separation. Represents what patients actually receive, not supply demand.
|
|
1221
|
+
*
|
|
1222
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1223
|
+
* via the `patternProperty` ".*".
|
|
1224
|
+
*/
|
|
1225
|
+
export interface KitItemDemandEntry {
|
|
1226
|
+
demand: PositiveDateMap2;
|
|
1227
|
+
/**
|
|
1228
|
+
* Regimen ID this is placebo of, or null if active.
|
|
1229
|
+
*/
|
|
1230
|
+
placeboOf: string | null;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
* Mapping of dates to positive numerical values.
|
|
1234
|
+
*/
|
|
1235
|
+
export interface PositiveDateMap2 {
|
|
1236
|
+
/**
|
|
1237
|
+
* This interface was referenced by `Sites`'s JSON-Schema definition
|
|
1238
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1239
|
+
*
|
|
1240
|
+
* This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
|
|
1241
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1242
|
+
*
|
|
1243
|
+
* This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
|
|
1244
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1245
|
+
*
|
|
1246
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1247
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1248
|
+
*
|
|
1249
|
+
* This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
|
|
1250
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1251
|
+
*
|
|
1252
|
+
* This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
|
|
1253
|
+
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1254
|
+
*/
|
|
1255
|
+
[k: string]: number;
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* Site seeding kit demand - kits shipped when sites activate (not treatment-driven). Keyed by kit ID.
|
|
1259
|
+
*/
|
|
1260
|
+
export interface SiteSeedingKitDemand {
|
|
1261
|
+
[k: string]: PositiveDateMap;
|
|
1262
|
+
}
|