This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
research:test_charts [2016/05/24 04:14] schuemie |
research:test_charts [2016/05/24 15:55] 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 contains a 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 a unique source of information on dragon-related injuries | |
^E-mail |info@whnr.ws | | ^E-mail |info@whnr.ws | | ||
^CDM version |5.0 | | ^CDM version |5.0 | | ||
Line 10: | Line 10: | ||
^Last date of data capture |2015-12-31 | | ^Last date of data capture |2015-12-31 | | ||
+ | ==== Population ==== | ||
+ | ^Population size | 8.2 mln | | ||
+ | ^Percent male / female | 45% / 55% | | ||
+ | ^Average number of observation periods per person | 1.25 | | ||
+ | == Age at first observation == | ||
+ | <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> | ||
- | ====== Test 1 ====== | + | == 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> | ||
- | <gchart 350x120 pie2d #0000ff #ffffff right> | + | == People with observation by year == |
- | Male = 40 | + | |
- | Female = 60 | + | |
- | </gchart> | + | |
- | ====== Test 2 ====== | + | <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> | ||
- | <gchart 350x120 line #0000ff #ffffff right> | + | ==== Data density ==== |
- | 2001 = 5 | + | |
- | 2002 = 10 | + | |
- | 2003 = 13 | + | |
- | 2004 = 11 | + | |
- | 2005 = 14 | + | |
- | 2006 = 15 | + | |
- | 2007 = 13 | + | |
- | 2008 = 16 | + | |
- | 2009 = 20 | + | |
- | </gchart> | + | |
- | ====== Test 3 ====== | + | == Average number of records per person per domain per year == |
- | <html> | + | |
- | <b>blah</b> | + | |
- | </html> | + | <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> |