Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

C4C solution is fully customizable to meet your operational needs, that said, the solution is ready to use as is without the need to make any changes.

The customizable elements and file names of the solution are listed below;

  1. Questions - question.json

  2. Algorithms - algorithm.json

  3. Exceptions - exceptions.json

  4. POEditor - User Manual


Info

DEFINITIONS & TERMINOLOGIES

Options: A list of options the client can pick to answer a question, these are presented as multiple choice options.


Anchor
Questions
Questions
Questions

The questions.json file is a list of all questions and options that may be asked of a user in a session.

Note

Please note the order in which questions are asked during a user session is controlled by the algorithm.json file, it is not the order in which the questions are listed in the questions.json file.

Below is a simplified view of the structure of the question in a session.

A SIMPLIFIED VIEW OF THE ALGORITHM

The flow chart below is a more details overview of the algorithm's decision-making process, depending on the answer given by the client the algorithm will present the relevant follow-up question.

As you can see regardless of the answers given by the client, the algorithm will always reach at least one recommended method of contraception.

C4C Algorithm - May 2022Image Removed

Image Added

Anchor
questions.json-and-POEditor
questions.json-and-POEditor
questions.json and POEditor

Each question will always contain at least two options a client will use to answer the question.

The actual questions are created/edited in the POEditor application which is also used to generate translations, the C4C Algorithm uses the questions.json file to call questions from the POEditor.

The C4C Algorithm will automatically present the follow-up question based on the answer given by the client, in the event all questions have been presented the algorithm will present a list of contraceptive methods in the final recommendations screen.

Read More…


Anchor
Algorithm
Algorithm
Algorithm - algorithm.json

The algorithm drives the logic of what question to ask next, based on the previous answer. All possible paths always end with a recommendations list of family planning methods.

Read More…


Anchor
Exceptions
Exceptions
Exceptions - exception.json

The exceptions file restricts the methods to be returned based on various criteria. Currently, they include country, age, and breastfeeding.

Read More…