Skip to content

Commit cca0631

Browse files
authored
Merge pull request #469 from The-Strategy-Unit/464-covid-schema
Remove covid from JSON schema
2 parents d12280f + 7c4d271 commit cca0631

File tree

2 files changed

+17
-52
lines changed

2 files changed

+17
-52
lines changed

params-schema.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@
8080
"health_status_adjustment": {
8181
"type": "boolean"
8282
},
83-
"covid_adjustment": {
84-
"$ref": "#/$defs/covid_and_ndg"
85-
},
8683
"expat": {
8784
"$ref": "#/$defs/expat"
8885
},
@@ -176,7 +173,7 @@
176173
"type": "string"
177174
},
178175
"values": {
179-
"$ref": "#/$defs/covid_and_ndg"
176+
"$ref": "#/$defs/ndg"
180177
}
181178
},
182179
"required": [
@@ -563,9 +560,6 @@
563560
"time_profile_mappings": {
564561
"type": "object",
565562
"properties": {
566-
"covid_adjustment": {
567-
"$ref": "#/$defs/timeprofileMappings"
568-
},
569563
"baseline_adjustment": {
570564
"$ref": "#/$defs/timeprofileMappings"
571565
},
@@ -902,7 +896,6 @@
902896
}
903897
},
904898
"required": [
905-
"covid_adjustment",
906899
"baseline_adjustment",
907900
"expat",
908901
"repat_local",
@@ -1209,7 +1202,7 @@
12091202
},
12101203
"additionalProperties": false
12111204
},
1212-
"covid_and_ndg": {
1205+
"ndg": {
12131206
"type": "object",
12141207
"properties": {
12151208
"ip": {
@@ -1443,7 +1436,6 @@
14431436
"app_version",
14441437
"demographic_factors",
14451438
"health_status_adjustment",
1446-
"covid_adjustment",
14471439
"expat",
14481440
"repat_local",
14491441
"repat_nonlocal",
@@ -1455,4 +1447,4 @@
14551447
"efficiencies",
14561448
"time_profile_mappings"
14571449
]
1458-
}
1450+
}

queue/params-sample.json

Lines changed: 14 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -40,45 +40,19 @@
4040
}
4141
}
4242
},
43-
"covid_adjustment": {
44-
"aae": {
45-
"ambulance": [
46-
1.014531,
47-
1.014531
48-
],
49-
"walk-in": [
50-
1.031919,
51-
1.031919
52-
]
53-
},
54-
"ip": {
55-
"elective": [
56-
1.023074,
57-
1.023074
58-
],
59-
"maternity": [
60-
1.011324,
61-
1.011324
62-
],
63-
"non-elective": [
64-
1.016637,
65-
1.016637
66-
]
67-
},
68-
"op": {
69-
"first": [
70-
1.017960,
71-
1.017960
72-
],
73-
"followup": [
74-
1.014095,
75-
1.014095
76-
],
77-
"procedure": [
78-
1.026097,
79-
1.026097
80-
]
81-
}
43+
"op": {
44+
"first": [
45+
1.017960,
46+
1.017960
47+
],
48+
"followup": [
49+
1.014095,
50+
1.014095
51+
],
52+
"procedure": [
53+
1.026097,
54+
1.026097
55+
]
8256
},
8357
"expat": {
8458
"ip": {
@@ -1485,7 +1459,6 @@
14851459
}
14861460
},
14871461
"time_profile_mappings": {
1488-
"covid_adjustment": "none",
14891462
"baseline_adjustment": "none",
14901463
"expat": "linear",
14911464
"repat_local": "linear",
@@ -1600,4 +1573,4 @@
16001573
},
16011574
"waiting_list_adjustment": "linear"
16021575
}
1603-
}
1576+
}

0 commit comments

Comments
 (0)