Advanced query - select samples



<%= params %>
<%= selectedStudyIds.each{ println it } %>
<%= subgroups%> <% if (selectedStudies.size()>0) {%>
Study Subject Sampling Events Sample Name Sample Material Duration Subgroups
${studyIns.title}
${events.subject.name} ${studyIns.samplingEvents} ${studyIns.samplingEvents.samples.name} ${studyIns.samplingEvents.samples.material} ${events.getDurationString()}
<% def cb1 = '\'.checkbox1' + studyIns.id + '\'' %> <% def cb2 = '\'.checkbox2' + studyIns.id + '\'' %> <%}%> Infer subgroups: <% if (selectedStudies.size()==0) { %>
Please select studies to query samples. <% } %>