Feature Overview:
To ensure medical accuracy and safeguard patients, we’ve introduced a user-level access control for approving critical or abnormal reports. This restricts report approvals to only authorized users with the Critical Report Approval permission.


Demo

https://drive.google.com/file/d/1mO8xZn57wYRw9rfx3PKHKVnPHEVraOOG/view?usp=drive_link

What’s New?

Why this change?

Previously, any user with Edit Report access could approve reports — even those with critical findings. This posed a risk. Now, only users explicitly granted permission can approve critical reports.

New Permission Added:

  • Permission Name: Critical Report Approval

  • Where it's configured: Under User Access Management → User Roles → Lab Access


How It Works?

Permission Logic:

ScenarioEdit ReportCritical Report ApprovalBehavior
AllowedYesYes (default)Can approve all reports
BlockedYesNoCan approve only non-critical reports
BlockedNoNoCannot approve or edit any report

⚠️ Note: If the user doesn't have Edit Report access, the Critical Report Approval toggle is disabled and cannot be enabled.


UI Behavior

On Report Entry Page and Overview:

  • If the report is critical and user doesn’t have Critical Report Approval:

    • "Save & Sign" button is disabled.

    • On hover, it will show:

      "You don’t have permission to approve critical reports. Please contact your admin."


On Sign All Page (Bulk Sign Off):

  • If any selected test is marked Critical:

    • A "Critical" tag appears next to the test name.

    • "Sign All" button is disabled.

    • On hover, it will show:

      "You don’t have permission to approve critical reports. Please contact your admin."