diff --git a/app/mixins/user-session.js b/app/mixins/user-session.js index f4785f3dcc..cf0b54776e 100644 --- a/app/mixins/user-session.js +++ b/app/mixins/user-session.js @@ -405,6 +405,8 @@ export default Ember.Mixin.create({ 'Finance', 'Finance Manager', 'Hospital Administrator', + 'Imaging Technician', + 'Lab Technician', 'Medical Records Officer', 'Nurse', 'Nurse Manager', @@ -412,6 +414,13 @@ export default Ember.Mixin.create({ 'Social Worker', 'System Administrator' ], + + patient_reports: [ + 'Hospital Administrator', + 'Patient Administration', + 'System Administrator' + ], + pricing: [ 'Data Entry', 'Finance', diff --git a/app/templates/index.hbs b/app/templates/index.hbs index 395a9cb369..c14b687f22 100644 --- a/app/templates/index.hbs +++ b/app/templates/index.hbs @@ -80,10 +80,12 @@ {{/link-to}} {{/if}} - {{#link-to 'patients.reports' class="sub-section-link"}} - Reports - - {{/link-to}} + {{#if userCan_patient_reports}} + {{#link-to 'patients.reports' class="sub-section-link"}} + Reports + + {{/link-to}} + {{/if}} {{/if}}