Skip to content

Commit

Permalink
Signed-off-by: Madhavaramu Nakka <Madhavaramu.n@diplit.local>
Browse files Browse the repository at this point in the history
  • Loading branch information
Madhavaramu Nakka authored and Madhavaramu Nakka committed Mar 14, 2017
1 parent 8fc6af8 commit fbd3e8c
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 51 deletions.
187 changes: 136 additions & 51 deletions docs/Listing.md
Original file line number Diff line number Diff line change
@@ -1,94 +1,179 @@
###Listing:
The Listing is generally carried out by field staff other than interviewers, as a separate field operation conducted before the survey starts.
Such that Survey has to be simplified to the Interviewers in identifying the Household respondents, one who is eligible for this particular survey, based up on these Listing Questions.
###Listing

The Listing is generally carried out by field staff other than interviewers, as a separate field operation conducted before the survey starts. This pre-process has the following benefits

Survey Listing is available from main menu under <b>Survey Administration</b> >> <b>Listing Form</b>
1. It creates a common set of common questions to be asked before any survey is captured, as a one-time effort. For instance, the demographic details of household residents is required before conducting any household survey. Such data can be captured as part of the Listing.

![Listing](./Page3_v1.png)
2. By creating a separate Listing the system gives the user flexibility to use the same Listing for multiple surveys.

Listing is set of Questions can be customized/configurable for any survey by reusing same Listing template, implementing Looping concept and apply logic to the Questions.
Listing is available from main menu under <b>Design</b> >> <b>Listing Form</b>

###Creating New Listing:
To create a new Listing, click on the ‘Create New Listing Form’ button, this will open a pop form where one can create a new Listing, by providing Name of the Listing, Description and select Access channels (OBK, USSD)
Listing Template is set of Questions that can be customized/configured for any survey by reusing same Listing template.

![Listing Form](./Page1v1.png)
###Creating New Listing
To create a new Listing, click on the ‘Create New Listing Form’ button at top right of the Listing page, that opens a form to create a new Listing, which has following elements;

The ‘Listing Form’ page by default shows list of all existing Listings and each of these Listing items has Actions to ‘Edit’, ‘Delete’ and ‘View/Edit Questions’.
<b>Elements of Listing form</b>

<b>Description about Actions</b>
* <b>Name</b> Is Listing Name, which is a unique identity to a Listing and is a mandatory field.
* <b>Description</b> write about the importance of the Listing in short.
* <b>Access channels</b> This will identify on which channel this survey has to be conducted and has two channel ODK and USSD

<b>Edit – Listing</b>: On click, Action Item ‘Edit’, User can Edit only the name of the Listing, Description and selection of Access channels (OBK, USSD)
A Listing Form is created by filling above all fields, finally clicking on ‘Save’ button to create Listing.

On the ‘Listing Form’ page one can view all the Listings created in the application, in a tabular form with following column names:

<b>Delete – Listing</b>: On click, Action Item ‘Delete, the entire Listing is removed.
<b>Sts</b>: Represents Status of the Listing by color indicator, that means each of the Color code indicates that Gray – Not Started; Green – Ongoing; Amber – Completed

<b>View/Edit Questions – Listing</b>: On click, Action Item ‘View/Edit Questions’, User navigates to ‘Listing Form Questions Template’ page to View or Edit respective Questions in Listing
<b>Name</b>: Is Name of the Listing, which is a unique identity to represent Listing and is a mandatory field.

###Listing Form Questions Template:
<b>Description</b>: A short description about Listing

![Adding Questions](./Page2v1.png)
<b>Total Respondents</b>: once the listing operation is completed, this column will be updated with the count of participants/ respondents.

The ‘Listing Form Questions Template’ page by default shows list of all Questions in Listing, if/that exists and each of these Question items has Actions to ‘Edit’, ‘Insert Question’, ‘Manage Loop’, ‘Add Logic’, ‘Remove’ and ‘View Options’- for Multiple Choice Type Question.
<b>Action</b>: Each of the Listing items has following Actions: ‘Edit’, ‘Delete’, ‘View/Edit Questions’, ‘View Data’ and ‘Clone’

###Adding Questions to the Listing Form:
In the ‘Listing Form’ page click on the respective Listing Name / on Action item ‘View/Edit Questions’ to navigate to ‘Listing Form Questions Template’ form where one can Add New Questions to the Listing by clicking on ‘Add Question’ Button, this will open a pop form where one can write a Question, by providing ‘Variable Name’, ‘Text’ (Question), ‘Answer Type’ and select/ check ‘Mandatory’ to mark the Question as to answer compulsory.
<b>Actions in Listing Form</b>:

