Skip to content

Commit

Permalink
Aligned terms and output with schema and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanaem committed Nov 2, 2023
1 parent edf8770 commit f491e74
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export const state = () => ({

"Sex": [

{ label: "male", identifier: "bids:male" },
{ label: "female", identifier: "bids:female" },
{ label: "other", identifier: "bids:other" }
{ label: "Male", identifier: "snomed:248153007" },
{ label: "Female", identifier: "snomed:248152002" },
{ label: "other", identifier: "snomed:32570681000036106" }
],
"Diagnosis": diagnosisTerms
},
Expand Down Expand Up @@ -175,7 +175,7 @@ export const state = () => ({

toolTerms: Object.entries(toolTerms).map(([key, value]) => ({
label: value,
identifier: "cogAtlas:" + key,
identifier: "cogatlas:" + key,
selected: false
})),

Expand Down Expand Up @@ -480,6 +480,7 @@ export const getters = {

// Transfer unannotated data from the user provided data dictionary to the output
columnOutput = p_state.dataDictionary.annotated[columnName];
delete columnOutput.missingValues;
}

jsonOutput[columnName] = columnOutput;
Expand Down

0 comments on commit f491e74

Please sign in to comment.