@schemastore/abc-clinical-demand-forecast-3.0.0 1.0.0 → 1.0.1
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 +1 -1
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
|
*/
|
|
@@ -579,7 +578,7 @@ export interface Enrollment {
|
|
|
579
578
|
* Configuration of kits with containers and items, keyed by kit ID.
|
|
580
579
|
*/
|
|
581
580
|
export interface KitConfiguration {
|
|
582
|
-
[k: string]: Kit;
|
|
581
|
+
[k: string]: Kit | undefined;
|
|
583
582
|
}
|
|
584
583
|
/**
|
|
585
584
|
* A kit containing items and containers. The kit ID is the key in the kitConfiguration map.
|
|
@@ -595,7 +594,7 @@ export interface Kit {
|
|
|
595
594
|
* Items and containers within this kit, keyed by node ID.
|
|
596
595
|
*/
|
|
597
596
|
export interface Items {
|
|
598
|
-
[k: string]: KitNode;
|
|
597
|
+
[k: string]: KitNode | undefined;
|
|
599
598
|
}
|
|
600
599
|
/**
|
|
601
600
|
* A structural container (bottle, blister pack) that holds other nodes. The container ID is the key in the parent items/children map.
|
|
@@ -611,7 +610,7 @@ export interface KitContainer {
|
|
|
611
610
|
* Items contained within this container, keyed by node ID.
|
|
612
611
|
*/
|
|
613
612
|
export interface Children {
|
|
614
|
-
[k: string]: KitNode;
|
|
613
|
+
[k: string]: KitNode | undefined;
|
|
615
614
|
}
|
|
616
615
|
/**
|
|
617
616
|
* An actual pharmaceutical item (tablet, capsule, vial) with dosage. The item ID is the key in the parent items/children map.
|
|
@@ -629,7 +628,7 @@ export interface KitItem {
|
|
|
629
628
|
* Available dosing regimens for the study, keyed by ID.
|
|
630
629
|
*/
|
|
631
630
|
export interface DosingRegimens {
|
|
632
|
-
[k: string]: DosingRegimen;
|
|
631
|
+
[k: string]: DosingRegimen | undefined;
|
|
633
632
|
}
|
|
634
633
|
/**
|
|
635
634
|
* Dosing regimen configuration with nested dosingRegimenDefinition discriminated union.
|
|
@@ -687,7 +686,7 @@ export interface KitItemQuantities {
|
|
|
687
686
|
* This interface was referenced by `KitItemQuantities`'s JSON-Schema definition
|
|
688
687
|
* via the `patternProperty` ".*".
|
|
689
688
|
*/
|
|
690
|
-
[k: string]: number;
|
|
689
|
+
[k: string]: number | undefined;
|
|
691
690
|
}
|
|
692
691
|
/**
|
|
693
692
|
* Configuration for dose escalation levels.
|
|
@@ -699,26 +698,16 @@ export interface DoseEscalationConfiguration1 {
|
|
|
699
698
|
* Map of level IDs to dose escalation levels. Use ordering property to maintain display order.
|
|
700
699
|
*/
|
|
701
700
|
export interface EscalationLevels {
|
|
702
|
-
[k: string]: DoseEscalationLevel;
|
|
701
|
+
[k: string]: DoseEscalationLevel | undefined;
|
|
703
702
|
}
|
|
704
703
|
/**
|
|
705
704
|
* Base properties shared by all dose escalation level variants.
|
|
706
705
|
*/
|
|
707
706
|
export interface DoseEscalationLevelBase {
|
|
708
|
-
kitItemQuantities:
|
|
707
|
+
kitItemQuantities: KitItemQuantities;
|
|
709
708
|
ordering: Ordering;
|
|
710
709
|
[k: string]: unknown | undefined;
|
|
711
710
|
}
|
|
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
711
|
/**
|
|
723
712
|
* Configuration for weight-based dosing.
|
|
724
713
|
*/
|
|
@@ -730,7 +719,7 @@ export interface WeightBasedConfiguration1 {
|
|
|
730
719
|
* Map of range IDs to weight ranges for kit assignment. Use ordering property to maintain display order.
|
|
731
720
|
*/
|
|
732
721
|
export interface WeightRanges {
|
|
733
|
-
[k: string]: WeightRange;
|
|
722
|
+
[k: string]: WeightRange | undefined;
|
|
734
723
|
}
|
|
735
724
|
/**
|
|
736
725
|
* Weight range configuration for dosing.
|
|
@@ -739,22 +728,12 @@ export interface WeightRanges {
|
|
|
739
728
|
* via the `patternProperty` ".*".
|
|
740
729
|
*/
|
|
741
730
|
export interface WeightRange {
|
|
742
|
-
kitItemQuantities:
|
|
731
|
+
kitItemQuantities: KitItemQuantities;
|
|
743
732
|
fromWeight: FromWeight;
|
|
744
733
|
toWeight: ToWeight;
|
|
745
734
|
expectedPercentage: ExpectedPercentage;
|
|
746
735
|
ordering: Ordering;
|
|
747
736
|
}
|
|
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
737
|
/**
|
|
759
738
|
* Configuration for age-based dosing.
|
|
760
739
|
*/
|
|
@@ -766,7 +745,7 @@ export interface AgeBasedConfiguration1 {
|
|
|
766
745
|
* Map of range IDs to age ranges for kit assignment. Use ordering property to maintain display order.
|
|
767
746
|
*/
|
|
768
747
|
export interface AgeRanges {
|
|
769
|
-
[k: string]: AgeRange;
|
|
748
|
+
[k: string]: AgeRange | undefined;
|
|
770
749
|
}
|
|
771
750
|
/**
|
|
772
751
|
* Age range configuration for dosing.
|
|
@@ -775,22 +754,12 @@ export interface AgeRanges {
|
|
|
775
754
|
* via the `patternProperty` ".*".
|
|
776
755
|
*/
|
|
777
756
|
export interface AgeRange {
|
|
778
|
-
kitItemQuantities:
|
|
757
|
+
kitItemQuantities: KitItemQuantities;
|
|
779
758
|
fromAge: FromAge;
|
|
780
759
|
toAge: ToAge;
|
|
781
760
|
expectedPercentage: ExpectedPercentage;
|
|
782
761
|
ordering: Ordering;
|
|
783
762
|
}
|
|
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
763
|
/**
|
|
795
764
|
* Definition for a placebo regimen that references an active regimen.
|
|
796
765
|
*/
|
|
@@ -802,7 +771,7 @@ export interface PlaceboRegimenDefinition {
|
|
|
802
771
|
* Treatment arms in the clinical trial, keyed by ID.
|
|
803
772
|
*/
|
|
804
773
|
export interface TreatmentArms {
|
|
805
|
-
[k: string]: TreatmentArm;
|
|
774
|
+
[k: string]: TreatmentArm | undefined;
|
|
806
775
|
}
|
|
807
776
|
/**
|
|
808
777
|
* Treatment arm configuration from wizard step 5.
|
|
@@ -819,7 +788,7 @@ export interface TreatmentArm {
|
|
|
819
788
|
* Sequence of treatment and washout periods for this treatment arm.
|
|
820
789
|
*/
|
|
821
790
|
export interface DosingRegimenSequence {
|
|
822
|
-
[k: string]: SequencePeriod;
|
|
791
|
+
[k: string]: SequencePeriod | undefined;
|
|
823
792
|
}
|
|
824
793
|
/**
|
|
825
794
|
* Treatment period in a dosing regimen sequence.
|
|
@@ -848,7 +817,7 @@ export interface SubjectFlow {
|
|
|
848
817
|
* Region-specific site configuration, keyed by ID.
|
|
849
818
|
*/
|
|
850
819
|
export interface Countries {
|
|
851
|
-
[k: string]: RegionConfig;
|
|
820
|
+
[k: string]: RegionConfig | undefined;
|
|
852
821
|
}
|
|
853
822
|
/**
|
|
854
823
|
* Container node for grouping regions. Has subregions but no sites.
|
|
@@ -867,7 +836,7 @@ export interface RegionContainer {
|
|
|
867
836
|
* Child regions within this container.
|
|
868
837
|
*/
|
|
869
838
|
export interface Subregions {
|
|
870
|
-
[k: string]: RegionConfig;
|
|
839
|
+
[k: string]: RegionConfig | undefined;
|
|
871
840
|
}
|
|
872
841
|
/**
|
|
873
842
|
* Leaf node representing an operational region with sites.
|
|
@@ -899,16 +868,20 @@ export interface EnrollmentActuals {
|
|
|
899
868
|
* This interface was referenced by `EnrollmentActuals`'s JSON-Schema definition
|
|
900
869
|
* via the `patternProperty` ".*".
|
|
901
870
|
*/
|
|
902
|
-
[k: string]:
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
871
|
+
[k: string]:
|
|
872
|
+
| {
|
|
873
|
+
/**
|
|
874
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
875
|
+
* via the `patternProperty` ".*".
|
|
876
|
+
*/
|
|
877
|
+
[k: string]:
|
|
878
|
+
| {
|
|
879
|
+
total: TotalEnrolled;
|
|
880
|
+
byArm: EnrollmentByArm;
|
|
881
|
+
}
|
|
882
|
+
| undefined;
|
|
883
|
+
}
|
|
884
|
+
| undefined;
|
|
912
885
|
}
|
|
913
886
|
/**
|
|
914
887
|
* Enrollment count per treatment arm.
|
|
@@ -918,7 +891,7 @@ export interface EnrollmentByArm {
|
|
|
918
891
|
* This interface was referenced by `EnrollmentByArm`'s JSON-Schema definition
|
|
919
892
|
* via the `patternProperty` ".*".
|
|
920
893
|
*/
|
|
921
|
-
[k: string]: number;
|
|
894
|
+
[k: string]: number | undefined;
|
|
922
895
|
}
|
|
923
896
|
/**
|
|
924
897
|
* Actual site counts by region and month.
|
|
@@ -928,13 +901,15 @@ export interface SitesActuals {
|
|
|
928
901
|
* This interface was referenced by `SitesActuals`'s JSON-Schema definition
|
|
929
902
|
* via the `patternProperty` ".*".
|
|
930
903
|
*/
|
|
931
|
-
[k: string]:
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
904
|
+
[k: string]:
|
|
905
|
+
| {
|
|
906
|
+
/**
|
|
907
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
908
|
+
* via the `patternProperty` ".*".
|
|
909
|
+
*/
|
|
910
|
+
[k: string]: number | undefined;
|
|
911
|
+
}
|
|
912
|
+
| undefined;
|
|
938
913
|
}
|
|
939
914
|
/**
|
|
940
915
|
* Explanatory notes for enrollment actuals by region and month.
|
|
@@ -944,13 +919,15 @@ export interface ActualsNotes {
|
|
|
944
919
|
* This interface was referenced by `ActualsNotes`'s JSON-Schema definition
|
|
945
920
|
* via the `patternProperty` ".*".
|
|
946
921
|
*/
|
|
947
|
-
[k: string]:
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
922
|
+
[k: string]:
|
|
923
|
+
| {
|
|
924
|
+
/**
|
|
925
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
926
|
+
* via the `patternProperty` ".*".
|
|
927
|
+
*/
|
|
928
|
+
[k: string]: string | undefined;
|
|
929
|
+
}
|
|
930
|
+
| undefined;
|
|
954
931
|
}
|
|
955
932
|
/**
|
|
956
933
|
* Explanatory notes for site activation actuals by region and month.
|
|
@@ -960,13 +937,15 @@ export interface SiteActualsNotes {
|
|
|
960
937
|
* This interface was referenced by `SiteActualsNotes`'s JSON-Schema definition
|
|
961
938
|
* via the `patternProperty` ".*".
|
|
962
939
|
*/
|
|
963
|
-
[k: string]:
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
940
|
+
[k: string]:
|
|
941
|
+
| {
|
|
942
|
+
/**
|
|
943
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
944
|
+
* via the `patternProperty` ".*".
|
|
945
|
+
*/
|
|
946
|
+
[k: string]: string | undefined;
|
|
947
|
+
}
|
|
948
|
+
| undefined;
|
|
970
949
|
}
|
|
971
950
|
/**
|
|
972
951
|
* Calculated demand forecast with atomic monthly data per-region, per-arm.
|
|
@@ -1012,13 +991,13 @@ export interface Sites {
|
|
|
1012
991
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1013
992
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1014
993
|
*
|
|
1015
|
-
* This interface was referenced by `
|
|
994
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1016
995
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1017
996
|
*
|
|
1018
|
-
* This interface was referenced by `
|
|
997
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1019
998
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1020
999
|
*/
|
|
1021
|
-
[k: string]: number;
|
|
1000
|
+
[k: string]: number | undefined;
|
|
1022
1001
|
}
|
|
1023
1002
|
/**
|
|
1024
1003
|
* Monthly count of subjects screened this month.
|
|
@@ -1037,13 +1016,13 @@ export interface SubjectsScreened {
|
|
|
1037
1016
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1038
1017
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1039
1018
|
*
|
|
1040
|
-
* This interface was referenced by `
|
|
1019
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1041
1020
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1042
1021
|
*
|
|
1043
|
-
* This interface was referenced by `
|
|
1022
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1044
1023
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1045
1024
|
*/
|
|
1046
|
-
[k: string]: number;
|
|
1025
|
+
[k: string]: number | undefined;
|
|
1047
1026
|
}
|
|
1048
1027
|
/**
|
|
1049
1028
|
* Monthly count of subjects who failed screening this month.
|
|
@@ -1062,19 +1041,19 @@ export interface SubjectsScreenedOut {
|
|
|
1062
1041
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1063
1042
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1064
1043
|
*
|
|
1065
|
-
* This interface was referenced by `
|
|
1044
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1066
1045
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1067
1046
|
*
|
|
1068
|
-
* This interface was referenced by `
|
|
1047
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1069
1048
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1070
1049
|
*/
|
|
1071
|
-
[k: string]: number;
|
|
1050
|
+
[k: string]: number | undefined;
|
|
1072
1051
|
}
|
|
1073
1052
|
/**
|
|
1074
1053
|
* Monthly subjects enrolled, broken down by treatment arm.
|
|
1075
1054
|
*/
|
|
1076
1055
|
export interface SubjectsEnrolled {
|
|
1077
|
-
[k: string]: PositiveDateMap;
|
|
1056
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1078
1057
|
}
|
|
1079
1058
|
/**
|
|
1080
1059
|
* Mapping of dates to positive numerical values.
|
|
@@ -1108,31 +1087,31 @@ export interface PositiveDateMap {
|
|
|
1108
1087
|
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1109
1088
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1110
1089
|
*
|
|
1111
|
-
* This interface was referenced by `
|
|
1090
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1112
1091
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1113
1092
|
*
|
|
1114
|
-
* This interface was referenced by `
|
|
1093
|
+
* This interface was referenced by `PositiveDateMap`'s JSON-Schema definition
|
|
1115
1094
|
* via the `patternProperty` "^\d{4}-(0[1-9]|1[0-2])-01$".
|
|
1116
1095
|
*/
|
|
1117
|
-
[k: string]: number;
|
|
1096
|
+
[k: string]: number | undefined;
|
|
1118
1097
|
}
|
|
1119
1098
|
/**
|
|
1120
1099
|
* Monthly change in active subjects (new active this month), broken down by treatment arm.
|
|
1121
1100
|
*/
|
|
1122
1101
|
export interface SubjectsActive {
|
|
1123
|
-
[k: string]: PositiveDateMap;
|
|
1102
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1124
1103
|
}
|
|
1125
1104
|
/**
|
|
1126
1105
|
* Monthly subjects who completed treatment, broken down by treatment arm.
|
|
1127
1106
|
*/
|
|
1128
1107
|
export interface SubjectsCompleted {
|
|
1129
|
-
[k: string]: PositiveDateMap;
|
|
1108
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1130
1109
|
}
|
|
1131
1110
|
/**
|
|
1132
1111
|
* Monthly subjects who dropped out, broken down by treatment arm.
|
|
1133
1112
|
*/
|
|
1134
1113
|
export interface SubjectsDroppedOut {
|
|
1135
|
-
[k: string]: PositiveDateMap;
|
|
1114
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1136
1115
|
}
|
|
1137
1116
|
/**
|
|
1138
1117
|
* 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.
|
|
@@ -1144,17 +1123,21 @@ export interface KitDemand {
|
|
|
1144
1123
|
* This interface was referenced by `KitDemand`'s JSON-Schema definition
|
|
1145
1124
|
* via the `patternProperty` ".*".
|
|
1146
1125
|
*/
|
|
1147
|
-
[k: string]:
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1126
|
+
[k: string]:
|
|
1127
|
+
| {
|
|
1128
|
+
/**
|
|
1129
|
+
* Mapping of kit IDs to KitDemandEntry for this sequence period.
|
|
1130
|
+
*
|
|
1131
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1132
|
+
* via the `patternProperty` ".*".
|
|
1133
|
+
*/
|
|
1134
|
+
[k: string]:
|
|
1135
|
+
| {
|
|
1136
|
+
[k: string]: KitDemandEntry | undefined;
|
|
1137
|
+
}
|
|
1138
|
+
| undefined;
|
|
1139
|
+
}
|
|
1140
|
+
| undefined;
|
|
1158
1141
|
}
|
|
1159
1142
|
/**
|
|
1160
1143
|
* Kit demand with placeboOf tagging for active/placebo separation.
|
|
@@ -1163,37 +1146,12 @@ export interface KitDemand {
|
|
|
1163
1146
|
* via the `patternProperty` ".*".
|
|
1164
1147
|
*/
|
|
1165
1148
|
export interface KitDemandEntry {
|
|
1166
|
-
demand:
|
|
1149
|
+
demand: PositiveDateMap;
|
|
1167
1150
|
/**
|
|
1168
1151
|
* Regimen ID this is placebo of, or null if active.
|
|
1169
1152
|
*/
|
|
1170
1153
|
placeboOf: string | null;
|
|
1171
1154
|
}
|
|
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
1155
|
/**
|
|
1198
1156
|
* 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
1157
|
*/
|
|
@@ -1204,17 +1162,21 @@ export interface KitItemDemand {
|
|
|
1204
1162
|
* This interface was referenced by `KitItemDemand`'s JSON-Schema definition
|
|
1205
1163
|
* via the `patternProperty` ".*".
|
|
1206
1164
|
*/
|
|
1207
|
-
[k: string]:
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1165
|
+
[k: string]:
|
|
1166
|
+
| {
|
|
1167
|
+
/**
|
|
1168
|
+
* Mapping of item IDs to KitItemDemandEntry for this sequence period.
|
|
1169
|
+
*
|
|
1170
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1171
|
+
* via the `patternProperty` ".*".
|
|
1172
|
+
*/
|
|
1173
|
+
[k: string]:
|
|
1174
|
+
| {
|
|
1175
|
+
[k: string]: KitItemDemandEntry | undefined;
|
|
1176
|
+
}
|
|
1177
|
+
| undefined;
|
|
1178
|
+
}
|
|
1179
|
+
| undefined;
|
|
1218
1180
|
}
|
|
1219
1181
|
/**
|
|
1220
1182
|
* Kit item consumption entry with placeboOf tagging for active/placebo separation. Represents what patients actually receive, not supply demand.
|
|
@@ -1223,40 +1185,15 @@ export interface KitItemDemand {
|
|
|
1223
1185
|
* via the `patternProperty` ".*".
|
|
1224
1186
|
*/
|
|
1225
1187
|
export interface KitItemDemandEntry {
|
|
1226
|
-
demand:
|
|
1188
|
+
demand: PositiveDateMap;
|
|
1227
1189
|
/**
|
|
1228
1190
|
* Regimen ID this is placebo of, or null if active.
|
|
1229
1191
|
*/
|
|
1230
1192
|
placeboOf: string | null;
|
|
1231
1193
|
}
|
|
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
1194
|
/**
|
|
1258
1195
|
* Site seeding kit demand - kits shipped when sites activate (not treatment-driven). Keyed by kit ID.
|
|
1259
1196
|
*/
|
|
1260
1197
|
export interface SiteSeedingKitDemand {
|
|
1261
|
-
[k: string]: PositiveDateMap;
|
|
1198
|
+
[k: string]: PositiveDateMap | undefined;
|
|
1262
1199
|
}
|
package/package.json
CHANGED