<b>Description about Actions</b>
* Edit Listing: click on, Action Item ‘Edit’, User can Edit only the name of the Listing, Description and selection of Access channels (OBK, USSD)

<b>Edit – Listing Question</b>: On click, Action Item ‘Edit’, User can Edit respective Question, ‘Variable Name’, ‘Text’ (Question), ‘Answer Type’ and select/ check ‘Mandatory’ to mark the Question as to answer compulsory.
* Delete Listing: click on, Action Item ‘Delete, the entire Listing is removed, before deleting you will be prompted with conformation to delete, click ‘Yes’ to Delete permanently.

<b>Insert Question</b>: On click, Action Item, ‘Insert Question’ by which User can insert a New Question below the respective Question and rest of the thing is similar to ‘Add New Question’.
* View/Edit Questions in Listing: click on, Action Item ‘View/Edit Questions’, user navigates to ‘Listing Questions’ page to View or Edit Respective Questions in Listing

![Manage Loop](./Page01.png)
* Clone a Listing: click on, Action Item ‘Clone’, an another copy of same Listing Form is created along with Listing Questions, except existing Looping and Logic

<b>Manage Loop</b>: On click, Action Item, ‘Manage Loop’ this in terms, applying the Looping concepts in Listing Questions, here one has to define the Looping concept for respective question by providing ‘Loop label’, ‘Repeat Logic’, ‘Loop Ends At, and ‘Loop Prompt’. As follows:
* View Listing Data: This Action Item is available only for the completed Listing operation in the field. click on, Action Item ‘View Data’, to view data collected for this particular Listing

<b>Loop label</b>: naming the Loop
<b>Creating Questionnaire to the Listing Form</b>:

![User Defined](./Page02.png)
On the ‘Listing Form’ page you can view all the Listings created in the application.

<b>Repeat Logic: ‘User Defined’</b> – is chosen, need to define ‘Loop Ends At’, that is this set of Question come into loop, starting from this particular question and has to end loop with any of the consecutive question in the Listing to be chosen here. And ‘Loop Prompt’ – this is a message prompt shown in ODK at the time of capturing survey details about the “user defined” question.
To add new questions to a Listing can be done in 2 ways.
1. Click on the Listing Name
2. Click on Actions Drop down and select the item ‘View/Edit Questions’

<b>Repeat Logic: ‘Fixed number of repeats’</b>– is chosen, need to define ‘Repeat count’ – any specific no of times loop to be repeated. And ‘Loop Ends At’ – specify that at which, Question this loop should close.
One can also select the questions from ‘Questions Library’ to add to Listing, using ‘Select Questions’

![Fixed number of repeats](./Page03.png)
<b>Add Questions in Listing Form</b>:

<b>Repeat Logic: ‘Response from previous question’</b>– is chosen, need to define ‘Previous numeric values’ – this logic based up on count/ number provided in this previous question and ‘Loop Ends At’ - specify that at which, Question this loop should close.
Click on, ‘Add Question’ button at top right of the particular Listing page, this will open a form where one can create a Question, which has following elements;

![Response from previous question](./Page04.png)
<b>Elements in Listing Question form</b>:

<b>Loop Ends At</b>: specify that at which, Question this loop should close
<b>Variables Name</b>: This is an identifier for Question, type a code for Question

