Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Made sure imaging and lab techs have access to patient info
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed Jun 30, 2015
1 parent d5235a4 commit d58470b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
9 changes: 9 additions & 0 deletions app/mixins/user-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,13 +405,22 @@ export default Ember.Mixin.create({
'Finance',
'Finance Manager',
'Hospital Administrator',
'Imaging Technician',
'Lab Technician',
'Medical Records Officer',
'Nurse',
'Nurse Manager',
'Patient Administration',
'Social Worker',
'System Administrator'
],

patient_reports: [
'Hospital Administrator',
'Patient Administration',
'System Administrator'
],

pricing: [
'Data Entry',
'Finance',
Expand Down
10 changes: 6 additions & 4 deletions app/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@
<span class="octicon octicon-plus"></span>
{{/link-to}}
{{/if}}
{{#link-to 'patients.reports' class="sub-section-link"}}
Reports
<span class="octicon octicon-chevron-right"></span>
{{/link-to}}
{{#if userCan_patient_reports}}
{{#link-to 'patients.reports' class="sub-section-link"}}
Reports
<span class="octicon octicon-chevron-right"></span>
{{/link-to}}
{{/if}}
</nav>
</div>
{{/if}}
Expand Down

0 comments on commit d58470b

Please sign in to comment.