Overview
What is the Risk Monitoring Tool (RMT)?
RMT is a tool and framework developed by the European Commission for the Control of Foot-and-Mouth Disease (EuFMD) to monitor the risk of foot-and-mouth disease (FMD) and similar transboundary (FAST) disease transmission between countries.
It is for public officials with knowledge about FAST diseases and their local conditions (like livestock populations and animal trade).
To use the tool, users:
- Select their home country, and the countries they want to evaluate risks with (source countries).
- Review data about disease status and mitigation measures in the source countries. They may edit the data if they see something incorrect.
- Review data about disease transmission pathways.
- Enter data about the connections between their home country and each source country. For example: livestock and animal product trade, livestock populations near the border.
- Receive calculated scores on the risk of FAST disease transmission, graphs to visualize the data, and the option to download results.
Access
Access the live version of the tool here. Ask the team for admin login info.
Demo
Tech stack
The RMT is a feature built onto the DB Manager. Please see their documentation for more information on the tech stack.
Briefly, RMT uses:
- MySQL for the database
- Node.js/Express for back end
- Vue for front end, with Pinia for state management
- Tailwind CSS for styling
Terminology and acronyms
- FMD - Foot and Mouth Disease
- RVF - Rift Valley Fever
- PPR - Peste des Petits Ruminants (aka “Goat Plague”)
- LSD - Lumpy Skin Disease
- SGP - Sheep and Goat Pox
- FAST diseases - FMD And Similar Transboundary diseases
- target country - the user’s country
- source country - countries being evaluated (aka where the source of livestock is coming from)
Resources
Please review the following resources to understand more about EuFMD's Risk Monitoring Tool:
- EuFMD's webpage on RMT
- Original RMT as an Excel sheet
- Instructions for using RMT
- Summary description
- Possible applications
Future Features
Feedback from EUFMD RMT team
These features and fixes were requested by the RMT team after the first iteration of the app, and are higher priority. Ask Pilar or Chanice if anything is unclear.
- Type-to-select for the receiver country dropdown (rather than scrolling through all countries). This feature has been started on the branch
branch-name
(Stefania TBD). - Second area selector can be taken out.
- Select countries should be able to write/seach and to be shown as it is now (when you write a country, you see all the ones in the same area and the option 'all of that area')
- If we do not have data for a country it should come as blank (data is not provided) at the moment is coming 0 in green which is like saying the country is perfect which is data that we do not know
- One should be able to add an empty row and able to write a region of a country or wathever they want in text
- reset button to default values on all editable tables
- A date on when the data was updated should be displayed somewhere 'Data was updated as per ...'
- Connections if not filling all and pressing continue has a message that you can´t continue, would be great if that message said 'There are some cells with no information would you like to put them as 0 and continue?" so non writen would be taken as 0
- Results page they have decided to remove the info right table
- Add map to visualization of results
- All text is being revised and and updated doc will be shared to edit all.
Development team's wishlist
These are features and fixes that the original development team wanted to implement, but didn't get to. Ask Maria, Stefania or Zoe if anything is unclear.
Bugs
- Make it mandatory to select a receiver country before moving past disease status page in the slider. (Currently, you can go through the entire flow and view results without selecting a receiver country.)
- PDF download:
- It would be best to download the PDF directly from the Results page. Currently, it opens a new page with all data combined, and triggers the download from there.
- Some unneeded elements are captured in the PDF download (like "Edit" buttons, and the RMTDownload component in the Results page). It would be ideal to filter these out so only relevant content is included in the PDF.
- Fix alignment and padding in table data. Currently, numbers and text are partially cut off.
Features
- Accessibility feature: hovering over data in the table should highlight the corresponding information in the key. This feature has been started on the branch
rmt/feature/accessibility-hover
. - Implement thorough unit tests for front and back end.
- Create a navbar / progress bar to show which step of the process the user is currently on.
Refactoring
- Adapt backend code to protect against SQL injection attacks.
- Create custom-formatted modals for
alert
andconfirm
messages. Currently they are just the default. ("Localhost says:..."). - Build correct error message rendering.
- Refactor code to be more portable (aligned with EEuFMD Engineering Guidelines).