Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110785021
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
Mon, Apr 28, 02:35
Size
2 KB
Mime Type
text/html
Expires
Wed, Apr 30, 02:35 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25851094
Attached To
R7177 epiph
patient_visit.html
View Options
<template name="patientVisit">
<div id="visit">
{{#with visit}}
<div class="header">
<h3 class="pull-left">
{{title}} <small>{{_id}}</small>
</h3>
</div>
<div class="row">
<div class="questionnaires col-xs-12 col-md-6">
<h4>Questionnaires <i class="fa fa-file-text-o"></i></h4>
<table class="table">
{{#each validatedQuestionnaires}}
{{> questionnaireRow questionnaire=this visit=.. patient=../../patient}}
{{else}}
No questionnaires are scheduled for this visit.
{{/each}}
</table>
</div>
<div class="physiologicalData col-xs-12 col-md-6">
<h4>Physiological data <i class="fa fa-heartbeat"></i></h4>
{{#if recordPhysicalData}}
{{#if showEmpaticaRecorder}}
{{> empaticaRecorder sessionId=empaticaSessionId}}
{{/if}}
<h5>Records</h5>
<table class="table condensed">
{{#each physioRecords}}
<tr>
<td>{{metadata.sensor}}</td>
<td>{{fileSizeSani size}}</td>
<td><a href="{{this.url}}" target="_blank"><i class="fa fa-download"></i></a></td>
</tr>
{{else}}
no records found.
{{/each}}
</table>
<div class="panel panel-default">
<div class="panel-heading collapsed cursorPointer" data-toggle="collapse" data-target="#uploadPhysioRecords">
<h3 class="panel-title panel-title-inline">
<a class="accordion-toggle collapsed" >
upload records manually
</a>
</h3>
</div>
<div id="uploadPhysioRecords" class="panel-collapse collapse">
<div class="panel-body">
{{#autoForm doc=this schema=uploadFormSchema id="uploadPhysioRecordForm" type="normal" class="uploadPhysioRecordForm"}}
{{#each afFieldNames}}
{{> afQuickField name=this.name options=afOptionsFromSchema}}
{{/each}}
<button type="submit" class="btn btn-primary pull-right">Save</button>
<button type="reset" class="btn btn-danger">Reset</button>
{{/autoForm}}
</div>
</div>
</div>
{{else}}
Recording physical data is not scheduled for this visit.
{{/if}}
</div>
</div>
{{/with}}
</div>
</template>
<template name="questionnaireRow">
<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>
-->
<td class="cursorPointer answerQuestionnaire"><i class="fa fa-lg fa-pencil-square-o"></i></td>
</tr>
</template>
Event Timeline
Log In to Comment