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
BevosAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

leakim971PluritechnicianCommented:
Paste your JSON object here : http://jsonviewer.stack.hu/
Click on the viewer tab
0
BevosAuthor Commented:
Dang, doesn't seem to load or show me where the error is.
0
leakim971PluritechnicianCommented:
In 2A at the position "Does the test diagnose clinically important subgroups..." the child line is "Does not meet CU criteria" where it should be the "Yes/No" options as I tried in the JSON

Check this :
nope
As you can see the child is not what you're expecting for.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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

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

Open in new window

0
leakim971PluritechnicianCommented:
you should fix it with the tools building this json object  not with client side
0
BevosAuthor Commented:
Thanks for all the help. I didn't use a JSON editor (or have one). I just found an example that I thought was good looking and kept trying to rework it on JSFiddle. I don't really have any other tools.  If you can recommend a free JSON editor that would be wonderful as I am having a hard time keeping track of hierarchy just in jsfiddle.
0
leakim971PluritechnicianCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BevosAuthor Commented:
I'm going to go ahead and accept the answer as you've tried to help, but I still can't get the JSON content to load in any of the editors you've provided.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.