Skip to content

Commit 483acf9

Browse files
authored
Merge pull request #144 from Public-Health-Bioinformatics/CanCoGen-vocabulary-fix
Purpose of sampling hierarchy tweak
2 parents 1ef3682 + 33b8740 commit 483acf9

File tree

4 files changed

+359
-289
lines changed

4 files changed

+359
-289
lines changed

script/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* main.html?template=test_template
1212
*
1313
*/
14-
const VERSION = '0.13.14';
14+
const VERSION = '0.13.15';
1515
const TEMPLATES = {
1616
'CanCOGeN Covid-19': {'folder': 'canada_covid19', 'status': 'published'},
1717
'PHAC Dexa (ALPHA)': {'folder': 'phac_dexa', 'status': 'draft'},

template/canada_covid19/data.js

+17-17
Original file line numberDiff line numberDiff line change
@@ -968,9 +968,7 @@ var DATA = [
968968
"vocabulary": {
969969
"Cluster/Outbreak investigation": {},
970970
"Diagnostic testing": {},
971-
"Research": {
972-
"Viral passage experiment": {}
973-
},
971+
"Research": {},
974972
"Surveillance": {}
975973
}
976974
},
@@ -1096,7 +1094,7 @@ var DATA = [
10961094
],
10971095
"BIOSAMPLE": [
10981096
{
1099-
"field": "anatomical_material"
1097+
"field": "isolation_source|anatomical_material"
11001098
}
11011099
]
11021100
},
@@ -1145,7 +1143,7 @@ var DATA = [
11451143
],
11461144
"BIOSAMPLE": [
11471145
{
1148-
"field": "anatomical_part"
1146+
"field": "isolation_source|anatomical_part"
11491147
}
11501148
]
11511149
},
@@ -1214,7 +1212,7 @@ var DATA = [
12141212
],
12151213
"BIOSAMPLE": [
12161214
{
1217-
"field": "body_product"
1215+
"field": "isolation_source|body_product"
12181216
}
12191217
]
12201218
},
@@ -1262,7 +1260,7 @@ var DATA = [
12621260
],
12631261
"BIOSAMPLE": [
12641262
{
1265-
"field": "environmental_material"
1263+
"field": "isolation_source|environmental_material"
12661264
}
12671265
]
12681266
},
@@ -1287,6 +1285,7 @@ var DATA = [
12871285
"N95 mask": {},
12881286
"Nurse call button": {},
12891287
"Paper": {},
1288+
"Particulate matter": {},
12901289
"Plastic": {},
12911290
"PPE gown": {},
12921291
"Sewage": {},
@@ -1332,7 +1331,7 @@ var DATA = [
13321331
],
13331332
"BIOSAMPLE": [
13341333
{
1335-
"field": "environmental_site"
1334+
"field": "isolation_source|environmental_site"
13361335
}
13371336
]
13381337
},
@@ -1392,7 +1391,7 @@ var DATA = [
13921391
],
13931392
"BIOSAMPLE": [
13941393
{
1395-
"field": "collection_device"
1394+
"field": "isolation_source|collection_device"
13961395
}
13971396
]
13981397
},
@@ -1448,7 +1447,7 @@ var DATA = [
14481447
],
14491448
"BIOSAMPLE": [
14501449
{
1451-
"field": "collection_method"
1450+
"field": "isolation_source|collection_method"
14521451
}
14531452
]
14541453
},
@@ -2283,8 +2282,9 @@ var DATA = [
22832282
"Hemoptysis (coughing up blood)": {},
22842283
"Hypocapnia": {},
22852284
"Hypotension (low blood pressure)": {},
2286-
"Hypoxemia (low blood oxygen)": {},
2287-
"Silent hypoxemia": {},
2285+
"Hypoxemia (low blood oxygen)": {
2286+
"Silent hypoxemia": {}
2287+
},
22882288
"Internal hemorrhage (internal bleeding)": {},
22892289
"Loss of Fine Movements": {},
22902290
"Low appetite": {},
@@ -2873,7 +2873,7 @@ var DATA = [
28732873
"Potluck": {},
28742874
"Wedding": {}
28752875
},
2876-
"Other": {}
2876+
"Other exposure event": {}
28772877
}
28782878
},
28792879
{
@@ -2947,7 +2947,7 @@ var DATA = [
29472947
"Laboratory Worker": {},
29482948
"Rotational Worker": {},
29492949
"Seasonal Worker": {},
2950-
"Vet": {}
2950+
"Veterinarian": {}
29512951
},
29522952
"Social role": {
29532953
"Acquaintance of case": {},
@@ -2959,7 +2959,7 @@ var DATA = [
29592959
},
29602960
"Spouse of case": {}
29612961
},
2962-
"Other": {}
2962+
"Other Host Role": {}
29632963
}
29642964
},
29652965
{
@@ -3034,7 +3034,7 @@ var DATA = [
30343034
"Homeless Shelter": {},
30353035
"Hotel": {}
30363036
},
3037-
"Vet": {}
3037+
"Veterinary Care Clinic": {}
30383038
},
30393039
"Travel Exposure": {
30403040
"Travelled": {},
@@ -3044,7 +3044,7 @@ var DATA = [
30443044
"Travelled outside Province/Territory": {},
30453045
"Travelled outside Canada": {}
30463046
},
3047-
"Other": {}
3047+
"Other Exposure Setting": {}
30483048
}
30493049
},
30503050
{

0 commit comments

Comments
 (0)