Versions Compared

Key

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


fielddescription
"branching_logic"The branching logic obtained from RedCap metadata. This needs to be mentioned in RedCap 
"evaluated_logic"

The logic obtained using the "branching_logic" that is used in the application (aRMT) to display questionnaires. The conversion is based on the following - 
question[i] = 1 in RedCap Branching logic maps to question = i in aRMT evaluated logic
question[i] = 0 in RedCap Branching logic maps to question != i in aRMT evaluated logic


For example, 

If Branching logic is -  [esm_social_interact(2)] = "0"

Then the Evaluated logic is - responses[esm_social_interact] != 2

Question Type mappings:

checkbox [multiselect]

radio [single select]

By default radio types are rendered vertically in aRMT (one of type "radio" and another of type "range).

imagedefault vertical single select radio (aRMT "radio" type)

image horizontal single select radio (aRMT "range" type)


REDCap doesn't provide a "range" which is effectively a horizontal radio-button-question item in aRMT like so, we need to specify additional information to differentiate radio as either radio or range types.

If you want a horizontal radio answer type in your aRMTquestion, you must use in your REDCap instrument REDCap the type "radio" but also add an additional piece of metadata in

the Action Tag/ Field Annotation: of " range-type"

 


the conversion script will then specify all these radio buttons as type "range" in aRMT specification and they will be displayed horizontally.



Range Type 


Range Info Type

Image previewImage Added

A custom field is also available for questions where the answer needs a large text component to explain the choice selected.  This can be created using "range-info-type" in the Action Tags / Field Annotation field.