-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from HDRUK/GAT-4754
Schema updates to HDRv3 and GWDMv2
- Loading branch information
Showing
60 changed files
with
2,965 additions
and
826 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from pydantic import BaseModel | ||
from enum import Enum | ||
|
||
class AgeEnum(Enum): | ||
DAYS_0_6 = '0-6 days' | ||
DAYS_7_27 = '7-27 days' | ||
MONTHS_1_11 = '1-11 months' | ||
YEARS_1_4 = '1-4 years' | ||
YEARS_5_9 = '5-9 years' | ||
YEARS_10_14 = '10-14 years' | ||
YEARS_15_19 = '15-19 years' | ||
YEARS_20_14 = '20-14 years' | ||
YEARS_25_29 = '25-29 years' | ||
YEARS_30_34 = '30-34 years' | ||
YEARS_35_39 = '35-39 years' | ||
YEARS_40_44 = '40-44 years' | ||
YEARS_45_49 = '45-49 years' | ||
YEARS_50_54 = '50-54 years' | ||
YEARS_55_59 = '55-59 years' | ||
YEARS_60_64 = '60-64 years' | ||
YEARS_65_69 = '65-69 years' | ||
YEARS_70_74 = '70-74 years' | ||
YEARS_75_79 = '75-79 years' | ||
YEARS_80_84 = '80-84 years' | ||
YEARS_85_89 = '85-89 years' | ||
YEARS_90_94 = '90-94 years' | ||
YEARS_65_99 = '65-99 years' | ||
YEARS_100_PLUS = '100+ years' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from enum import Enum | ||
|
||
class Assay(Enum): | ||
NMR_SPECTROSCOPY = 'NMR spectroscopy' | ||
MASS_SPECTROMETRY = 'mass-spectrometry' | ||
WHOLE_GENOME_SEQUENCING = 'whole genome sequencing' | ||
EXOME_SEQUENCING = 'exome sequencing' | ||
GENOTYPING_BY_ARRAY = 'genotyping by array' | ||
TRANSCRIPTOME_PROFILING_BY_HIGH_THROUGHPUT_SEQUENCING = 'transcriptome profiling by high-throughput sequencing' | ||
TRANSCRIPTOME_PROFILING_BY_ARRAY = 'transcriptome profiling by array' | ||
AMPLICON_SEQUENCING = 'amplicon sequencing' | ||
METHYLATION_BINDING_DOMAIN_SEQUENCING = 'methylation binding domain sequencing' | ||
METHYLATION_PROFILING_BY_HIGH_THROUGHPUT_SEQUENCING = 'methylation profiling by high-throughput sequencing' | ||
GENOMIC_VARIANT_CALLING = 'genomic variant calling' | ||
CHROMATIN_ACCESSIBILITY_PROFILING_BY_HIGH_THROUGHPUT_SEQUENCING = 'chromatin accessibility profiling by high-throughput sequencing' | ||
HISTONE_MODIFICATION_PROFILING_BY_HIGH_THROUGHPUT_SEQUENCING = 'histone modification profiling by high-throughput sequencing' | ||
CHROMATIN_IMMUNOPRECIPITATION_SEQUENCING = 'chromatin immunoprecipitation sequencing' | ||
WHOLE_GENOME_SHOTGUN_SEQUENCING = 'whole genome shotgun sequencing' | ||
WHOLE_TRANSCRIPTOME_SEQUENCING = 'whole transcriptome sequencing' | ||
TARGETED_MUTATION_ANALYSIS = 'targeted mutation analysis' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,252 @@ | ||
from enum import Enum | ||
|
||
class CountryCodeEnum(Enum): | ||
AF = 'AF' | ||
AL = 'AL' | ||
DZ = 'DZ' | ||
AS = 'AS' | ||
AD = 'AD' | ||
AO = 'AO' | ||
AI = 'AI' | ||
AQ = 'AQ' | ||
AG = 'AG' | ||
AR = 'AR' | ||
AM = 'AM' | ||
AW = 'AW' | ||
AU = 'AU' | ||
AT = 'AT' | ||
AZ = 'AZ' | ||
BS = 'BS' | ||
BH = 'BH' | ||
BD = 'BD' | ||
BB = 'BB' | ||
BY = 'BY' | ||
BE = 'BE' | ||
BZ = 'BZ' | ||
BJ = 'BJ' | ||
BM = 'BM' | ||
BT = 'BT' | ||
BO = 'BO' | ||
BQ = 'BQ' | ||
BA = 'BA' | ||
BW = 'BW' | ||
BV = 'BV' | ||
BR = 'BR' | ||
IO = 'IO' | ||
BN = 'BN' | ||
BG = 'BG' | ||
BF = 'BF' | ||
BI = 'BI' | ||
CV = 'CV' | ||
KH = 'KH' | ||
CM = 'CM' | ||
CA = 'CA' | ||
KY = 'KY' | ||
CF = 'CF' | ||
TD = 'TD' | ||
CL = 'CL' | ||
CN = 'CN' | ||
CX = 'CX' | ||
CC = 'CC' | ||
CO = 'CO' | ||
KM = 'KM' | ||
CD = 'CD' | ||
CG = 'CG' | ||
CK = 'CK' | ||
CR = 'CR' | ||
HR = 'HR' | ||
CU = 'CU' | ||
CW = 'CW' | ||
CY = 'CY' | ||
CZ = 'CZ' | ||
CI = 'CI' | ||
DK = 'DK' | ||
DJ = 'DJ' | ||
DM = 'DM' | ||
DO = 'DO' | ||
EC = 'EC' | ||
EG = 'EG' | ||
SV = 'SV' | ||
GQ = 'GQ' | ||
ER = 'ER' | ||
EE = 'EE' | ||
SZ = 'SZ' | ||
ET = 'ET' | ||
FK = 'FK' | ||
FO = 'FO' | ||
FJ = 'FJ' | ||
FI = 'FI' | ||
FR = 'FR' | ||
GF = 'GF' | ||
PF = 'PF' | ||
TF = 'TF' | ||
GA = 'GA' | ||
GM = 'GM' | ||
GE = 'GE' | ||
DE = 'DE' | ||
GH = 'GH' | ||
GI = 'GI' | ||
GR = 'GR' | ||
GL = 'GL' | ||
GD = 'GD' | ||
GP = 'GP' | ||
GU = 'GU' | ||
GT = 'GT' | ||
GG = 'GG' | ||
GN = 'GN' | ||
GW = 'GW' | ||
GY = 'GY' | ||
HT = 'HT' | ||
HM = 'HM' | ||
VA = 'VA' | ||
HN = 'HN' | ||
HK = 'HK' | ||
HU = 'HU' | ||
IS = 'IS' | ||
IN = 'IN' | ||
ID = 'ID' | ||
IR = 'IR' | ||
IQ = 'IQ' | ||
IE = 'IE' | ||
IM = 'IM' | ||
IL = 'IL' | ||
IT = 'IT' | ||
JM = 'JM' | ||
JP = 'JP' | ||
JE = 'JE' | ||
JO = 'JO' | ||
KZ = 'KZ' | ||
KE = 'KE' | ||
KI = 'KI' | ||
KP = 'KP' | ||
KR = 'KR' | ||
KW = 'KW' | ||
KG = 'KG' | ||
LA = 'LA' | ||
LV = 'LV' | ||
LB = 'LB' | ||
LS = 'LS' | ||
LR = 'LR' | ||
LY = 'LY' | ||
LI = 'LI' | ||
LT = 'LT' | ||
LU = 'LU' | ||
MO = 'MO' | ||
MG = 'MG' | ||
MW = 'MW' | ||
MY = 'MY' | ||
MV = 'MV' | ||
ML = 'ML' | ||
MT = 'MT' | ||
MH = 'MH' | ||
MQ = 'MQ' | ||
MR = 'MR' | ||
MU = 'MU' | ||
YT = 'YT' | ||
MX = 'MX' | ||
FM = 'FM' | ||
MD = 'MD' | ||
MC = 'MC' | ||
MN = 'MN' | ||
ME = 'ME' | ||
MS = 'MS' | ||
MA = 'MA' | ||
MZ = 'MZ' | ||
MM = 'MM' | ||
NA = 'NA' | ||
NR = 'NR' | ||
NP = 'NP' | ||
NL = 'NL' | ||
NC = 'NC' | ||
NZ = 'NZ' | ||
NI = 'NI' | ||
NE = 'NE' | ||
NG = 'NG' | ||
NU = 'NU' | ||
NF = 'NF' | ||
MK = 'MK' | ||
MP = 'MP' | ||
NO = 'NO' | ||
OM = 'OM' | ||
PK = 'PK' | ||
PW = 'PW' | ||
PS = 'PS' | ||
PA = 'PA' | ||
PG = 'PG' | ||
PY = 'PY' | ||
PE = 'PE' | ||
PH = 'PH' | ||
PN = 'PN' | ||
PL = 'PL' | ||
PT = 'PT' | ||
PR = 'PR' | ||
QA = 'QA' | ||
RO = 'RO' | ||
RU = 'RU' | ||
RW = 'RW' | ||
RE = 'RE' | ||
BL = 'BL' | ||
SH = 'SH' | ||
KN = 'KN' | ||
LC = 'LC' | ||
MF = 'MF' | ||
PM = 'PM' | ||
VC = 'VC' | ||
WS = 'WS' | ||
SM = 'SM' | ||
ST = 'ST' | ||
SA = 'SA' | ||
SN = 'SN' | ||
RS = 'RS' | ||
SC = 'SC' | ||
SL = 'SL' | ||
SG = 'SG' | ||
SX = 'SX' | ||
SK = 'SK' | ||
SI = 'SI' | ||
SB = 'SB' | ||
SO = 'SO' | ||
ZA = 'ZA' | ||
GS = 'GS' | ||
SS = 'SS' | ||
ES = 'ES' | ||
LK = 'LK' | ||
SD = 'SD' | ||
SR = 'SR' | ||
SJ = 'SJ' | ||
SE = 'SE' | ||
CH = 'CH' | ||
SY = 'SY' | ||
TW = 'TW' | ||
TJ = 'TJ' | ||
TZ = 'TZ' | ||
TH = 'TH' | ||
TL = 'TL' | ||
TG = 'TG' | ||
TK = 'TK' | ||
TO = 'TO' | ||
TT = 'TT' | ||
TN = 'TN' | ||
TM = 'TM' | ||
TC = 'TC' | ||
TV = 'TV' | ||
TR = 'TR' | ||
UG = 'UG' | ||
UA = 'UA' | ||
AE = 'AE' | ||
GB = 'GB' | ||
UM = 'UM' | ||
US = 'US' | ||
UY = 'UY' | ||
UZ = 'UZ' | ||
VU = 'VU' | ||
VE = 'VE' | ||
VN = 'VN' | ||
VG = 'VG' | ||
VI = 'VI' | ||
WF = 'WF' | ||
EH = 'EH' | ||
YE = 'YE' | ||
ZM = 'ZM' | ||
ZW = 'ZW' | ||
AX = 'AX' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.