Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding codelists for gender from DM+D and GPRD #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _data/codelists/susheel_gender_Lbc3RUsSRuRK5qQBPvdV89_DMD.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
System,Code,Description
dm+d,1,Male
dm+d,2,Female
dm+d,9,Indeterminate (unable to be classified as either male or female)
dm+d,X,Not Known (not recorded)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
System,Code,Description
gprd,1,Male
gprd,2,Female
5 changes: 5 additions & 0 deletions _data/codelists/susheel_gender_Lbc3RUsSRuRK5qQBPvdV89_ISD.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
System,Code,Description
isd,0,"Not Known (i.e. Indeterminate sex, includes 'Intersex')"
isd,1,Male
isd,2,Female
isd,9,"Not Specificed (includes not stated by patient, or not recorded)"
11 changes: 8 additions & 3 deletions _data/data_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ Office of National Statistics (ONS):
name: Office for National Statistics (ONS)
id: 487222b7-5c13-4a92-8b41-044796048720
url: https://web.www.healthdatagateway.org/dataset/487222b7-5c13-4a92-8b41-044796048720



National Neonatal Research Database:
name: National Neonatal Research Database
id: 67020745-9def-4c6e-b5ac-bb273bd0a20e
url: https://web.www.healthdatagateway.org/dataset/67020745-9def-4c6e-b5ac-bb273bd0a20e
Maternity Services Data Set:
name: Maternity Services Data Set
id: 11d3cf0f-ae5d-42f4-a756-b98c3eff46bc
url: https://web.www.healthdatagateway.org/dataset/11d3cf0f-ae5d-42f4-a756-b98c3eff46bc

10 changes: 9 additions & 1 deletion _layouts/phenotype.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,15 @@ <h3 id="metadata">Metadata</h3>
{% elsif codelist contains 'UKBIOBANK' %}
<button type="button" class="btn btn-sm">
<a href="/codelists/{{codelist}}">UK Biobank</a>
</button>
</button>
{% elsif codelist contains 'GPRD' %}
<button type="button" class="btn btn-sm">
<a href="/codelists/{{codelist}}">GPRD</a>
</button>
{% elsif codelist contains 'ISD' %}
<button type="button" class="btn btn-sm">
<a href="/codelists/{{codelist}}">ISD</a>
</button>

{% endif %}

Expand Down
35 changes: 35 additions & 0 deletions _phenotypes/susheel_gender_Lbc3RUsSRuRK5qQBPvdV89.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
layout: phenotype
title: Gender
phenotype_id: Lbc3RUsSRuRK5qQBPvdV89
name: Gender
type: Lifestyle Risk Factor
group: Demographics
data_sources:
- National Neonatal Research Database
- Maternity Services Data Set
validation:
codelists:
- susheel_gender_Lbc3RUsSRuRK5qQBPvdV89_DMD.csv
- susheel_gender_Lbc3RUsSRuRK5qQBPvdV89_GPRD.csv
- susheel_gender_Lbc3RUsSRuRK5qQBPvdV89_ISD.csv
clinical_terminologies:
- NHS Data Model and Dictionary
- GPRD Local Classification
- NHS Scotland ISD Data Dictionary
author: Susheel Varma
status: DRAFT
date: 2021-02-07
modified_date: 2021-02-07
version: Revision 1
---

### Primary Care

{% include csv.html csvdata=site.data.codelists.susheel_gender_Lbc3RUsSRuRK5qQBPvdV89_GPRD %}

### Secondary Care

{% include csv.html csvdata=site.data.codelists.susheel_gender_Lbc3RUsSRuRK5qQBPvdV89_DMD %}

{% include csv.html csvdata=site.data.codelists.susheel_gender_Lbc3RUsSRuRK5qQBPvdV89_ISD %}