Target release15.06
Epic
Document status
Document ownerMarkus Geiss (Deactivated)
DesignerMarkus Geiss (Deactivated)
DevelopersMarkus Geiss (Deactivated)
QALead tester

Overview

To allow the administration and usage of surveys to measure the social performance and impact we need to provide a framework to cover various Social Performance Management tools, e.g. PPI, MPAT or USAID-PATs.

Background and strategic fit

Resources used for research:

Requirements/User Stories

#TitleUser StoryImportanceNotes
Create new surveyAs an administrator I want to create a new survey to collect SPM data.Must Have

 

Add general informationAs an administrator I want to add additional fields to a survey to collect general information.Must Have 
Add questions to a surveyAs an administrator I want to add questions with their related answers and options to a survey
to create a questionnaire.
Must Have 
Add look-up tablesAs an administrator I want to add look-up tables to a survey to map scores to well known KPIs.Must Have 
Assign default look-up tableAs an administrator I want to assign a look-up table as default to allow KPI viewing an client info.Must Have 
Enable surveyAs an administrator I want to enable a survey per tenant to allow collecting of SPM data.Must Have 
Enforce surveyAs an administrator I want to enforce the collection of SPM data to report data.Must Have 
Fill surveyAs a staff I want to collect SPM data provided by a survey to track my clients.Must Have 
View surveyAs a staff I want to view collected SPM data to benchmark my clients.Must Have 
Report targetsAs a manager I want to compare SPM data with targets to track my impactMust Have 

Business Rules

Any preconditions before a client can use the new functionality

Any rules to be applied for a client or user when using this functionality

Attributes

List of attributes to be captured for the new functionality

AttributeDescriptionNotes
SurveyA Survey is a collection of general information, and specific questions. 
QuestionA Question has answers and options assigned and is used as the basis of all
needed or wanted KPI computation 
 
ScorecardHolds the results of a questionnaire 
Look-up TablesDefine KPIs for certain ranges retrieved through the scorecard 

Domain Model for Survey

Domain Model for Questions

Domain Model for Scorcards

Domain Model for Look-up Tables

Security and Permissions

Mifos Functionality Enhancements

New Screens

Changes to Existing Screens

Changes/Enhancements to Batch Jobs

none

Changes/Enhancements to Accounting Entries

none

User interaction and design

Include any mockups, diagrams or visual designs relating to these requirements.

Exception Handling

List of error scenarios and the action - if message is to be displayed, then text of the message.

Reporting

APIs

HTTP MethodResourceQuery ParameterRequest BodyResponse BodyError codes
POST/surveysn/aSurveysurveyId400, 404, 500
GET/surveyskey, name, countryCoden/aList<Survey>400, 500
GET/surveys/{id}n/an/aSurvey400, 404, 500
POST/surveys/{id}/lookUpTablesn/aLookUpTablesurveyId, lookUpTableId400, 404, 500
GET/surveys/{id}/lookUpTableskeyn/aList<LookUpTable>400, 500
GET/surveys/{id}/lookUpTables/{id}n/an/aLookUpTable400, 404, 500
POST/surveys/{id}/scorecardsn/aScorecardsurveyId, scorecardId400, 404, 500
GET/surveys/{id}/scorecardsclientId, createdBy, createdOnn/aList<Scorecard>400, 500
GET/surveys/{id}/scorecards/{id}n/an/aScorecard400, 500

 

Notes

none

Questions

Below is a list of questions to be addressed as a result of this requirements document:

QuestionOutcome
(e.g. How we make users more aware of this feature?)Communicate the decision reached

Out of Scope