Skip to content

Commit

Permalink
coverage is too strict for the GWDM 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
calmacx committed Feb 12, 2024
1 parent 1b7b007 commit 6f63c6d
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 211 deletions.
42 changes: 21 additions & 21 deletions docs/GWDM/1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ Age range in whole years of participants in the dataset. Please provide range in

Male, Female, Other

| title | is_list | is_optional | required | type |
|:--------|:----------|:--------------|:-----------|:-----------------------------------------------------------------------------------------------------------------------------------------------|
| Gender | False | True | False | ["Gender[{'anyOf': [{'pattern': '\\\\b(?:Male|Female|Other)(?:,(?:Male|Female|Other))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |
| title | is_list | is_optional | required | type |
|:--------|:----------|:--------------|:-----------|:----------------------------------------------------------------------------------------------------------|
| Gender | False | True | False | ["CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |



Expand All @@ -336,9 +336,9 @@ Male, Female, Other

Blood, Saliva, Urine, Other

| title | is_list | is_optional | required | type |
|:-------------------|:----------|:--------------|:-----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Biological Samples | False | True | False | ["BiologicalSamples[{'anyOf': [{'pattern': '\\\\b(?:Blood|Other|Urine|Saliva)(?:,(?:Blood|Other|Urine|Saliva))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |
| title | is_list | is_optional | required | type |
|:-------------------|:----------|:--------------|:-----------|:----------------------------------------------------------------------------------------------------------|
| Biological Samples | False | True | False | ["CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |



Expand All @@ -347,9 +347,9 @@ Blood, Saliva, Urine, Other

Mental health, Cognitive function

| title | is_list | is_optional | required | type |
|:--------------|:----------|:--------------|:-----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Psychological | False | True | False | ["Psychological[{'anyOf': [{'pattern': '\\\\b(?:Cognitive Function|Mental Health)(?:,(?:Cognitive Function|Mental Health))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |
| title | is_list | is_optional | required | type |
|:--------------|:----------|:--------------|:-----------|:----------------------------------------------------------------------------------------------------------|
| Psychological | False | True | False | ["CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |



Expand All @@ -358,9 +358,9 @@ Mental health, Cognitive function

Cardiovascular, Respiratory, Musculoskeletal, Hearing and Vision, Reproductive

| title | is_list | is_optional | required | type |
|:---------|:----------|:--------------|:-----------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Physical | False | True | False | ["Physical[{'anyOf': [{'pattern': '\\\\b(?:Respiratory|Vision|Hearing|Musculoskeletal|Cardiovascular|Reproductive)(?:,(?:Respiratory|Vision|Hearing|Musculoskeletal|Cardiovascular|Reproductive))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |
| title | is_list | is_optional | required | type |
|:---------|:----------|:--------------|:-----------|:----------------------------------------------------------------------------------------------------------|
| Physical | False | True | False | ["CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |



Expand All @@ -369,9 +369,9 @@ Cardiovascular, Respiratory, Musculoskeletal, Hearing and Vision, Reproductive

Height, Weight, Waist circumference, Hip circumference, Blood pressure

| title | is_list | is_optional | required | type |
|:---------------|:----------|:--------------|:-----------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Anthropometric | False | True | False | ["Anthropometric[{'anyOf': [{'pattern': '\\\\b(?:Blood Pressure|Hip Circumference|Height|Waist Circumference|Weight)(?:,(?:Blood Pressure|Hip Circumference|Height|Waist Circumference|Weight))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |
| title | is_list | is_optional | required | type |
|:---------------|:----------|:--------------|:-----------|:----------------------------------------------------------------------------------------------------------|
| Anthropometric | False | True | False | ["CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |



Expand All @@ -380,9 +380,9 @@ Height, Weight, Waist circumference, Hip circumference, Blood pressure

Cohort lifestyle habits: Smoking, Physical activity, Dietary habits, Alcohol

| title | is_list | is_optional | required | type |
|:----------|:----------|:--------------|:-----------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Lifestyle | False | True | False | ["Lifestyles[{'anyOf': [{'pattern': '\\\\b(?:Smoking|Dietary Habits|Physical Activity|Alcohol)(?:,(?:Smoking|Dietary Habits|Physical Activity|Alcohol))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |
| title | is_list | is_optional | required | type |
|:----------|:----------|:--------------|:-----------|:----------------------------------------------------------------------------------------------------------|
| Lifestyle | False | True | False | ["CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |



Expand All @@ -391,9 +391,9 @@ Cohort lifestyle habits: Smoking, Physical activity, Dietary habits, Alcohol

Occupation, Family circumstances, Housing, Education, Ethnic group, Marital status, Social support

| title | is_list | is_optional | required | type |
|:---------------|:----------|:--------------|:-----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Socio-economic | False | True | False | ["SocioEconomic[{'anyOf': [{'pattern': '\\\\b(?:Finances|Family Circumstances|Housing|Education|Marital Status|Occupation|Ethnic Group|Social Support)(?:,(?:Finances|Family Circumstances|Housing|Education|Marital Status|Occupation|Ethnic Group|Social Support))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |
| title | is_list | is_optional | required | type |
|:---------------|:----------|:--------------|:-----------|:----------------------------------------------------------------------------------------------------------|
| Socio-economic | False | True | False | ["CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]", 'null'] |



Expand Down
14 changes: 7 additions & 7 deletions docs/GWDM/1.1.structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@
"description": "Male, Female, Other",
"examples": null,
"type": [
"Gender[{'anyOf': [{'pattern': '\\\\b(?:Male|Female|Other)(?:,(?:Male|Female|Other))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]",
"CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]",
"null"
],
"is_list": false,
Expand All @@ -422,7 +422,7 @@
"description": "Blood, Saliva, Urine, Other",
"examples": null,
"type": [
"BiologicalSamples[{'anyOf': [{'pattern': '\\\\b(?:Blood|Other|Urine|Saliva)(?:,(?:Blood|Other|Urine|Saliva))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]",
"CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]",
"null"
],
"is_list": false,
Expand All @@ -436,7 +436,7 @@
"description": "Mental health, Cognitive function",
"examples": null,
"type": [
"Psychological[{'anyOf': [{'pattern': '\\\\b(?:Cognitive Function|Mental Health)(?:,(?:Cognitive Function|Mental Health))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]",
"CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]",
"null"
],
"is_list": false,
Expand All @@ -450,7 +450,7 @@
"description": "Cardiovascular, Respiratory, Musculoskeletal, Hearing and Vision, Reproductive",
"examples": null,
"type": [
"Physical[{'anyOf': [{'pattern': '\\\\b(?:Respiratory|Vision|Hearing|Musculoskeletal|Cardiovascular|Reproductive)(?:,(?:Respiratory|Vision|Hearing|Musculoskeletal|Cardiovascular|Reproductive))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]",
"CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]",
"null"
],
"is_list": false,
Expand All @@ -464,7 +464,7 @@
"description": "Height, Weight, Waist circumference, Hip circumference, Blood pressure",
"examples": null,
"type": [
"Anthropometric[{'anyOf': [{'pattern': '\\\\b(?:Blood Pressure|Hip Circumference|Height|Waist Circumference|Weight)(?:,(?:Blood Pressure|Hip Circumference|Height|Waist Circumference|Weight))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]",
"CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]",
"null"
],
"is_list": false,
Expand All @@ -478,7 +478,7 @@
"description": "Cohort lifestyle habits: Smoking, Physical activity, Dietary habits, Alcohol",
"examples": null,
"type": [
"Lifestyles[{'anyOf': [{'pattern': '\\\\b(?:Smoking|Dietary Habits|Physical Activity|Alcohol)(?:,(?:Smoking|Dietary Habits|Physical Activity|Alcohol))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]",
"CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]",
"null"
],
"is_list": false,
Expand All @@ -492,7 +492,7 @@
"description": "Occupation, Family circumstances, Housing, Education, Ethnic group, Marital status, Social support",
"examples": null,
"type": [
"SocioEconomic[{'anyOf': [{'pattern': '\\\\b(?:Finances|Family Circumstances|Housing|Education|Marital Status|Occupation|Ethnic Group|Social Support)(?:,(?:Finances|Family Circumstances|Housing|Education|Marital Status|Occupation|Ethnic Group|Social Support))*\\\\b', 'type': 'string'}, {'type': 'null'}]}]",
"CommaSeparatedValues[{'anyOf': [{'pattern': '([^,]+)', 'type': 'string'}, {'type': 'null'}]}]",
"null"
],
"is_list": false,
Expand Down
Loading

0 comments on commit 6f63c6d

Please sign in to comment.