diff --git a/src/main/java/org/kpmp/spatialViewerDataset/SpatialViewerExternalLinkDatasetDisplay.java b/src/main/java/org/kpmp/spatialViewerDataset/SpatialViewerExternalLinkDatasetDisplay.java index a2890dd..46d452d 100644 --- a/src/main/java/org/kpmp/spatialViewerDataset/SpatialViewerExternalLinkDatasetDisplay.java +++ b/src/main/java/org/kpmp/spatialViewerDataset/SpatialViewerExternalLinkDatasetDisplay.java @@ -1,6 +1,7 @@ package org.kpmp.spatialViewerDataset; import java.util.ArrayList; +import java.util.HashSet; import java.util.List; import java.util.Set; @@ -56,7 +57,26 @@ public SpatialViewerExternalLinkDatasetDisplay(SpatialViewerExternalLinkDataset dataType = svLink.getDataType(); spectrackSampleId = svLink.getSpectrackSampleId(); participantId = svLink.getParticipantId(); - + redcapId = new HashSet(); + age = new HashSet(); + protocol = new HashSet(); + sampleType = new HashSet(); + sex = new HashSet(); + tissueSource = new HashSet(); + enrollmentCategory = new HashSet(); + primaryAdjudicatedCategory = new HashSet(); + kdigoStage = new HashSet(); + baselineEgfr = new HashSet(); + proteinuria = new HashSet(); + a1c = new HashSet(); + albuminuria = new HashSet(); + diabetesHistory = new HashSet(); + diabetesDuration = new HashSet(); + hypertensionHistory = new HashSet(); + hypertensionDuration = new HashSet(); + onRaasBlockade = new HashSet(); + race = new HashSet(); + redcapId.add(svLink.getId().getRedcapId()); if(shouldAdd(svLink.getAge())){