@schemastore/abc-clinical-demand-forecast-1.0.0 1.0.2 → 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 +107 -170
- 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
|
*/
|
|
@@ -525,7 +524,7 @@ export interface Enrollment {
|
|
|
525
524
|
* Configuration of kits with containers and items, keyed by kit ID.
|
|
526
525
|
*/
|
|
527
526
|
export interface KitConfiguration {
|
|
528
|
-
[k: string]: Kit;
|
|
527
|
+
[k: string]: Kit | undefined;
|
|
529
528
|
}
|
|
530
529
|
/**
|
|
531
530
|
* A kit containing items and containers. The kit ID is the key in the kitConfiguration map.
|
|
@@ -541,7 +540,7 @@ export interface Kit {
|
|
|
541
540
|
* Items and containers within this kit, keyed by node ID.
|
|
542
541
|
*/
|
|
543
542
|
export interface Items {
|
|
544
|
-
[k: string]: KitNode;
|
|
543
|
+
[k: string]: KitNode | undefined;
|
|
545
544
|
}
|
|
546
545
|
/**
|
|
547
546
|
* A structural container (bottle, blister pack) that holds other nodes. The container ID is the key in the parent items/children map.
|
|
@@ -557,7 +556,7 @@ export interface KitContainer {
|
|
|
557
556
|
* Items contained within this container, keyed by node ID.
|
|
558
557
|
*/
|
|
559
558
|
export interface Children {
|
|
560
|
-
[k: string]: KitNode;
|
|
559
|
+
[k: string]: KitNode | undefined;
|
|
561
560
|
}
|
|
562
561
|
/**
|
|
563
562
|
* An actual pharmaceutical item (tablet, capsule, vial) with dosage. The item ID is the key in the parent items/children map.
|
|
@@ -575,7 +574,7 @@ export interface KitItem {
|
|
|
575
574
|
* Available dosing regimens for the study, keyed by ID.
|
|
576
575
|
*/
|
|
577
576
|
export interface DosingRegimens {
|
|
578
|
-
[k: string]: DosingRegimen;
|
|
577
|
+
[k: string]: DosingRegimen | undefined;
|
|
579
578
|
}
|
|
580
579
|
/**
|
|
581
580
|
* Dosing regimen configuration with nested dosingRegimenDefinition discriminated union.
|
|
@@ -615,7 +614,7 @@ export interface KitItemQuantities {
|
|
|
615
614
|
* This interface was referenced by `KitItemQuantities`'s JSON-Schema definition
|
|
616
615
|
* via the `patternProperty` ".*".
|
|
617
616
|
*/
|
|
618
|
-
[k: string]: number;
|
|
617
|
+
[k: string]: number | undefined;
|
|
619
618
|
}
|
|
620
619
|
/**
|
|
621
620
|
* Configuration for dose escalation levels.
|
|
@@ -627,26 +626,16 @@ export interface DoseEscalationConfiguration1 {
|
|
|
627
626
|
* Map of level IDs to dose escalation levels. Use ordering property to maintain display order.
|
|
628
627
|
*/
|
|
629
628
|
export interface EscalationLevels {
|
|
630
|
-
[k: string]: DoseEscalationLevel;
|
|
629
|
+
[k: string]: DoseEscalationLevel | undefined;
|
|
631
630
|
}
|
|
632
631
|
/**
|
|
633
632
|
* Base properties shared by all dose escalation level variants.
|
|
634
633
|
*/
|
|
635
634
|
export interface DoseEscalationLevelBase {
|
|
636
|
-
kitItemQuantities:
|
|
635
|
+
kitItemQuantities: KitItemQuantities;
|
|
637
636
|
ordering: Ordering;
|
|
638
637
|
[k: string]: unknown | undefined;
|
|
639
638
|
}
|
|
640
|
-
/**
|
|
641
|
-
* Mapping of kit item IDs to quantities consumed per dose at this escalation level.
|
|
642
|
-
*/
|
|
643
|
-
export interface KitItemQuantities1 {
|
|
644
|
-
/**
|
|
645
|
-
* This interface was referenced by `KitItemQuantities1`'s JSON-Schema definition
|
|
646
|
-
* via the `patternProperty` ".*".
|
|
647
|
-
*/
|
|
648
|
-
[k: string]: number;
|
|
649
|
-
}
|
|
650
639
|
/**
|
|
651
640
|
* Configuration for weight-based dosing.
|
|
652
641
|
*/
|
|
@@ -658,7 +647,7 @@ export interface WeightBasedConfiguration1 {
|
|
|
658
647
|
* Map of range IDs to weight ranges for kit assignment. Use ordering property to maintain display order.
|
|
659
648
|
*/
|
|
660
649
|
export interface WeightRanges {
|
|
661
|
-
[k: string]: WeightRange;
|
|
650
|
+
[k: string]: WeightRange | undefined;
|
|
662
651
|
}
|
|
663
652
|
/**
|
|
664
653
|
* Weight range configuration for dosing.
|
|
@@ -667,22 +656,12 @@ export interface WeightRanges {
|
|
|
667
656
|
* via the `patternProperty` ".*".
|
|
668
657
|
*/
|
|
669
658
|
export interface WeightRange {
|
|
670
|
-
kitItemQuantities:
|
|
659
|
+
kitItemQuantities: KitItemQuantities;
|
|
671
660
|
fromWeight: FromWeight;
|
|
672
661
|
toWeight: ToWeight;
|
|
673
662
|
expectedPercentage: ExpectedPercentage;
|
|
674
663
|
ordering: Ordering;
|
|
675
664
|
}
|
|
676
|
-
/**
|
|
677
|
-
* 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.
|
|
678
|
-
*/
|
|
679
|
-
export interface KitItemQuantities2 {
|
|
680
|
-
/**
|
|
681
|
-
* This interface was referenced by `KitItemQuantities2`'s JSON-Schema definition
|
|
682
|
-
* via the `patternProperty` ".*".
|
|
683
|
-
*/
|
|
684
|
-
[k: string]: number;
|
|
685
|
-
}
|
|
686
665
|
/**
|
|
687
666
|
* Configuration for age-based dosing.
|
|
688
667
|
*/
|
|
@@ -694,7 +673,7 @@ export interface AgeBasedConfiguration1 {
|
|
|
694
673
|
* Map of range IDs to age ranges for kit assignment. Use ordering property to maintain display order.
|
|
695
674
|
*/
|
|
696
675
|
export interface AgeRanges {
|
|
697
|
-
[k: string]: AgeRange;
|
|
676
|
+
[k: string]: AgeRange | undefined;
|
|
698
677
|
}
|
|
699
678
|
/**
|
|
700
679
|
* Age range configuration for dosing.
|
|
@@ -703,22 +682,12 @@ export interface AgeRanges {
|
|
|
703
682
|
* via the `patternProperty` ".*".
|
|
704
683
|
*/
|
|
705
684
|
export interface AgeRange {
|
|
706
|
-
kitItemQuantities:
|
|
685
|
+
kitItemQuantities: KitItemQuantities;
|
|
707
686
|
fromAge: FromAge;
|
|
708
687
|
toAge: ToAge;
|
|
709
688
|
expectedPercentage: ExpectedPercentage;
|
|
710
689
|
ordering: Ordering;
|
|
711
690
|
}
|
|
712
|
-
/**
|
|
713
|
-
* 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.
|
|
714
|
-
*/
|
|
715
|
-
export interface KitItemQuantities3 {
|
|
716
|
-
/**
|
|
717
|
-
* This interface was referenced by `KitItemQuantities3`'s JSON-Schema definition
|
|
718
|
-
* via the `patternProperty` ".*".
|
|
719
|
-
*/
|
|
720
|
-
[k: string]: number;
|
|
721
|
-
}
|
|
722
691
|
/**
|
|
723
692
|
* Definition for a placebo regimen that references an active regimen.
|
|
724
693
|
*/
|
|
@@ -730,7 +699,7 @@ export interface PlaceboRegimenDefinition {
|
|
|
730
699
|
* Treatment arms in the clinical trial, keyed by ID.
|
|
731
700
|
*/
|
|
732
701
|
export interface TreatmentArms {
|
|
733
|
-
[k: string]: TreatmentArm;
|
|
702
|
+
[k: string]: TreatmentArm | undefined;
|
|
734
703
|
}
|
|
735
704
|
/**
|
|
736
705
|
* Treatment arm configuration from wizard step 5.
|
|
@@ -747,7 +716,7 @@ export interface TreatmentArm {
|
|
|
747
716
|
* Sequence of treatment and washout periods for this treatment arm.
|
|
748
717
|
*/
|
|
749
718
|
export interface DosingRegimenSequence {
|
|
750
|
-
[k: string]: SequencePeriod;
|
|
719
|
+
[k: string]: SequencePeriod | undefined;
|
|
751
720
|
}
|
|
752
721
|
/**
|
|
753
722
|
* Treatment period in a dosing regimen sequence.
|
|
@@ -776,7 +745,7 @@ export interface SubjectFlow {
|
|
|
776
745
|
* Region-specific site configuration, keyed by ID.
|
|
777
746
|
*/
|
|
778
747
|
export interface Countries {
|
|
779
|
-
[k: string]: RegionConfig;
|
|
748
|
+
[k: string]: RegionConfig | undefined;
|
|
780
749
|
}
|
|
781
750
|
/**
|
|
782
751
|
* Container node for grouping regions. Has subregions but no sites.
|
|
@@ -795,7 +764,7 @@ export interface RegionContainer {
|
|
|
795
764
|
* Child regions within this container.
|
|
796
765
|
*/
|
|
797
766
|
export interface Subregions {
|
|
798
|
-
[k: string]: RegionConfig;
|
|
767
|
+
[k: string]: RegionConfig | undefined;
|
|
799
768
|
}
|
|
800
769
|
/**
|
|
801
770
|
* Leaf node representing an operational region with sites.
|
|
@@ -827,16 +796,20 @@ export interface EnrollmentActuals {
|
|
|
827
796
|
* This interface was referenced by `EnrollmentActuals`'s JSON-Schema definition
|
|
828
797
|
* via the `patternProperty` ".*".
|
|
829
798
|
*/
|
|
830
|
-
[k: string]:
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
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;
|
|
840
813
|
}
|
|
841
814
|
/**
|
|
842
815
|
* Enrollment count per treatment arm.
|
|
@@ -846,7 +819,7 @@ export interface EnrollmentByArm {
|
|
|
846
819
|
* This interface was referenced by `EnrollmentByArm`'s JSON-Schema definition
|
|
847
820
|
* via the `patternProperty` ".*".
|
|
848
821
|
*/
|
|
849
|
-
[k: string]: number;
|
|
822
|
+
[k: string]: number | undefined;
|
|
850
823
|
}
|
|
851
824
|
/**
|
|
852
825
|
* Actual site counts by region and month.
|
|
@@ -856,13 +829,15 @@ export interface SitesActuals {
|
|
|
856
829
|
* This interface was referenced by `SitesActuals`'s JSON-Schema definition
|
|
857
830
|
* via the `patternProperty` ".*".
|
|
858
831
|
*/
|
|
859
|
-
[k: string]:
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
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;
|
|
866
841
|
}
|
|
867
842
|
/**
|
|
868
843
|
* Explanatory notes for enrollment actuals by region and month.
|
|
@@ -872,13 +847,15 @@ export interface ActualsNotes {
|
|
|
872
847
|
* This interface was referenced by `ActualsNotes`'s JSON-Schema definition
|
|
873
848
|
* via the `patternProperty` ".*".
|
|
874
849
|
*/
|
|
875
|
-
[k: string]:
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
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;
|
|
882
859
|
}
|
|
883
860
|
/**
|
|
884
861
|
* Explanatory notes for site activation actuals by region and month.
|
|
@@ -888,13 +865,15 @@ export interface SiteActualsNotes {
|
|
|
888
865
|
* This interface was referenced by `SiteActualsNotes`'s JSON-Schema definition
|
|
889
866
|
* via the `patternProperty` ".*".
|
|
890
867
|
*/
|
|
891
|
-
[k: string]:
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
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;
|
|
898
877
|
}
|
|
899
878
|
/**
|
|
900
879
|
* Calculated demand forecast with atomic monthly data per-region, per-arm.
|
|
@@ -940,13 +919,13 @@ export interface Sites {
|
|
|
940
919
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
941
920
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
942
921
|
*
|
|
943
|
-
* This interface was referenced by `
|
|
922
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
944
923
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
945
924
|
*
|
|
946
|
-
* This interface was referenced by `
|
|
925
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
947
926
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
948
927
|
*/
|
|
949
|
-
[k: string]: number;
|
|
928
|
+
[k: string]: number | undefined;
|
|
950
929
|
}
|
|
951
930
|
/**
|
|
952
931
|
* Monthly count of subjects screened this month.
|
|
@@ -965,13 +944,13 @@ export interface SubjectsScreened {
|
|
|
965
944
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
966
945
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
967
946
|
*
|
|
968
|
-
* This interface was referenced by `
|
|
947
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
969
948
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
970
949
|
*
|
|
971
|
-
* This interface was referenced by `
|
|
950
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
972
951
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
973
952
|
*/
|
|
974
|
-
[k: string]: number;
|
|
953
|
+
[k: string]: number | undefined;
|
|
975
954
|
}
|
|
976
955
|
/**
|
|
977
956
|
* Monthly count of subjects who failed screening this month.
|
|
@@ -990,19 +969,19 @@ export interface SubjectsScreenedOut {
|
|
|
990
969
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
991
970
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
992
971
|
*
|
|
993
|
-
* This interface was referenced by `
|
|
972
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
994
973
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
995
974
|
*
|
|
996
|
-
* This interface was referenced by `
|
|
975
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
997
976
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
998
977
|
*/
|
|
999
|
-
[k: string]: number;
|
|
978
|
+
[k: string]: number | undefined;
|
|
1000
979
|
}
|
|
1001
980
|
/**
|
|
1002
981
|
* Monthly subjects enrolled, broken down by treatment arm.
|
|
1003
982
|
*/
|
|
1004
983
|
export interface SubjectsEnrolled {
|
|
1005
|
-
[k: string]: PositiveDateMap;
|
|
984
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1006
985
|
}
|
|
1007
986
|
/**
|
|
1008
987
|
* Mapping of dates to positive numerical values.
|
|
@@ -1036,31 +1015,31 @@ export interface PositiveDateMap {
|
|
|
1036
1015
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1037
1016
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1038
1017
|
*
|
|
1039
|
-
* This interface was referenced by `
|
|
1018
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1040
1019
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1041
1020
|
*
|
|
1042
|
-
* This interface was referenced by `
|
|
1021
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1043
1022
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1044
1023
|
*/
|
|
1045
|
-
[k: string]: number;
|
|
1024
|
+
[k: string]: number | undefined;
|
|
1046
1025
|
}
|
|
1047
1026
|
/**
|
|
1048
1027
|
* Monthly change in active subjects (new active this month), broken down by treatment arm.
|
|
1049
1028
|
*/
|
|
1050
1029
|
export interface SubjectsActive {
|
|
1051
|
-
[k: string]: PositiveDateMap;
|
|
1030
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1052
1031
|
}
|
|
1053
1032
|
/**
|
|
1054
1033
|
* Monthly subjects who completed treatment, broken down by treatment arm.
|
|
1055
1034
|
*/
|
|
1056
1035
|
export interface SubjectsCompleted {
|
|
1057
|
-
[k: string]: PositiveDateMap;
|
|
1036
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1058
1037
|
}
|
|
1059
1038
|
/**
|
|
1060
1039
|
* Monthly subjects who dropped out, broken down by treatment arm.
|
|
1061
1040
|
*/
|
|
1062
1041
|
export interface SubjectsDroppedOut {
|
|
1063
|
-
[k: string]: PositiveDateMap;
|
|
1042
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1064
1043
|
}
|
|
1065
1044
|
/**
|
|
1066
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.
|
|
@@ -1072,17 +1051,21 @@ export interface KitDemand {
|
|
|
1072
1051
|
* This interface was referenced by `KitDemand`'s JSON-Schema definition
|
|
1073
1052
|
* via the `patternProperty` ".*".
|
|
1074
1053
|
*/
|
|
1075
|
-
[k: string]:
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
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;
|
|
1086
1069
|
}
|
|
1087
1070
|
/**
|
|
1088
1071
|
* Kit demand with placeboOf tagging for active/placebo separation.
|
|
@@ -1091,37 +1074,12 @@ export interface KitDemand {
|
|
|
1091
1074
|
* via the `patternProperty` ".*".
|
|
1092
1075
|
*/
|
|
1093
1076
|
export interface KitDemandEntry {
|
|
1094
|
-
demand:
|
|
1077
|
+
demand: PositiveDateMap;
|
|
1095
1078
|
/**
|
|
1096
1079
|
* Regimen ID this is placebo of, or null if active.
|
|
1097
1080
|
*/
|
|
1098
1081
|
placeboOf: string | null;
|
|
1099
1082
|
}
|
|
1100
|
-
/**
|
|
1101
|
-
* Mapping of dates to positive numerical values.
|
|
1102
|
-
*/
|
|
1103
|
-
export interface PositiveDateMap1 {
|
|
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
1083
|
/**
|
|
1126
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.
|
|
1127
1085
|
*/
|
|
@@ -1132,17 +1090,21 @@ export interface KitItemDemand {
|
|
|
1132
1090
|
* This interface was referenced by `KitItemDemand`'s JSON-Schema definition
|
|
1133
1091
|
* via the `patternProperty` ".*".
|
|
1134
1092
|
*/
|
|
1135
|
-
[k: string]:
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
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;
|
|
1146
1108
|
}
|
|
1147
1109
|
/**
|
|
1148
1110
|
* Kit item consumption entry with placeboOf tagging for active/placebo separation. Represents what patients actually receive, not supply demand.
|
|
@@ -1151,40 +1113,15 @@ export interface KitItemDemand {
|
|
|
1151
1113
|
* via the `patternProperty` ".*".
|
|
1152
1114
|
*/
|
|
1153
1115
|
export interface KitItemDemandEntry {
|
|
1154
|
-
demand:
|
|
1116
|
+
demand: PositiveDateMap;
|
|
1155
1117
|
/**
|
|
1156
1118
|
* Regimen ID this is placebo of, or null if active.
|
|
1157
1119
|
*/
|
|
1158
1120
|
placeboOf: string | null;
|
|
1159
1121
|
}
|
|
1160
|
-
/**
|
|
1161
|
-
* Mapping of dates to positive numerical values.
|
|
1162
|
-
*/
|
|
1163
|
-
export interface PositiveDateMap2 {
|
|
1164
|
-
/**
|
|
1165
|
-
* This interface was referenced by `Sites`'s JSON-Schema definition
|
|
1166
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1167
|
-
*
|
|
1168
|
-
* This interface was referenced by `SubjectsScreened`'s JSON-Schema definition
|
|
1169
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1170
|
-
*
|
|
1171
|
-
* This interface was referenced by `SubjectsScreenedOut`'s JSON-Schema definition
|
|
1172
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1173
|
-
*
|
|
1174
|
-
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1175
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1176
|
-
*
|
|
1177
|
-
* This interface was referenced by `PositiveDateMap1`'s JSON-Schema definition
|
|
1178
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1179
|
-
*
|
|
1180
|
-
* This interface was referenced by `PositiveDateMap2`'s JSON-Schema definition
|
|
1181
|
-
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1182
|
-
*/
|
|
1183
|
-
[k: string]: number;
|
|
1184
|
-
}
|
|
1185
1122
|
/**
|
|
1186
1123
|
* Site seeding kit demand - kits shipped when sites activate (not treatment-driven). Keyed by kit ID.
|
|
1187
1124
|
*/
|
|
1188
1125
|
export interface SiteSeedingKitDemand {
|
|
1189
|
-
[k: string]: PositiveDateMap;
|
|
1126
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1190
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
|
}
|