Skip to content

Commit

Permalink
define variables to be used in hashset
Browse files Browse the repository at this point in the history
  • Loading branch information
Dert1129 committed Nov 11, 2024
1 parent 44f1e0d commit 0dfda9e
Showing 1 changed file with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.kpmp.spatialViewerDataset;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

Expand Down Expand Up @@ -56,7 +57,26 @@ public SpatialViewerExternalLinkDatasetDisplay(SpatialViewerExternalLinkDataset
dataType = svLink.getDataType();
spectrackSampleId = svLink.getSpectrackSampleId();
participantId = svLink.getParticipantId();

redcapId = new HashSet<String>();
age = new HashSet<String>();
protocol = new HashSet<String>();
sampleType = new HashSet<String>();
sex = new HashSet<String>();
tissueSource = new HashSet<String>();
enrollmentCategory = new HashSet<String>();
primaryAdjudicatedCategory = new HashSet<String>();
kdigoStage = new HashSet<String>();
baselineEgfr = new HashSet<String>();
proteinuria = new HashSet<String>();
a1c = new HashSet<String>();
albuminuria = new HashSet<String>();
diabetesHistory = new HashSet<String>();
diabetesDuration = new HashSet<String>();
hypertensionHistory = new HashSet<String>();
hypertensionDuration = new HashSet<String>();
onRaasBlockade = new HashSet<String>();
race = new HashSet<String>();


redcapId.add(svLink.getId().getRedcapId());
if(shouldAdd(svLink.getAge())){
Expand Down

0 comments on commit 0dfda9e

Please sign in to comment.