User Tools

Site Tools


research:test_charts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
research:test_charts [2016/05/24 15:20] – schuemieresearch:test_charts [2016/05/26 07:57] (current) – schuemie
Line 4: Line 4:
 ^Name              |Westeros National Health Registry (WNHR)  | ^Name              |Westeros National Health Registry (WNHR)  |
 ^Description       |The WNHR is a national registry in Westeros. Information from hospitals, pharmacies, and GPs is linked using national person identifiers. This database is a unique source of information on dragon-related injuries | ^Description       |The WNHR is a national registry in Westeros. Information from hospitals, pharmacies, and GPs is linked using national person identifiers. This database is a unique source of information on dragon-related injuries |
 +^Data type         |National registry                         |
 +^Country           |Westeros                                  |
 ^E-mail            |[email protected]                              | ^E-mail            |[email protected]                              |
 ^CDM version       |5.0                                       | ^CDM version       |5.0                                       |
Line 46: Line 48:
             type: 'category',             type: 'category',
             categories: ['> 1 year', '>2 years', '> 3 years', '> 4 years', '> 5 years']             categories: ['> 1 year', '>2 years', '> 3 years', '> 4 years', '> 5 years']
 +        },
 +        y: {
 +            min: 0,
 +            padding: {bottom: 0}
         }         }
     }     }
Line 55: Line 61:
     data: {     data: {
         columns: [         columns: [
-            ['Cumulative percent of population', 10, 15, 30 ,45, 67, 56, 70]+            ['Percent of people with at least one day of observation', 10, 15, 30 ,45, 67, 56, 70]
         ],         ],
         type : 'line',         type : 'line',
Line 63: Line 69:
             type: 'category',             type: 'category',
             categories: ['2009', '2010', '2011', '2012', '2013', '2014', '2015']             categories: ['2009', '2010', '2011', '2012', '2013', '2014', '2015']
 +        },
 +        y: {
 +            min: 0,
 +            padding: {bottom: 0}
         }         }
     }     }
 </c3> </c3>
- 
-Percent of people with at least one day of observation 
-<gchart 650x120 line #0000ff #ffffff left> 
-2005 = 10 
-2006 = 15 
-2007 = 21 
-2008 = 30 
-2009 = 26 
-2010 = 29 
-2011 = 31 
-2012 = 35 
-2013 = 33 
-2014 = 36 
-2015 = 37 
-</gchart> 
  
 ==== Data density ==== ==== Data density ====
  
-===C3 Chart Test===+== Average number of records per person per domain per year ==  
 <c3> <c3>
-  // some comment +    data: { 
-  data: { +        columns: [ 
-    columns: [ +            ['Drug exposure', 5, 7, 13, 20, 21, 20, 23], 
-      ['data1', 30], /* more comment */ +            ['Device exposure', 0, 0, 1, 1, 0, 0, 0], 
-      ['data2', 120], +            ['Condition occurrence', 3, 4, 7, 11, 9, 13, 14], 
-    ], +            ['Drug era', 4, 5, 11, 14, 18, 17, 18], 
-    type : 'pie', +            ['Condition era', 3, 3, 5, 8, 7, 11, 12], 
-  }+            ['Procedure', 2, 3, 4, 5, 4, 5, 6], 
 +            ['Visit', 5, 5, 6, 7, 6, 8, 11], 
 +            ['Death', 0, 1, 1, 2, 1, 3, 2], 
 +            ['Measurement', 5, 6, 5, 7, 0, 9, 10], 
 +            ['Observation', 5, 4, 5, 6, 5, 7, 9], 
 + 
 +        ], 
 +        type : 'line', 
 +    }, 
 +    axis: { 
 +        x: { 
 +            type: 'category', 
 +            categories: ['2009', '2010', '2011', '2012', '2013', '2014', '2015'] 
 +        }, 
 +        y: { 
 +            min: 0, 
 +            padding: {bottom: 0} 
 +        } 
 +    } 
 +</c3> 
 + 
 +== Average number of records per person per domain per setting == 
 + 
 +<c3> 
 +    data: { 
 +        columns: [ 
 +            ['Drug exposure', 5, 7, 13, 20], 
 +            ['Device exposure', 0, 0, 0, 1], 
 +            ['Condition occurrence', 3, 4, 7, 11],             
 +            ['Drug era', 4, 5, 11, 14], 
 +            ['Condition era', 3, 3, 5, 8], 
 +            ['Procedure', 2, 3, 4, 5], 
 +            ['Visit', 5, 5, 6, 7], 
 +            ['Death', 0, 1, 1, 2,], 
 +            ['Measurement', 5, 6, 5, 7], 
 +            ['Observation', 5, 4, 5, 6], 
 + 
 +        ], 
 +        type : 'bar', 
 +        groups: [ 
 +            ['Drug exposure', 'Device exposure', 'Condition occurrence', 'Drug era', 'Condition era', 'Procedure', 'Visit', 'Death', 'Measurement', 'Observation'] 
 +        ] 
 +    }, 
 +    axis: { 
 +        x: { 
 +            type: 'category', 
 +            categories: ['Inpatient', 'Outpatient', 'ER', 'Unknown'] 
 +        } 
 +    } 
 +</c3> 
 + 
 +== Percentage of records with cost information per domain == 
 + 
 +<c3> 
 +    data: { 
 +        columns: [ 
 +            ['% with cost info', 0, 90, 80, 10], 
 +            ['% without cost info', 100, 10, 20, 90],                                
 +        ], 
 +        type : 'bar', 
 +        groups: [ 
 +            ['% with cost info', '% without cost info'] 
 +        ], 
 +        colors: { 
 +            '% without cost info': '#dddddd' 
 +        }, 
 +    }, 
 +    axis: { 
 +        rotated: true, 
 +        x: { 
 +            type: 'category', 
 +            categories: ['Visit', 'Procedure', 'Drug', 'Device'] 
 +        } 
 +    }
 </c3> </c3>
research/test_charts.1464103258.txt.gz · Last modified: by schuemie

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki