<%@ page import="dbnp.studycapturing.Study" %> <g:message code="default.show.label" args="[entityName]" />

${flash.message}
${field} ${studyInstance.getFieldValue(field.name)}
Events - ${studyInstance.giveEventTemplates().name.join(", ")}
Sampling events - ${studyInstance.giveSamplingEventTemplates().name.join(", ")}
Readers - , ${r?.encodeAsHTML()}
Editors - , ${r?.encodeAsHTML()}
<% subjects = studyInstance.subjects.findAll {it.template == template}; sortedSubjects = subjects.sort( { a, b -> a.name <=> b.name } as Comparator ) %>
${field} ${field}
${s.getFieldValue(field.name)} ${s.getFieldValue(field.name)}
No events in this study <% // Sort events by starttime and duration events = studyInstance.events + studyInstance.samplingEvents; sortedEvents = events.sort( { a, b -> a.startTime == b.startTime ? a.getDuration().toMilliseconds() <=> b.getDuration().toMilliseconds() : a.startTime <=> b.startTime } as Comparator ) %>
Start time Duration Type Sampling event Parameters
${event.getPrettyDuration(studyInstance.startDate,event.startTime)} ${event.getPrettyDuration()} ${event.template.name} , ${field.name} = ${event.getFieldValue( field.name )}
No event groups in this study
Name Events Subjects
${eventTemplate.name}
${eventGroup.name} , ${field.name} = ${event.getFieldValue( field.name )} <% sortedGroupSubjects = eventGroup.subjects.sort( { a, b -> a.name <=> b.name } as Comparator ) %> ${sortedGroupSubjects.name.join( ', ' )}
No assays in this study
Assay Name Module Type Platform Url Samples
${assay.name} ${assay.module.name} ${assay.module.type} ${assay.module.platform} ${assay.module.url} <% sortedAssaySamples = assay.samples.sort( { a, b -> a.name <=> b.name } as Comparator ) %> ${sortedAssaySamples.name.join( ', ' )}
No persons involved in this study
Name Affiliations Role Phone Email
${studyperson.person.firstName} ${studyperson.person.prefix} ${studyperson.person.lastName} ${studyperson.person.affiliations.join(', ')} ${studyperson.role.name} ${studyperson.person.phone} ${studyperson.person.email}
No publications attached to this study
Title Authors Comments
${publication.title} ${publication.authorlist} ${publication.comment}

Back to list