Feature Request: Allow Answer Options to also have value representations aside from labels
We currently try to cast the label of the AnswerOption to the type indicated. This becomes a bit problematic if there is a situation where the label is supposed to be a verbalization of an underlying numeric/ boolean score.
Example
questions:
- datatype: int
answers:
- id: A001
label: "Unlikely"
- id: A002
label: "Likely"
- id: A003
label: "Certain"
The suggestion would be to add in an optional key to indicate a value representation independently of the label if present.
questions:
- datatype: int
answers:
- id: A001
label: "Unlikely"
value: 1
- id: A002
label: "Likely"
value: 2
- id: A003
label: "Certain"
value: 5
The value could be used for ordering, and allowing data types of AnswerOptions to be used independently from the label representation.