From f491e74cb0afbd103c54bae7ca44d2307b84a4f3 Mon Sep 17 00:00:00 2001 From: rmanaem Date: Thu, 2 Nov 2023 16:22:32 -0400 Subject: [PATCH] Aligned terms and output with schema and examples --- store/index.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/store/index.js b/store/index.js index a7ec97ef..d4b7623e 100644 --- a/store/index.js +++ b/store/index.js @@ -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 }, @@ -175,7 +175,7 @@ export const state = () => ({ toolTerms: Object.entries(toolTerms).map(([key, value]) => ({ label: value, - identifier: "cogAtlas:" + key, + identifier: "cogatlas:" + key, selected: false })), @@ -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;