Notification for nonfunctional CCE

Description

As a DIVO I want to receive an email when a refrigerator in my facilities is marked as non-functional so that I can make sure that a repair technician is dispatched.

As a CCE technician I want to receive an email when a refrigerator at my supervised facilities becomes non-functional So that I can make sure that I can plan my visit there.

Acceptance Criteria:

  • When a CCE device's functional status is changed to "non-functioning-x", the DIVO and CCE technician with permissions over that health facility receive an email notification

  • For each non-functioning device the following info is displayed

  • District, Facility Name, Reference Name, Make/Model, Functional status, Non-functional Reason, and the username and timestamp of the "last updated by"

  • The user with the Edit CCE Inventory rights for the facility will receive the email notification

  • Test case is created in Zephyr for this scenario, and test case is linked to this ticket

  • Two new users are created in demo data for this scenario (DIVO and CCE technician)

  • Email body text appears as follows:

Email Template
– START –
Subject: Attention: <equipment type> at facility <facility name> is <functional status>"
Body:
Dear <user_name>:
This email is to inform you that the <equipment type> "<reference name>" at <facility name> is has been marked as <functional statusl> with the reason "<reason for nonfunctional status>." The last status update for this device was made by user <username> at <timestamp of functional status save>.
Please login to view the list of non-functioning CCE needing attention at this facility. <url link to View CCE list filtered for that facility>

Thank you
– END –

Activity

Mateusz Kwiatkowski 
September 12, 2017 at 9:02 AM

I've didn't noticed any comments about adding notification when user adds non-functional equipment so I assume that I can close this one, as DIVO user has been added.

Sam Im 
September 11, 2017 at 8:27 PM

A new user will need to be created for DIVO, that is assigned to Program: Family Planning, Supervisory Node: SN1 Comfort Health Clinic, Role: Inventory Manager and a second assignment to Program: Essential Meds, Supervisory Node: SN2 Balaka District Hospital, Role: Inventory Manager

Mary Jo Kochendorfer 
September 11, 2017 at 4:26 PM

, I'll let and weigh in on the details but it will be by supervisory node (supervisory type rights). The word district is misleading but it usually aligns with a SN.

Brandon Bowersox-Johnson 
September 11, 2017 at 3:09 AM

It appears the DIVO/CCEManager question is still open for you (see previous comment).

it appears a functionality question is waiting on you (earlier comments).

FYI

Paweł Albecki 
September 8, 2017 at 11:47 PM

I'm still not sure what DIVO should be. We assign roles based on supervisory nodes, ccemanager has currently assigned EM approval point and FP approval point. Every supervisory node is associated with few facilities by requisition groups. Do we have a way to assign facilities by Districts, no supervisory nodes?
cc

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Story Points

Original estimate

Time tracking

1d 6h logged6h remaining

Components

Sprint

Fix versions

Priority

Time Assistant

Created July 28, 2017 at 12:15 AM
Updated November 21, 2020 at 11:42 AM
Resolved September 12, 2017 at 9:03 AM