Skip to content

Commit

Permalink
Cancogen bug fix to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ddooley committed Nov 12, 2024
1 parent 1a47660 commit f3c94cc
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 26 deletions.
40 changes: 25 additions & 15 deletions web/templates/canada_covid19/locales/fr/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,7 @@
"UmbrellaBioprojectAccessionMenu": {
"name": "UmbrellaBioprojectAccessionMenu",
"title": "Menu « Accès au bioprojet cadre »",
"from_schema": "https://example.com/CanCOGeN_Covid-19",
"permissible_values": {
"day 1": {
"text": "day 1",
"title": "Jour 1"
},
"day 8": {
"text": "day 8",
"title": "Jour 8"
},
"day 10": {
"text": "day 10",
"title": "Jour 10"
}
}
"from_schema": "https://example.com/CanCOGeN_Covid-19"
},
"NullValueMenu": {
"name": "NullValueMenu",
Expand Down Expand Up @@ -2295,6 +2281,11 @@
}
}
},
"HostDiseaseMenu": {
"name": "HostDiseaseMenu",
"title": "Menu « Maladie de l’hôte »",
"from_schema": "https://example.com/CanCOGeN_Covid-19"
},
"HostAgeBinMenu": {
"name": "HostAgeBinMenu",
"title": "Menu « Groupe d’âge de l’hôte »",
Expand Down Expand Up @@ -2858,6 +2849,25 @@
}
}
},
"BorderTestingTestDayTypeMenu": {
"name": "BorderTestingTestDayTypeMenu",
"title": "Menu « Jour du dépistage à la frontière »",
"from_schema": "https://example.com/CanCOGeN_Covid-19",
"permissible_values": {
"day 1": {
"text": "day 1",
"title": "Jour 1"
},
"day 8": {
"text": "day 8",
"title": "Jour 8"
},
"day 10": {
"text": "day 10",
"title": "Jour 10"
}
}
},
"TravelHistoryAvailabilityMenu": {
"name": "TravelHistoryAvailabilityMenu",
"title": "Menu « Disponibilité des antécédents de voyage »",
Expand Down
22 changes: 15 additions & 7 deletions web/templates/canada_covid19/locales/fr/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2198,13 +2198,7 @@ slots:
enums:
UmbrellaBioprojectAccessionMenu:
name: UmbrellaBioprojectAccessionMenu
permissible_values:
day 1:
title: Jour 1
day 8:
title: Jour 8
day 10:
title: Jour 10
permissible_values: {}
title: "Menu \xAB\_Acc\xE8s au bioprojet cadre\_\xBB"
NullValueMenu:
name: NullValueMenu
Expand Down Expand Up @@ -3355,6 +3349,10 @@ enums:
VeroE6/TMPRSS2 cell line:
title: "Lign\xE9e cellulaire VeroE6/TMPRSS2"
title: "Menu \xAB\_Laboratoire h\xF4te\_\xBB"
HostDiseaseMenu:
name: HostDiseaseMenu
permissible_values: {}
title: "Menu \xAB\_Maladie de l\u2019h\xF4te\_\xBB"
HostAgeBinMenu:
name: HostAgeBinMenu
permissible_values: {}
Expand Down Expand Up @@ -3642,6 +3640,16 @@ enums:
Land:
title: Voie terrestre
title: "Menu \xAB\_ Type de point d\u2019entr\xE9e du voyage\_\xBB"
BorderTestingTestDayTypeMenu:
name: BorderTestingTestDayTypeMenu
permissible_values:
day 1:
title: Jour 1
day 8:
title: Jour 8
day 10:
title: Jour 10
title: "Menu \xAB\_Jour du d\xE9pistage \xE0 la fronti\xE8re\_\xBB"
TravelHistoryAvailabilityMenu:
name: TravelHistoryAvailabilityMenu
permissible_values:
Expand Down
18 changes: 16 additions & 2 deletions web/templates/canada_covid19/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2919,7 +2919,14 @@
"text": "VeroE6/TMPRSS2 cell line",
"meaning": "GENEPIO:0100044",
"is_a": "Vero E6 cell line"
},
}
}
},
"HostDiseaseMenu": {
"name": "HostDiseaseMenu",
"title": "host disease menu",
"from_schema": "https://example.com/CanCOGeN_Covid-19",
"permissible_values": {
"COVID-19": {
"text": "COVID-19",
"meaning": "MONDO:0100096"
Expand Down Expand Up @@ -3669,7 +3676,14 @@
"Land": {
"text": "Land",
"meaning": "GENEPIO:0100409"
},
}
}
},
"BorderTestingTestDayTypeMenu": {
"name": "BorderTestingTestDayTypeMenu",
"title": "border testing test day type menu",
"from_schema": "https://example.com/CanCOGeN_Covid-19",
"permissible_values": {
"day 1": {
"text": "day 1",
"meaning": "GENEPIO:0100410"
Expand Down
8 changes: 8 additions & 0 deletions web/templates/canada_covid19/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4790,6 +4790,10 @@ enums:
text: VeroE6/TMPRSS2 cell line
meaning: GENEPIO:0100044
is_a: Vero E6 cell line
HostDiseaseMenu:
name: HostDiseaseMenu
title: host disease menu
permissible_values:
COVID-19:
text: COVID-19
meaning: MONDO:0100096
Expand Down Expand Up @@ -5369,6 +5373,10 @@ enums:
Land:
text: Land
meaning: GENEPIO:0100409
BorderTestingTestDayTypeMenu:
name: BorderTestingTestDayTypeMenu
title: border testing test day type menu
permissible_values:
day 1:
text: day 1
meaning: GENEPIO:0100410
Expand Down
4 changes: 2 additions & 2 deletions web/templates/canada_covid19/schema_enums.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ lab host menu LabHostMenu Menu « Laboratoire hôte » GENEPIO:0100041 293/ACE
GENEPIO:0100044 VeroE6/TMPRSS2 cell line Lignée cellulaire VeroE6/TMPRSS2


host disease menu UmbrellaBioprojectAccessionMenu Menu « Maladie de l’hôte » MONDO:0100096 COVID-19 COVID-19
host disease menu HostDiseaseMenu Menu « Maladie de l’hôte » MONDO:0100096 COVID-19 COVID-19


host age bin menu HostAgeBinMenu Menu « Groupe d’âge de l’hôte » GENEPIO:0100049 0 - 9 0 - 9
Expand Down Expand Up @@ -778,7 +778,7 @@ travel point of entry type menu TravelPointOfEntryTypeMenu Menu «  Type de poi
GENEPIO:0100409 Land Voie terrestre


border testing test day type menu UmbrellaBioprojectAccessionMenu Menu « Jour du dépistage à la frontière » GENEPIO:0100410 day 1 Jour 1
border testing test day type menu BorderTestingTestDayTypeMenu Menu « Jour du dépistage à la frontière » GENEPIO:0100410 day 1 Jour 1
GENEPIO:0100411 day 8 Jour 8
GENEPIO:0100412 day 10 Jour 10

Expand Down

0 comments on commit f3c94cc

Please sign in to comment.