Skip to content

Cystic Fibrosis Questionnaire-Revised questionnaire data

Notifications You must be signed in to change notification settings

CPHCRD/cfqr-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfqr-data

Build Status

NOTE: This module is meant to use along with the CFQR-app application!

This project contains textual and numerical data usable by the CFQR questionnaire application. The repository contains:

  • Questions definitions and translations (identifiers, type, answers associated, ...).
  • Answers definitions, translations and scores (identifiers, scores associated, ...).
  • Questionnaires definitions (identifiers, questions associated, ...).

How to contribute

The data is entirely contained in .json files. These files can be edit directly on Github. You can fork this repository and open a pull-request with your modifications. The repository maintainers will take care of the release produces.

How to modify a questionnaire

Each questionnaire data is defined in a .json file inside the elements folder. It contains an array of elements that can be titles/subtitles, sections, long text or questions. Please take at the existing questionnaires as an example to create/modify your data.

How to modify the score

Each questionnaire score is defined in a .json file inside the scores folder. It contains an array of elements with the question identifier and an array of scores. The score index is the same as the answer index you can find in the elements section (the first score is the score of the first answer and so on).

How to modify the translations

Each translation is a folder inside the translations folder the translations containing the translations of each questionnaire. A questionnaire translation is a .json file containing the identifiers of each string and the translation associated.

To create a new translation just copy an existing translation folder, rename it as the new language culture desired and translate the strings inside each .json file.

NOTE: Any un-traslated string will automatically fallback to en-US in the main application.

About

Cystic Fibrosis Questionnaire-Revised questionnaire data

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •