Sei sulla pagina 1di 3

Section:-

----------

CREATE (s:Section) SET s.section_id= "f14b34a5df30419e9f7a4f4dacf42253"


,s.section_name ="Interpersonal, self, relationships - the observations in these
domains are to be marked before the completion of three weeks or six working
days",s.section_name_is_visible = true,s.sequence= 2000,s.is_shown = true

MATCH (n:Kpi{kpi_id:"8b4a806841bf44afa42c57997865260d"}) ,(s:Section{section_id:


"f14b34a5df30419e9f7a4f4dacf42253"}) MERGE (n)-[:SECTION_OF]- (s) RETURN n,s

FormField:-
-----------

CREATE(n:FormField) SET n.sequence= 1000,n.is_required= false, n.read_only= false,


n.options= ["{\"option_id\":1,\"option_value\":\"Yes\",\"selected\":false},
{\"option_id\":2,\"option_value\":\"No\",\"selected\":false}" ],n.width=
21,n.default_value= "No",n.is_shown = true, n.position= "left", n.display_name=
"Does the learner connect with only two or less of her/his peers?", n.control_name=
"RB_131",n.category = "RS", n.control_type= "RB", n.height= 10

CREATE(n:FormField) SET n.sequence=2000,n.is_required= false, n.read_only= false,


n.width= 20,n.default_value= "",n.is_shown = false, n.position= "left",
n.display_name= "Remarks", n.control_name= "TB_57", n.control_type=
"TB",n.is_counted = false , n.height= 10;

CREATE(n:FormField) SET n.sequence= 3000,n.is_required= false, n.read_only= false,


n.options= ["{\"option_id\":1,\"option_value\":\"Yes\",\"selected\":false},
{\"option_id\":2,\"option_value\":\"No\",\"selected\":false}" ],n.width=
21,n.default_value= "No",n.is_shown = true, n.position= "left", n.display_name=
"Does the learner hesitate to connect with learners from other institutions ?",
n.control_name= "RB_132", n.category = "RS", n.control_type= "RB", n.height= 10

CREATE(n:FormField) SET n.sequence=4000,n.is_required= false, n.read_only= false,


n.width= 20,n.default_value= "",n.is_shown = false, n.position= "left",
n.display_name= "Remarks", n.control_name= "TB_58", n.control_type=
"TB",n.is_counted = false , n.height= 10;

CREATE(n:FormField) SET n.sequence= 5000,n.is_required= false, n.read_only= false,


n.options= ["{\"option_id\":1,\"option_value\":\"Yes\",\"selected\":false},
{\"option_id\":2,\"option_value\":\"No\",\"selected\":false}" ],n.width=
21,n.default_value= "No",n.is_shown = true, n.position= "left", n.display_name=
"Does the learner find it difficult to tell about herself/himself ?",
n.control_name= "RB_133",n.category = "SA", n.control_type= "RB", n.height= 10

CREATE(n:FormField) SET n.sequence=6000,n.is_required= false, n.read_only= false,


n.width= 20,n.default_value= "",n.is_shown = false, n.position= "left",
n.display_name= "Remarks", n.control_name= "TB_59", n.control_type=
"TB",n.is_counted = false , n.height= 10;

CREATE(n:FormField) SET n.sequence= 7000,n.is_required= false, n.read_only= false,


n.options= ["{\"option_id\":1,\"option_value\":\"Yes\",\"selected\":false},
{\"option_id\":2,\"option_value\":\"No\",\"selected\":false}" ],n.width=
21,n.default_value= "No",n.is_shown = true, n.position= "left", n.display_name=
"Does the learner struggle to express an opinion ?", n.control_name= "RB_134",
n.category = "SA", n.control_type= "RB", n.height= 10

CREATE(n:FormField) SET n.sequence=8000,n.is_required= false, n.read_only= false,


n.width= 20,n.default_value= "",n.is_shown = false, n.position= "left",
n.display_name= "Remarks", n.control_name= "TB_60", n.control_type=
"TB",n.is_counted = false , n.height= 10;

CREATE(n:FormField) SET n.sequence= 9000,n.is_required= false, n.read_only= false,


n.options= ["{\"option_id\":1,\"option_value\":\"Yes\",\"selected\":false},
{\"option_id\":2,\"option_value\":\"No\",\"selected\":false}" ],n.width=
21,n.default_value= "No",n.is_shown = true, n.position= "left", n.display_name=
"Does the learner experience difficulty in initiating a conversation with her/his
peers (newcomers) ?", n.control_name= "RB_135",n.category = "RS", n.control_type=
"RB", n.height= 10

CREATE(n:FormField) SET n.sequence=10000,n.is_required= false, n.read_only= false,


n.width= 20,n.default_value= "",n.is_shown = false, n.position= "left",
n.display_name= "Remarks", n.control_name= "TB_61", n.control_type=
"TB",n.is_counted = false , n.height= 10;

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "RB_131"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "TB_57"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "RB_132"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "TB_58"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "RB_133"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "TB_59"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "RB_134"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "TB_60"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "RB_135"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

MATCH (n:Section{section_id:"f14b34a5df30419e9f7a4f4dacf42253"}) ,
(s:FormField{control_name: "TB_61"}) MERGE (n)-[:FIELDS_OF]- (s) RETURN n,s

Rule:-
------

CREATE(n:Rule) SET n.control_name="RB_131" ,n.rule=


["{\"option_id\":1,\"value\":\"TB_57\",\"is_required\":false,\"is_shown\":true},
{\"option_id\":2,\"value\":\"TB_57\",\"is_required\":false,\"is_shown\":true}"]
CREATE(n:Rule) SET n.control_name="RB_132" ,n.rule=
["{\"option_id\":1,\"value\":\"TB_58\",\"is_required\":false,\"is_shown\":true},
{\"option_id\":2,\"value\":\"TB_58\",\"is_required\":false,\"is_shown\":true}"]

MATCH(n:Rule{control_name:"RB_131"}), (s:FormField{control_name:"RB_131"}) MERGE


(s)-[:RULE_OF]-(n) RETURN n,s

MATCH(n:Rule{control_name:"RB_132"}), (s:FormField{control_name:"RB_132"}) MERGE


(s)-[:RULE_OF]-(n) RETURN n,s

CREATE(n:Rule) SET n.control_name="RB_133" ,n.rule=


["{\"option_id\":1,\"value\":\"TB_59\",\"is_required\":false,\"is_shown\":true},
{\"option_id\":2,\"value\":\"TB_59\",\"is_required\":false,\"is_shown\":true}"]

CREATE(n:Rule) SET n.control_name="RB_134" ,n.rule=


["{\"option_id\":1,\"value\":\"TB_60\",\"is_required\":false,\"is_shown\":true},
{\"option_id\":2,\"value\":\"TB_60\",\"is_required\":false,\"is_shown\":true}"]

MATCH(n:Rule{control_name:"RB_133"}), (s:FormField{control_name:"RB_133"}) MERGE


(s)-[:RULE_OF]-(n) RETURN n,s

MATCH(n:Rule{control_name:"RB_134"}), (s:FormField{control_name:"RB_134"}) MERGE


(s)-[:RULE_OF]-(n) RETURN n,s

CREATE(n:Rule) SET n.control_name="RB_135" ,n.rule=


["{\"option_id\":1,\"value\":\"TB_61\",\"is_required\":false,\"is_shown\":true},
{\"option_id\":2,\"value\":\"TB_61\",\"is_required\":false,\"is_shown\":true}"]

MATCH(n:Rule{control_name:"RB_135"}), (s:FormField{control_name:"RB_135"}) MERGE


(s)-[:RULE_OF]-(n) RETURN n,s

Potrebbero piacerti anche