@schemastore/abc-clinical-demand-forecast-1.0.0 1.0.1 → 1.0.3
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/README.md +1 -1
- package/index.d.ts +130 -287
- package/package.json +5 -2
package/README.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -15,8 +15,7 @@ export type TimeAggregateType = 'Annual' | 'Quarterly' | 'Monthly';
|
|
|
15
15
|
/**
|
|
16
16
|
* How to display the quantities for this metric
|
|
17
17
|
*/
|
|
18
|
-
export type ShowQuantitiesAs = (('Units' | 'Lots' | 'Monetary') | null)
|
|
19
|
-
(((('Units' | 'Lots' | 'Monetary') | null) & string) | (null & (('Units' | 'Lots' | 'Monetary') | null)));
|
|
18
|
+
export type ShowQuantitiesAs = (string | null) & (('Units' | 'Lots' | 'Monetary') | null);
|
|
20
19
|
/**
|
|
21
20
|
* The ID of the comparison plan to use for this metric or null if no comparison plan is used
|
|
22
21
|
*/
|
|
@@ -98,10 +97,6 @@ export type Ordering = number;
|
|
|
98
97
|
* Discriminator identifying this as an item node.
|
|
99
98
|
*/
|
|
100
99
|
export type NodeType1 = 'item';
|
|
101
|
-
/**
|
|
102
|
-
* Name of the item.
|
|
103
|
-
*/
|
|
104
|
-
export type Name1 = string;
|
|
105
100
|
/**
|
|
106
101
|
* Type of pharmaceutical item.
|
|
107
102
|
*/
|
|
@@ -118,14 +113,6 @@ export type Dosage = number;
|
|
|
118
113
|
* Units of dosage (e.g., mg, ml).
|
|
119
114
|
*/
|
|
120
115
|
export type Units = string;
|
|
121
|
-
/**
|
|
122
|
-
* Display order of this node within its parent. Lower numbers appear first.
|
|
123
|
-
*/
|
|
124
|
-
export type Ordering1 = number;
|
|
125
|
-
/**
|
|
126
|
-
* Name of the dosing regimen.
|
|
127
|
-
*/
|
|
128
|
-
export type Name2 = string;
|
|
129
116
|
/**
|
|
130
117
|
* Description of the dosing regimen.
|
|
131
118
|
*/
|
|
@@ -189,10 +176,6 @@ export type FirstDoseEscalationLevel = DoseEscalationLevelBase & {
|
|
|
189
176
|
durationUnit: DurationUnit;
|
|
190
177
|
ordering?: unknown;
|
|
191
178
|
};
|
|
192
|
-
/**
|
|
193
|
-
* Display order of this level within the escalation sequence. Lower numbers appear first.
|
|
194
|
-
*/
|
|
195
|
-
export type Ordering2 = number;
|
|
196
179
|
/**
|
|
197
180
|
* Must be true for first level.
|
|
198
181
|
*/
|
|
@@ -214,24 +197,12 @@ export type DurationUnit = 'days' | 'weeks' | 'months' | 'years';
|
|
|
214
197
|
*/
|
|
215
198
|
export type IntermediateDoseEscalationLevel = DoseEscalationLevelBase & {
|
|
216
199
|
kitItemQuantities?: unknown;
|
|
217
|
-
isFinalLevel:
|
|
218
|
-
duration:
|
|
219
|
-
durationUnit:
|
|
200
|
+
isFinalLevel: IsFinalLevel;
|
|
201
|
+
duration: Duration;
|
|
202
|
+
durationUnit: DurationUnit;
|
|
220
203
|
adverseEventRate: AdverseEventRate;
|
|
221
204
|
ordering?: unknown;
|
|
222
205
|
};
|
|
223
|
-
/**
|
|
224
|
-
* Must be false for intermediate level.
|
|
225
|
-
*/
|
|
226
|
-
export type IsFinalLevel1 = false;
|
|
227
|
-
/**
|
|
228
|
-
* Duration of this escalation level.
|
|
229
|
-
*/
|
|
230
|
-
export type Duration1 = number;
|
|
231
|
-
/**
|
|
232
|
-
* Unit of duration for this level.
|
|
233
|
-
*/
|
|
234
|
-
export type DurationUnit1 = 'days' | 'weeks' | 'months' | 'years';
|
|
235
206
|
/**
|
|
236
207
|
* Percentage of subjects who experience adverse events when TRIALING THIS level from the previous level.
|
|
237
208
|
*/
|
|
@@ -242,17 +213,13 @@ export type AdverseEventRate = number;
|
|
|
242
213
|
export type FinalDoseEscalationLevel = DoseEscalationLevelBase & {
|
|
243
214
|
kitItemQuantities?: unknown;
|
|
244
215
|
isFinalLevel: IsFinalLevel2;
|
|
245
|
-
adverseEventRate:
|
|
216
|
+
adverseEventRate: AdverseEventRate;
|
|
246
217
|
ordering?: unknown;
|
|
247
218
|
};
|
|
248
219
|
/**
|
|
249
220
|
* Must be true for final level.
|
|
250
221
|
*/
|
|
251
222
|
export type IsFinalLevel2 = true;
|
|
252
|
-
/**
|
|
253
|
-
* Percentage of subjects who experience adverse events when TRIALING THIS level from the previous level.
|
|
254
|
-
*/
|
|
255
|
-
export type AdverseEventRate1 = number;
|
|
256
223
|
/**
|
|
257
224
|
* Configuration for weight-based dosing regimens. Null if using another regimen type.
|
|
258
225
|
*/
|
|
@@ -273,10 +240,6 @@ export type ToWeight = number | null;
|
|
|
273
240
|
* Expected percentage of subjects in this weight range.
|
|
274
241
|
*/
|
|
275
242
|
export type ExpectedPercentage = number;
|
|
276
|
-
/**
|
|
277
|
-
* Display order of this range. Lower numbers appear first.
|
|
278
|
-
*/
|
|
279
|
-
export type Ordering3 = number;
|
|
280
243
|
/**
|
|
281
244
|
* Configuration for age-based dosing regimens. Null if using another regimen type.
|
|
282
245
|
*/
|
|
@@ -293,14 +256,6 @@ export type FromAge = number | null;
|
|
|
293
256
|
* Maximum age for this range (null for no upper bound).
|
|
294
257
|
*/
|
|
295
258
|
export type ToAge = number | null;
|
|
296
|
-
/**
|
|
297
|
-
* Expected percentage of subjects in this age range.
|
|
298
|
-
*/
|
|
299
|
-
export type ExpectedPercentage1 = number;
|
|
300
|
-
/**
|
|
301
|
-
* Display order of this range. Lower numbers appear first.
|
|
302
|
-
*/
|
|
303
|
-
export type Ordering4 = number;
|
|
304
259
|
/**
|
|
305
260
|
* Discriminator: true for placebo regimens.
|
|
306
261
|
*/
|
|
@@ -309,10 +264,6 @@ export type IsPlacebo1 = true;
|
|
|
309
264
|
* ID of the active dosing regimen this placebo references. Placebo inherits all dosing configuration from the active regimen.
|
|
310
265
|
*/
|
|
311
266
|
export type PlaceboOf = string;
|
|
312
|
-
/**
|
|
313
|
-
* Name of the treatment arm.
|
|
314
|
-
*/
|
|
315
|
-
export type Name3 = string;
|
|
316
267
|
/**
|
|
317
268
|
* Percentage of subjects allocated to this arm.
|
|
318
269
|
*/
|
|
@@ -330,35 +281,15 @@ export type PeriodType = 'treatment';
|
|
|
330
281
|
* ID of the dosing regimen used during this treatment period.
|
|
331
282
|
*/
|
|
332
283
|
export type DosingRegimenID = string;
|
|
333
|
-
/**
|
|
334
|
-
* Order position of this period in the sequence.
|
|
335
|
-
*/
|
|
336
|
-
export type Ordering5 = number;
|
|
337
284
|
/**
|
|
338
285
|
* Discriminator identifying this as a washout period.
|
|
339
286
|
*/
|
|
340
287
|
export type PeriodType1 = 'washout';
|
|
341
|
-
/**
|
|
342
|
-
* Duration of the washout period.
|
|
343
|
-
*/
|
|
344
|
-
export type Duration2 = number;
|
|
345
|
-
/**
|
|
346
|
-
* Unit of washout duration.
|
|
347
|
-
*/
|
|
348
|
-
export type DurationUnit2 = 'days' | 'weeks' | 'months' | 'years';
|
|
349
|
-
/**
|
|
350
|
-
* Order position of this period in the sequence.
|
|
351
|
-
*/
|
|
352
|
-
export type Ordering6 = number;
|
|
353
288
|
/**
|
|
354
289
|
* This interface was referenced by `Countries`'s JSON-Schema definition
|
|
355
290
|
* via the `patternProperty` ".*".
|
|
356
291
|
*/
|
|
357
292
|
export type RegionConfig = RegionContainer | RegionLeaf;
|
|
358
|
-
/**
|
|
359
|
-
* Discriminator identifying this as a container node.
|
|
360
|
-
*/
|
|
361
|
-
export type NodeType2 = 'container';
|
|
362
293
|
/**
|
|
363
294
|
* Name of the region container.
|
|
364
295
|
*/
|
|
@@ -389,36 +320,10 @@ export type SiteSeeding = null | {
|
|
|
389
320
|
* Discriminator identifying this as a leaf region node.
|
|
390
321
|
*/
|
|
391
322
|
export type NodeType3 = 'region';
|
|
392
|
-
/**
|
|
393
|
-
* Name of the region.
|
|
394
|
-
*/
|
|
395
|
-
export type RegionName1 = string;
|
|
396
323
|
/**
|
|
397
324
|
* Total number of sites in this region.
|
|
398
325
|
*/
|
|
399
326
|
export type NumberOfSites = number;
|
|
400
|
-
/**
|
|
401
|
-
* Date when site activation begins. Null inherits from parent container.
|
|
402
|
-
*/
|
|
403
|
-
export type ActivationStartDate1 = string | null;
|
|
404
|
-
/**
|
|
405
|
-
* Number of subjects screened per site per month. Null inherits from parent container.
|
|
406
|
-
*/
|
|
407
|
-
export type ScreenRate1 = number | null;
|
|
408
|
-
/**
|
|
409
|
-
* Number of sites activated per month. Null inherits from parent container.
|
|
410
|
-
*/
|
|
411
|
-
export type SiteActivationRate1 = number | null;
|
|
412
|
-
/**
|
|
413
|
-
* Maximum number of patients that can be enrolled per site. Null for unlimited or inherited.
|
|
414
|
-
*/
|
|
415
|
-
export type MaximumEnrollmentPerSite1 = number | null;
|
|
416
|
-
/**
|
|
417
|
-
* Site seeding quantity per kit. Map of kitId to quantity, or null to inherit from parent.
|
|
418
|
-
*/
|
|
419
|
-
export type SiteSeeding1 = null | {
|
|
420
|
-
[k: string]: number | undefined;
|
|
421
|
-
};
|
|
422
327
|
/**
|
|
423
328
|
* Total subjects enrolled for this region and month.
|
|
424
329
|
*/
|
|
@@ -619,7 +524,7 @@ export interface Enrollment {
|
|
|
619
524
|
* Configuration of kits with containers and items, keyed by kit ID.
|
|
620
525
|
*/
|
|
621
526
|
export interface KitConfiguration {
|
|
622
|
-
[k: string]: Kit;
|
|
527
|
+
[k: string]: Kit | undefined;
|
|
623
528
|
}
|
|
624
529
|
/**
|
|
625
530
|
* A kit containing items and containers. The kit ID is the key in the kitConfiguration map.
|
|
@@ -635,7 +540,7 @@ export interface Kit {
|
|
|
635
540
|
* Items and containers within this kit, keyed by node ID.
|
|
636
541
|
*/
|
|
637
542
|
export interface Items {
|
|
638
|
-
[k: string]: KitNode;
|
|
543
|
+
[k: string]: KitNode | undefined;
|
|
639
544
|
}
|
|
640
545
|
/**
|
|
641
546
|
* A structural container (bottle, blister pack) that holds other nodes. The container ID is the key in the parent items/children map.
|
|
@@ -651,25 +556,25 @@ export interface KitContainer {
|
|
|
651
556
|
* Items contained within this container, keyed by node ID.
|
|
652
557
|
*/
|
|
653
558
|
export interface Children {
|
|
654
|
-
[k: string]: KitNode;
|
|
559
|
+
[k: string]: KitNode | undefined;
|
|
655
560
|
}
|
|
656
561
|
/**
|
|
657
562
|
* An actual pharmaceutical item (tablet, capsule, vial) with dosage. The item ID is the key in the parent items/children map.
|
|
658
563
|
*/
|
|
659
564
|
export interface KitItem {
|
|
660
565
|
nodeType: NodeType1;
|
|
661
|
-
name:
|
|
566
|
+
name: Name;
|
|
662
567
|
deliveryForm: DeliveryForm1;
|
|
663
568
|
quantity: Quantity;
|
|
664
569
|
dosage: Dosage;
|
|
665
570
|
units: Units;
|
|
666
|
-
ordering:
|
|
571
|
+
ordering: Ordering;
|
|
667
572
|
}
|
|
668
573
|
/**
|
|
669
574
|
* Available dosing regimens for the study, keyed by ID.
|
|
670
575
|
*/
|
|
671
576
|
export interface DosingRegimens {
|
|
672
|
-
[k: string]: DosingRegimen;
|
|
577
|
+
[k: string]: DosingRegimen | undefined;
|
|
673
578
|
}
|
|
674
579
|
/**
|
|
675
580
|
* Dosing regimen configuration with nested dosingRegimenDefinition discriminated union.
|
|
@@ -678,7 +583,7 @@ export interface DosingRegimens {
|
|
|
678
583
|
* via the `patternProperty` ".*".
|
|
679
584
|
*/
|
|
680
585
|
export interface DosingRegimen {
|
|
681
|
-
name:
|
|
586
|
+
name: Name;
|
|
682
587
|
description: Description;
|
|
683
588
|
dosingRegimenDefinition: DosingRegimenDefinition;
|
|
684
589
|
}
|
|
@@ -709,7 +614,7 @@ export interface KitItemQuantities {
|
|
|
709
614
|
* This interface was referenced by `KitItemQuantities`'s JSON-Schema definition
|
|
710
615
|
* via the `patternProperty` ".*".
|
|
711
616
|
*/
|
|
712
|
-
[k: string]: number;
|
|
617
|
+
[k: string]: number | undefined;
|
|
713
618
|
}
|
|
714
619
|
/**
|
|
715
620
|
* Configuration for dose escalation levels.
|
|
@@ -721,26 +626,16 @@ export interface DoseEscalationConfiguration1 {
|
|
|
721
626
|
* Map of level IDs to dose escalation levels. Use ordering property to maintain display order.
|
|
722
627
|
*/
|
|
723
628
|
export interface EscalationLevels {
|
|
724
|
-
[k: string]: DoseEscalationLevel;
|
|
629
|
+
[k: string]: DoseEscalationLevel | undefined;
|
|
725
630
|
}
|
|
726
631
|
/**
|
|
727
632
|
* Base properties shared by all dose escalation level variants.
|
|
728
633
|
*/
|
|
729
634
|
export interface DoseEscalationLevelBase {
|
|
730
|
-
kitItemQuantities:
|
|
731
|
-
ordering:
|
|
635
|
+
kitItemQuantities: KitItemQuantities;
|
|
636
|
+
ordering: Ordering;
|
|
732
637
|
[k: string]: unknown | undefined;
|
|
733
638
|
}
|
|
734
|
-
/**
|
|
735
|
-
* Mapping of kit item IDs to quantities consumed per dose at this escalation level.
|
|
736
|
-
*/
|
|
737
|
-
export interface KitItemQuantities1 {
|
|
738
|
-
/**
|
|
739
|
-
* This interface was referenced by `KitItemQuantities1`'s JSON-Schema definition
|
|
740
|
-
* via the `patternProperty` ".*".
|
|
741
|
-
*/
|
|
742
|
-
[k: string]: number;
|
|
743
|
-
}
|
|
744
639
|
/**
|
|
745
640
|
* Configuration for weight-based dosing.
|
|
746
641
|
*/
|
|
@@ -752,7 +647,7 @@ export interface WeightBasedConfiguration1 {
|
|
|
752
647
|
* Map of range IDs to weight ranges for kit assignment. Use ordering property to maintain display order.
|
|
753
648
|
*/
|
|
754
649
|
export interface WeightRanges {
|
|
755
|
-
[k: string]: WeightRange;
|
|
650
|
+
[k: string]: WeightRange | undefined;
|
|
756
651
|
}
|
|
757
652
|
/**
|
|
758
653
|
* Weight range configuration for dosing.
|
|
@@ -761,21 +656,11 @@ export interface WeightRanges {
|
|
|
761
656
|
* via the `patternProperty` ".*".
|
|
762
657
|
*/
|
|
763
658
|
export interface WeightRange {
|
|
764
|
-
kitItemQuantities:
|
|
659
|
+
kitItemQuantities: KitItemQuantities;
|
|
765
660
|
fromWeight: FromWeight;
|
|
766
661
|
toWeight: ToWeight;
|
|
767
662
|
expectedPercentage: ExpectedPercentage;
|
|
768
|
-
ordering:
|
|
769
|
-
}
|
|
770
|
-
/**
|
|
771
|
-
* 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.
|
|
772
|
-
*/
|
|
773
|
-
export interface KitItemQuantities2 {
|
|
774
|
-
/**
|
|
775
|
-
* This interface was referenced by `KitItemQuantities2`'s JSON-Schema definition
|
|
776
|
-
* via the `patternProperty` ".*".
|
|
777
|
-
*/
|
|
778
|
-
[k: string]: number;
|
|
663
|
+
ordering: Ordering;
|
|
779
664
|
}
|
|
780
665
|
/**
|
|
781
666
|
* Configuration for age-based dosing.
|
|
@@ -788,7 +673,7 @@ export interface AgeBasedConfiguration1 {
|
|
|
788
673
|
* Map of range IDs to age ranges for kit assignment. Use ordering property to maintain display order.
|
|
789
674
|
*/
|
|
790
675
|
export interface AgeRanges {
|
|
791
|
-
[k: string]: AgeRange;
|
|
676
|
+
[k: string]: AgeRange | undefined;
|
|
792
677
|
}
|
|
793
678
|
/**
|
|
794
679
|
* Age range configuration for dosing.
|
|
@@ -797,21 +682,11 @@ export interface AgeRanges {
|
|
|
797
682
|
* via the `patternProperty` ".*".
|
|
798
683
|
*/
|
|
799
684
|
export interface AgeRange {
|
|
800
|
-
kitItemQuantities:
|
|
685
|
+
kitItemQuantities: KitItemQuantities;
|
|
801
686
|
fromAge: FromAge;
|
|
802
687
|
toAge: ToAge;
|
|
803
|
-
expectedPercentage:
|
|
804
|
-
ordering:
|
|
805
|
-
}
|
|
806
|
-
/**
|
|
807
|
-
* 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.
|
|
808
|
-
*/
|
|
809
|
-
export interface KitItemQuantities3 {
|
|
810
|
-
/**
|
|
811
|
-
* This interface was referenced by `KitItemQuantities3`'s JSON-Schema definition
|
|
812
|
-
* via the `patternProperty` ".*".
|
|
813
|
-
*/
|
|
814
|
-
[k: string]: number;
|
|
688
|
+
expectedPercentage: ExpectedPercentage;
|
|
689
|
+
ordering: Ordering;
|
|
815
690
|
}
|
|
816
691
|
/**
|
|
817
692
|
* Definition for a placebo regimen that references an active regimen.
|
|
@@ -824,7 +699,7 @@ export interface PlaceboRegimenDefinition {
|
|
|
824
699
|
* Treatment arms in the clinical trial, keyed by ID.
|
|
825
700
|
*/
|
|
826
701
|
export interface TreatmentArms {
|
|
827
|
-
[k: string]: TreatmentArm;
|
|
702
|
+
[k: string]: TreatmentArm | undefined;
|
|
828
703
|
}
|
|
829
704
|
/**
|
|
830
705
|
* Treatment arm configuration from wizard step 5.
|
|
@@ -833,7 +708,7 @@ export interface TreatmentArms {
|
|
|
833
708
|
* via the `patternProperty` ".*".
|
|
834
709
|
*/
|
|
835
710
|
export interface TreatmentArm {
|
|
836
|
-
name:
|
|
711
|
+
name: Name;
|
|
837
712
|
allocationPercentage: AllocationPercentage;
|
|
838
713
|
dosingRegimenSequence: DosingRegimenSequence;
|
|
839
714
|
}
|
|
@@ -841,7 +716,7 @@ export interface TreatmentArm {
|
|
|
841
716
|
* Sequence of treatment and washout periods for this treatment arm.
|
|
842
717
|
*/
|
|
843
718
|
export interface DosingRegimenSequence {
|
|
844
|
-
[k: string]: SequencePeriod;
|
|
719
|
+
[k: string]: SequencePeriod | undefined;
|
|
845
720
|
}
|
|
846
721
|
/**
|
|
847
722
|
* Treatment period in a dosing regimen sequence.
|
|
@@ -849,16 +724,16 @@ export interface DosingRegimenSequence {
|
|
|
849
724
|
export interface TreatmentPeriod {
|
|
850
725
|
periodType: PeriodType;
|
|
851
726
|
dosingRegimenId: DosingRegimenID;
|
|
852
|
-
ordering:
|
|
727
|
+
ordering: Ordering;
|
|
853
728
|
}
|
|
854
729
|
/**
|
|
855
730
|
* Washout period (no dosing) in a dosing regimen sequence.
|
|
856
731
|
*/
|
|
857
732
|
export interface WashoutPeriod {
|
|
858
733
|
periodType: PeriodType1;
|
|
859
|
-
duration:
|
|
860
|
-
durationUnit:
|
|
861
|
-
ordering:
|
|
734
|
+
duration: Duration;
|
|
735
|
+
durationUnit: DurationUnit;
|
|
736
|
+
ordering: Ordering;
|
|
862
737
|
}
|
|
863
738
|
/**
|
|
864
739
|
* Site supply and region configuration.
|
|
@@ -870,13 +745,13 @@ export interface SubjectFlow {
|
|
|
870
745
|
* Region-specific site configuration, keyed by ID.
|
|
871
746
|
*/
|
|
872
747
|
export interface Countries {
|
|
873
|
-
[k: string]: RegionConfig;
|
|
748
|
+
[k: string]: RegionConfig | undefined;
|
|
874
749
|
}
|
|
875
750
|
/**
|
|
876
751
|
* Container node for grouping regions. Has subregions but no sites.
|
|
877
752
|
*/
|
|
878
753
|
export interface RegionContainer {
|
|
879
|
-
nodeType:
|
|
754
|
+
nodeType: NodeType;
|
|
880
755
|
regionName: RegionName;
|
|
881
756
|
subregions: Subregions;
|
|
882
757
|
activationStartDate?: ActivationStartDate;
|
|
@@ -889,20 +764,20 @@ export interface RegionContainer {
|
|
|
889
764
|
* Child regions within this container.
|
|
890
765
|
*/
|
|
891
766
|
export interface Subregions {
|
|
892
|
-
[k: string]: RegionConfig;
|
|
767
|
+
[k: string]: RegionConfig | undefined;
|
|
893
768
|
}
|
|
894
769
|
/**
|
|
895
770
|
* Leaf node representing an operational region with sites.
|
|
896
771
|
*/
|
|
897
772
|
export interface RegionLeaf {
|
|
898
773
|
nodeType: NodeType3;
|
|
899
|
-
regionName:
|
|
774
|
+
regionName: RegionName;
|
|
900
775
|
numberOfSites: NumberOfSites;
|
|
901
|
-
activationStartDate?:
|
|
902
|
-
screenRate?:
|
|
903
|
-
siteActivationRate?:
|
|
904
|
-
maxEnrollmentPerSite?:
|
|
905
|
-
siteSeeding?:
|
|
776
|
+
activationStartDate?: ActivationStartDate;
|
|
777
|
+
screenRate?: ScreenRate;
|
|
778
|
+
siteActivationRate?: SiteActivationRate;
|
|
779
|
+
maxEnrollmentPerSite?: MaximumEnrollmentPerSite;
|
|
780
|
+
siteSeeding?: SiteSeeding;
|
|
906
781
|
}
|
|
907
782
|
/**
|
|
908
783
|
* Actual enrollment data entered by users to reconcile with forecast.
|
|
@@ -921,16 +796,20 @@ export interface EnrollmentActuals {
|
|
|
921
796
|
* This interface was referenced by `EnrollmentActuals`'s JSON-Schema definition
|
|
922
797
|
* via the `patternProperty` ".*".
|
|
923
798
|
*/
|
|
924
|
-
[k: string]:
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
799
|
+
[k: string]:
|
|
800
|
+
| {
|
|
801
|
+
/**
|
|
802
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
803
|
+
* via the `patternProperty` ".*".
|
|
804
|
+
*/
|
|
805
|
+
[k: string]:
|
|
806
|
+
| {
|
|
807
|
+
total: TotalEnrolled;
|
|
808
|
+
byArm: EnrollmentByArm;
|
|
809
|
+
}
|
|
810
|
+
| undefined;
|
|
811
|
+
}
|
|
812
|
+
| undefined;
|
|
934
813
|
}
|
|
935
814
|
/**
|
|
936
815
|
* Enrollment count per treatment arm.
|
|
@@ -940,7 +819,7 @@ export interface EnrollmentByArm {
|
|
|
940
819
|
* This interface was referenced by `EnrollmentByArm`'s JSON-Schema definition
|
|
941
820
|
* via the `patternProperty` ".*".
|
|
942
821
|
*/
|
|
943
|
-
[k: string]: number;
|
|
822
|
+
[k: string]: number | undefined;
|
|
944
823
|
}
|
|
945
824
|
/**
|
|
946
825
|
* Actual site counts by region and month.
|
|
@@ -950,13 +829,15 @@ export interface SitesActuals {
|
|
|
950
829
|
* This interface was referenced by `SitesActuals`'s JSON-Schema definition
|
|
951
830
|
* via the `patternProperty` ".*".
|
|
952
831
|
*/
|
|
953
|
-
[k: string]:
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
832
|
+
[k: string]:
|
|
833
|
+
| {
|
|
834
|
+
/**
|
|
835
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
836
|
+
* via the `patternProperty` ".*".
|
|
837
|
+
*/
|
|
838
|
+
[k: string]: number | undefined;
|
|
839
|
+
}
|
|
840
|
+
| undefined;
|
|
960
841
|
}
|
|
961
842
|
/**
|
|
962
843
|
* Explanatory notes for enrollment actuals by region and month.
|
|
@@ -966,13 +847,15 @@ export interface ActualsNotes {
|
|
|
966
847
|
* This interface was referenced by `ActualsNotes`'s JSON-Schema definition
|
|
967
848
|
* via the `patternProperty` ".*".
|
|
968
849
|
*/
|
|
969
|
-
[k: string]:
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
850
|
+
[k: string]:
|
|
851
|
+
| {
|
|
852
|
+
/**
|
|
853
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
854
|
+
* via the `patternProperty` ".*".
|
|
855
|
+
*/
|
|
856
|
+
[k: string]: string | undefined;
|
|
857
|
+
}
|
|
858
|
+
| undefined;
|
|
976
859
|
}
|
|
977
860
|
/**
|
|
978
861
|
* Explanatory notes for site activation actuals by region and month.
|
|
@@ -982,13 +865,15 @@ export interface SiteActualsNotes {
|
|
|
982
865
|
* This interface was referenced by `SiteActualsNotes`'s JSON-Schema definition
|
|
983
866
|
* via the `patternProperty` ".*".
|
|
984
867
|
*/
|
|
985
|
-
[k: string]:
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
868
|
+
[k: string]:
|
|
869
|
+
| {
|
|
870
|
+
/**
|
|
871
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
872
|
+
* via the `patternProperty` ".*".
|
|
873
|
+
*/
|
|
874
|
+
[k: string]: string | undefined;
|
|
875
|
+
}
|
|
876
|
+
| undefined;
|
|
992
877
|
}
|
|
993
878
|
/**
|
|
994
879
|
* Calculated demand forecast with atomic monthly data per-region, per-arm.
|
|
@@ -1034,13 +919,13 @@ export interface Sites {
|
|
|
1034
919
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1035
920
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1036
921
|
*
|
|
1037
|
-
* This interface was referenced by `
|
|
922
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1038
923
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1039
924
|
*
|
|
1040
|
-
* This interface was referenced by `
|
|
925
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1041
926
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1042
927
|
*/
|
|
1043
|
-
[k: string]: number;
|
|
928
|
+
[k: string]: number | undefined;
|
|
1044
929
|
}
|
|
1045
930
|
/**
|
|
1046
931
|
* Monthly count of subjects screened this month.
|
|
@@ -1059,13 +944,13 @@ export interface SubjectsScreened {
|
|
|
1059
944
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1060
945
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1061
946
|
*
|
|
1062
|
-
* This interface was referenced by `
|
|
947
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1063
948
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1064
949
|
*
|
|
1065
|
-
* This interface was referenced by `
|
|
950
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1066
951
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1067
952
|
*/
|
|
1068
|
-
[k: string]: number;
|
|
953
|
+
[k: string]: number | undefined;
|
|
1069
954
|
}
|
|
1070
955
|
/**
|
|
1071
956
|
* Monthly count of subjects who failed screening this month.
|
|
@@ -1084,19 +969,19 @@ export interface SubjectsScreenedOut {
|
|
|
1084
969
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1085
970
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1086
971
|
*
|
|
1087
|
-
* This interface was referenced by `
|
|
972
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1088
973
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1089
974
|
*
|
|
1090
|
-
* This interface was referenced by `
|
|
975
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1091
976
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1092
977
|
*/
|
|
1093
|
-
[k: string]: number;
|
|
978
|
+
[k: string]: number | undefined;
|
|
1094
979
|
}
|
|
1095
980
|
/**
|
|
1096
981
|
* Monthly subjects enrolled, broken down by treatment arm.
|
|
1097
982
|
*/
|
|
1098
983
|
export interface SubjectsEnrolled {
|
|
1099
|
-
[k: string]: PositiveDateMap;
|
|
984
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1100
985
|
}
|
|
1101
986
|
/**
|
|
1102
987
|
* Mapping of dates to positive numerical values.
|
|
@@ -1130,31 +1015,31 @@ export interface PositiveDateMap {
|
|
|
1130
1015
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1131
1016
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1132
1017
|
*
|
|
1133
|
-
* This interface was referenced by `
|
|
1018
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1134
1019
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1135
1020
|
*
|
|
1136
|
-
* This interface was referenced by `
|
|
1021
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1137
1022
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1138
1023
|
*/
|
|
1139
|
-
[k: string]: number;
|
|
1024
|
+
[k: string]: number | undefined;
|
|
1140
1025
|
}
|
|
1141
1026
|
/**
|
|
1142
1027
|
* Monthly change in active subjects (new active this month), broken down by treatment arm.
|
|
1143
1028
|
*/
|
|
1144
1029
|
export interface SubjectsActive {
|
|
1145
|
-
[k: string]: PositiveDateMap;
|
|
1030
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1146
1031
|
}
|
|
1147
1032
|
/**
|
|
1148
1033
|
* Monthly subjects who completed treatment, broken down by treatment arm.
|
|
1149
1034
|
*/
|
|
1150
1035
|
export interface SubjectsCompleted {
|
|
1151
|
-
[k: string]: PositiveDateMap;
|
|
1036
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1152
1037
|
}
|
|
1153
1038
|
/**
|
|
1154
1039
|
* Monthly subjects who dropped out, broken down by treatment arm.
|
|
1155
1040
|
*/
|
|
1156
1041
|
export interface SubjectsDroppedOut {
|
|
1157
|
-
[k: string]: PositiveDateMap;
|
|
1042
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1158
1043
|
}
|
|
1159
1044
|
/**
|
|
1160
1045
|
* 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.
|
|
@@ -1166,17 +1051,21 @@ export interface KitDemand {
|
|
|
1166
1051
|
* This interface was referenced by `KitDemand`'s JSON-Schema definition
|
|
1167
1052
|
* via the `patternProperty` ".*".
|
|
1168
1053
|
*/
|
|
1169
|
-
[k: string]:
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1054
|
+
[k: string]:
|
|
1055
|
+
| {
|
|
1056
|
+
/**
|
|
1057
|
+
* Mapping of kit IDs to KitDemandEntry for this sequence period.
|
|
1058
|
+
*
|
|
1059
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1060
|
+
* via the `patternProperty` ".*".
|
|
1061
|
+
*/
|
|
1062
|
+
[k: string]:
|
|
1063
|
+
| {
|
|
1064
|
+
[k: string]: KitDemandEntry | undefined;
|
|
1065
|
+
}
|
|
1066
|
+
| undefined;
|
|
1067
|
+
}
|
|
1068
|
+
| undefined;
|
|
1180
1069
|
}
|
|
1181
1070
|
/**
|
|
1182
1071
|
* Kit demand with placeboOf tagging for active/placebo separation.
|
|
@@ -1185,37 +1074,12 @@ export interface KitDemand {
|
|
|
1185
1074
|
* via the `patternProperty` ".*".
|
|
1186
1075
|
*/
|
|
1187
1076
|
export interface KitDemandEntry {
|
|
1188
|
-
demand:
|
|
1077
|
+
demand: PositiveDateMap;
|
|
1189
1078
|
/**
|
|
1190
1079
|
* Regimen ID this is placebo of, or null if active.
|
|
1191
1080
|
*/
|
|
1192
1081
|
placeboOf: string | null;
|
|
1193
1082
|
}
|
|
1194
|
-
/**
|
|
1195
|
-
* Mapping of dates to positive numerical values.
|
|
1196
|
-
*/
|
|
1197
|
-
export interface PositiveDateMap1 {
|
|
1198
|
-
/**
|
|
1199
|
-
* This interface was referenced by `Sites`'s JSON-Schema definition
|
|
1200
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1201
|
-
*
|
|
1202
|
-
* This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
|
|
1203
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1204
|
-
*
|
|
1205
|
-
* This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
|
|
1206
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1207
|
-
*
|
|
1208
|
-
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1209
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1210
|
-
*
|
|
1211
|
-
* This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
|
|
1212
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1213
|
-
*
|
|
1214
|
-
* This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
|
|
1215
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1216
|
-
*/
|
|
1217
|
-
[k: string]: number;
|
|
1218
|
-
}
|
|
1219
1083
|
/**
|
|
1220
1084
|
* 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.
|
|
1221
1085
|
*/
|
|
@@ -1226,17 +1090,21 @@ export interface KitItemDemand {
|
|
|
1226
1090
|
* This interface was referenced by `KitItemDemand`'s JSON-Schema definition
|
|
1227
1091
|
* via the `patternProperty` ".*".
|
|
1228
1092
|
*/
|
|
1229
|
-
[k: string]:
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1093
|
+
[k: string]:
|
|
1094
|
+
| {
|
|
1095
|
+
/**
|
|
1096
|
+
* Mapping of item IDs to KitItemDemandEntry for this sequence period.
|
|
1097
|
+
*
|
|
1098
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1099
|
+
* via the `patternProperty` ".*".
|
|
1100
|
+
*/
|
|
1101
|
+
[k: string]:
|
|
1102
|
+
| {
|
|
1103
|
+
[k: string]: KitItemDemandEntry | undefined;
|
|
1104
|
+
}
|
|
1105
|
+
| undefined;
|
|
1106
|
+
}
|
|
1107
|
+
| undefined;
|
|
1240
1108
|
}
|
|
1241
1109
|
/**
|
|
1242
1110
|
* Kit item consumption entry with placeboOf tagging for active/placebo separation. Represents what patients actually receive, not supply demand.
|
|
@@ -1245,40 +1113,15 @@ export interface KitItemDemand {
|
|
|
1245
1113
|
* via the `patternProperty` ".*".
|
|
1246
1114
|
*/
|
|
1247
1115
|
export interface KitItemDemandEntry {
|
|
1248
|
-
demand:
|
|
1116
|
+
demand: PositiveDateMap;
|
|
1249
1117
|
/**
|
|
1250
1118
|
* Regimen ID this is placebo of, or null if active.
|
|
1251
1119
|
*/
|
|
1252
1120
|
placeboOf: string | null;
|
|
1253
1121
|
}
|
|
1254
|
-
/**
|
|
1255
|
-
* Mapping of dates to positive numerical values.
|
|
1256
|
-
*/
|
|
1257
|
-
export interface PositiveDateMap2 {
|
|
1258
|
-
/**
|
|
1259
|
-
* This interface was referenced by `Sites`'s JSON-Schema definition
|
|
1260
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1261
|
-
*
|
|
1262
|
-
* This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
|
|
1263
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1264
|
-
*
|
|
1265
|
-
* This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
|
|
1266
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1267
|
-
*
|
|
1268
|
-
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1269
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1270
|
-
*
|
|
1271
|
-
* This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
|
|
1272
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1273
|
-
*
|
|
1274
|
-
* This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
|
|
1275
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1276
|
-
*/
|
|
1277
|
-
[k: string]: number;
|
|
1278
|
-
}
|
|
1279
1122
|
/**
|
|
1280
1123
|
* Site seeding kit demand - kits shipped when sites activate (not treatment-driven). Keyed by kit ID.
|
|
1281
1124
|
*/
|
|
1282
1125
|
export interface SiteSeedingKitDemand {
|
|
1283
|
-
[k: string]: PositiveDateMap;
|
|
1126
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1284
1127
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
"license": "GPL-3.0",
|
|
5
5
|
"name": "@schemastore/abc-clinical-demand-forecast-1.0.0",
|
|
6
6
|
"private": false,
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/ffflorian/schemastore-updater.git"
|
|
10
|
+
},
|
|
8
11
|
"types": "index.d.ts",
|
|
9
|
-
"version": "1.0.
|
|
12
|
+
"version": "1.0.3"
|
|
10
13
|
}
|