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 revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
research:test_charts [2016/05/24 15:36]
schuemie
research:test_charts [2016/05/24 16:03]
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 |
 +^Country ​          ​|Westeros ​                                 |
 ^E-mail ​           |info@whnr.ws ​                             | ^E-mail ​           |info@whnr.ws ​                             |
 ^CDM version ​      ​|5.0 ​                                      | ^CDM version ​      ​|5.0 ​                                      |
Line 46: Line 47:
             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 63: Line 68:
             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}
         }         }
     }     }
Line 75: Line 84:
         columns: [         columns: [
             ['Drug exposure',​ 5, 7, 13, 20, 21, 20, 23],             ['Drug exposure',​ 5, 7, 13, 20, 21, 20, 23],
 +            ['​Device exposure',​ 0, 0, 1, 1, 0, 0, 0],
             ['​Condition occurrence',​ 3, 4, 7, 11, 9, 13, 14],             ['​Condition occurrence',​ 3, 4, 7, 11, 9, 13, 14],
             ['Drug era', 4, 5, 11, 14, 18, 17, 18],             ['Drug era', 4, 5, 11, 14, 18, 17, 18],
Line 91: Line 101:
             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}
         }         }
     }     }
Line 101: Line 115:
         columns: [         columns: [
             ['Drug exposure',​ 5, 7, 13, 20],             ['Drug exposure',​ 5, 7, 13, 20],
-            ['​Condition occurrence',​ 3, 4, 7, 11],+            ​['​Device exposure',​ 0, 0, 0, 1], 
 +            ​['​Condition occurrence',​ 3, 4, 7, 11],            
             ['Drug era', 4, 5, 11, 14],             ['Drug era', 4, 5, 11, 14],
             ['​Condition era', 3, 3, 5, 8],             ['​Condition era', 3, 3, 5, 8],
Line 113: Line 128:
         type : '​bar',​         type : '​bar',​
         groups: [         groups: [
-            ['Drug exposure',​ '​Condition occurrence',​ 'Drug era', '​Condition era', '​Procedure',​ '​Visit',​ '​Death',​ '​Measurement',​ '​Observation'​]+            ['​Drug ​exposure',​ '​Device ​exposure',​ '​Condition occurrence',​ 'Drug era', '​Condition era', '​Procedure',​ '​Visit',​ '​Death',​ '​Measurement',​ '​Observation'​]
         ]         ]
     },     },
Line 120: Line 135:
             type: '​category',​             type: '​category',​
             categories: ['​Inpatient',​ '​Outpatient',​ '​ER',​ '​Unknown'​]             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.txt · Last modified: 2016/05/26 07:57 by schuemie