Link to home
Start Free TrialLog in
Avatar of Bevos
Bevos

asked on

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

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
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Paste your JSON object here : http://jsonviewer.stack.hu/
Click on the viewer tab
Avatar of Bevos
Bevos

ASKER

Dang, doesn't seem to load or show me where the error is.
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 :
User generated image
As you can see the child is not what you're expecting for.
Avatar of Bevos

ASKER

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
{
  "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

you should fix it with the tools building this json object  not with client side
Avatar of Bevos

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bevos

ASKER

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.