<b>Loop Prompt</b>: this is a message prompt shown in ODK at the time of capturing survey details about the “user defined” question
<b>Text</b>: Is the actual Question, Write a Question. While typing a question, auto suggestion feature is available, which will prompt with the ‘Variable Name’ of preceding questions, that helps to include “answered text of preceding question” in framing this question.
i.e. just type, double curly brackets to automatically insert ‘Variable Name’ from preceding questions,
Ex: type {{ , system prompts with ‘Variable Name’ then select any one to insert Variable Name,
Like: {{structure_address}}

<b>Answer Type</b>: Select an Answer Type from dropdown list, such that Question has to be answered in any one of these formats only, that is ‘Answer type’ should be: “Audio, Auto Generate, Date, Geo Point, Image, Multi choice, Multi Select, Numeric, Text and Video”

<b>Add Logic</b>: On click, Action Item, ‘Add Logic’ defines the probability of logics can apply to Looping concept, here one has to define the Logic for respective question by providing ‘Eligible Criteria’, ‘Attribute’, ‘Then’ As follows:
<b>Mandatory</b>: To mark the Question has to answered compulsory.

<b>Eligible Criteria</b>: based up on this particular Question value matching
A Question in Listing is created by filling above all fields, finally click on ‘Save’ button to Add Question in Listing or click on ‘Save and Add More’ button to continue adding another Question to the same Listing or click on ‘Save and Update Library’ to add same to the ‘Questions Library’.

<b>Attribute</b>: shows the matching value
<b>Select Question</b>: On click, ‘Select Question’ button, User navigates to ‘Select Question from Question
Library’ where one can select the Questions from Library into Listing, by sorting out using ‘Search with text’ and ‘Question Type’ methods.

<b>Then: ‘Reconfirm’</b> – need the conformation from this particular Answer from Question,
‘End Interview’ – based up on this particular Question end looping of questions, ‘Ask Sub-Question’ – based up the ‘Attribute’ value, a new question is created, ‘Skip To’ - based up the ‘Attribute’ value question(s) can be hidden and jump to any consecutive question in the Listing to be chosen here.
To select the Question from Library List to Listing, just Click on “Code” or “Text” to move Question between tables (Library << / >> Listing List), then click on ‘Save’ button at bottom to Add Questions to Listing.

The above applied logic is shown in Table “Existing Logic”
Which shows the applied logic to each question and has the option to ‘Delete’ the Sub-Question /Logic
<b>Export Questions</b>: On click, ‘Export Questions’ button, user can download the Listing Questions in “.csv” file format.

<b>Edit Sub-Question /Logic</b>:
In the ‘Listing Form Questions Template’ page, Questions that has Logic are hyperlinked, click on the respective Question that shows options to view logic, Edit, Delete.
<b>Update Question Order</b>:
Questions in the list can be rearranged.
To change the order of the Question, just select the Question to drag and drop at the required new position/order, then click on ‘Update Question Order’ button at bottom of the Questions table.

<b>Remove</b> – Listing Question: On click, Action Item ‘Remove, respective Listing Question is removed.
On the ‘Listing Questions’ page one can view all the Questions created in that particular Listing, each of these Questions has Action items to ‘Edit’, ‘Insert Question’, ‘Add Logic’, ‘Start/Edit Loop’, ‘Remove Loop’ – only for the Questions that has Answer Type “Auto Generated” and ‘View Options’- only for Multiple Choice Questions.

<b>View Options</b>: On click, Action Item, show the Options of Multiple Choice Type Question.
<b>Actions for Listing Questions</b>:

<b>More Functions</b>:
<b>Edit Question</b>: click on, Action Item ‘Edit’, User can Edit respective Question, ‘Variable Name’, ‘Text’ (Question), ‘Answer Type’ and can change ‘Mandatory’ type.

<b>Update Question Order</b>: On click, user can update the rearranged order of the Questions.
<b>Insert Question</b>: click on, Action Item, ‘Insert Question’ using which User can insert a New Question below the respective Question and rest of the process is similar to ‘Add New Question’.

<b>Change order of the Question</b>: To change the order of the Question, just select the Question to drag and drop at the required order, then click on ‘Update Question Order’ button
<b>Delete Question</b>: click on, Action Item ‘Delete’, the Question is removed from list, before deleting you will be prompted with conformation to delete, click ‘Yes’ to Delete permanently.

<b>Export Questions</b>: On click, ‘Export Questions’ button, user can download the Listing Questions in “.csv” file format.
<b>Caution while deleting a Question</b>: when a user attempts to delete a question, if that particular question is assigned with Logic or Loop, then along with the question logic or entire loop is removed respectively.

<b>Select Question</b>: On click, ‘Select Question’ button, User navigates to ‘Select Question from Question
Library’ where one can select the Questions from Library into Listing, by sorting out using ‘Search with text’ and ‘Question Type’ methods.
<b>View Options</b>: This Action item is visible only for the Questions that has Answer Type “Multi choice” and “Multi Select”, to view Answer Options.

<b>Start/Edit Loop</b>:

‘Start/Edit Loop’ is an Action item available only for the Questions that has Answer Type “Auto Generated”.

Looping means repeatedly asking set of questions based up the need and purpose of the base question.

To define the Looping concept, first of all one has to understand about terms that are used in creating a Loop are as following:

* <b>Repeat Logic</b>: To apply Looping for a question there should be a base criteria to start loop, that is chosen from ‘Repeat Logic’ as “User Defined”, “Fixed number of repeats” and “Response from previous question”

<b>User Defined</b>: Need to choose what set of Question come into loop, starting from this particular question and has to end loop with any of the consecutive question in the Listing.

<b>Fixed number of repeats</b>: Is chosen, need to provide ‘Repeat count’ – any specific no of times loop to be repeated.

<b>Response from previous question</b>: Is chosen, only when a question that exists before this base question with Answer Type “Numerical Answer”. This logic is based up on numeric value provided in the previous question.

* <b>Loop Ends At</b>: When a loop starts that has to be closed, here the choice at which question the loop as to be closed is selected.

* <b>Loop Prompt</b>: This is a message prompt shown on Mobile App during the time of capturing this details. This message will help the Interviewer to proceed further.

###How to create a Loop?
One should be very careful while creating a loop, first of all analyze how a loop has to be created, using ‘Repeat logic’ and where to ‘End Loop’, as defined above select accordingly from ‘Repeat logic’ and ‘Loop end at’ to define a loop.

click on, Action Item ‘Start/Edit Loop’ which will take to ‘Start Loop’ page, now create loop as follows:
* select “Logic Type” from dropdown ‘Repeat logic’,
* select “Question at which loop should end” from dropdown ‘Loop end at’ and
* in ‘Loop Prompt’ Text Box, write some message about, instructing the loop flow,
* then click on ‘Save’ button to create loop.
Now you will be viewing a looping representation on ‘Listing Questions’ page in the ‘Code’ column of the ‘Questions’ table,

<b>Loop Representation</b>:
“Light Green Bar” icon represents Loop - START,
“Red Bar” icon represents Loop - END,
“Green Bar” icon represents Loop - CONTINUATION

<b>Remove Loop</b>:

This Action item available only for the Questions that has Answer Type “Auto Generated” and a Loop is created.
click on, Action Item ‘Remove Loop’ which will remove the existing looping logic.

<b>Add Logic</b>:

‘Add Logic’ is an Action item for every question expect for the Questions that has Answer Type “Auto Generated”.

Add Logic option will convert a question to conditional one such that question will have choices to “Reconfirm”, “End Interview”, “Ask Sub-Question” and “Skip To” which is based up on value/Answer provided.

one has to define the Logic here for respective question by satisfying the condition by providing ‘Eligible Criteria’, ‘Attribute’ Value, and ‘Then’ as follows:

<b>Eligible Criteria</b>: This is a condition made based up on this Question value “Starts With”, “Equals”, “Contains” and “Ends With”.

<b>Attribute</b>: Provide the “Value” as per the above ‘Eligible Criteria’ selected

<b>Then</b>: Based up on the ‘Eligible Criteria’ and ‘Attribute’ Value chosen, the condition for Question is applied here with following options:

‘Reconfirm’ – Prompts with conformation Question to validate the Answer

‘End Interview’ – Skips the intermediate Question and moves to end of the questioner.

‘Ask Sub-Question’ – Provides the option to Create a New Question based upon the ‘Attribute’ value. To do this, select option “Ask Sub-Question” than you will find a button with name ‘Add Sub-Question’ beside this, click on it to start creating a New Question same as creating a normal question, one you click on ‘Save’ button, you will find this Sub-Question in the dropdown ‘Choose Question’
beside it, now select the “Sub-Question” and click on ‘Save’ button.

‘Skip To’ - Provides the option to jump to any particular/ consecutive question in the list, by skipping / avoiding the intermediate Question.

<b>How to Apply Logic to a Question?</b>

Click on, Action Item, ‘Add Logic’ this will open a form where one can create a Logic for Question, by providing ‘Eligible Criteria’, ‘Attribute’ Value, and ‘Then’ as per the condition required, then click on ‘Save’ button to create Logic.

In the same page, logic that is created is shown in table “Existing Logic”.
Which shows the created logic for this particular question and has option to ‘Delete’ the applied Logic

<b>Edit Logic</b>:
In the ‘Listing Form Questions Template’ page, Questions that has Logic are represented with hyperlink, click on the respective Question, that shows options to ‘View logic’, ‘Edit’ and ‘Delete’

View Logic – click to view the Logic that is Applied for this particular question

Edit Logic – click to Edit the existing Logic that is Applied for this particular question

To select the Question from Library List to Listing, just Click on “Code” or “Text” to move between tables (Library << / >> Listing List)
Delete Logic - click to Remove the Logic that is Applied for this particular question

0 comments on commit fbd3e8c

Please sign in to comment.