Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
communication_language
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Jun 7, 2022
1 parent 4f00992 commit 99450e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions mappings/synthetic2mcode/mcode.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"subject.sex",{single_val(Gender)}
"subject.deceased",{has_value("Date of Death")}
"subject.ethnicity",{single_val(Ethnicity)}
"subject.extra_properties.communication_language",{mcode.language("Subject")}
"date_of_death",{date("Date of Death")}
"genomics_report.id",{single_val(Subject)}
"genomics_report.code",{mcode.connect_code("1000 Genomes_ID")}
Expand Down
3 changes: 3 additions & 0 deletions mappings/synthetic2mcode/mcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ def connect_org(mapping):

def date(mapping):
return "2022-04-05"

def language(mapping):
return "English"

0 comments on commit 99450e3

Please sign in to comment.