Skip to content

Instantly share code, notes, and snippets.

@rivaros
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rivaros/e846b5287f266fe52ed3 to your computer and use it in GitHub Desktop.
Save rivaros/e846b5287f266fe52ed3 to your computer and use it in GitHub Desktop.
Operands Tree
[
{
"name": "Question from Survey 1",
"id": "10123",
"operands": [
{
"name": "Question 1.1 ? ",
"id": "12333",
"operators": 1,
"scalar": 2
},
{
"name": "Question 1.2 ? ",
"id": "12334",
"operators": 3,
"scalar": 3
},
{
"name": "Question 1.3 ? ",
"id": "12335",
"operators": 3,
"scalar": 4
},
{
"name": "Question 1.4 ? ",
"id": "12336",
"operators": 1,
"scalar": 2
}
]
},
{
"name": "Prior Task Status",
"operands": [
{
"name": "Task 1",
"id": "1234",
"operators": 3,
"scalar": 3
},
{
"name": "Task 2",
"id": "1235",
"operators": 3,
"scalar": 3
},
{
"name": "Task 3",
"id": "1236",
"operators": 3,
"scalar": 3
},
{
"name": "Task 4",
"id": "1236",
"operators": 3,
"scalar": 3
},
{
"name": "Task 5",
"id": "1236",
"operators": 3,
"scalar": 3
},
{
"name": "Task 6",
"id": "1236",
"operators": 3,
"scalar": 3
},
{
"name": "Task 7: Visit 1",
"id": "1236",
"operators": 3,
"scalar": 3
},
{
"name": "Task 8: Visit 1",
"id": "1236",
"operators": 3,
"scalar": 3
},
{
"name": "Task 9: Visit 1",
"id": "1236",
"operators": 3,
"scalar": 3
}
]
},
{
"name": "Question from Survey 3",
"id": "10125",
"operands": [
{
"name": "Question 3.1 ? ",
"id": "32333",
"operators": 1,
"scalar": 1
},
{
"name": "Question 3.2 ? ",
"id": "32334",
"operators": 2,
"scalar": 1
},
{
"name": "Question 3.3 ? ",
"id": "32335",
"operators": 2,
"scalar": 2
},
{
"name": "Question 3.4 ? ",
"id": "32336",
"operators": 1,
"scalar": 3
}
]
},
{
"name": "Question from Survey 2",
"id": "10124",
"operands": [
{
"name": "Question 2.1 ? ",
"id": "22333",
"operators": 2,
"scalar": 1
},
{
"name": "Question 2.2 ? ",
"id": "22334",
"operators": 2,
"scalar": 1
},
{
"name": "Question 2.3 ? ",
"id": "22335",
"operators": 1,
"scalar": 1
},
{
"name": "Question 2.4 ? ",
"id": "22336",
"operators": 1,
"scalar": 3
}
]
},
{
"name": "Participant Data",
"lastCall": 7,
"operands": [
{
"name": "BirthDate",
"id": "birthday",
"operators": 1,
"scalar": 1
},
{
"name": "Sex",
"id": "sex",
"operators": 2,
"scalar": 3
},
{
"name": "Marital Status",
"id": "marital status",
"operators": 2,
"scalar": 3
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment