Skip to content

Commit

Permalink
For annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
trivedigaurav committed Jan 24, 2018
1 parent 0683e0e commit 06833a4
Show file tree
Hide file tree
Showing 3 changed files with 215 additions and 279 deletions.
8 changes: 4 additions & 4 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@
<header class="navbar navbar-inverse navbar-fixed-top">
<nav class="hidden-xs">
<ul class="nav navbar-nav" id="main-menu">
<a href="#top" role="button" class="navbar-brand">
<span role="button" class="navbar-brand">
<img alt="Brand" src="favicon.png">&nbsp;
<small>Patient #</small>{{active.encounterId}}

<span ng-if="active.encounterData">
<small>Admit:</small> {{active.encounterData.admit | myDate}}
<small>Discharge:</small> {{active.encounterData.discharge | myDate}}
</span>
</a>
</span>
</ul>

<ul class="nav navbar-nav navbar-right">
Expand Down Expand Up @@ -150,14 +150,14 @@ <h3 class="panel-title">Incidental Finding</h3>
<tab active="tabs.docView" heading="Report">
<div class="tab-inner-content" ng-if="active.encounterData.reports">

<!-- <div class="pagerview">
<div class="pagerview">
<div class="pagerview-row">
<div ng-repeat="report in active.encounterData.reports track by $index" class="pagerview-step">
<button type="button" scroll-to-bookmark='{{report.id}}' class="btn btn-default btn-circle">{{$index + 1}}</button>
<p class="clickable" scroll-to-bookmark='{{report.id}}'> {{report.date | myDate}} </p>
</div>
</div>
</div> -->
</div>

<div ng-repeat="report in active.encounterData.reports track by $index" id="emr-report-{{report.id}}" class="report">
<div class="info unselectable" scroll-bookmark='{{report.id}}'>
Expand Down
6 changes: 6 additions & 0 deletions app/js/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ angular.module('myApp.directives', [])
urls: backend.getAnnotationUrls(scope.recordId)
});

annotator.addPlugin('Tags', {
// // The endpoint of the store on your server.
// prefix: "",
// urls: backend.getAnnotationUrls(scope.recordId)
});

};

scope.$watch('data', function(){
Expand Down
Loading

0 comments on commit 06833a4

Please sign in to comment.