Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93426345
patient_visit.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 28, 16:22
Size
1 KB
Mime Type
text/html
Expires
Sat, Nov 30, 16:22 (2 d)
Engine
blob
Format
Raw Data
Handle
22634981
Attached To
R7177 epiph
patient_visit.html
View Options
<template
name=
"patientVisit"
>
<div
id=
"visit"
>
{{#with visit}}
<h2>
{{title}}
<small
class=
"designTitle"
>
{{designTitle}}
</small></h2>
<div
class=
"row"
>
<div
class=
"questionnaires col-xs-12 col-md-12"
>
<h3>
Questionnaires
<i
class=
"fa fa-file-text-o"
></i></h3>
<table
class=
"table"
>
{{#each validatedQuestionnaires}}
{{#with questionnaire=this visit=.. patient=../../patient}}
<tr>
<td
class=
"{{questionnaireCSS}}"
>
{{questionnaire.title}}
</td>
<td
class=
"{{questionnaireCSS}}"
>
{{percentage questionnaire.numQuestions questionnaire.numAnswered}}
</td>
<!--
<td class="cursorPointer showQuestionnaire"><i class="fa fa-lg fa-list"></i></td>
-->
{{#unless patient.isExcluded}}
<td
class=
"cursorPointer"
>
<button
class=
"btn btn-primary btn-sm answerQuestionnaire"
>
Fill in
<i
class=
"fa fa-lg fa-pencil-square-o"
></i>
</button>
<button
class=
"btn btn-primary btn-sm showQuestionnaire"
>
Show
<i
class=
"fa fa-lg fa-file-text-o"
></i>
</button>
{{#if isInRole 'admin'}}
{{#if gt questionnaire.numAnswered 0}}
<button
class=
"btn btn-danger btn-sm removeAnswersForQuestionnaire"
>
<i
class=
"fa fa-lg fa-trash"
></i>
</button>
{{/if}}
{{/if}}
</td>
{{/unless}}
</tr>
{{/with}}
{{else}}
No questionnaires are scheduled for this visit.
{{/each}}
</table>
</div>
</div>
{{/with}}
</div>
</template>
Event Timeline
Log In to Comment