Modify Vital Completion Rate Percentage Calculation in Analytics Page
Currently, the Vital Completion Rate percentage displayed on the Analytics page is not reflecting the expected or accurate calculation logic. The percentage needs to be reviewed and updated to ensure it correctly represents the ratio of patients who have completed vitals against the appropriate total patient count.
This issue aims to:
Review the existing vital completion rate calculation logic
Correct the percentage formula if required
Ensure the displayed value matches the backend data accurately
Maintain consistency between analytics API response and frontend display
The update should only modify the vital completion rate percentage logic without affecting other analytics metrics or existing functionalities.