2016-01-12 21:56:07 +01:00
< template name = "studyAssociationTable" >
< div id = "studyAssociationTable" >
< div class = "row" >
< div class = "col-md-12" >
< h4 > Instructions</ h4 >
2016-03-06 18:48:56 -05:00
< p > Associate the selected studies with timepoints in the clinical trial. Only 1 follow-up time point can be associated at the same time.</ p >
2016-01-13 11:50:07 +01:00
< p > We have automatically retrieved all studies within 14 days (< strong > {{formatDA earliestDate}}</ strong > to < strong > {{formatDA latestDate}}</ strong > ) of your selected studies, in case you forgot to
select a study.</ p >
2016-01-12 21:56:07 +01:00
</ div >
</ div >
< table class = "table table-striped" >
< thead >
< tr >
< th class = "center" > Include Study?</ th >
< th class = "center" > Study Date</ th >
2016-01-13 11:50:07 +01:00
< th class = "center" > Patient Name</ th >
2016-01-12 21:56:07 +01:00
< th class = "center" > Study Description</ th >
< th class = "center" > Timepoint Type</ th >
</ tr >
</ thead >
< tbody >
{{ #each relevantStudies }}
< tr >
< td class = "center" >
2016-01-13 11:50:07 +01:00
< input type = "checkbox" class = "includeStudy" {{ inlineIf autoselected false ' checked '}} />
2016-01-12 21:56:07 +01:00
</ td >
2016-01-13 11:50:07 +01:00
< td class = "center studyDataCell {{ #if autoselected }}disabled{{ /if }}" >
2016-01-12 21:56:07 +01:00
{{ #if autoselected}}
< p class = "studyDate autoselected"
2016-01-13 11:50:07 +01:00
data-toggle = "tooltip"
title = "This study was autoselected." >
2016-01-12 21:56:07 +01:00
{{formatDA studyDate}}
</ p >
{{ else }}
< p class = "studyDate" > {{formatDA studyDate}}</ p >
{{ /if }}
</ td >
2016-01-13 11:50:07 +01:00
< td class = "center studyDataCell {{ #if autoselected }}disabled{{ /if }}" >
< p > {{formatPN patientName}}</ p >
</ td >
< td class = "studyDataCell {{ #if autoselected }}disabled{{ /if }}" >
2016-01-12 21:56:07 +01:00
< p > {{studyDescription}}</ p >
</ td >
2016-01-13 16:17:32 +01:00
< td class = "timepointOptions center studyDataCell noselect {{ #if autoselected }}disabled{{ /if }}" >
2016-01-12 21:56:07 +01:00
{{ #each timepointOptions }}
2016-01-13 16:17:32 +01:00
< label class = "noselect" >
2016-01-13 11:50:07 +01:00
< input type = "radio"
2016-01-13 16:17:32 +01:00
name = "{{../_id}}"
value = "{{value}}"
class = "timepointOption"
{{ inlineIf checked true ' checked ' }}
{{ inlineIf autoselected true ' disabled ' }} >
2016-01-13 11:50:07 +01:00
{{name}}
</ label >
2016-01-12 21:56:07 +01:00
{{ /each }}
</ td >
</ tr >
{{ /each }}
</ tbody >
</ table >
</ div >
</ template >