-
Notifications
You must be signed in to change notification settings - Fork 3
Json Concept
Stig Norland edited this page May 29, 2018
·
6 revisions
archived:false
children:[]
classKind:"CONCEPT"
conceptQuestionItems:[,…]
description:"A very long description of a concept."
label:null
topicRef:{name: "Module name", id: "11111111-1111-1111-1111-11111111111111"…}
A concept can have 0 or more sub concept, these can be found under children ConceptQuestionItems are an array of ElementRef. An elementRef will always have an id and revisionnumber, and as along as you query a single entity (no search that returns a list or page) the elementRef should be populated with the referenced entity -> QuestionItem
{
"archived" : false
"id" : "11111111-1111-1111-1111-11111111111111",
"name" : "concept name",
"modified" : 1525539588572,
"modifiedBy" : {},
"agency" : {},
"basedOnObject" : null,
"basedOnRevision" : null,
"version" : {},
"changeKind" : "TYPO",
"classKind" : "CONCEPT",
"label" : null,
"description" : "a very long description.",
"conceptQuestionItems" : [
{
"elementKind" : "QUESTION_ITEM",
"elementId" : "8b85b739-c30c-4bef-bf79-e3ca20099e3f",
"elementRevision" : 16,
"name" : "Q001",
"version" : {} ,
"element" : {…}
} ],
"comments" : [ ],
"children" : [ ],
"topicRef" : {
"name" : "Module name",
"id" : "ec3f3011-dbaf-4810-9976-d8ee514cf30b",
"studyRef" : {
"name" : "Study name",
"id" : "39a235c1-930e-4bb3-89ba-63c5e616fe78",
"surveyRef" : {
"name" : "SurveyProgram name",
"id" : "b28d8203-81c4-4c79-8cde-6d049b8e6b79"
}
}
},
}