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
research:test_charts [2016/05/24 04:26]
schuemie
research:test_charts [2016/05/26 07:57] (current)
schuemie
Line 1: Line 1:
 ===== WNHR ===== ===== WNHR =====
  
-== Overview ==+==== Overview ​====
 ^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 ​           |info@whnr.ws ​                             | ^E-mail ​           |info@whnr.ws ​                             |
 ^CDM version ​      ​|5.0 ​                                      | ^CDM version ​      ​|5.0 ​                                      |
Line 10: Line 12:
 ^Last date of data capture |2015-12-31 ​                       | ^Last date of data capture |2015-12-31 ​                       |
  
-== Population ==+==== Population ​====
  
 ^Population size          | 8.2 mln                           | ^Population size          | 8.2 mln                           |
Line 17: Line 19:
  
 == Age at first observation == == Age at first observation ==
-Percent of population 
-<gchart 650x120 line #0000ff #ffffff left> 
-0-4     = 5 
-5-9     = 2 
-10-14   = 3 
-15-19   = 4  ​ 
-20-24   = 5 
-25-29   = 6 
-30-34   = 5 
-35-39   = 2 
-40-44   = 4 
-45-49   = 7 
-50-54   = 8 
-55-59   = 7 
-60-64   = 6 
-65-69   = 5 
-70-74   = 6 
-75-79   = 4 
-80-84   = 3 
-85-89   = 2 
-</​gchart>​ 
  
 +<c3>
 +    data: {
 +        columns: [
 +            ['​Percent of population',​ 2, 3, 5,​8,​5,​7,​3,​8,​6,​9,​11,​14,​11,​10,​8,​9,​4,​3]
 +        ],
 +        type : '​bar',​
 +    },
 +    axis: {
 +        x: {
 +            type: '​category',​
 +            categories: ['​0-4',​ '​5-9',​ '​10-14',​ '​15-19',​ '​20-24',​ '​25-29',​ '​30-34',​ '​35-39',​ '​40-44',​ '​45-49',​ '​50-54',​ '​55-59',​ '​60-64',​ '​65-69',​ '​70-74',​ '​75-79',​ '​80-84',​ '​85-89'​]
 +        }
 +    }
 +</c3>
  
 +== Cumulative observation ==
 +
 +<c3>
 +    data: {
 +        columns: [
 +            ['​Cumulative percent of population',​ 80, 70, 40, 20, 5]
 +        ],
 +        type : '​line',​
 +    },
 +    axis: {
 +        x: {
 +            type: '​category',​
 +            categories: ['> 1 year', '>2 years',​ '> 3 years',​ '> 4 years',​ '> 5 years'​]
 +        },
 +        y: {
 +            min: 0,
 +            padding: {bottom: 0}
 +        }
 +    }
 +</c3>
 +
 +== People with observation by year ==
 +
 +<c3>
 +    data: {
 +        columns: [
 +            ['​Percent of people with at least one day of observation',​ 10, 15, 30 ,45, 67, 56, 70]
 +        ],
 +        type : '​line',​
 +    },
 +    axis: {
 +        x: {
 +            type: '​category',​
 +            categories: ['​2009',​ '​2010',​ '​2011',​ '​2012',​ '​2013',​ '​2014',​ '​2015'​]
 +        },
 +        y: {
 +            min: 0,
 +            padding: {bottom: 0}
 +        }
 +    }
 +</c3>
 +
 +==== Data density ====
 +
 +== Average number of records per person per domain per year == 
 +
 +<c3>
 +    data: {
 +        columns: [
 +            ['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],
 +            ['Drug era', 4, 5, 11, 14, 18, 17, 18],
 +            ['​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>
research/test_charts.1464064011.txt.gz ยท Last modified: 2016/05/24 04:26 by schuemie