Solved

Can anyone help me please fix this JSON code for a D3 visualization?

Posted on 2014-10-13
10
108 Views
Last Modified: 2014-10-15
Good morning, I am working on a D3 visualization but am having some trouble with some of the branches on two of the decision tree's arms.  You can view the code on jsfiddle here: http://jsfiddle.net/Bevos1984/xa7dcu4g/34/.  Basically there are two branches 1a and 2a. In 2A at the position "Does the test diagnose clinically important subgroups..." the child line is "Does not meet CU criteria" where it should be the "Yes/No" options as I tried in the JSON.  Can anyone help me fix some of these errors?  

Thanks,
Bevos
0
Comment
Question by:Bevos
  • 6
  • 4
10 Comments
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
Paste your JSON object here : http://jsonviewer.stack.hu/
Click on the viewer tab
0
 

Author Comment

by:Bevos
Comment Utility
Dang, doesn't seem to load or show me where the error is.
0
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
In 2A at the position "Does the test diagnose clinically important subgroups..." the child line is "Does not meet CU criteria" where it should be the "Yes/No" options as I tried in the JSON

Check this :
nope
As you can see the child is not what you're expecting for.
0
 

Author Comment

by:Bevos
Comment Utility
Thanks Leakim.  Could you tell me how to convert the JSON to that format (if it is in that viewer it fails for me stating the code is invalid despite that it runs on jsfiddle.com)?

Thanks again,
Bevos
0
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 82

Expert Comment

