2016-01-12 21:56:07 +01:00
< template name = "studyAssociationTable" >
< div id = "studyAssociationTable" >
2016-11-18 01:04:31 -02:00
< div id = "associationInstructions" class = "row" >
2016-01-12 21:56:07 +01:00
< div class = "col-md-12" >
2016-11-19 17:21:16 +01:00
< h5 > Instructions</ h5 >
2016-11-18 01:04:31 -02:00
< p > Select the studies you would like to associate to a time point. Only one follow-up time point can be associated at the same time.</ p >
2016-11-19 17:21:16 +01:00
< p > We have automatically retrieved all studies within 14 days ({{formatDA this.earliestDate}} to {{formatDA latestDate}}) of your selected studies, in case you forgot to select a study.</ p >
2016-01-12 21:56:07 +01:00
</ div >
</ div >
2016-11-18 01:04:31 -02:00
< div class = "tableHeaderBackground" >
</ div >
2016-08-15 11:29:49 +02:00
< table class = "table table-responsive" >
2016-01-12 21:56:07 +01:00
< 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 >
2016-09-22 19:21:59 -03:00
{{#each relevantStudies}}
2016-11-22 20:25:14 -02:00
< tr class = "{{#if autoselected}}disabled{{/if}}" >
2016-11-16 12:07:14 -02:00
< td class = "checkboxWrapper center" >
< label >
< input type = "checkbox" class = "includeStudy" {{ valueIf autoselected '' ' checked '}} /> < span ></ span >
</ label >
2016-09-22 19:21:59 -03:00
</ td >
2016-11-22 20:25:14 -02:00
< td class = "center studyDataCell" >
2016-09-22 19:21:59 -03:00
{{#if autoselected}}
< p class = "studyDate autoselected"
data-toggle = "tooltip"
title = "This study was autoselected." >
{{formatDA studyDate}}
</ p >
{{else}}
< p class = "studyDate" > {{formatDA studyDate}}</ p >
{{/if}}
</ td >
2016-11-22 20:25:14 -02:00
< td class = "center studyDataCell" >
2016-09-22 19:21:59 -03:00
< p > {{formatPN patientName}}</ p >
</ td >
2016-11-22 20:25:14 -02:00
< td class = "studyDataCell" >
2016-09-22 19:21:59 -03:00
< p > {{studyDescription}}</ p >
</ td >
2016-11-22 20:25:14 -02:00
< td class = "timepointOptions center studyDataCell noselect" >
2016-09-22 19:21:59 -03:00
{{#each timepointOptions}}
< label class = "noselect" >
< input type = "radio"
name = "{{../_id}}"
value = "{{value}}"
class = "timepointOption"
{{ valueIf checked ' checked ' ''}}
2016-11-22 20:25:14 -02:00
{{ valueIf ../ autoselected ' disabled ' ''}} >
2016-11-15 13:56:35 -02:00
< span ></ span > {{name}}
2016-09-22 19:21:59 -03:00
</ label >
{{/each}}
</ td >
</ tr >
{{/each}}
2016-01-12 21:56:07 +01:00
</ tbody >
</ table >
</ div >
2016-09-22 19:21:59 -03:00
</ template >