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 04:12]
schuemie
research:test_charts [2016/05/24 16:03]
schuemie
Line 1: Line 1:
 ===== WNHR ===== ===== WNHR =====
  
 +==== 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 ​contains ​wealth ​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 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 ​                                      |
 ^Vocab version ​    ​|2016-03-11 ​                               | ^Vocab version ​    ​|2016-03-11 ​                               |
 ^ETL documentation |[[http://​whnr.ws|Word document]] ​         | ^ETL documentation |[[http://​whnr.ws|Word document]] ​         |
-====== Test 1 ======+^Last date of data capture |2015-12-31 ​                       |
  
 +==== Population ====
  
-<gchart 350x120 pie2d #0000ff #ffffff right> +^Population size          | 8.2 mln                           | 
-Male   = 40 +^Percent male female ​   | 45% / 55%                         | 
-Female = 60 +^Average number of observation periods per person | 1.25      |
-</gchart>+
  
-====== Test 2 ======+== Age at first observation ​==
  
-<gchart 350x120 line #0000ff #ffffff right+<c3
-2001 = 5 +    data: { 
-2002 = 10 +        ​columns:​ [ 
-2003 = 13 +            ['​Percent of population',​ 2, 3, 5,​8,​5,​7,​3,​8,​6,​9,​11,​14,​11,​10,8,9,4,3] 
-2004 = 11 +        ], 
-2005 = 14 +        type : '​bar',​ 
-2006 = 15 +    }, 
-2007 = 13 +    axis: { 
-2008 = 16 +        x: { 
-2009 = 20 +            type: '​category',​ 
-</gchart>+            ​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>
  
-====== Test 3 ====== +== Cumulative observation ​==
-<​html>​ +
-  <​b>​blah</​b>​+
  
-</html>+<​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.txt · Last modified: 2016/05/26 07:57 by schuemie