by:leakim971
Comment Utility
{
  "name": "Select the Genetic Testing Category",
  "children": [
    {
      "name": "1a. Diagnostic - Testing of an affected individual’s germline to benefit the individual",
      "children": [
        {
          "name": "Is testing intended to confirm a suspected diagnosis, or to evaluate the origin of nonspecific symptoms?",
          "children": [
            {
              "name": "Confirm a suspected diagnosis",
              "children": [
                {
                  "name": "Does this disorder have reduced life expectancy?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Is this disorder defined by a genetic abnormality (i.e. no other way to make the diagnosis)?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Meets CU Criteria",
                                  
                                },
                                
                              ]
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Can diagnosis be made without genetic testing?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Is this a condition in which a complicated workup is expected, and genetic testing can eliminate the need for further clinical workup and/or invasive testing?",
                                          "children": [
                                            {
                                              "name": "No",
                                              "children": [
                                                {
                                                  "name": "Does confirmation of the diagnosis by genetic testing lead to changes in management?",
                                                  "children": [
                                                    {
                                                      "name": "Yes",
                                                      "children": [
                                                        {
                                                          "name": "Is there evidence that changes in management improve health outcomes?",
                                                          "children": [
                                                            {
                                                              "name": "Yes (Start effective treatment or stop ineffective treatment)",
                                                              "children": [
                                                                {
                                                                  "name": "Meets CU Criteria",
                                                                  
                                                                },
                                                                
                                                              ],
                                                              
                                                            },
                                                            {
                                                              "name": "Uncertain (Start or stop standard of care treatment without supporting evidence, or other mangement changes with ucnertain impact on outcomes)",
                                                              "children": [
                                                                {
                                                                  "name": "Indeterminate, consider clinical vetting"
                                                                },
                                                                
                                                              ],
                                                              
                                                            },
                                                            {
                                                              "name": "No (Unlikely that management changes improve outcomes)",
                                                              "children": [
                                                                {
                                                                  "name": "Does not meet CU Criteria",
                                                                  
                                                                },
                                                                
                                                              ],
                                                              
                                                            },
                                                            
                                                          ],
                                                          
                                                        },
                                                        
                                                      ],
                                                      
                                                    },
                                                    {
                                                      "name": "No",
                                                      "children": [
                                                        {
                                                          "name": "Does not meet CU Criteria",
                                                          
                                                        },
                                                        
                                                      ],
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ]
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does this disorder have at least moderate or severe morbidity?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Yes",
                                  "children": [
                                    {
                                      "name": "Meets CU Criteria",
                                      
                                    },
                                    
                                  ]
                                },
                                {
                                  "name": "No",
                                  "children": [
                                    {
                                      "name": "Can diagnosis be made without genetic testing?",
                                      "children": [
                                        {
                                          "name": "Yes",
                                          "children": [
                                            {
                                              "name": "Does not meet CU Criteria",
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        {
                                          "name": "No",
                                          "children": [
                                            {
                                              "name": "Is this a condition in which a complicated workup is expected, and genetic testing can eliminate the need for further clinical workup and/or invasive testing?",
                                              "children": [
                                                {
                                                  "name": "Yes",
                                                  "children": [
                                                    {
                                                      "name": "Meets CU Criteria",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                {
                                                  "name": "No",
                                                  "children": [
                                                    {
                                                      "name": "Does confirmation of the diagnosis by genetic testing lead to changes in management?",
                                                      "children": [
                                                        {
                                                          "name": "Yes",
                                                          "children": [
                                                            {
                                                              "name": "Is there evidence that changes in management improve health outcomes?",
                                                              "children": [
                                                                {
                                                                  "name": "Yes (Start effective treatment or stop ineffective treatment)",
                                                                  "children": [
                                                                    {
                                                                      "name": "Meets CU Criteria",
                                                                      
                                                                    },
                                                                    
                                                                  ],
                                                                  
                                                                },
                                                                {
                                                                  "name": "Uncertain (Start or stop standard of care treatment without supporting evidence, or other mangement changes with ucnertain impact on outcomes)",
                                                                  "children": [
                                                                    {
                                                                      "name": "Indeterminate, consider clinical vetting"
                                                                    },
                                                                    
                                                                  ],
                                                                  
                                                                },
                                                                {
                                                                  "name": "No (Unlikely that management changes improve outcomes)",
                                                                  "children": [
                                                                    {
                                                                      "name": "Does not meet CU Criteria",
                                                                      
                                                                    },
                                                                    
                                                                  ],
                                                                  
                                                                },
                                                                
                                                              ],
                                                              
                                                            },
                                                            
                                                          ],
                                                          
                                                        },
                                                        {
                                                          "name": "No",
                                                          "children": [
                                                            {
                                                              "name": "Does not meet CU Criteria",
                                                              
                                                            },
                                                            
                                                          ],
                                                          
                                                        },
                                                        
                                                      ],
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ]
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria"
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            {
              "name": "Investigate the origin of nonspecific symptoms",
              "children": [
                {
                  "name": "Is the proportion of patients who obtain a definitive diagnosis following testing high enough to justify testing, and to offset any potential harms of unintended results?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Do a substaintial proportion of the disorders tested for have reduced life expectancy, and/or at least moderately severe morbidity?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Can diagnosis be made without genetic testing?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Is this a condition in which a complicated workup is expected, and genetic testing can eliminate the need for further clinical workup and/or invasive testing?",
                                          "children": [
                                            {
                                              "name": "Yes",
                                              "children": [
                                                {
                                                  "name": "Meets CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "No",
                                              "children": [
                                                {
                                                  "name": "Does confirmation of the diagnosis by genetic testing lead to changes in management?",
                                                  "children": [
                                                    {
                                                      "name": "Yes",
                                                      "children": [
                                                        {
                                                          "name": "Is there evidence that changes in management improve health outcomes?",
                                                          "children": [
                                                            {
                                                              "name": "Yes (Start effective treatment or stop ineffective treatment)",
                                                              "children": [
                                                                {
                                                                  "name": "Meets CU Criteria",
                                                                  
                                                                },
                                                                
                                                              ],
                                                              
                                                            },
                                                            {
                                                              "name": "Uncertain (Start or stop standard of care treatment without supporting evidence, or other mangement changes with ucnertain impact on outcomes)",
                                                              "children": [
                                                                {
                                                                  "name": "Indeterminate, consider clinical vetting"
                                                                },
                                                                
                                                              ],
                                                              
                                                            },
                                                            {
                                                              "name": "No (Unlikely that management changes improve outcomes)",
                                                              "children": [
                                                                {
                                                                  "name": "Does not meet CU Criteria",
                                                                  
                                                                },
                                                                
                                                              ],
                                                              
                                                            },
                                                            
                                                          ],
                                                          
                                                        },
                                                        
                                                      ],
                                                      
                                                    },
                                                    {
                                                      "name": "No",
                                                      "children": [
                                                        {
                                                          "name": "Does not meet CU Criteria",
                                                          
                                                        },
                                                        
                                                      ],
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ]
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            
          ]
        },
        
      ]
    },
    {
      "name": "1b. Prognostic - Testing an affected individual's germline to benefit the individual",
      "children": [
        {
          "name": "Does this disorder have reduced life expectancy",
          "children": [
            {
              "name": "Yes",
              "children": [
                {
                  "name": "Does genetic testing provide incremental prognostic information above that provided by standard testing?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Does testing reclassify patients into clinically relevant prognostic categories for which there are different treatment strategies?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Does treatment according to the defined prognostic categories improve outcomes?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Meets CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "Uncertain impact on outcomes, but standard of care",
                                      "children": [
                                        {
                                          "name": "Indeterminate, consider clinical vetting",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            {
              "name": "No",
              "children": [
                {
                  "name": "Does this disorder have at least moderate or severe morbidity?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Does genetic testing provide incremental prognostic information above that provided by standard testing?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Does testing reclassify patients into clinically relevant prognostic categories for which there are different treatment strategies?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Does treatment according to the defined prognostic categories improve outcomes?",
                                          "children": [
                                            {
                                              "name": "Yes",
                                              "children": [
                                                {
                                                  "name": "Meets CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "Uncertain impact on outcomes, but standard of care",
                                              "children": [
                                                {
                                                  "name": "Indeterminate, consider clinical vetting",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "No",
                                              "children": [
                                                {
                                                  "name": "Does not meet CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            
          ],
          
        },
        
      ]
    },
    {
      "name": "1c. Therapeutic - Testing an affected individual's germline to benefit the individual",
      "children": [
        {
          "name": "Does this disorder have reduced life expectancy?",
          "children": [
            {
              "name": "Yes",
              "children": [
                {
                  "name": "Does genetic testing identify variants which have different drug sensitivites or pharmacokinetics?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": " Are the differences in sensitivity or metabolism clinically important?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Are there clinically credible managemnt changes associated with identificaiton of genetic variants?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Discontinue ineffective drug",
                                          "children": [
                                            {
                                              "name": "Meets CU Criteria",
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        {
                                          "name": "Start effective drug",
                                          "children": [
                                            {
                                              "name": "Meets CU Criteria",
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        {
                                          "name": "Change dose of drug",
                                          "children": [
                                            {
                                              "name": "Do these changes in drug dosage improve health outcome?",
                                              "children": [
                                                {
                                                  "name": "Yes",
                                                  "children": [
                                                    {
                                                      "name": "Meets CU Criteria",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                {
                                                  "name": "Uncertain, but standard of care",
                                                  "children": [
                                                    {
                                                      "name": "Indeterminate, consider clinical vetting",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                {
                                                  "name": "No",
                                                  "children": [
                                                    {
                                                      "name": "Does not meet CU Criteria",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ]
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria.",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            {
              "name": "No",
              "children": [
                {
                  "name": "Does this disorder have at least moderate or severe morbidity?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Does genetic testing identify variants which have different drug sensitivites or pharmacokinetics?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": " Are the differences in sensitivity or metabolism clinically important?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Are there clinically credible managemnt changes associated with identificaiton of genetic variants?",
                                          "children": [
                                            {
                                              "name": "Yes",
                                              "children": [
                                                {
                                                  "name": "Discontinue ineffective drug",
                                                  "children": [
                                                    {
                                                      "name": "Meets CU Criteria",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                {
                                                  "name": "Start effective drug",
                                                  "children": [
                                                    {
                                                      "name": "Meets CU Criteria",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                {
                                                  "name": "Change dose of drug",
                                                  "children": [
                                                    {
                                                      "name": "Do these changes in drug dosage improve health outcome?",
                                                      "children": [
                                                        {
                                                          "name": "Yes",
                                                          "children": [
                                                            {
                                                              "name": "Meets CU Criteria",
                                                              
                                                            },
                                                            
                                                          ],
                                                          
                                                        },
                                                        {
                                                          "name": "Uncertain, but standard of care",
                                                          "children": [
                                                            {
                                                              "name": "Indeterminate, consider clinical vetting",
                                                              
                                                            },
                                                            
                                                          ],
                                                          
                                                        },
                                                        {
                                                          "name": "No",
                                                          "children": [
                                                            {
                                                              "name": "Does not meet CU Criteria",
                                                              
                                                            },
                                                            
                                                          ],
                                                          
                                                        },
                                                        
                                                      ],
                                                      
                                                    },
                                                    
                                                  ]
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "No",
                                              "children": [
                                                {
                                                  "name": "Does not meet CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria.",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            
          ]
        },
        
      ]
    },
    {
      "name": "2a. Diagnostic - Testing of DNA from cancer cells of an affected individual to benefit the individual",
      "children": [
        {
          "name": "Does the disorder have reduced life expectancy?",
          "children": [
            {
              "name": "Yes",
              "children": [
                {
                  "name": "Does this disorder have at least moderate or severe morbidity?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": " Can the genetic test accurately identify the cell origin of a cancer when the origin is uncertain following standard workup?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Does the test diagnose clinically important subgroups that are associated with different treatment strategies?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Does identification of cell origin or clinically important subgroup lead to changes in management that improve outcomes?",
                                          "children": [
                                            {
                                              "name": "Yes (Start effective treatment and discontinue ineffective treatment)",
                                              "children": [
                                                {
                                                  "name": "Meets Cu Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "Uncertain impact on outcomes",
                                              "children": [
                                                {
                                                  "name": "Indeterminate, consider clinical vetting",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "Unlikely to improve outcomes",
                                              "children": [
                                                {
                                                  "name": "Does not meet CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      
                                    },
                                    
                                  ],
                                  "children": [
                                    {
                                      "name": "Does not meet CU Criteria",
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            {
              "name": "No",
              "children": [
                {
                  "name": "Does not meet CU Criteria",
                  
                },
                
              ],
              
            },
            
          ],
          
        }
      ]
    },
    {
      "name": "2b. Prognostic - Testing of DNA from cancer cells of an affected individual to benefit the individual",
      "children": [
        {
          "name": "Does this disorder have reduced life expectancy?",
          "children": [
            {
              "name": "Yes",
              "children": [
                {
                  "name": "Does genetic testing provide incremental prognostic information above that provided by standard testing?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Does testing reclassify patients into clinically relevant prognostic categories for which there are different treatment strategies?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Does treatment according to the defined prognostic categories improve outcomes?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Meets CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "Uncertain impact on outcomes, but standard of care",
                                      "children": [
                                        {
                                          "name": " Indeterminate, consider clinical vetting",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            {
              "name": "No",
              "children": [
                {
                  "name": "Does this disorder have at least moderate or severe morbidity?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Does genetic testing provide incremental prognostic information above that provided by standard testing?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Does testing reclassify patients into clinically relevant prognostic categories for which there are different treatment strategies?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Does treatment according to the defined prognostic categories improve outcomes?",
                                          "children": [
                                            {
                                              "name": "Yes",
                                              "children": [
                                                {
                                                  "name": "Meets CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "Uncertain impact on outcomes, but standard of care",
                                              "children": [
                                                {
                                                  "name": " Indeterminate, consider clinical vetting",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "No",
                                              "children": [
                                                {
                                                  "name": "Does not meet CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            }
          ],
          
        },
        
      ]
    },
    {
      "name": "2c. Predictive testing for treatment response - Testing of DNA from cancer cells of an affected individual",
      "children": [
        {
          "name": "Does this disorder have reduced life expectancy?",
          "children": [
            {
              "name": "Yes",
              "children": [
                {
                  "name": "Does this disorder have at least moderate or severe morbidity?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Can genetic testing identify markers associated with treatment response?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Are there targeted drugs aimed at the specific genetic markers?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Is there a clinically meaningful improvement in outcomes for targeted treatment?",
                                          "children": [
                                            {
                                              "name": "Yes",
                                              "children": [
                                                {
                                                  "name": "Meets CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "No",
                                              "children": [
                                                {
                                                  "name": "Does testing 'turn off' ineffective treatment?",
                                                  "children": [
                                                    {
                                                      "name": "Yes",
                                                      "children": [
                                                        {
                                                          "name": "Meets CU Criteria",
                                                          
                                                        },
                                                        
                                                      ],
                                                      
                                                    },
                                                    {
                                                      "name": "No",
                                                      "children": [
                                                        {
                                                          "name": "Does not meet CU Criteria",
                                                          
                                                        },
                                                        
                                                      ],
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            {
              "name": "No",
              "children": [
                {
                  "name": "Does not meet CU Criteria",
                  
                },
                
              ],
              
            },
            
          ]
        },
        
      ]
    },
    {
      "name": "3. Testing an asymptomatic individual to determine future risk of disease",
      "children": [
        {
          "name": "Does this disorder have reduced life expectancy?",
          "children": [
            {
              "name": "Yes",
              "children": [
                {
                  "name": "Can testing identify genetic markers indicating future risk of disease?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Is penetrance for these markers known, and are other factors that affect clinical expression well understood?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  name: "Is there a presymptomatic phase for this disorder in which interventions are available?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Interventions that improve outcomes: Prevent/delay onset of disease, Detect diseases at earlier stage that has more effective treatment, Discontinue surveillance or screening interventions.",
                                          "children": [
                                            {
                                              "name": "Meets CU Criteria",
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        {
                                          "name": "Interventions with uncertain impact on outcomes but are standard of care",
                                          "children": [
                                            {
                                              "name": "Indeterminate, consider clinical vetting",
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        {
                                          "name": "Interventions that are unlikely to improve outcomes",
                                          "children": [
                                            {
                                              "name": "Does not meet CU Criteria",
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria"
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            {
              "name": "No",
              "children": [
                {
                  "name": "Does this disorder have at least moderate or severe morbidity?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Can testing identify genetic markers indicating future risk of disease?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Is penetrance for these markers known, and are other factors that affect clinical expression well understood?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          name: "Is there a presymptomatic phase for this disorder in which interventions are available?",
                                          "children": [
                                            {
                                              "name": "Yes",
                                              "children": [
                                                {
                                                  "name": "Interventions that improve outcomes: Prevent/delay onset of disease, Detect diseases at earlier stage that has more effective treatment, Discontinue surveillance or screening interventions.",
                                                  "children": [
                                                    {
                                                      "name": "Meets CU Criteria",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                {
                                                  "name": "Interventions with uncertain impact on outcomes but are standard of care",
                                                  "children": [
                                                    {
                                                      "name": "Indeterminate, consider clinical vetting",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                {
                                                  "name": "Interventions that are unlikely to improve outcomes",
                                                  "children": [
                                                    {
                                                      "name": "Does not meet CU Criteria",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "No",
                                              "children": [
                                                {
                                                  "name": "Does not meet CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria"
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            }
          ]
        },
        
      ]
    },
    {
      "name": "4. Testing of an affected individual's germline DNA to benefit family member(s)",
      "children": [
        {
          "name": "Does this disorder have reduced life expectancy?",
          "children": [
            {
              "name": "Yes",
              "children": [
                {
                  "name": "Can testing identify a mutation that has been a hereditary pattern and is likely to be passed on to offspring?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Is penetrance for these markers known, and are other factors that affect clinical expression well understood?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  name: "Is there a presymptomatic phase for this disorder in which interventions are available?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          "name": "Interventions that improve outcomes: Prevent/delay onset of disease, Detect diseases at earlier stage that has more effective treatment, Discontinue surveillance or screening interventions.",
                                          "children": [
                                            {
                                              "name": "Meets CU Criteria",
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        {
                                          "name": "Interventions with uncertain impact on outcomes but are standard of care",
                                          "children": [
                                            {
                                              "name": "Indeterminate, consider clinical vetting",
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        {
                                          "name": "Interventions that are unlikely to improve outcomes",
                                          "children": [
                                            {
                                              "name": "Does not meet CU Criteria",
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria",
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria"
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            },
            {
              "name": "No",
              "children": [
                {
                  "name": "Does this disorder have at least moderate or severe morbidity?",
                  "children": [
                    {
                      "name": "Yes",
                      "children": [
                        {
                          "name": "Can testing identify a mutation that has been a hereditary pattern and is likely to be passed on to offspring?",
                          "children": [
                            {
                              "name": "Yes",
                              "children": [
                                {
                                  "name": "Is penetrance for these markers known, and are other factors that affect clinical expression well understood?",
                                  "children": [
                                    {
                                      "name": "Yes",
                                      "children": [
                                        {
                                          name: "Is there a presymptomatic phase for this disorder in which interventions are available?",
                                          "children": [
                                            {
                                              "name": "Yes",
                                              "children": [
                                                {
                                                  "name": "Interventions that improve outcomes: Prevent/delay onset of disease, Detect diseases at earlier stage that has more effective treatment, Discontinue surveillance or screening interventions.",
                                                  "children": [
                                                    {
                                                      "name": "Meets CU Criteria",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                {
                                                  "name": "Interventions with uncertain impact on outcomes but are standard of care",
                                                  "children": [
                                                    {
                                                      "name": "Indeterminate, consider clinical vetting",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                {
                                                  "name": "Interventions that are unlikely to improve outcomes",
                                                  "children": [
                                                    {
                                                      "name": "Does not meet CU Criteria",
                                                      
                                                    },
                                                    
                                                  ],
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            {
                                              "name": "No",
                                              "children": [
                                                {
                                                  "name": "Does not meet CU Criteria",
                                                  
                                                },
                                                
                                              ],
                                              
                                            },
                                            
                                          ],
                                          
                                        },
                                        
                                      ],
                                      
                                    },
                                    {
                                      "name": "No",
                                      "children": [
                                        {
                                          "name": "Does not meet CU Criteria"
                                        },
                                        
                                      ],
                                      
                                    },
                                    
                                  ],
                                  
                                },
                                
                              ],
                              
                            },
                            {
                              "name": "No",
                              "children": [
                                {
                                  "name": "Does not meet CU Criteria",
                                  
                                },
                                
                              ],
                              
                            },
                            
                          ],
                          
                        },
                        
                      ],
                      
                    },
                    {
                      "name": "No",
                      "children": [
                        {
                          "name": "Does not meet CU Criteria",
                          
                        },
                        
                      ],
                      
                    },
                    
                  ],
                  
                },
                
              ],
              
            }
          ]
        },
        
      ]
    }
  ]
}

Open in new window

0
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
you should fix it with the tools building this json object  not with client side
0
 

Author Comment

by:Bevos
Comment Utility
Thanks for all the help. I didn't use a JSON editor (or have one). I just found an example that I thought was good looking and kept trying to rework it on JSFiddle. I don't really have any other tools.  If you can recommend a free JSON editor that would be wonderful as I am having a hard time keeping track of hierarchy just in jsfiddle.
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
Comment Utility
0
 

Author Comment

by:Bevos
Comment Utility
I'm going to go ahead and accept the answer as you've tried to help, but I still can't get the JSON content to load in any of the editors you've provided.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now