2016-01-12 21:56:07 +01:00
< template name = "studyAssociationTable" >
< div id = "studyAssociationTable" >
2016-11-18 04:04:31 +01:00
< div id = "associationInstructions" class = "row" >
2016-01-12 21:56:07 +01:00
< div class = "col-md-12" >
< h4 > Instructions< / h4 >
2016-11-18 04:04:31 +01: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-09-23 00:21:59 +02:00
< p > We have automatically retrieved all studies within 14 days (< strong > {{formatDA this.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 >
2016-11-18 04:04:31 +01: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-23 00:21:59 +02:00
{{#each relevantStudies}}
< tr >
2016-11-16 15:07:14 +01:00
< td class = "checkboxWrapper center" >
< label >
< input type = "checkbox" class = "includeStudy" { { valueIf autoselected ' ' ' checked ' } } / > < span > < / span >
< / label >
2016-09-23 00:21:59 +02:00
< / td >
< td class = "center studyDataCell {{#if autoselected}}disabled{{/if}}" >
{{#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 >
< td class = "center studyDataCell {{#if autoselected}}disabled{{/if}}" >
< p > {{formatPN patientName}}< / p >
< / td >
< td class = "studyDataCell {{#if autoselected}}disabled{{/if}}" >
< p > {{studyDescription}}< / p >
< / td >
< td class = "timepointOptions center studyDataCell noselect {{#if autoselected}}disabled{{/if}}" >
{{#each timepointOptions}}
< label class = "noselect" >
< input type = "radio"
name="{{../_id}}"
value="{{value}}"
class="timepointOption"
{{valueIf checked 'checked' ''}}
{{valueIf autoselected 'disabled' ''}}>
2016-11-15 16:56:35 +01:00
< span > < / span > {{name}}
2016-09-23 00:21:59 +02:00
< / label >
{{/each}}
< / td >
< / tr >
{{/each}}
2016-01-12 21:56:07 +01:00
< / tbody >
< / table >
< / div >
2016-09-23 00:21:59 +02:00
< / template >