This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
research:test_charts [2016/05/24 15:16] schuemie |
research: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 17: | Line 19: | ||
| == Age at first observation == | == Age at first observation == | ||
| + | |||
| <c3> | <c3> | ||
| data: { | data: { | ||
| Line 31: | Line 34: | ||
| } | } | ||
| </c3> | </c3> | ||
| - | |||
| - | |||
| - | Percent of population | ||
| - | <gchart 650x120 vbar #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> | ||
| == Cumulative observation == | == Cumulative observation == | ||
| - | (Cumulative) percent of population | + | |
| - | <gchart 650x120 line #0000ff #ffffff left> | + | <c3> |
| - | > 1 year = 80 | + | data: { |
| - | > 2 years = 70 | + | columns: [ |
| - | > 3 years = 40 | + | ['Cumulative percent of population', 80, 70, 40, 20, 5] |
| - | > 4 years = 20 | + | ], |
| - | > 5 years = 10 | + | type : 'line', |
| - | > 6 years = 2 | + | }, |
| - | </gchart> | + | 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 == | == People with observation by year == | ||
| - | Percent of people with at least one day of observation | + | |
| - | <gchart 650x120 line #0000ff #ffffff left> | + | <c3> |
| - | 2005 = 10 | + | data: { |
| - | 2006 = 15 | + | columns: [ |
| - | 2007 = 21 | + | ['Percent of people with at least one day of observation', 10, 15, 30 ,45, 67, 56, 70] |
| - | 2008 = 30 | + | ], |
| - | 2009 = 26 | + | type : 'line', |
| - | 2010 = 29 | + | }, |
| - | 2011 = 31 | + | axis: { |
| - | 2012 = 35 | + | x: { |
| - | 2013 = 33 | + | type: 'category', |
| - | 2014 = 36 | + | categories: ['2009', '2010', '2011', '2012', '2013', '2014', '2015'] |
| - | 2015 = 37 | + | }, |
| - | </gchart> | + | y: { |
| + | min: 0, | ||
| + | padding: {bottom: 0} | ||
| + | } | ||
| + | } | ||
| + | </c3> | ||
| ==== 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> | ||